@ekzo-dev/bootstrap-addons 5.3.13 → 5.3.15

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@ekzo-dev/bootstrap-addons",
3
3
  "description": "Aurelia Bootstrap additional component",
4
- "version": "5.3.13",
4
+ "version": "5.3.15",
5
5
  "homepage": "https://github.com/ekzo-dev/aurelia-components/tree/main/packages/bootstrap-addons",
6
6
  "repository": {
7
7
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "@ekzo-dev/bootstrap": "~5.3.3",
12
+ "@ekzo-dev/bootstrap": "~5.3.4",
13
13
  "@ekzo-dev/vanilla-jsoneditor": "~3.11.0",
14
14
  "@ekzo-dev/toolkit": "^1.2.4",
15
15
  "@fortawesome/free-solid-svg-icons": "^7.0.1",
@@ -5,7 +5,7 @@ import './duration-input.scss';
5
5
  import { BaseField, Size } from '@ekzo-dev/bootstrap';
6
6
  import { coerceBoolean } from '@ekzo-dev/toolkit';
7
7
  import { Temporal } from '@js-temporal/polyfill';
8
- import { bindable, BindingMode, customElement, resolve } from 'aurelia';
8
+ import { bindable, BindingMode, customElement } from 'aurelia';
9
9
 
10
10
  type Duration = Partial<Pick<Temporal.Duration, 'years' | 'months' | 'days' | 'hours' | 'minutes' | 'seconds'>>;
11
11
  type DurationLabels = {
@@ -45,8 +45,6 @@ export class BsDurationInput extends BaseField implements EventListenerObject {
45
45
  @bindable(coerceBoolean)
46
46
  floatingLabel: boolean = false;
47
47
 
48
- readonly host = resolve(HTMLElement);
49
-
50
48
  duration: Duration = {};
51
49
 
52
50
  labels: DurationLabels = this.#getLabels();
@@ -53,6 +53,12 @@ export class BsSelect extends BaseBsSelect implements ICustomElementViewModel {
53
53
  }
54
54
  }
55
55
 
56
+ propertyChanged(key: PropertyKey, newValue: unknown, oldValue?: unknown) {
57
+ super.propertyChanged(key, newValue, oldValue);
58
+ // multiple must not be set on control
59
+ this.control.removeAttribute('multiple');
60
+ }
61
+
56
62
  setPopperConfig() {
57
63
  const { host } = this;
58
64
  const parentModal = host.closest('.modal-body,.popover-body,.offcanvas-body');