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

feat(documentation, styles): Update textarea styles and add floating label small variant #2857

Merged
merged 29 commits into from
Jun 12, 2024

Conversation

davidritter-dotcom
Copy link
Contributor

I updated the styles to be as close to figma as possible, but since some paddings in figma don't match any post-size, there will be some differences.

@davidritter-dotcom davidritter-dotcom requested a review from a team as a code owner March 27, 2024 13:28
@davidritter-dotcom davidritter-dotcom linked an issue Mar 27, 2024 that may be closed by this pull request
Copy link

changeset-bot bot commented Mar 27, 2024

🦋 Changeset detected

Latest commit: a075373

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

This PR includes changesets to release 14 packages
Name Type
@swisspost/design-system-documentation Major
@swisspost/design-system-styles Major
@swisspost/design-system-components-angular-workspace Patch
@swisspost/design-system-components Major
@swisspost/design-system-demo Patch
@swisspost/internet-header Patch
@swisspost/design-system-intranet-header-workspace Patch
@swisspost/design-system-nextjs-integration Patch
@swisspost/design-system-intranet-header Major
@swisspost/design-system-components-react Major
@swisspost/design-system-components-angular Major
@swisspost/design-system-intranet-header-showcase Patch
@swisspost/design-system-icons Major
@swisspost/design-system-migrations Major

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

@davidritter-dotcom davidritter-dotcom linked an issue Mar 27, 2024 that may be closed by this pull request
@swisspost-bot
Copy link
Contributor

swisspost-bot commented Mar 27, 2024

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

@oliverschuerch oliverschuerch force-pushed the 1834-update-textarea-styles branch 2 times, most recently from 98e9ff7 to 2116d9e Compare April 16, 2024 14:45
# Conflicts:
#	packages/styles/src/components/form-validation.scss
#	packages/styles/src/components/forms.scss
Copy link

sonarcloud bot commented Apr 17, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@oliverschuerch oliverschuerch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

# Conflicts:
#	packages/documentation/src/stories/components/forms/textarea/textarea.stories.ts
#	packages/styles/src/components/form-validation.scss
@swisspost-bot
Copy link
Contributor

swisspost-bot commented Jun 4, 2024

Related Previews

Copy link

sonarcloud bot commented Jun 12, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@davidritter-dotcom davidritter-dotcom merged commit 48352e8 into main Jun 12, 2024
10 checks passed
@davidritter-dotcom davidritter-dotcom deleted the 1834-update-textarea-styles branch June 12, 2024 08:12
gfellerph pushed a commit that referenced this pull request Jun 27, 2024
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/[email protected]

### Minor Changes

- Added icons number 2589, 2590 and 2591. (by
[@swisspost-bot](https://github.com/swisspost-bot) with
[#3109](#3109))

### Patch Changes

- Updated icon number 2074. (by
[@swisspost-bot](https://github.com/swisspost-bot) with
[#3172](#3172))

## @swisspost/[email protected]

### Minor Changes

- Added the possibility to hide the username in the profile dropdown.
(by [@juliandanis](https://github.com/juliandanis) with
[#3028](#3028))

### Patch Changes

- Enabled keyboard navigation for the user dropdown. (by
[@alizedebray](https://github.com/alizedebray) with
[#3119](#3119))
-   Updated dependencies:
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Minor Changes

- Added a small variant for the textarea with floating label (by
[@davidritter-dotcom](https://github.com/davidritter-dotcom) with
[#2857](#2857))

### Patch Changes

- Added @angular/core as an optional peer dependency to the styles
package to indicate the Angular versions that are compatible with the
current version of the styles. (by
[@gfellerph](https://github.com/gfellerph) with
[#3168](#3168))

- Fixed an issue with icon URL declarations when building styles with
esbuild. (by [@alizedebray](https://github.com/alizedebray) with
[#3123](#3123))

- Fixed the misaligned calendar icon in the datepicker input field. (by
[@oliverschuerch](https://github.com/oliverschuerch) with
[#3145](#3145))

- Implemented button wrapping for overflow in button groups. (by
[@alizedebray](https://github.com/alizedebray) with
[#3062](#3062))

## @swisspost/[email protected]

### Patch Changes

- Fixed a warning on the tooltip when the id was bound using Angular,
the ID check now runs at a later stage in the component lifecycle,
giving Angular enough time to set the attribute. (by
[@gfellerph](https://github.com/gfellerph) with
[#3155](#3155))
-   Updated dependencies:
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

- Redefined the dependency to the web components package as a dependency
instead of a peer dependency due to a [known bug in
changesets](changesets/changesets#1011) that
causes major version bumps across all linked workspace packages if one
of them is installed as a peer dependency. (by
[@gfellerph](https://github.com/gfellerph) with
[#3169](#3169))

- Updated `PostComponentsModule` to enable its use in lazy-loaded
modules. (by [@alizedebray](https://github.com/alizedebray) with
[#3118](#3118))

- Added `@swisspost/design-system-components` package as a peer
dependency as recommended by stenciljs. This way, installing
`@swisspost/design-system-components` package as a direct dependency
should not be necessary anymore in consumer projects. (by
[@oliverschuerch](https://github.com/oliverschuerch) with
[#3116](#3116))

-   Updated dependencies:
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

- Fixed focus trap on overlay of the breadcrumb. Added a focus trap on
search overlay (by [@imagoiq](https://github.com/imagoiq) with
[#2922](#2922))
-   Updated dependencies:
    -   @swisspost/[email protected]

## @swisspost/[email protected]



## @swisspost/[email protected]

### Minor Changes

- Added a small variant for the textarea with floating label (by
[@davidritter-dotcom](https://github.com/davidritter-dotcom) with
[#2857](#2857))

- Added documentation on how to use the Components for Angular with a
strict Content Security Policy (CSP). (by
[@alizedebray](https://github.com/alizedebray) with
[#3125](#3125))

### Patch Changes

- Fixed version switcher active state logic, to visualize the current
documentation version the user browses on. (by
[@oliverschuerch](https://github.com/oliverschuerch) with
[#3111](#3111))
-   Updated dependencies:
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

-   Updated dependencies:
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

-   Updated dependencies:
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

-   Updated dependencies:
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

-   Updated dependencies:
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

-   Updated dependencies:
    -   @swisspost/[email protected]

## @swisspost/[email protected]

### Patch Changes

-   Updated dependencies:
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]
    -   @swisspost/[email protected]

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.

Update textarea styles Styles: Update textarea
3 participants