Skip to content

Commit

Permalink
Release 10.8.6
Browse files Browse the repository at this point in the history
Release 10.8.6
  • Loading branch information
goldenraphti authored Oct 30, 2023
2 parents 73cdeee + 11e3b47 commit bd42c84
Show file tree
Hide file tree
Showing 77 changed files with 566 additions and 117 deletions.
11 changes: 6 additions & 5 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
# Changelog

## [10.8.5] - 25.08.2023
## \[10.8.6\] - 13.09.2023

## Bug Fixes

- We reverted back the way CSS stylesheets were imported internally. It caused a regression bug, svg files would not load when imported from CSS properties (e.g. checkbox, ...). Paths resolution were failing. (not an issue for projects importing CSS via CDN, only for the ones importing styles via the local npm package)

## Component changes

### Non breaking UI changes

- add possibility to disable rotation of the dropdown toggle icon on active state
- add possibility to style bank-id button as secondary

## Testing

- E2E tests for topbar
- E2E tests for dropdown component

## Design System website

- fix a homepage UI bug (section's height)
- expand components preview containers to full screen (only in Topbar component for now)
96 changes: 59 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swedbankpay/design-guide",
"version": "10.8.5",
"version": "10.8.6",
"description": "Swedbank Pay Design Guide",
"main": "src/scripts/main/index.js",
"scripts": {
Expand Down Expand Up @@ -61,7 +61,7 @@
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "7.20.2",
"@babel/preset-react": "^7.18.6",
"@playwright/test": "^1.34.3",
"@playwright/test": "^1.39.0",
"@sentry/webpack-plugin": "^1.20.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports[`ComponentsDocumentation: index renders 1`] = `
className="dg-current-version text-uppercase"
>
Design Guide – v.
10.8.5
10.8.6
</span>
</div>
`;
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions src/App/ComponentsDocumentation/components/Buttons/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,24 @@ export const overviewButtons = {
},
],
},
{
id: "button-type",
title: "Button type",
values: [
{
name: "Primary",
value: {
type: "primary",
},
},
{
name: "Secondary",
value: {
type: "secondary",
},
},
],
},
],
},
title: "BankID button",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,18 @@ exports[`Documentation: Dropdown DeveloperDocumentation renders 1`] = `
>
Developer Documentation
</h2>
<h3>
Style
</h3>
<p>
Add
<code
className="code-tags code-tags-secondary"
>
.no-rotation
</code>
CSS class on the dropdown toggle to disable the icon rotation.
</p>
<h3>
JavaScript methods
</h3>
Expand Down
31 changes: 29 additions & 2 deletions src/App/ComponentsDocumentation/components/Dropdown/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ const dropdownSidebarOptions = () => ({
],
},
{
id: "preffered_position",
id: "preferred_position",
title: "Position",
values: [
{
Expand Down Expand Up @@ -186,6 +186,19 @@ const dropdownSidebarOptions = () => ({
],
},
],
checkbox: [
{
inputs: [
{
id: "toggle-icon-rotation",
name: "Disable toggle icon rotation",
value: {
noRotation: true,
},
},
],
},
],
});

export const overviewDropdown = {
Expand Down Expand Up @@ -237,7 +250,7 @@ export const overviewDropdown = {
],
},
{
id: "preffered_position",
id: "preferred_position",
title: "Position",
values: [
{
Expand Down Expand Up @@ -276,6 +289,19 @@ export const overviewDropdown = {
],
},
],
checkbox: [
{
inputs: [
{
id: "toggle-icon-rotation",
name: "Disable toggle icon rotation",
value: {
noRotation: true,
},
},
],
},
],
},
title: "Select",
description: (
Expand Down Expand Up @@ -485,6 +511,7 @@ export const howToUse = [
icon="filter_list"
iconAfter={false}
largePadding={true}
noRotation={true}
/>
<ButtonComponent
type="secondary"
Expand Down
Loading

0 comments on commit bd42c84

Please sign in to comment.