slim-select 2.12.0 → 2.12.1

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 CHANGED
@@ -61,7 +61,7 @@ npm install slim-select
61
61
 
62
62
  ```javascript
63
63
  import SlimSelect from 'slim-select'
64
- import 'slim-select/styles' // optional import method
64
+ import 'slim-select/styles' // optional css import method
65
65
 
66
66
  new SlimSelect({
67
67
  select: '#selectElement',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "slim-select",
3
3
  "description": "Slim advanced select dropdown",
4
- "version": "2.12.0",
4
+ "version": "2.12.1",
5
5
  "author": "Brian Voelker <brian@webiswhatido.com> (http://webiswhatido.com)",
6
6
  "homepage": "https://slimselectjs.com",
7
7
  "license": "MIT",
@@ -35,7 +35,8 @@
35
35
  "./*": {
36
36
  "types": "./dist/*.d.ts"
37
37
  },
38
- "./styles": "./dist/slimselect.css"
38
+ "./styles": "./dist/slimselect.css",
39
+ "./scss": "./src/slim-select/slimselect.scss"
39
40
  },
40
41
  "scripts": {
41
42
  "dev": "vite --port=1111",
@@ -748,7 +748,7 @@ describe('render module', () => {
748
748
  test('simply do nothing without breaking when options are empty', () => {
749
749
  render.renderOptions([])
750
750
 
751
- expect(() => render.highlight('up')).not.toThrowError()
751
+ expect(() => render.highlight('up')).not.toThrow()
752
752
  })
753
753
 
754
754
  test('highlight single option that is not already highlighted', () => {