@danielgindi/selectbox 1.0.62 → 1.0.63

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielgindi/selectbox",
3
- "version": "1.0.62",
3
+ "version": "1.0.63",
4
4
  "description": "A collection of dom utilities. So you can work natively with the dom without dom frameworks.",
5
5
  "main": "dist/lib.cjs.min.js",
6
6
  "module": "lib/index.js",
@@ -31,22 +31,22 @@
31
31
  "homepage": "https://github.com/danielgindi/selectbox#readme",
32
32
  "license": "MIT",
33
33
  "devDependencies": {
34
- "@babel/core": "^7.17.9",
35
- "@babel/preset-env": "^7.16.11",
36
- "@babel/runtime": "^7.17.9",
34
+ "@babel/core": "^7.18.2",
35
+ "@babel/preset-env": "^7.18.2",
36
+ "@babel/runtime": "^7.18.3",
37
37
  "@rollup/plugin-babel": "^5.3.1",
38
38
  "@rollup/plugin-commonjs": "^22.0.0",
39
- "@rollup/plugin-node-resolve": "^13.2.1",
40
- "core-js": "^3.22.3",
41
- "eslint": "^8.14.0",
39
+ "@rollup/plugin-node-resolve": "^13.3.0",
40
+ "core-js": "^3.22.8",
41
+ "eslint": "^8.17.0",
42
42
  "eslint-formatter-codeframe": "^7.32.1",
43
- "eslint-plugin-vue": "^8.7.1",
43
+ "eslint-plugin-vue": "^9.1.0",
44
44
  "fs-extra": "^10.1.0",
45
- "husky": "^7.0.4",
45
+ "husky": "^8.0.1",
46
46
  "pinst": "^3.0.0",
47
- "rollup": "^2.70.2",
47
+ "rollup": "^2.75.5",
48
48
  "rollup-plugin-terser": "^7.0.2",
49
- "sass": "^1.51.0"
49
+ "sass": "^1.52.2"
50
50
  },
51
51
  "dependencies": {
52
52
  "@danielgindi/dom-utils": "^1.0.8",
package/vue/SelectBox.vue CHANGED
@@ -213,6 +213,18 @@
213
213
  type: Boolean,
214
214
  default: false,
215
215
  },
216
+ autoCheckGroupChildren: {
217
+ type: Boolean,
218
+ default: true,
219
+ },
220
+ constrainListToWindow: {
221
+ type: Boolean,
222
+ default: true,
223
+ },
224
+ autoFlipListDirection: {
225
+ type: Boolean,
226
+ default: true,
227
+ },
216
228
  },
217
229
 
218
230
  data() {
@@ -233,6 +245,18 @@
233
245
  opts.additionalClasses = this.additionalDroplistClassesList;
234
246
  }
235
247
 
248
+ if (typeof this.autoCheckGroupChildren === 'boolean' && this.multi) {
249
+ opts.autoCheckGroupChildren = this.autoCheckGroupChildren;
250
+ }
251
+
252
+ if (typeof this.constrainListToWindow === 'boolean') {
253
+ opts.constrainToWindow = this.constrainListToWindow;
254
+ }
255
+
256
+ if (typeof this.autoFlipListDirection === 'boolean') {
257
+ opts.autoFlipDirection = this.autoFlipListDirection;
258
+ }
259
+
236
260
  opts.virtualMinItems = this.virtualMinItems;
237
261
  opts.useExactTargetWidth = this.fixedDroplistWidth;
238
262