Skip to content

Commit

Permalink
Build up to date packages
Browse files Browse the repository at this point in the history
  • Loading branch information
smnandre committed Nov 6, 2024
1 parent 6424bd4 commit 07b3eeb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Autocomplete/assets/dist/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,10 @@ _default_1_instances = new WeakSet(), _default_1_getCommonConfig = function _def
const optionElement = document.createElement('option');
optionElement.value = value;
optionElement.text = data[this.tomSelect.settings.labelField];
const optionOrder = data['$order'];
const optionOrder = data.$order;
let orderedOption = null;
for (const [, tomSelectOption] of Object.entries(this.tomSelect.options)) {
if (tomSelectOption['$order'] === optionOrder) {
if (tomSelectOption.$order === optionOrder) {
orderedOption = parentElement.querySelector(`:scope > option[value="${tomSelectOption[this.tomSelect.settings.valueField]}"]`);
break;
}
Expand Down
4 changes: 2 additions & 2 deletions src/Autocomplete/assets/src/controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@ export default class extends Controller {
optionElement.value = value;
optionElement.text = data[this.tomSelect.settings.labelField];

const optionOrder = data['$order'];
const optionOrder = data.$order;
let orderedOption = null;

for (const [, tomSelectOption] of Object.entries(this.tomSelect.options)) {
if (tomSelectOption['$order'] === optionOrder) {
if (tomSelectOption.$order === optionOrder) {
orderedOption = parentElement.querySelector(
`:scope > option[value="${tomSelectOption[this.tomSelect.settings.valueField]}"]`
);
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2856,7 +2856,7 @@ __metadata:
vitest-canvas-mock: "npm:^0.3.3"
peerDependencies:
"@hotwired/stimulus": ^3.0.0
chart.js: ^3.4.1 || ^4.0
chart.js: ^4.0
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -2987,7 +2987,7 @@ __metadata:
svelte: "npm:^3.0 || ^4.0"
peerDependencies:
"@hotwired/stimulus": ^3.0.0
svelte: ^3.0 || ^4.0
svelte: ^4.0
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -3042,7 +3042,7 @@ __metadata:
"@hotwired/turbo": "npm:^7.1.0 || ^8.0"
peerDependencies:
"@hotwired/stimulus": ^3.0.0
"@hotwired/turbo": ^7.1.1 || ^8.0
"@hotwired/turbo": ^8.0
languageName: unknown
linkType: soft

Expand Down

0 comments on commit 07b3eeb

Please sign in to comment.