Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUMP] Update dependency @1024pix/pix-ui to v49 (certif) #10692

Merged
merged 2 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions certif/app/components/auth/register-form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@
{{/if}}

{{#if this.errorMessage}}
<PixMessage @type="error">
<PixNotificationAlert @type="error">
{{this.errorMessage}}
</PixMessage>
</PixNotificationAlert>
{{/if}}

<PixButton @type="submit" @isLoading={{this.isLoading}}>
Expand Down
4 changes: 2 additions & 2 deletions certif/app/components/auth/toggable-login-form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
</PixInputPassword>

{{#if this.isErrorMessagePresent}}
<PixMessage @type="error">
<PixNotificationAlert @type="error">
{{this.errorMessage}}
</PixMessage>
</PixNotificationAlert>
{{/if}}

<PixButton @type="submit" @isLoading={{this.isLoading}}>
Expand Down
4 changes: 2 additions & 2 deletions certif/app/components/communication-banner.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{#if this.isEnabled}}
<PixBanner @type={{this.bannerType}} @canCloseBanner="true">
<PixBannerAlert @type={{this.bannerType}} @canCloseBanner="true">
{{text-with-multiple-lang this.bannerContent}}
</PixBanner>
</PixBannerAlert>
{{/if}}
6 changes: 3 additions & 3 deletions certif/app/components/import/step-one-section.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<li>{{t "pages.sessions.import.step-one.instructions.edition.replace" htmlSafe=true}}</li>
<li>{{t "pages.sessions.import.step-one.instructions.edition.subscription" htmlSafe=true}}</li>
</ul>
<PixMessage @type="warning" @withIcon={{true}}>
<PixNotificationAlert @type="warning" @withIcon={{true}}>
{{t "pages.sessions.import.step-one.instructions.edition.warning"}}
</PixMessage>
</PixNotificationAlert>
</div>
<div class="import-download-block">
<PixIcon @name="download" @ariaHidden={{true}} class="import-download-block__icon" />
Expand Down Expand Up @@ -51,7 +51,7 @@
/>

{{#if @importErrorMessage}}
<PixMessage @type="error" @withIcon={{true}}>{{@importErrorMessage}}</PixMessage>
<PixNotificationAlert @type="error" @withIcon={{true}}>{{@importErrorMessage}}</PixNotificationAlert>
{{/if}}

<ul class="import-page__section--link-buttons">
Expand Down
26 changes: 13 additions & 13 deletions certif/app/components/import/step-two-section.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
{{t "pages.sessions.import.step-two.blocking-errors.information"}}
</span>
<div>
<PixCollapsible
<PixAccordions
@iconName="error"
@plainIcon={{true}}
@tagContent={{t
"pages.sessions.import.step-two.blocking-errors.tag-information"
blockingErrorReportsCount=this.blockingErrorReportsCount
}}
@tagColor="error"
class="collapsible-header collapsible-header--blocking"
class="accordions-header accordions-header--blocking"
>
<:title>
{{t
Expand All @@ -50,20 +50,20 @@
}}
</:title>
<:content>
<ul class="collapsible-header__list">
<ul class="accordions-header__list">
{{#each this.translatedBlockingErrorReport as |report|}}
<li>
<PixMessage @type="error">
<PixNotificationAlert @type="error">
{{t "pages.sessions.import.step-two.blocking-errors.line"}}
{{report.line}}
:
{{report.message}}
</PixMessage>
</PixNotificationAlert>
</li>
{{/each}}
</ul>
</:content>
</PixCollapsible>
</PixAccordions>
</div>
{{/if}}
{{#if (gt this.nonBlockingErrorReportsCount 0)}}
Expand All @@ -74,15 +74,15 @@
}}
</span>
<div>
<PixCollapsible
<PixAccordions
@iconName="warning"
@plainIcon={{true}}
@tagContent={{t
"pages.sessions.import.step-two.non-blocking-errors.tag-information"
nonBlockingErrorReportsCount=this.nonBlockingErrorReportsCount
}}
@tagColor="secondary"
class="collapsible-header collapsible-header--non-blocking"
class="accordions-header accordions-header--non-blocking"
>
<:title>
{{t
Expand All @@ -91,20 +91,20 @@
}}
</:title>
<:content>
<ul class="collapsible-header__list">
<ul class="accordions-header__list">
{{#each this.translatedNonBlockingErrorReport as |report|}}
<li>
<PixMessage @type="warning">
<PixNotificationAlert @type="warning">
{{t "pages.sessions.import.step-two.non-blocking-errors.line"}}
{{report.line}}
:
{{report.message}}
</PixMessage>
</PixNotificationAlert>
</li>
{{/each}}
</ul>
</:content>
</PixCollapsible>
</PixAccordions>
</div>
{{/if}}

Expand Down Expand Up @@ -139,7 +139,7 @@
/>

{{#if @importErrorMessage}}
<PixMessage @type="error" @withIcon={{true}}>{{@importErrorMessage}}</PixMessage>
<PixNotificationAlert @type="error" @withIcon={{true}}>{{@importErrorMessage}}</PixNotificationAlert>
{{/if}}

<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@
</div>

{{#if this.showCategoryMissingError}}
<PixMessage @type="error">{{t
<PixNotificationAlert @type="error">{{t
"pages.session-finalization.add-issue-modal.actions.select-category"
}}</PixMessage>
}}</PixNotificationAlert>
{{/if}}

{{#if this.showIssueReportSubmitError}}
<PixMessage @type="error">{{t "pages.session-finalization.add-issue-modal.errors.add-reporting"}}</PixMessage>
<PixNotificationAlert @type="error">{{t
"pages.session-finalization.add-issue-modal.errors.add-reporting"
}}</PixNotificationAlert>
{{/if}}
</form>
</:content>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
</div>

{{#if this.showDeletionError}}
<PixMessage @type="error">{{t
<PixNotificationAlert @type="error">{{t
"pages.session-finalization.issue-reports-modal.errors.delete-reporting"
}}</PixMessage>
}}</PixNotificationAlert>
{{/if}}
</:content>
</PixModal>
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
</PixTooltip>
</div>
{{#if @nonBlockingCandidateIssueCategory.isChecked}}
<PixMessage @type="info" @withIcon={{true}}>
<PixNotificationAlert @type="info" @withIcon={{true}}>
{{t "pages.session-finalization.add-issue-modal.non-blocking-issues.candidate-information"}}
</PixMessage>
</PixNotificationAlert>
<div class="non-blocking-candidate-issue-certification-issue-report-fields__details">
<PixTextarea
id="text-area-for-category-candidate-issue"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
</PixTooltip>
</div>
{{#if @nonBlockingTechnicalIssueCategory.isChecked}}
<PixMessage @type="info" @withIcon={{true}}>
<PixNotificationAlert @type="info" @withIcon={{true}}>
{{t "pages.session-finalization.add-issue-modal.non-blocking-issues.technical-information"}}
</PixMessage>
</PixNotificationAlert>
<div class="non-blocking-technical-issue-certification-issue-report-fields__details">
<PixTextarea
id="text-area-for-category-technical-issue"
Expand Down
10 changes: 5 additions & 5 deletions certif/app/components/layout/topbar.gjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import PixBanner from '@1024pix/pix-ui/components/pix-banner';
import PixBannerAlert from '@1024pix/pix-ui/components/pix-banner-alert';
import { action } from '@ember/object';
import { service } from '@ember/service';
import Component from '@glimmer/component';
Expand Down Expand Up @@ -50,23 +50,23 @@ export default class Topbar extends Component {
</div>

{{#if this.showInformationBanner}}
<PixBanner
<PixBannerAlert
@actionLabel={{t 'pages.sco.banner.url-label'}}
@actionUrl={{ACTION_URL_FOR_INFORMATION_BANNER}}
@canCloseBanner='true'
>
{{t 'pages.sco.banner.information'}}
</PixBanner>
</PixBannerAlert>
{{/if}}

{{#if this.shouldDisplayLocaleNotSupportedBanner}}
<PixBanner
<PixBannerAlert
@type='information'
@canCloseBanner='true'
@onCloseBannerTriggerAction={{this.closeLocaleNotSupportedBanner}}
>
{{t 'banners.language-availability.message'}}
</PixBanner>
</PixBannerAlert>
{{/if}}
</template>
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
</PixCheckbox>

{{#if this.displayJoiningIssue}}
<PixMessage @type="info" @withIcon={{true}}>
<PixNotificationAlert @type="info" @withIcon={{true}}>
{{t
"pages.session-finalization.complementary-information.candidates-joining-issue.link"
htmlSafe=true
joiningIssueSheetUrl=this.joiningIssueSheetUrl
}}
</PixMessage>
</PixNotificationAlert>
{{/if}}
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<table>
{{#if (gt @session.uncompletedCertificationReports.length 0)}}
<caption>
<PixMessage
<PixNotificationAlert
class="session-finalization-reports-information-step__title-completed"
@withIcon={{true}}
@type="success"
>
{{t "pages.session-finalization.reporting.completed-reports-information.description"}}
</PixMessage>
</PixNotificationAlert>
<span class="screen-reader-only">
{{t "pages.session-finalization.reporting.completed-reports-information.extra-information"}}
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

<table>
<caption>
<PixMessage
<PixNotificationAlert
@type="warning"
@withIcon={{true}}
class="session-finalization-reports-information-step__title-uncompleted"
>
{{t "pages.session-finalization.reporting.uncompleted-reports-information.description"}}
</PixMessage>
</PixNotificationAlert>
<span class="screen-reader-only">
{{t "pages.session-finalization.reporting.uncompleted-reports-information.extra-information"}}
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
{{/if}}

{{#if this.shouldDisplayNonEligibilityWarning}}
<PixMessage
<PixNotificationAlert
@type="warning"
@withIcon={{true}}
class="session-supervising-candidate-in-list-details__eligibility"
>
{{t "pages.session-supervising.candidate-in-list.complementary-certification-non-eligibility-warning"}}
</PixMessage>
</PixNotificationAlert>
{{/if}}
{{#if @candidate.hasStarted}}
<p class="session-supervising-candidate-in-list-details-time">
Expand Down
4 changes: 2 additions & 2 deletions certif/app/components/session-supervising/header.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</dl>

{{#if this.isPixCompanionExtensionEnabled}}
<PixMessage @type="info" @withIcon={{true}}>
<PixNotificationAlert @type="info" @withIcon={{true}}>
{{t "pages.session-supervising.header.companion.message"}}
<a
href={{this.pixCompanionDocumentationUrl}}
Expand All @@ -67,7 +67,7 @@
{{t "pages.session-supervising.header.companion.link"}}
<PixIcon @name="openNew" @title={{t "navigation.external-link-title"}} />
</a>
</PixMessage>
</PixNotificationAlert>
{{/if}}

<SessionSupervising::ConfirmationModal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
>
<:content>
<p>
<PixMessage @type="success" class="live-alert-handled-modal__success-banner" @withIcon={{true}}>
<PixNotificationAlert @type="success" class="live-alert-handled-modal__success-banner" @withIcon={{true}}>
{{#if @isLiveAlertValidated}}
{{t "pages.session-supervising.candidate-in-list.handle-live-alert-modal.handled.validated-banner"}}
{{else}}
{{t "pages.session-supervising.candidate-in-list.handle-live-alert-modal.handled.rejected-banner"}}
{{/if}}
</PixMessage>
</PixNotificationAlert>
</p>

<div class="app-modal-body__warning live-alert-handled-modal__description">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import PixButton from '@1024pix/pix-ui/components/pix-button';
import PixMessage from '@1024pix/pix-ui/components/pix-message';
import PixModal from '@1024pix/pix-ui/components/pix-modal';
import PixNotificationAlert from '@1024pix/pix-ui/components/pix-notification-alert';
import { t } from 'ember-intl';
import { gt } from 'ember-truth-helpers';

Expand All @@ -24,9 +24,9 @@ import { gt } from 'ember-truth-helpers';
htmlSafe=true
}}</p>
{{/if}}
<PixMessage @type='warning' @withIcon={{true}}>
<PixNotificationAlert @type='warning' @withIcon={{true}}>
{{t 'pages.sessions.list.delete-modal.warning'}}
</PixMessage>
</PixNotificationAlert>
</:content>
<:footer>
<PixButton
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import PixButton from '@1024pix/pix-ui/components/pix-button';
import PixIcon from '@1024pix/pix-ui/components/pix-icon';
import PixInput from '@1024pix/pix-ui/components/pix-input';
import PixLabel from '@1024pix/pix-ui/components/pix-label';
import PixMessage from '@1024pix/pix-ui/components/pix-message';
import PixModal from '@1024pix/pix-ui/components/pix-modal';
import PixNotificationAlert from '@1024pix/pix-ui/components/pix-notification-alert';
import PixRadioButton from '@1024pix/pix-ui/components/pix-radio-button';
import PixSelect from '@1024pix/pix-ui/components/pix-select';
import PixTooltip from '@1024pix/pix-ui/components/pix-tooltip';
Expand Down Expand Up @@ -437,9 +437,9 @@ export default class CandidateCreationModal extends Component {
</PixInput>
</div>

<PixMessage class='new-candidate-modal-form__info-panel' @withIcon={{true}}>
<PixNotificationAlert class='new-candidate-modal-form__info-panel' @withIcon={{true}}>
{{t 'pages.sessions.detail.candidates.add-modal.info-panel' htmlSafe=true}}
</PixMessage>
</PixNotificationAlert>

<div class='new-candidate-modal-form__field'>
<PixInput
Expand Down
Loading