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

Remove deprecated spacings #3320

Merged
merged 1 commit into from
Jan 7, 2025
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
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1 class="userPopover-details-info-name u-ellipsis">
<p *ngIf="employee.jobTitle" class="userPopover-details-info-detail u-ellipsis">{{ employee.jobTitle }}</p>
<p *ngIf="employee.userDepartment" class="userPopover-details-info-detail u-ellipsis">{{ employee.userDepartment?.name }}</p>

<p class="userPopover-details-info-detail u-marginTopXS">
<p class="userPopover-details-info-detail pr-u-marginTop100">
<!-- HORS CONTRAT-->
<span *ngIf="employee.dtContractStart | isFuture" class="userPopover-details-info-detail-workplace">
<span aria-hidden="true" class="lucca-icon icon-calendarPlanning mod-S"></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ export const testDynamicDisabled = generateStory({
export const AddOption = generateStory({
name: 'Add option',
description: "Pour ajouter une option, il suffit d'utiliser l'input `addOptionStrategy` et de s'abonner à l'output `addOption`. Le label est customisable via l'input `addOptionLabel`.",
template: `<div class="u-marginBottomS">There is {{ legumes.length }} legumes in the list.</div>
template: `<div class="pr-u-marginBottom200">There is {{ legumes.length }} legumes in the list.</div>
<lu-multi-select
#selectRef
placeholder="Placeholder..."
Expand Down
6 changes: 3 additions & 3 deletions stories/documentation/forms/select/simple-select.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ import { LuCoreSelectJobQualificationsDirective } from '@lucca-front/ng/core-sel
import { LuCoreSelectUsersDirective } from '@lucca-front/ng/core-select/user';
import { LuSimpleSelectInputComponent } from '@lucca-front/ng/simple-select';
import { LuUserDisplayPipe } from '@lucca-front/ng/user';
import { Meta, applicationConfig, moduleMetadata } from '@storybook/angular';
import { applicationConfig, Meta, moduleMetadata } from '@storybook/angular';
import { HiddenArgType } from 'stories/helpers/common-arg-types';
import { getStoryGenerator, useDocumentationStory } from 'stories/helpers/stories';
import { provideCoreSelectCurrentUserId } from '../../../../packages/ng/core-select/user/me.provider';
import { LuCoreSelectLegumesDirective } from './custom-api-example.component';
import { LuCoreSelectCustomEstablishmentsDirective } from './custom-establishment-example.component';
import { LuCoreSelectCustomUsersDirective } from './custom-user-example.component';
import { FilterLegumesPipe, ILegume, LuCoreSelectInputStoryComponent, SortLegumesPipe, allLegumes, colorNameByColor, coreSelectStory } from './select.utils';
import { allLegumes, colorNameByColor, coreSelectStory, FilterLegumesPipe, ILegume, LuCoreSelectInputStoryComponent, SortLegumesPipe } from './select.utils';

export type LuSimpleSelectInputStoryComponent = LuCoreSelectInputStoryComponent & {
selectedLegume: ILegume | null;
Expand Down Expand Up @@ -391,7 +391,7 @@ export const GroupBy = generateStory({
export const AddOption = generateStory({
name: 'Add option',
description: "Pour ajouter une option, il suffit d'utiliser l'input `addOptionStrategy` et de s'abonner à l'output `addOption`. Le label est customisable via l'input `addOptionLabel`.",
template: `<div class="u-marginBottomS">There is {{ legumes.length }} legumes in the list.</div>
template: `<div class="pr-u-marginBottom200">There is {{ legumes.length }} legumes in the list.</div>
<lu-simple-select
#selectRef
placeholder="Placeholder..."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default {
} as Meta;

function getTemplate(args: IndexTableLayoutFixedResponsiveStory): string {
return `<table class="indexTable mod-layoutFixedAtMediaMinS u-marginBottomL">
return `<table class="indexTable mod-layoutFixedAtMediaMinS pr-u-marginBottom300">
<thead class="indexTable-head">
<tr class="indexTable-head-row">
<th class="indexTable-head-row-cell" scope="col" style="--components-indexTable-cell-fixed-width: 15;">15rem column</th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function getTemplate(args: IndexTableResponsiveCardListCustomStory): string {
text-align: right;
}
</style>
<table class="indexTable mod-responsiveCardList myTable u-marginBottomL" >
<table class="indexTable mod-responsiveCardList myTable pr-u-marginBottom300" >
<thead class="indexTable-head">
<tr class="indexTable-head-row">
<th class="indexTable-head-row-cell" scope="col">Lorem</th>
Expand Down