mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
Update dependency ember-power-select to v4.1.7 (#15157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kevin Ansfield <kevin@lookingsideways.co.uk>
This commit is contained in:
parent
e5fb7b805f
commit
65a74f41c8
@ -1,22 +1,23 @@
|
|||||||
<div ...attributes>
|
<div ...attributes>
|
||||||
<PowerSelect
|
<div class="ember-power-select-search">
|
||||||
class="ember-power-select-search"
|
<PowerSelect
|
||||||
@search={{perform this.searchTask}}
|
@search={{perform this.searchTask}}
|
||||||
@onChange={{this.openSelected}}
|
@onChange={{this.openSelected}}
|
||||||
@onClose={{this.onClose}}
|
@onClose={{this.onClose}}
|
||||||
@placeholder="Search site"
|
@placeholder="Search site"
|
||||||
@searchEnabled={{false}}
|
@searchEnabled={{false}}
|
||||||
@triggerComponent="gh-input-with-select/trigger"
|
@triggerComponent="gh-input-with-select/trigger"
|
||||||
@renderInPlace={{true}}
|
@renderInPlace={{true}}
|
||||||
@loadingMessage="Loading"
|
@loadingMessage="Loading"
|
||||||
@extra={{hash
|
@extra={{hash
|
||||||
autofocus=true
|
autofocus=true
|
||||||
inputType="search"
|
inputType="search"
|
||||||
inputIcon="search"
|
inputIcon="search"
|
||||||
inputIconClass="gh-nav-search-icon"
|
inputIconClass="gh-nav-search-icon"
|
||||||
}}
|
}}
|
||||||
as |name select|
|
as |name select|
|
||||||
>
|
>
|
||||||
{{highlighted-text name.title select.searchText}}
|
{{highlighted-text name.title select.searchText}}
|
||||||
</PowerSelect>
|
</PowerSelect>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
@ -108,7 +108,7 @@
|
|||||||
"ember-moment": "10.0.0",
|
"ember-moment": "10.0.0",
|
||||||
"ember-one-way-select": "4.0.1",
|
"ember-one-way-select": "4.0.1",
|
||||||
"ember-power-datepicker": "cibernox/ember-power-datepicker",
|
"ember-power-datepicker": "cibernox/ember-power-datepicker",
|
||||||
"ember-power-select": "4.1.5",
|
"ember-power-select": "4.1.7",
|
||||||
"ember-resolver": "8.0.3",
|
"ember-resolver": "8.0.3",
|
||||||
"ember-simple-auth": "4.2.2",
|
"ember-simple-auth": "4.2.2",
|
||||||
"ember-sinon": "5.0.0",
|
"ember-sinon": "5.0.0",
|
||||||
|
@ -90,7 +90,7 @@ describe('Acceptance: Members filtering', function () {
|
|||||||
expect(operatorOptions[1]).to.have.value('is-not');
|
expect(operatorOptions[1]).to.have.value('is-not');
|
||||||
|
|
||||||
// value dropdown can open and has all labels
|
// value dropdown can open and has all labels
|
||||||
await click(`${filterSelector} .gh-member-label-input .ember-basic-dropdown-trigger`);
|
await click(`${filterSelector} .gh-member-label-input`);
|
||||||
expect(findAll(`${filterSelector} [data-test-label-filter]`).length, '# of label options').to.equal(5);
|
expect(findAll(`${filterSelector} [data-test-label-filter]`).length, '# of label options').to.equal(5);
|
||||||
|
|
||||||
// selecting a value updates table
|
// selecting a value updates table
|
||||||
@ -140,7 +140,7 @@ describe('Acceptance: Members filtering', function () {
|
|||||||
expect(operatorOptions[1]).to.have.value('is-not');
|
expect(operatorOptions[1]).to.have.value('is-not');
|
||||||
|
|
||||||
// value dropdown can open and has all labels
|
// value dropdown can open and has all labels
|
||||||
await click(`${filterSelector} .gh-tier-token-input .ember-basic-dropdown-trigger`);
|
await click(`${filterSelector} .gh-tier-token-input`);
|
||||||
expect(findAll(`${filterSelector} [data-test-tiers-segment]`).length, '# of label options').to.equal(5);
|
expect(findAll(`${filterSelector} [data-test-tiers-segment]`).length, '# of label options').to.equal(5);
|
||||||
|
|
||||||
// selecting a value updates table
|
// selecting a value updates table
|
||||||
|
@ -79,8 +79,8 @@ testemail@example.com,Test Email,This is a test template for importing your memb
|
|||||||
const labelInput = '[data-test-csv-file-mapping] .gh-member-label-input';
|
const labelInput = '[data-test-csv-file-mapping] .gh-member-label-input';
|
||||||
expect(find(labelInput), 'label input').to.exist;
|
expect(find(labelInput), 'label input').to.exist;
|
||||||
|
|
||||||
const dropdownContentId = find(`${labelInput} .ember-basic-dropdown-trigger`).getAttribute('aria-owns');
|
const dropdownContentId = find(`${labelInput}`).getAttribute('aria-owns');
|
||||||
await click(`${labelInput} .ember-basic-dropdown-trigger`);
|
await click(`${labelInput}`);
|
||||||
|
|
||||||
expect(findAll(`#${dropdownContentId} li.ember-power-select-option`).length, '# of label options').to.equal(1);
|
expect(findAll(`#${dropdownContentId} li.ember-power-select-option`).length, '# of label options').to.equal(1);
|
||||||
|
|
||||||
|
28
yarn.lock
28
yarn.lock
@ -2337,7 +2337,7 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6"
|
resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6"
|
||||||
integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==
|
integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==
|
||||||
|
|
||||||
"@glimmer/component@1.1.2", "@glimmer/component@^1.0.2", "@glimmer/component@^1.0.4":
|
"@glimmer/component@1.1.2", "@glimmer/component@^1.0.4":
|
||||||
version "1.1.2"
|
version "1.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/@glimmer/component/-/component-1.1.2.tgz#892ec0c9f0b6b3e41c112be502fde073cf24d17c"
|
resolved "https://registry.yarnpkg.com/@glimmer/component/-/component-1.1.2.tgz#892ec0c9f0b6b3e41c112be502fde073cf24d17c"
|
||||||
integrity sha512-XyAsEEa4kWOPy+gIdMjJ8XlzA3qrGH55ZDv6nA16ibalCR17k74BI0CztxuRds+Rm6CtbUVgheCVlcCULuqD7A==
|
integrity sha512-XyAsEEa4kWOPy+gIdMjJ8XlzA3qrGH55ZDv6nA16ibalCR17k74BI0CztxuRds+Rm6CtbUVgheCVlcCULuqD7A==
|
||||||
@ -2459,7 +2459,7 @@
|
|||||||
"@handlebars/parser" "~2.0.0"
|
"@handlebars/parser" "~2.0.0"
|
||||||
simple-html-tokenizer "^0.5.11"
|
simple-html-tokenizer "^0.5.11"
|
||||||
|
|
||||||
"@glimmer/tracking@^1.0.2", "@glimmer/tracking@^1.0.4":
|
"@glimmer/tracking@^1.0.4":
|
||||||
version "1.1.2"
|
version "1.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/@glimmer/tracking/-/tracking-1.1.2.tgz#74e71be07b0a7066518d24044d2665d0cf8281eb"
|
resolved "https://registry.yarnpkg.com/@glimmer/tracking/-/tracking-1.1.2.tgz#74e71be07b0a7066518d24044d2665d0cf8281eb"
|
||||||
integrity sha512-cyV32zsHh+CnftuRX84ALZpd2rpbDrhLhJnTXn9W//QpqdRZ5rdMsxSY9fOsj0CKEc706tmEU299oNnDc0d7tA==
|
integrity sha512-cyV32zsHh+CnftuRX84ALZpd2rpbDrhLhJnTXn9W//QpqdRZ5rdMsxSY9fOsj0CKEc706tmEU299oNnDc0d7tA==
|
||||||
@ -9777,7 +9777,7 @@ ember-auto-import@^1.11.2, ember-auto-import@^1.11.3, ember-auto-import@^1.12.0:
|
|||||||
typescript-memoize "^1.0.0-alpha.3"
|
typescript-memoize "^1.0.0-alpha.3"
|
||||||
walk-sync "^0.3.3"
|
walk-sync "^0.3.3"
|
||||||
|
|
||||||
ember-basic-dropdown@^3.0.11, ember-basic-dropdown@^3.0.17:
|
ember-basic-dropdown@^3.0.11, ember-basic-dropdown@^3.0.21:
|
||||||
version "3.1.0"
|
version "3.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/ember-basic-dropdown/-/ember-basic-dropdown-3.1.0.tgz#47c292de890d1958057736c00b8eb2b8017d530b"
|
resolved "https://registry.yarnpkg.com/ember-basic-dropdown/-/ember-basic-dropdown-3.1.0.tgz#47c292de890d1958057736c00b8eb2b8017d530b"
|
||||||
integrity sha512-UISvgJHfiJ8FeXqH8ZN+NmoImN8p6Sb+85qlEv853hLuEfEYnFUqLNhea8nNl9CpFqcD3yU4dKbhYtc6nB39aQ==
|
integrity sha512-UISvgJHfiJ8FeXqH8ZN+NmoImN8p6Sb+85qlEv853hLuEfEYnFUqLNhea8nNl9CpFqcD3yU4dKbhYtc6nB39aQ==
|
||||||
@ -10219,7 +10219,7 @@ ember-cli-typescript@^3.1.3, ember-cli-typescript@^3.1.4:
|
|||||||
stagehand "^1.0.0"
|
stagehand "^1.0.0"
|
||||||
walk-sync "^2.0.0"
|
walk-sync "^2.0.0"
|
||||||
|
|
||||||
ember-cli-typescript@^4.1.0, ember-cli-typescript@^4.2.1:
|
ember-cli-typescript@^4.1.0, ember-cli-typescript@^4.2.0, ember-cli-typescript@^4.2.1:
|
||||||
version "4.2.1"
|
version "4.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/ember-cli-typescript/-/ember-cli-typescript-4.2.1.tgz#54d08fc90318cc986f3ea562f93ce58a6cc4c24d"
|
resolved "https://registry.yarnpkg.com/ember-cli-typescript/-/ember-cli-typescript-4.2.1.tgz#54d08fc90318cc986f3ea562f93ce58a6cc4c24d"
|
||||||
integrity sha512-0iKTZ+/wH6UB/VTWKvGuXlmwiE8HSIGcxHamwNhEC5x1mN3z8RfvsFZdQWYUzIWFN2Tek0gmepGRPTwWdBYl/A==
|
integrity sha512-0iKTZ+/wH6UB/VTWKvGuXlmwiE8HSIGcxHamwNhEC5x1mN3z8RfvsFZdQWYUzIWFN2Tek0gmepGRPTwWdBYl/A==
|
||||||
@ -10780,18 +10780,18 @@ ember-power-datepicker@cibernox/ember-power-datepicker:
|
|||||||
ember-decorators "^6.1.1"
|
ember-decorators "^6.1.1"
|
||||||
ember-power-calendar "^0.16.3"
|
ember-power-calendar "^0.16.3"
|
||||||
|
|
||||||
ember-power-select@4.1.5:
|
ember-power-select@4.1.7:
|
||||||
version "4.1.5"
|
version "4.1.7"
|
||||||
resolved "https://registry.yarnpkg.com/ember-power-select/-/ember-power-select-4.1.5.tgz#8bf4b77a5577972ac7793d7ac81580f79154d122"
|
resolved "https://registry.yarnpkg.com/ember-power-select/-/ember-power-select-4.1.7.tgz#eb547dd37448357d8f3fa789db18ddbba43fb8ca"
|
||||||
integrity sha512-J/WJau0fXBl6VGocctUKElK2vJYMzUfk2AqD61ezGVLF65aobo8G4BJuQoIZJr6dl2++fuNWHjO5iz8dHEAVPQ==
|
integrity sha512-Q4cjUudWb7JA6q7qe0jhcpLsipuFUHMwkYC05HxST5qm3MRMEzs6KfZ3Xd/TcrjBLSoWniw3Q61Quwcb41w5Jw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@glimmer/component" "^1.0.2"
|
"@glimmer/component" "^1.0.4"
|
||||||
"@glimmer/tracking" "^1.0.2"
|
"@glimmer/tracking" "^1.0.4"
|
||||||
ember-assign-helper "^0.3.0"
|
ember-assign-helper "^0.3.0"
|
||||||
ember-basic-dropdown "^3.0.17"
|
ember-basic-dropdown "^3.0.21"
|
||||||
ember-cli-babel "^7.23.0"
|
ember-cli-babel "^7.26.0"
|
||||||
ember-cli-htmlbars "^5.3.1"
|
ember-cli-htmlbars "^6.0.0"
|
||||||
ember-cli-typescript "^4.1.0"
|
ember-cli-typescript "^4.2.0"
|
||||||
ember-concurrency ">=1.0.0 <3"
|
ember-concurrency ">=1.0.0 <3"
|
||||||
ember-concurrency-decorators "^2.0.0"
|
ember-concurrency-decorators "^2.0.0"
|
||||||
ember-text-measurer "^0.6.0"
|
ember-text-measurer "^0.6.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user