Skip to content

Commit

Permalink
Remove prettier-ignore in mdx files
Browse files Browse the repository at this point in the history
  • Loading branch information
imagoiq committed Oct 26, 2023
1 parent b488a38 commit e762ece
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ But note that the `<input>` element must come first, so we can ensure the correc

### Sizing

{/* prettier-ignore */}
<div className="alert alert-warning">
<h4 className="alert-heading">We're deprecating the regular and medium sizes for text input, textarea and select.</h4>
<p className="mt-0">This will make it easier to select the appropriate size variant: small for internal applications, large for external applications.<br />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ But note that the `<select>` must come first, so we can ensure the correct style

### Sizing

{/* prettier-ignore */}
<div className="alert alert-warning">
<h4 className="alert-heading">We're deprecating the regular and medium sizes for text input, textarea and select.</h4>
<p className="mt-0">This will make it easier to select the appropriate size variant: small for internal applications, large for external applications.<br />`.form-select-rg` and `.form-select-md` are deprecated and will be removed in the next major version.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ But note that the `<textarea>` element must come first, so we can ensure the cor

### Sizing

{/* prettier-ignore */}
<div className="alert alert-warning">
<h4 className="alert-heading">We're deprecating the regular and medium sizes for text input, textarea and select.</h4>
<p className="mt-0">This will make it easier to select the appropriate size variant: small for internal applications, large for external applications.<br />`.form-control-rg` and `.form-control-md` are deprecated and will be removed in the next major version.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Our grid system uses a series of containers, rows, and columns to layout and ali

The above example creates three equal-width columns across all devices and viewports using our predefined grid classes. Those columns are centered in the page with the parent `.container`.

{/* prettier-ignore */}
<div className="alert alert-warning">
<h4 className="alert-heading">Don't put a single column in a grid</h4>
<p>If you only use one column across all breakpoints, there is no need to wrap your content in a grid.</p>
Expand Down
4 changes: 0 additions & 4 deletions packages/documentation/src/stories/home.docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ import './home.styles.scss';
</div>
<div className="mt-regular mb-regular d-flex gap-mini flex-wrap justify-content-center">
<div className="mt-big mb-regular w-100">
{/* prettier-ignore */}
<button className="btn btn-primary btn-lg" onClick={linkTo('getting-started-styles--docs')}>Get started</button>
</div>
<a
Expand All @@ -57,7 +56,6 @@ import './home.styles.scss';
rel="noopener"
className="btn btn-secondary"
>
{/* prettier-ignore */}
<span>Experience Hub<sup>1</sup></span>
</a>
<a
Expand All @@ -66,7 +64,6 @@ import './home.styles.scss';
rel="noopener"
className="btn btn-secondary"
>
{/* prettier-ignore */}
<span>Figma<sup>2</sup></span>
</a>
<a
Expand All @@ -86,7 +83,6 @@ import './home.styles.scss';
<span>GitHub</span>
</a>
</div>
{/* prettier-ignore */}
<p className="mb-0 fs-tiny lh-tiny"><sup>1</sup> Login required. Get access with your post account, or use the registration form on the login page.<br />
<sup>2</sup> Login required. Get access with your post account, or click <a href="mailto:ux@post.ch?subject=I need access to Figma&body=Hello%2C%20I%20need%20access%20to%20Figma%20%0A%E2%80%A2%20%20Project%20name%3A%20%0A%E2%80%A2%20Project%20Owner%20at%20the%20Post%20Office%20%28email%29%3A%20%0A%E2%80%A2%20Project%20Start%20Date%3A%20%0A%E2%80%A2%20Email%20address%20to%20be%20authorized%3A%20">here</a>.</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import SamplePostweb from './intranet-header-postweb.sample.html?raw';

[![npm version](https://badge.fury.io/js/@swisspost%2Fdesign-system-intranet-header.svg)](https://badge.fury.io/js/@swisspost%2Fdesign-system-intranet-header)

{/* prettier-ignore */}
<div className="alert alert-info alert-md">
<h2 className="alert-heading">Angular only component</h2>
<p>The intranet header is an <a href="//Angular.io" target="_blank">Angular</a> component, as such it only works
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ improve the overall user interface.

</div>

{/* prettier-ignore */}
<div class="alert alert-warning mb-bigger-big">
<h2 class="alert-heading">Sizing variables are deprecated</h2>
<p>The current set of the post-specific spacing utility is deprecated in favour of a new naming system that is consistent with the Design. For further information, please read the <a href="https://github.com/swisspost/design-system/discussions/588">discussion on sizing variables on GitHub</a> and have a look at the <a href="https://www.figma.com/file/ojCcgC5Zd12eUSzq6V5m24/Foundations?node-id=3%3A2&t=l8qimsXlxeMLOzs6-0">implementation in Figma</a>.</p>
Expand All @@ -30,7 +29,6 @@ Our base spacing classes with suffixes going from 0 to 5 (`*-0`, `*-1`, ..., `*-

Our custom sizes can be used in the same way: by adding the name of the desired size to a prefix. See our [sizing docs](/?path=/docs/utilities-sizing--docs) to find out which size names are available.

{/* prettier-ignore */}
<div className="alert alert-warning">
<h4 className="alert-heading">Do not use spacing classes on grid elements (i.e. `.row`, `.col`, `.col-*`).</h4>
<p>Our grid is built with negative margins and positive paddings on the x-axis. Therefore, use this spacing classes only if you know exactly what you are doing!</p>
Expand Down

0 comments on commit e762ece

Please sign in to comment.