Skip to content

Commit

Permalink
feat(deps): update ember-power-select
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This addon now requires `ember-power-select` v8.
  • Loading branch information
anehx committed Jul 30, 2024
1 parent 4abde9b commit 3e5a2fc
Show file tree
Hide file tree
Showing 6 changed files with 148 additions and 137 deletions.
48 changes: 48 additions & 0 deletions packages/-ember-caluma/mirage/scenarios/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,54 @@ export default function (server) {
}),
],
});
server.create("question", {
slug: "a-b-or-c",
label: "A, B or C?",
isRequired: "false",
infoText: null,
formIds: [form.id],
type: "CHOICE",
meta: { widgetOverride: "cf-field/input/powerselect" },
hintText: null,
options: [
server.create("option", {
slug: "a-b-or-c-a",
label: "A",
}),
server.create("option", {
slug: "a-b-or-c-b",
label: "B",
}),
server.create("option", {
slug: "a-b-or-c-c",
label: "C",
}),
],
});
server.create("question", {
slug: "a-b-and-c",
label: "A, B and C?",
isRequired: "false",
infoText: null,
formIds: [form.id],
type: "MULTIPLE_CHOICE",
meta: { widgetOverride: "cf-field/input/powerselect" },
hintText: null,
options: [
server.create("option", {
slug: "a-b-and-c-a",
label: "A",
}),
server.create("option", {
slug: "a-b-and-c-b",
label: "B",
}),
server.create("option", {
slug: "a-b-and-c-c",
label: "C",
}),
],
});
server.create("question", {
slug: "dummy",
label: "Dummy widget",
Expand Down
3 changes: 2 additions & 1 deletion packages/-ember-caluma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"broccoli-asset-rev": "3.0.0",
"ember-apollo-client": "4.0.2",
"ember-auto-import": "2.7.4",
"ember-basic-dropdown": "8.1.0",
"ember-can": "5.0.4",
"ember-changeset": "4.1.2",
"ember-changeset-validations": "4.1.1",
Expand Down Expand Up @@ -62,7 +63,7 @@
"ember-load-initializers": "2.1.2",
"ember-math-helpers": "4.0.0",
"ember-modifier": "4.2.0",
"ember-power-select": "7.2.0",
"ember-power-select": "8.2.0",
"ember-resolver": "12.0.1",
"ember-sortable": "5.1.1",
"ember-source": "5.10.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@projectcaluma/ember-core": "workspace:^",
"ember-apollo-client": "~4.0.2",
"ember-auto-import": "^2.7.4",
"ember-basic-dropdown": "^8.1.0",
"ember-changeset": "^4.1.2",
"ember-changeset-validations": "^4.1.1",
"ember-cli-babel": "^8.2.0",
Expand All @@ -31,7 +32,7 @@
"ember-engines-router-service": "^0.6.0",
"ember-fetch": "^8.1.2",
"ember-intl": "^7.0.4",
"ember-power-select": "^7.2.0",
"ember-power-select": "^8.2.0",
"ember-sortable": "^5.1.1",
"ember-uikit": "^9.1.2",
"ember-validated-form": "^7.0.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/form-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"codejar": "^4.2.0",
"ember-apollo-client": "~4.0.2",
"ember-auto-import": "^2.7.4",
"ember-basic-dropdown": "^8.1.0",
"ember-changeset": "^4.1.2",
"ember-changeset-validations": "^4.1.1",
"ember-cli-babel": "^8.2.0",
Expand All @@ -37,7 +38,7 @@
"ember-flatpickr": "^8.0.0",
"ember-intl": "^7.0.4",
"ember-math-helpers": "^4.0.0",
"ember-power-select": "^7.2.0",
"ember-power-select": "^8.2.0",
"ember-test-selectors": "^7.0.0",
"ember-uikit": "^9.1.2",
"ember-validated-form": "^7.0.1",
Expand Down
3 changes: 2 additions & 1 deletion packages/form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"ember-apollo-client": "~4.0.2",
"ember-auto-import": "^2.7.4",
"ember-autoresize-modifier": "^0.7.0",
"ember-basic-dropdown": "^8.1.0",
"ember-cli-babel": "^8.2.0",
"ember-cli-htmlbars": "^6.3.0",
"ember-cli-showdown": "^9.0.1",
Expand All @@ -33,7 +34,7 @@
"ember-in-viewport": "^4.1.0",
"ember-intl": "^7.0.4",
"ember-math-helpers": "^4.0.0",
"ember-power-select": "^7.2.0",
"ember-power-select": "^8.2.0",
"ember-truth-helpers": "^4.0.3",
"ember-uikit": "^9.1.2",
"ember-validators": "^4.1.2",
Expand Down
Loading

0 comments on commit 3e5a2fc

Please sign in to comment.