nsw-design-system 3.24.0 → 3.24.2
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 +4 -3
- package/dist/css/core.css.map +1 -1
- package/dist/css/main.css +2 -2
- package/dist/css/main.css.map +1 -1
- package/dist/js/components/card-carousel/carousel.d.ts +1 -0
- package/dist/js/components/select/select.d.ts +11 -3
- package/dist/js/main.js +131 -52
- package/package.json +1 -1
- package/src/components/card-carousel/carousel.js +42 -5
- package/src/components/select/_select.scss +14 -1
- package/src/components/select/select.js +102 -47
- package/src/global/scss/base/_functions.scss +20 -4
- package/src/global/scss/base/_mixins.scss +34 -10
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
|
|