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

chore(styles): cleans up placeholder folder #2171

Merged
merged 10 commits into from
Nov 7, 2023

Conversation

b1aserlu
Copy link
Contributor

@b1aserlu b1aserlu commented Oct 31, 2023

The unnused placeholders in _text.scss will be deprecated and will be deleted in the next version as mentioned in the changeset.

The removal will be done in this issue #2202

Please be advised after merging this PR an error will occur when trying to build packages depending on the styles package.
delete your dist folder in the styles package but especially the /placeholder/badge.scss file to resovle this.

removes the unused imports where a file from the placeholder folder was imported but never used.
@b1aserlu b1aserlu linked an issue Oct 31, 2023 that may be closed by this pull request
Copy link

changeset-bot bot commented Oct 31, 2023

🦋 Changeset detected

Latest commit: 3270ba1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
@swisspost/design-system-styles Patch
@swisspost/design-system-components Patch
@swisspost/design-system-demo Patch
@swisspost/design-system-documentation Patch
@swisspost/internet-header Patch
@swisspost/design-system-intranet-header-workspace Patch
@swisspost/design-system-intranet-header Patch
@swisspost/design-system-components-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@swisspost-bot
Copy link
Contributor

swisspost-bot commented Oct 31, 2023

Preview environment ready: https://preview-2171--swisspost-web-frontend.netlify.app
Preview environment ready: https://preview-2171--swisspost-design-system-next.netlify.app

adds a changeset that informs of the deprecation of some placeholders that will be removed with the next major version
@b1aserlu b1aserlu marked this pull request as ready for review November 1, 2023 14:50
@b1aserlu b1aserlu requested a review from a team as a code owner November 1, 2023 14:50
@oliverschuerch oliverschuerch requested review from gfellerph and removed request for oliverschuerch November 2, 2023 08:36
.changeset/neat-maps-give.md Outdated Show resolved Hide resolved
Copy link

sonarcloud bot commented Nov 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@b1aserlu b1aserlu merged commit 4a599cc into main Nov 7, 2023
10 checks passed
@b1aserlu b1aserlu deleted the 888-styles-placeholders-folder-clean-up branch November 7, 2023 15:51
gfellerph pushed a commit that referenced this pull request Nov 10, 2023
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @swisspost/internet-header@1.13.0

### Minor Changes

- Added a link to settings in the user drop-down menu for business
users. (by [@alizedebray](https://github.com/alizedebray) with
[#2234](#2234))

### Patch Changes

- Replaced the old twitter logo with the new X logo. (by
[@b1aserlu](https://github.com/b1aserlu) with
[#2176](#2176))
-   Updated dependencies:
    -   @swisspost/design-system-styles@6.4.4

## @swisspost/design-system-components@1.6.2

### Patch Changes

-   Updated dependencies:
    -   @swisspost/design-system-styles@6.4.4

## @swisspost/design-system-intranet-header@5.0.4

### Patch Changes

- Added a descriptive text to the Post logo home link. (by
[@b1aserlu](https://github.com/b1aserlu) with
[#2101](#2101))
-   Updated dependencies:
    -   @swisspost/design-system-styles@6.4.4

## @swisspost/design-system-styles@6.4.4

### Patch Changes

- Added official way to use label in a floating-label select as a
placeholder. (by [@imagoiq](https://github.com/imagoiq) with
[#2200](#2200))

- Fixed display of button-group input when using checkbox or radio
variant. (by [@imagoiq](https://github.com/imagoiq) with
[#2133](#2133))

- Fixed offset of radio button when checked and in inline layout. (by
[@imagoiq](https://github.com/imagoiq) with
[#2065](#2065))

- The following placeholders from the `\_text.scss` file are depreacted
an will be removed in a future version: `%list-adjustment`,
`%module-container`, `%default-module-spacer`, `%text-container`. (by
[@b1aserlu](https://github.com/b1aserlu) with
[#2171](#2171))

- Fixed default icon flashing when using a `post-icon` on alerts. (by
[@imagoiq](https://github.com/imagoiq) with
[#2244](#2244))

## @swisspost/design-system-documentation@2.4.0

### Minor Changes

- Added docs page on how to use columns. (by
[@davidritter-dotcom](https://github.com/davidritter-dotcom) with
[#2062](#2062))

### Patch Changes

- Added official way to use label in a floating-label select as a
placeholder. (by [@imagoiq](https://github.com/imagoiq) with
[#2200](#2200))

- Extended the `@swisspost/design-system-components` package
getting-started docs page to show multiple ways how it can be
used/imported in different project setups. (by
[@oliverschuerch](https://github.com/oliverschuerch) with
[#2214](#2214))

-   Updated dependencies:
    -   @swisspost/internet-header@1.13.0
    -   @swisspost/design-system-styles@6.4.4
    -   @swisspost/design-system-components@1.6.2
    -   @swisspost/design-system-components-react@1.0.22

## @swisspost/design-system-components-react@1.0.22

### Patch Changes

-   Updated dependencies:
    -   @swisspost/design-system-components@1.6.2

## @swisspost/design-system-demo@7.0.4

### Patch Changes

-   Updated dependencies:
    -   @swisspost/design-system-styles@6.4.4
    -   @swisspost/design-system-intranet-header@5.0.4

## @swisspost/design-system-intranet-header-workspace@3.0.4

### Patch Changes

-   Updated dependencies:
    -   @swisspost/design-system-styles@6.4.4

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Styles: placeholders folder clean up
3 participants