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

Release/7.1.0 #577

Merged
merged 153 commits into from
Nov 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
45041f7
Release 7.0.1
VikingTristan Sep 23, 2021
f9cbb98
Update focus styling on action links. Remove unnessasary comment
eskilsen Sep 24, 2021
b4702aa
Create Templates section
PhungNg Sep 29, 2021
37c07a7
Add Routing for Templates
PhungNg Sep 29, 2021
5b507c0
Add Templates overview page
PhungNg Sep 29, 2021
b3a47e3
Add Forms to Templates
PhungNg Sep 29, 2021
60cee1a
Fix entry cards on homepage
PhungNg Sep 29, 2021
353bb22
Update Get started entry card text
PhungNg Sep 29, 2021
760ca10
Merge pull request #556 from SwedbankPay/feature/add-templates-section
PhungNg Sep 30, 2021
985f4bf
Implement Forms Template page
PhungNg Oct 5, 2021
efb2336
Add possibility to hide options panel in ComponentPreview
PhungNg Oct 5, 2021
156bd0c
Add new PropType for label - Checkbox
PhungNg Oct 5, 2021
af91581
Remove outer <form>-tag and add className prop
PhungNg Oct 5, 2021
77c36cb
Add className prop to Button and InputGroup component
PhungNg Oct 5, 2021
30b7e66
Adjust styling on Form components
PhungNg Oct 5, 2021
f26adf1
Change font on h4 to @brand-headline, and add .brand-headline class
PhungNg Oct 5, 2021
17c4c92
Update content on who-is-using-DG section!
eskilsen Oct 5, 2021
8408786
Merge pull request #555 from SwedbankPay/feature/update-actionlink-bo…
eskilsen Oct 5, 2021
c72ba12
Remove disabled state opinion in link-component, component-preview, a…
eskilsen Oct 5, 2021
0917557
Remove styling for disabled state
eskilsen Oct 5, 2021
5e07759
Create template.test.js
PhungNg Oct 5, 2021
45d679d
Resolve issue #558.
eskilsen Oct 5, 2021
c02234d
Bump url-parse from 1.5.1 to 1.5.3
dependabot[bot] Oct 6, 2021
fef6633
Remove Forms from Components
PhungNg Oct 6, 2021
2f5e798
Implement NPM-information component for easier rusability. Created si…
eskilsen Oct 6, 2021
704b2a9
Include new component in Alerts component
eskilsen Oct 6, 2021
9215db3
Update documentation to include npm-information component. Also chang…
eskilsen Oct 6, 2021
46250a5
Update documentation on all components using JS to include NPM-inform…
eskilsen Oct 6, 2021
1925d3f
Update snapshots
eskilsen Oct 6, 2021
f6826dd
Fix dynamic brand page title
VikingTristan Oct 6, 2021
61bb5c1
Use brandTitle where applicable
VikingTristan Oct 6, 2021
287b25c
Add ID to Inputs
PhungNg Oct 7, 2021
c60ea8a
Merge pull request #562 from SwedbankPay/dependabot/npm_and_yarn/url-…
PhungNg Oct 7, 2021
56b29cc
Merge pull request #564 from SwedbankPay/feature/dynamic-page-title
VikingTristan Oct 7, 2021
1581dcb
Merge pull request #559 from SwedbankPay/feature/forms-templates
PhungNg Oct 7, 2021
e29d6c2
Replace currentScript with querySelector
VikingTristan Oct 7, 2021
a8348c1
Remove redundant line
eskilsen Oct 7, 2021
3b9efc2
Merge pull request #560 from SwedbankPay/feature/remove-disabled-link
eskilsen Oct 7, 2021
ec07661
Merge pull request #557 from SwedbankPay/feature/update-list-products
eskilsen Oct 7, 2021
368fe3a
Move script check within DOM ready event
VikingTristan Oct 7, 2021
341b96c
Make Node users import non-compiled script file
VikingTristan Oct 7, 2021
54a5e94
Optimize script tag checks for CDN users
VikingTristan Oct 7, 2021
e4ce1d0
Remove webpack module experiment feature
VikingTristan Oct 7, 2021
76227b4
Make autoload use dg script directly
VikingTristan Oct 8, 2021
9984f69
Add nullcheck when initializing components
VikingTristan Oct 8, 2021
b46c158
Merge pull request #566 from SwedbankPay/feature/global-dg
VikingTristan Oct 8, 2021
c6593f3
Update constants to include disabled option for action links
eskilsen Oct 11, 2021
8fe9506
Remove unused styling
eskilsen Oct 11, 2021
235b379
Update snapshots
eskilsen Oct 11, 2021
888124c
Update the alert on the documenation page.
eskilsen Oct 11, 2021
a3c286d
Update snapshots
eskilsen Oct 11, 2021
e720f48
Remove usage of component in documentation. Premature :-)
eskilsen Oct 11, 2021
9a455c0
Create new test for cecking if the component renders when prop are in…
eskilsen Oct 11, 2021
c283e20
Remove Npm information component in doc. Toast is updated in other br…
eskilsen Oct 11, 2021
0245bb1
Update component to include prop 'noInit' for removing one line in co…
eskilsen Oct 11, 2021
11b829a
Update with three new snapshot tests, testing component being rendere…
eskilsen Oct 11, 2021
69e45cd
Update snapshots
eskilsen Oct 11, 2021
5a1852f
Rename Templates to Patterns
PhungNg Oct 13, 2021
28644a7
Rename Templates to Patterns
PhungNg Oct 13, 2021
de83cb0
Add Login Patterns documentation page
PhungNg Oct 13, 2021
de54deb
Add className prop to different components
PhungNg Oct 13, 2021
f8c56a5
Remove console.log
PhungNg Oct 13, 2021
de836df
Create LoginForm component
PhungNg Oct 13, 2021
b4a5009
Add .border-top-brand styling
PhungNg Oct 13, 2021
093f635
Add margin to li tags
PhungNg Oct 13, 2021
0c4bc9b
Merge pull request #561 from SwedbankPay/feature/update-togglebox-lab…
eskilsen Oct 13, 2021
37ec352
Merge pull request #568 from SwedbankPay/feature/update-dialog-doc
eskilsen Oct 13, 2021
39b07c7
Update with attributes for constants, making it more readable
eskilsen Oct 13, 2021
bec6553
Update snapshot
eskilsen Oct 13, 2021
8b623bd
Included some tests for ensuring content is being rendered, and not r…
eskilsen Oct 13, 2021
7355ffa
Remove unused components
eskilsen Oct 13, 2021
9acb280
Update Toast styling
PhungNg Aug 13, 2021
730fafe
Update Toast script
PhungNg Aug 13, 2021
b37a44e
Update Toast page
PhungNg Aug 13, 2021
bf10e55
Create constants
PhungNg Aug 13, 2021
4039093
Update Toast page
PhungNg Aug 25, 2021
c8afea3
Update toast component
PhungNg Aug 25, 2021
308fa8c
Add option to hide "Options" section on component preview
PhungNg Sep 8, 2021
1329b1b
Update Toast styling
PhungNg Sep 8, 2021
5155b32
Update Toast documentation page
PhungNg Oct 13, 2021
e8dc5cf
Add option to hideCodeFigure when using showCasePanelAdvanced
PhungNg Oct 13, 2021
11824a7
Change color styling on Toast
PhungNg Oct 13, 2021
8df8c66
Update Toast test
PhungNg Oct 13, 2021
443811c
Change styling for tabs under showCasePanelAdvanced
PhungNg Oct 13, 2021
21ad74d
Merge pull request #563 from SwedbankPay/feature/NPM-information-comp…
eskilsen Oct 14, 2021
e65a4b1
Merge pull request #567 from SwedbankPay/feature/update-actionLink-co…
eskilsen Oct 14, 2021
f08c21f
Update Login Patterns page
PhungNg Oct 14, 2021
8b2035d
Fix lint errors and warnings
PhungNg Oct 14, 2021
b7cb5ba
Update Toast documentation page
PhungNg Oct 15, 2021
e44e7c6
Add aria attributes
PhungNg Oct 15, 2021
8987dd2
Bump actions/checkout from 2.3.4 to 2.3.5
dependabot[bot] Oct 18, 2021
f1097a2
Make Toast page content responsive
PhungNg Oct 18, 2021
2ab86b5
Expose less folder on npm
VikingTristan Oct 18, 2021
6991c19
Expose more source files to npm
VikingTristan Oct 18, 2021
e7b6c97
Merge pull request #570 from SwedbankPay/feature/update-toast
PhungNg Oct 19, 2021
a61dd81
Merge pull request #569 from SwedbankPay/feature/login-template
PhungNg Oct 19, 2021
bfc9aae
Merge pull request #571 from SwedbankPay/dependabot/github_actions/ac…
PhungNg Oct 19, 2021
d4689de
Merge pull request #572 from SwedbankPay/feature/expose-less-files
VikingTristan Oct 19, 2021
d48cc87
Update button doc page to use new Alert component
eskilsen Oct 21, 2021
1671213
Update Datepicker doc page to use new Alert component
eskilsen Oct 21, 2021
53d3b1b
Update snapshots
eskilsen Oct 21, 2021
09ffacf
Merge pull request #573 from SwedbankPay/update/alert-bug
eskilsen Oct 22, 2021
a261a39
Update flex box in forms pattern
eskilsen Oct 22, 2021
307d6da
Remove content
eskilsen Oct 22, 2021
12b3847
Change text color of content in Login page
eskilsen Oct 22, 2021
1a01738
Pixle pushing on submit button in forms pattern
eskilsen Oct 22, 2021
c4f7a04
Update margin of checkbox in forms component
eskilsen Oct 22, 2021
bb5c479
changed margin bottom in fieldset presentation of forms
eskilsen Oct 22, 2021
7560605
Update padding on slab
eskilsen Oct 22, 2021
8c33533
Update margin in dos and donts for logical view in forms
eskilsen Oct 22, 2021
6c547d3
Update content
eskilsen Oct 22, 2021
e279102
Margin fixes on fieldgroups in forms component preview
eskilsen Oct 22, 2021
6fd3688
Small fix
eskilsen Oct 22, 2021
7395cce
Bump azure/login from 1.3.0 to 1.4.0
dependabot[bot] Oct 25, 2021
6b52f7e
Small change
eskilsen Oct 25, 2021
9a08970
Merge pull request #574 from SwedbankPay/dependabot/github_actions/az…
VikingTristan Oct 25, 2021
66ef6e2
Update breadcrumb component to have nav tags wrapped around list items
eskilsen Oct 25, 2021
292fbc1
Update snapshots
eskilsen Oct 25, 2021
174baef
Bug fix adds event listner when user clicks back in dialog state
eskilsen Oct 25, 2021
4752c01
Removed one nav tag.
eskilsen Oct 27, 2021
925fe83
Merge pull request #576 from SwedbankPay/fix/issue-#337-buggyscroll-d…
eskilsen Oct 27, 2021
cb350b9
Merge pull request #575 from SwedbankPay/fix/issue-#101-breadcrumb
eskilsen Oct 28, 2021
e122e19
Make DG work with third party bundlers
VikingTristan Oct 20, 2021
c7366ff
Bump version and lockfile
VikingTristan Oct 20, 2021
216844a
Update doc and readme with new node package info
VikingTristan Oct 20, 2021
ef28bff
Change default text color to #512b2b
PhungNg Oct 25, 2021
de61f44
Add border-top to .topbar-nav only when it has .topbar-nav-open
PhungNg Oct 25, 2021
cb3e038
Remove small font-size styling
PhungNg Oct 25, 2021
76bfa0a
Fix broken link in Page-layout
PhungNg Oct 25, 2021
cceb248
Fix <link> typo under Favicon section
PhungNg Oct 25, 2021
1e65098
Fix nested accordions bug
PhungNg Oct 25, 2021
4360148
Change Payex svg logo
PhungNg Oct 27, 2021
ef39c30
Update changelog
PhungNg Oct 27, 2021
6c86d0c
Show only first 5 logs
PhungNg Oct 28, 2021
1d105a5
Update Changelog constants
PhungNg Oct 28, 2021
482dea0
Update CHANGELOG date
PhungNg Oct 28, 2021
39fb137
Update Toast constants
PhungNg Oct 28, 2021
77dc88f
Update snapshots
eskilsen Nov 1, 2021
25b79cf
Update badges on pages and components
eskilsen Nov 1, 2021
55cdee9
Merge pull request #578 from SwedbankPay/feature/fix-forms-pattern
eskilsen Nov 1, 2021
aa43cb7
Remove margin-bottom from p tag inside Toast
PhungNg Nov 3, 2021
b8c3cc2
Update Toast content
PhungNg Nov 3, 2021
66693aa
Fix bug on ActionLink when presented with badge
PhungNg Nov 3, 2021
60fb5fa
Change classname to also fit for Payex DG
PhungNg Nov 4, 2021
e87d51f
Update changelog
PhungNg Nov 4, 2021
30c0352
Use a specific Azure CLI version
VikingTristan Nov 8, 2021
24a872b
Update import NpmInformation from whole path to @docutils
eskilsen Nov 8, 2021
6d2466a
Merge conflict resolve
eskilsen Nov 8, 2021
53fb775
Add routes for patterns
VikingTristan Nov 8, 2021
dcc9ab4
Fix login image paths
VikingTristan Nov 8, 2021
364ebe9
Update changelog text
VikingTristan Nov 8, 2021
cee09ff
Only keep five latest changelogs
VikingTristan Nov 8, 2021
6a50247
Update snapshots
VikingTristan Nov 8, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/janitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
outputs:
branchname: ${{ steps.branch.outputs.BRANCH_TO_DELETE }}
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.3.5
with:
fetch-depth: 0

