-
Notifications
You must be signed in to change notification settings - Fork 14
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): add story to document spacing #1988
Conversation
🦋 Changeset detectedLatest commit: 4bb4b05 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
Preview environment ready: https://preview-1988--swisspost-design-system-next.netlify.app |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a changeset!
packages/documentation/src/stories/utilities/spacing/spacing.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.docs.mdx
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.docs.mdx
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.docs.mdx
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.docs.mdx
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.stories.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Oliver Schürch <[email protected]>
packages/documentation/src/stories/utilities/spacing/spacing.docs.mdx
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.docs.mdx
Outdated
Show resolved
Hide resolved
Co-authored-by: Lukas Blaser <[email protected]> Co-authored-by: Oliver Schürch <[email protected]>
…gn-system into 541-story-spacing
packages/documentation/src/stories/utilities/spacing/spacing.docs.mdx
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.docs.mdx
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.docs.mdx
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.docs.mdx
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.docs.mdx
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.stories.ts
Outdated
Show resolved
Hide resolved
packages/documentation/src/stories/utilities/spacing/spacing.stories.ts
Outdated
Show resolved
Hide resolved
…ocs.mdx Co-authored-by: Oliver Schürch <[email protected]>
…ocs.mdx Co-authored-by: Oliver Schürch <[email protected]>
…ocs.mdx Co-authored-by: Oliver Schürch <[email protected]>
…ocs.mdx Co-authored-by: Oliver Schürch <[email protected]>
…ocs.mdx Co-authored-by: Oliver Schürch <[email protected]>
…gn-system into 541-story-spacing
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice Work, Thank you @davidritter-dotcom!
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 a new button to clear the text in the search box. (by [@b1aserlu](https://github.com/b1aserlu) with [#2036](#2036)) ### Patch Changes - Added hide-buttons prop to hide all breadcrumbs buttons. (by [@imagoiq](https://github.com/imagoiq) with [#2027](#2027)) - Fixed internet-header search focus truncated on focus-within. (by [@imagoiq](https://github.com/imagoiq) with [#2043](#2043)) - Compressed styles output. (by [@imagoiq](https://github.com/imagoiq) with [#2098](#2098)) - Updated dependencies: - @swisspost/[email protected] ## @swisspost/[email protected] ### Patch Changes - Fixed misplaced custom icons in “post-alert” elements with actions. (by [@alizedebray](https://github.com/alizedebray) with [#2094](#2094)) - Updated the keyboard navigation on the `post-tabs` component. (by [@alizedebray](https://github.com/alizedebray) with [#2093](#2093)) - Fixed tabs count announcement with VoiceOver. (by [@imagoiq](https://github.com/imagoiq) with [#2047](#2047)) - Compressed styles output. (by [@imagoiq](https://github.com/imagoiq) with [#2098](#2098)) - Updated dependencies: - @swisspost/[email protected] ## @swisspost/[email protected] ### Patch Changes - Changed the main title of the intranet-header from `<h2>` to `<h1>`. (by [@b1aserlu](https://github.com/b1aserlu) with [#2104](#2104)) - Updated dependencies: - @swisspost/[email protected] ## @swisspost/[email protected] ### Patch Changes - Refactored the grid-system: adjusted container paddings, added responsive gutter-widths. Updated grid docs. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2045](#2045)) - Added small variants for checkbox and radio buttons. Lowered font-size of validation blocks for form elements. (by [@imagoiq](https://github.com/imagoiq) with [#2086](#2086)) - Fixed missing active tab border on HTML component. (by [@imagoiq](https://github.com/imagoiq) with [#2037](#2037)) - Fixed active switch control showing a check icon in Chrome. (by [@alizedebray](https://github.com/alizedebray) with [#2090](#2090)) ## @swisspost/[email protected] ### Minor Changes - Added a docs page for our spacing utilities (by [@davidritter-dotcom](https://github.com/davidritter-dotcom) with [#1988](#1988)) - Added a docs page for our grid-system. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#1947](#1947)) ### Patch Changes - Refactored the grid-system: adjusted container paddings, added responsive gutter-widths. Updated grid docs. (by [@oliverschuerch](https://github.com/oliverschuerch) with [#2045](#2045)) - Fixed the "fixed" control in the `post-alert` documentation. (by [@alizedebray](https://github.com/alizedebray) with [#2094](#2094)) - Updated dependencies: - @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] ### Patch Changes - Updated dependencies: - @swisspost/[email protected] ## @swisspost/[email protected] ### Patch Changes - Updated dependencies: - @swisspost/[email protected] - @swisspost/[email protected]
Negativ margin is at the moment not documentetd, because the enable-negative-margins variable would need to be added to the _features.scss for the negativ margin classes of bootstrap to work and since we do not generate negativ margin utiliti classes for the post sizes it is not possible to use the negativ margin classes at the moment.