Skip to content

Commit

Permalink
update/whats-happening (#437)
Browse files Browse the repository at this point in the history
* Update whats-happening.hbs
  • Loading branch information
laurenhitchon authored Jul 17, 2024
1 parent 0fa4b5d commit 99335fe
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 28 deletions.
3 changes: 2 additions & 1 deletion src/components/filters/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ class Filters {
option.value = ''
} else if (option.type === 'select-one') {
if (this.selectedOption) {
option.selectedIndex = this.selectedOption.index
console.log(Array.from(option.options).indexOf(this.selectedOption))
option.selectedIndex = Array.from(option.options).indexOf(this.selectedOption)
} else {
option.selectedIndex = 0
}
Expand Down
109 changes: 82 additions & 27 deletions src/docs/content/about/whats-happening.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,61 @@ meta-index: true
</tr>
</thead>
<tbody>
<tr>
<td>v3.17.4</td>
<td>17.07.24</td>
<td>
<h4>Patch Changes</h4>
<ul>
<li>fix: improve the handling of the select and checkbox default selected state in the <a href="/components/filters/index.html">filters</a> component by checking <code>option.defaultChecked</code> before setting <code>option.checked</code>, and using <code>option.selectedIndex</code> instead of setting it to an empty string on reset/clear.</li>
<li>Update dependencies: @floating-ui/dom</li>
</ul>
</td>
<td><a target="_blank" href="https://github.com/digitalnsw/nsw-design-system/releases/tag/v3.17.4" target="_blank">Code kit</a></td>
</tr>
<tr>
<td>v3.17.3</td>
<td>16.07.24</td>
<td>
<h4>Patch Changes</h4>
<ul>
<li>fix: adds a <code>&lt;span class="sr-only"&gt;</code> inside the button element to ensure that buttons with icons have discernible text for accessibility.</li>
<li>fix: remove the <code>role="group"</code> attribute from <code>&lt;li&gt;</code> elements in the carousel component as it is not valid on a list item. The use of aria-roledescription, aria-label, and data-index attributes for accessibility purposes maintains accessibility standards after removing role="group".</li>
<li>Update dependencies: replace deprected NSW Government brand assets</li>
<li>Update dependencies: ws, engine.io-client and socket.io</li>
<li>Update dependencies: JamesIves/github-pages-deploy-action</li>
<li>Update dependencies: follow-redirects</li>
</ul>
</td>
<td><a target="_blank" href="https://github.com/digitalnsw/nsw-design-system/releases/tag/v3.17.4" target="_blank">Code kit</a></td>
</tr>
<tr>
<td>v3.17.2</td>
<td>11.07.24</td>
<td>
<h4>Added</h4>
<ul>
<li><strong>Sponsorship and partnership acknowledgement:</strong> added a new method outlining the guidelines for <a href="/docs/content/methods/sponsorship-and-partnership-acknowledgement.html">acknowledging sponsorship and partnership support</a>. The page includes instructions on placement and spacing, using the NSW Government Waratah logo, and arranging support logos.</li>
</ul>
<h4>Patch Changes</h4>
<ul>
<li>fix: remove hover state from <a href="/components/tag/index.html">text tag</a> component and set the cursor style explicitly to default.</li>
</ul>
</td>
<td><a target="_blank" href="https://github.com/digitalnsw/nsw-design-system/releases/tag/v3.17.3" target="_blank">Code kit</a></td>
</tr>

<tr>
<td>v3.17.1</td>
<td>24.06.24</td>
<td>
<h4>Minor Changes</h4>
<ul>
<li>feat: Class of <code>nsw-footer__acknowledgement</code> added to the <code>&lt;p&gt;</code> element in the <a href="/components/footer/index.html">footer component</a> and the font size changed from 'md' to 'sm'.</li>
</ul>
</td>
<td><a target="_blank" href="https://github.com/digitalnsw/nsw-design-system/releases/tag/v3.17.1" target="_blank">Code kit</a></td>
</tr>
<tr>
<td>v3.17.0</td>
<td>12.06.24</td>
Expand All @@ -45,29 +100,29 @@ meta-index: true
<ul>
<li>Accessibility enhancement to the <a href="/components/accordion/index.html">accordion </a> component with the <code>hidden=until-found</code> attribute.</li>
</ul>
<h4>Fixed</h4>
<h4>Patch Changes</h4>
<ul>
<li><strong>Utility list:</strong> Fixed the issue of clicking outside the tooltip or on a non-button element triggering unwanted behaviour in the utility list component.</li>
<li><strong>Utility list:</strong> fixed the issue of clicking outside the tooltip or on a non-button element triggering unwanted behaviour in the utility list component.</li>
<li><strong>All JavaScript components' performance and reliability improvements:</strong>
<ul>
<li>JavaScript errors are now caught in each component to prevent them from affecting other components.</li>
<li>Selectors have been made more restrictive where appropriate.</li>
<li>Components now test whether properties exist before accessing attributes and child elements.</li>
</ul>
</li>
<li><strong>Date-input:</strong> Removed default browser padding on the legend element in the date input component.</li>
<li><strong>Main navigation component:</strong> Fixed the issue of the main navigation not closing a previously opened menu in the Safari browser.</li>
<li><strong>Date-input:</strong> removed default browser padding on the legend element in the date input component.</li>
<li><strong>Main navigation component:</strong> fixed the issue of the main navigation not closing a previously opened menu in the Safari browser.</li>
<li><strong>Card carousel: </strong>
<ul>
<li><strong>Drag/Swipe functionality:</strong> Fixed an issue in the swipe-content.js code, ensuring the carousel updates its position dynamically during drag actions.</li>
<li><strong>JavaScript enhancements:</strong> Updated <code>carousel.js</code> to complement the changes in <code>swipe-content.js</code>.</li>
<li><strong>Class inheritance:</strong> The Carousel class now extends SwipeContent.</li>
<li><strong>Attribute handling:</strong> Attributes are accessed using<code> this.element</code> instead of directly.</li>
<li><strong>Drag functionality:</strong> Introduced <code>dragEnabled</code> attribute to handle drag settings.</li>
<li><strong>Conditional checks:</strong> Added checks for <code>null</code> values in styles and dimensions.</li>
<li><strong>Navigation button alignment:</strong> Added <code>padding: 0</code> on the <code>.nsw-carousel</code> button class in the <code>_carousel.scss</code> file. This change corrects the alignment issue caused by default padding values in iOS browsers.</li>
<li><strong>Removal of unused methods:</strong> Removed <code>alignControlsFunc</code> method and related controls alignment logic.</li>
<li><strong>Example updates:</strong> Adjusted our examples to demonstrate the drag functionality.</li>
<li><strong>Drag/Swipe functionality:</strong> fixed an issue in the swipe-content.js code, ensuring the carousel updates its position dynamically during drag actions.</li>
<li><strong>JavaScript enhancements:</strong> updated <code>carousel.js</code> to complement the changes in <code>swipe-content.js</code>.</li>
<li><strong>Class inheritance:</strong> the Carousel class now extends SwipeContent.</li>
<li><strong>Attribute handling:</strong> attributes are accessed using<code> this.element</code> instead of directly.</li>
<li><strong>Drag functionality:</strong> introduced <code>dragEnabled</code> attribute to handle drag settings.</li>
<li><strong>Conditional checks:</strong> added checks for <code>null</code> values in styles and dimensions.</li>
<li><strong>Navigation button alignment:</strong> added <code>padding: 0</code> on the <code>.nsw-carousel</code> button class in the <code>_carousel.scss</code> file. This change corrects the alignment issue caused by default padding values in iOS browsers.</li>
<li><strong>Removal of unused methods:</strong> removed <code>alignControlsFunc</code> method and related controls alignment logic.</li>
<li><strong>Example updates:</strong> adjusted our examples to demonstrate the drag functionality.</li>
</ul>
</li>
</ul>
Expand All @@ -80,8 +135,8 @@ meta-index: true
<td>
<h4>Added</h4>
<ul>
<li><strong>Date input:</strong> New <a href="/components/date-input/index.html">Date input</a> documentation outlining the usage of date input component.</li>
<li><strong>Date picker:</strong> New <a href="/components/date-picker/index.html">Date picker</a> component allowing users to easily select dates in a user-friendly manner.</li>
<li><strong>Date input:</strong> new <a href="/components/date-input/index.html">Date input</a> documentation outlining the usage of date input component.</li>
<li><strong>Date picker:</strong> new <a href="/components/date-picker/index.html">Date picker</a> component allowing users to easily select dates in a user-friendly manner.</li>
</ul>
</td>
<td><a target="_blank" href="https://github.com/digitalnsw/nsw-design-system/releases/tag/v3.16.0" target="_blank">Code kit</a></td>
Expand All @@ -95,7 +150,7 @@ meta-index: true
<li>Implemented support for inverted demo examples for each component.</li>
<li>Implemented support for themed demo examples for each component. This feature showcases how components and elements appear when presented with alternative color schemes or themes.</li>
<li>SASS theming variables and updated developer <a href="/docs/content/develop/theming.html">documentation for theming</a> to support multiple levels of customisation based on branding requirements, so that developers can easily implement and modify colour themes.</li>
<li><strong>Card carousel:</strong> New <a href="/components/card-carousel/index.html">Card carousel</a> component allowing users to view and interact with multiple cards in a visually appealing and navigable format.</li>
<li><strong>Card carousel:</strong> new <a href="/components/card-carousel/index.html">Card carousel</a> component allowing users to view and interact with multiple cards in a visually appealing and navigable format.</li>
</ul>
</td>
<td><a target="_blank" href="https://github.com/digitalnsw/nsw-design-system/releases/tag/v3.15.0" target="_blank">Code kit</a></td>
Expand All @@ -106,12 +161,12 @@ meta-index: true
<td>
<h4>Added</h4>
<ul>
<li><strong>Utility list component:</strong> New <a href="/components/utility-list/index.html">Utility list</a> component giving users quick access to commonly used actions on content, including printing, downloading and sharing across different social media platforms.</li>
<li><strong>Utility list component:</strong> new <a href="/components/utility-list/index.html">Utility list</a> component giving users quick access to commonly used actions on content, including printing, downloading and sharing across different social media platforms.</li>
</ul>
<h4>Fixed</h4>
<h4>Patch Changes</h4>
<ul>
<li><strong>Multiple select component:</strong> Fixed the absence of the nsw-multi-select__button element creation when an option was pre-selected onload.</li>
<li><strong>Support for the HTML select multiple in the filters component:</strong> Updated the component's logic to recognise and manage multiple selections efficiently, providing users with enhanced filtering capabilities.</li>
<li><strong>Multiple select component:</strong> fixed the absence of the nsw-multi-select__button element creation when an option was pre-selected onload.</li>
<li><strong>Support for the HTML select multiple in the filters component:</strong> updated the component's logic to recognise and manage multiple selections efficiently, providing users with enhanced filtering capabilities.</li>
</ul>
</td>
<td><a target="_blank" href="https://github.com/digitalnsw/nsw-design-system/releases/tag/v3.14.0" target="_blank">Code kit</a></td>
Expand All @@ -122,15 +177,15 @@ meta-index: true
<td>
<h4>Added</h4>
<ul>
<li><strong>Contribution Criteria Page:</strong> Added a new page outlining the <a href="/docs/content/contribute/contribution-criteria.html">criteria for contributions</a>.</li>
<li><strong>Propose a New Component Page:</strong> Added a new page to facilitate the submission of <a href="/docs/content/contribute/propose-a-new-component.html">new component proposals</a>.</li>
<li><strong>Build a New Component Page:</strong> Added a new page to guide users through the <a href="/docs/content/contribute/build-a-new-component.html">process of building new components</a> to showcase our contribution process.</li>
<li><strong>Back to top component:</strong> New <a href="/components/back-to-top/index.html">Back to top</a> component allowing users to navigate back to the top of the page for enhanced usability.</li>
<li><strong>Contribution Criteria Page:</strong> added a new page outlining the <a href="/docs/content/contribute/contribution-criteria.html">criteria for contributions</a>.</li>
<li><strong>Propose a New Component Page:</strong> added a new page to facilitate the submission of <a href="/docs/content/contribute/propose-a-new-component.html">new component proposals</a>.</li>
<li><strong>Build a New Component Page:</strong> added a new page to guide users through the <a href="/docs/content/contribute/build-a-new-component.html">process of building new components</a> to showcase our contribution process.</li>
<li><strong>Back to top component:</strong> new <a href="/components/back-to-top/index.html">Back to top</a> component allowing users to navigate back to the top of the page for enhanced usability.</li>
</ul>
<h4>Fixed</h4>
<h4>Patch Changes</h4>
<ul>
<li><strong>Tabs Accessibility Bug:</strong> Rectified the accessibility bug within tabs by including the <code>aria-owns</code> attribute to the <code>role="tablist"</code> element, ensuring improved accessibility for all users.</li>
<li><strong>Collapsible Filters Icon:</strong> Fixed the size issue of the open/close icon for collapsible filters, enhancing visual consistency and user experience.</li>
<li><strong>Tabs Accessibility Bug:</strong> fixed an accessibility bug within tabs by including the <code>aria-owns</code> attribute to the <code>role="tablist"</code> element, ensuring improved accessibility for all users.</li>
<li><strong>Collapsible Filters Icon:</strong> fixed the size issue of the open/close icon for collapsible filters, enhancing visual consistency and user experience.</li>
</ul>
</td>
<td><a target="_blank" href="https://github.com/digitalnsw/nsw-design-system/releases/tag/v3.13.0" target="_blank">Code kit</a></td>
Expand Down

0 comments on commit 99335fe

Please sign in to comment.