nsw-design-system 3.24.1 → 3.24.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -4
- package/dist/css/main.css +2 -2
- package/dist/css/main.css.map +1 -1
- package/dist/js/components/card-carousel/carousel.d.ts +6 -1
- package/dist/js/components/select/select.d.ts +11 -3
- package/dist/js/main.js +186 -56
- package/package.json +1 -1
- package/src/components/card-carousel/carousel.js +110 -7
- package/src/components/select/_select.scss +14 -1
- package/src/components/select/select.js +102 -47
package/README.md
CHANGED
|
@@ -100,9 +100,10 @@ Alternatively, you can import fonts and icons directly in your CSS:
|
|
|
100
100
|
Certain NSW Design System components require JavaScript to enable advanced functionality. To ensure your page is ready for JavaScript execution, include the following script tags at the end of your HTML document:
|
|
101
101
|
|
|
102
102
|
```
|
|
103
|
-
|
|
104
|
-
<script
|
|
105
|
-
</
|
|
103
|
+
<!-- Page content -->
|
|
104
|
+
<script src="path/to/main.js"></script>
|
|
105
|
+
<script>window.NSW.initSite()</script>
|
|
106
|
+
</body>
|
|
106
107
|
</html>
|
|
107
108
|
```
|
|
108
109
|
|
|
@@ -160,6 +161,6 @@ Our version numbers consist of MAJOR.MINOR.PATCH, where:
|
|
|
160
161
|
|
|
161
162
|
* **PATCH** version is used for minor backward-compatible updates, new component variations, and bug fixes.
|
|
162
163
|
|
|
163
|
-
See [the Releases section of our GitHub project](https://github.com/digitalnsw/nsw-design-system/releases) for
|
|
164
|
+
See [the Releases section of our GitHub project](https://github.com/digitalnsw/nsw-design-system/releases) for release notes for each release version. Release posts on our [release notes page](https://designsystem.nsw.gov.au/docs/content/about/release-notes.html) contain summaries of the most noteworthy changes made in each release.
|
|
164
165
|
|
|
165
166
|
Feel free to reach out if you have any questions or need more help with integrating the NSW Design System into your projects!
|