NYSDS Release 1.10.0 “Haystack”
We shipped two new components: <nys-pagination> and <nys-modal>. Use them to create dynamic experiences for your users.
Multiple pages? No problem
The <nys-pagination>
component allows you to hook into functionality to present pagination functionality to your apps and sites. For more information, read the full documentation for <nys-pagination>
component.
<nys-pagination
id="pagination"
name="pagination"
currentPage=4
totalPages=10
></nys-pagination>
Emily Gorelik shipped the pagination component!
Modal now available
The <nys-modal>
component brings pop up content within a page. Use it for providing context to your existing process flows. For more information, read the full documentation for <nys-modal>
component.
Would you like to install the latest version? Albany ipsum dolor sit Empire, Hudson consectetur Adirondack elit, sed do MetroCard tempor incididunt ut Capitol et Broadway magna Niagara. Ut enim ad Erie veniam, quis nostrud Catskill ullamco Bronx nisi ut LongIsland ex ea Cuomo consequat.
Would you like to install the latest version? Albany ipsum dolor sit Empire, Hudson consectetur Adirondack elit, sed do MetroCard tempor incididunt ut Capitol et Broadway magna Niagara. Ut enim ad Erie veniam, quis nostrud Catskill ullamco Bronx nisi ut LongIsland ex ea Cuomo consequat.
<nys-button
label="Open Modal"
onclick="showModal();"
type="button"
id="open-modal-button"
></nys-button>
<nys-modal
id="modal1"
heading="Update Available"
subheading="A new version of this application is ready to install."
>
<p>
Would you like to install the latest version? Albany ipsum dolor sit
Empire, Hudson consectetur Adirondack elit, sed do MetroCard tempor
incididunt ut Capitol et Broadway magna Niagara. Ut enim ad Erie
veniam, quis nostrud Catskill ullamco Bronx nisi ut LongIsland ex ea
Cuomo consequat.
</p>
<p>
Would you like to install the latest version? Albany ipsum dolor sit
Empire, Hudson consectetur Adirondack elit, sed do MetroCard tempor
incididunt ut Capitol et Broadway magna Niagara. Ut enim ad Erie
veniam, quis nostrud Catskill ullamco Bronx nisi ut LongIsland ex ea
Cuomo consequat.
</p>
<div slot="actions">
<nys-button label="Not now" variant="text" onclick="closeModal();"></nys-button>
<nys-button label="Update" onclick="closeModal();"></nys-button>
</div>
</nys-modal>
<script>
function showModal() {
const modal = document.getElementById('modal1');
if (modal) {
modal.open = true;
}
};
function closeModal() {
const modal = document.getElementById('modal1');
if (modal) {
modal.open = false;
}
};
</script>
Robert Chen popped this up!
New phone_in_talk
icon
Robert Chen phoned this in!
Bug fixes
- Label wrapping fixed
- File input validation
- RTL support in alert and unavheader search box
🚨 Breaking changes
- none
⚠️ Known issues
<nys-button>
not triggering click on keydown #935
If you notice any other issues, please add them to our GitHub Issue Tracker
That’s it!
For full component updates, bug fixes, and the detailed changelog:
See the full developer release notes for v.1.10.0 →
- release
- nys-modal
- nys-pagination
Edit this page on GitHub (Permissions required)
Last updated: October 3, 2025