Expand All @@ -32,7 +32,7 @@ jobs:
matrix:
brand: ["payex", "swedbankpay"]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.3.5
with:
fetch-depth: 2
# Set brand specific variables
Expand All @@ -41,12 +41,13 @@ jobs:
run: ./.github/scripts/variables.sh --brand ${{ matrix.brand }} --ref ${{ github.ref }}

- name: Azure Login
uses: azure/login@v1.3.0
uses: azure/login@v1.4.0
with:
creds: ${{ secrets.AZURE_CREDENTIALS_STAGE }}

- name: Delete feature folders
uses: azure/CLI@1.0.4
with:
azcliversion: 2.29.2
inlineScript: |
az storage blob delete-batch -s "\$web" --pattern ${{ needs.branch.outputs.branchname }}/** --account-name ${{ steps.variables.outputs.AZURE_ACCOUNT_STAGE }}
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
matrix:
brand: ["payex", "swedbankpay"]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.3.5

# Set brand specific variables
- name: Environment variables
Expand All @@ -40,12 +40,13 @@ jobs:
run: npm run ${{ steps.variables.outputs.BUILD_SCRIPT }} -- --env basename=${{ steps.variables.outputs.BRANCH }} --env semver=${{ steps.variables.outputs.BRANCH }} --env info_version=${{ steps.variables.outputs.VERSION }} --env github_actions=true

- name: Azure Login
uses: azure/login@v1.3.0
uses: azure/login@v1.4.0
with:
creds: ${{ secrets.AZURE_CREDENTIALS_STAGE }}

- name: Azure Deploy
uses: azure/CLI@1.0.4
with:
azcliversion: 2.29.2
inlineScript: |
az storage blob upload-batch -s dist -d \$web --account-name ${{ steps.variables.outputs.AZURE_ACCOUNT_STAGE }}
2 changes: 1 addition & 1 deletion .github/workflows/node-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2.3.5

- uses: actions/setup-node@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
matrix:
brand: ["payex", "swedbankpay"]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.3.5

# Set brand specific variables
- name: Environment variables
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
matrix:
brand: ["payex", "swedbankpay"]
steps:
- uses: actions/checkout@v2.3.4
- uses: actions/checkout@v2.3.5

# Set brand specific variables
- name: Environment variables
Expand Down Expand Up @@ -45,12 +45,13 @@ jobs:
run: npm run ${{ steps.variables.outputs.BUILD_SCRIPT }} -- --env release=true --env basename="v/${{ steps.variables.outputs.VERSION }}" --env semver=${{ steps.variables.outputs.VERSION }} --env info_version=${{ steps.variables.outputs.VERSION }} --env github_actions=true

- name: Azure Login
uses: azure/login@v1.3.0
uses: azure/login@v1.4.0
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}

- name: Azure Deploy
uses: azure/CLI@1.0.4
with:
azcliversion: 2.29.2
inlineScript: |
az storage blob upload-batch -s dist -d \$web --account-name ${{ steps.variables.outputs.AZURE_ACCOUNT_PROD }}
41 changes: 27 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,34 @@
# Changelog

## [7.0.1] - 23.09.2021
## [7.1.0] - 28.10.2021

## Added
- Patterns section
- Login Pattern
- Forms Pattern
- Usage with NPM - section to applicable components
- ```<nav>``` tags around Breadcrumbs
- Node package upgrade - Split code into various bundles which makes it possible to import specific components and color variables


## Changed
- Content on Links page
- Landing page entry cards
- Toast component and documentation page
- Updated list of Products using DG

## Removed
- Disabled state on Links
- Styling rule on ```<small>``` tag
- Whitespace on Payex svg logo

## Fixed
- Screen reader reading the bubble images on the home page
- Border radius bug on a:focus
- Topbar missing focus state
- Input field > Autocomplete section not showing "autocomplete"-attribute
- Content in component overview not centered when option menu was closed
- A lot of links not pointing to the right direction

- Safari bugs
- Line breaks and text ends up outside of tooltip
- Tabs scrollable shadow
- Help icon for checkbox and radio button was not align correct
- Default checkbox showed up on Togglebox
- Alert boxes with no content, due to the last release, on Dialog page and datepicker page
- Togglebox focus state bug
- Issues with root-relative links when importing Stylesheet
- Text-default color. Is now #512b2b
- Weird looking top-border on Topbar
- Bugs when nesting accordions.
- Scrolling issues with Dialog



17 changes: 6 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,14 @@ import { sheet } from "@swedbankpay/design-guide"
sheet.init();
```

#### CSS

```css
@import url("@swedbankpay/design-guide/dist/designguide/styles/swedbankpay.css");
#### Less
Make sure your bundler can handle `.less` files
```less
@import url("@swedbankpay/design-guide/src/less/swedbankpay.less");
```
Our `.less` files use certain assets such as icons and fonts. These assets will automagically be handled by your bundler and be part of your own output. Usually this is your `/dist` folder. Your compiled `.css` file will then have proper references and urls to assets within your own `/dist` folder.

#### Assets

When using the node package you also need to host assets such as fonts and icons. Copy the files at `@swedbankpay/design-guide/dist/designguide` to your static files.

E.g. fonts should be available at `yourdomain.com/designguide/fonts`

Check out the documentation for more information.
By importing the `.less` file, you will also get access to variables such as `@brand-primary`

## Getting started as a developer

Expand Down
2 changes: 1 addition & 1 deletion build/root404.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-body">
<h2>Welcome to the Swedbank Pay DesignGuide</h2>
<h2>Welcome to the <%= htmlWebpackPlugin.options.title %> Design Guide</h2>
<p>You need to <b>enable javascript</b> to use this site</p>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion build/rootindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-default">
<div class="panel-body">
<h2>Welcome to the Swedbank Pay DesignGuide</h2>
<h2>Welcome to the <%= htmlWebpackPlugin.options.title %> Design Guide</h2>
<p>You need to <b>enable javascript</b> to use this site</p>
</div>
</div>
Expand Down
89 changes: 58 additions & 31 deletions package-lock.json

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

Loading