Skip to content

Commit

Permalink
Removed all beta references
Browse files Browse the repository at this point in the history
  • Loading branch information
TriangleJuice committed May 31, 2021
1 parent bac7402 commit 949d050
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ npm install @acpaas-ui/react-components
Import the core branding to style the components:

```scss
@import url("https://cdn.antwerpen.be/core_branding_scss/5.0.0-beta.5/main.min.css");
@import url("https://cdn.antwerpen.be/core_branding_scss/5.0.0/main.min.css");
```

You can also add a branding-compatible [flexbox grid layout system][flexboxgrid]:
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
]
},
"dependencies": {
"@a-ui/core": "^4.3.1",
"@a-ui/core": "^5.0.0",
"classnames": "~2.2.6",
"css-loader": "^3.6.0",
"moment": "^2.22.2",
Expand Down
12 changes: 6 additions & 6 deletions packages/button/src/Button.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,36 +144,36 @@ describe('Button', () => {

describe('.icon', () => {
it('should add `has-icon` if an icon is provided', () => {
const button = mount(<Button icon="alarm-bell" />);
const button = mount(<Button icon="ai-alarm-bell" />);
expect(button.getDOMNode().className).toContain('has-icon');
});

it('should add the icon if an icon is provided', () => {
const button = mount(<Button icon="alarm-bell" />);
const button = mount(<Button icon="ai-alarm-bell" />);
expect(button.find('span').props().className).toContain('ai-alarm-bell');
});
});

describe('.icon-left', () => {
it('should add `has-icon-left` if an icon is provided', () => {
const button = mount(<Button iconLeft="alarm-bell" />);
const button = mount(<Button iconLeft="ai-alarm-bell" />);
expect(button.getDOMNode().className).toContain('has-icon-left');
});

it('should add the icon if an icon is provided', () => {
const button = mount(<Button iconLeft="alarm-bell" />);
const button = mount(<Button iconLeft="ai-alarm-bell" />);
expect(button.find('span').props().className).toContain('ai-alarm-bell');
});
});

describe('.icon-right', () => {
it('should add `has-icon-right` if an icon is provided', () => {
const button = mount(<Button iconRight="bell" />);
const button = mount(<Button iconRight="ai-alarm-bell" />);
expect(button.getDOMNode().className).toContain('has-icon-right');
});

it('should add the icon if an icon is provided', () => {
const button = mount(<Button iconRight="alarm-bell" />);
const button = mount(<Button iconRight="ai-alarm-bell" />);
expect(button.find('span').props().className).toContain('ai-alarm-bell');
});
});
Expand Down
2 changes: 1 addition & 1 deletion packages/header/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div style={{position:'relative', height: '10rem'}}>
<Header
type="antwerpen"
logoSrc="https://cdn.antwerpen.be/core_branding_scss/5.0.0-beta.5/assets/images/a-logo.svg"
logoSrc="https://cdn.antwerpen.be/core_branding_scss/5.0.0/assets/images/a-logo.svg"
logoAlt="Klik op de A om terug naar de startpagina van antwerpen.be te gaan."
logoUrl="https://wwww.antwerpen.be">
This is inside the header
Expand Down
2 changes: 1 addition & 1 deletion packages/header/src/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const Header = (props: Props) => {

Header.defaultProps = {
logoUrl: '/',
logoSrc: 'https://cdn.antwerpen.be/core_branding_scss/5.0.0-beta.5/assets/images/a-logo.svg',
logoSrc: 'https://cdn.antwerpen.be/core_branding_scss/5.0.0/assets/images/a-logo.svg',
logoAlt: 'Ga naar homepage.'
};

Expand Down
2 changes: 1 addition & 1 deletion packages/icon/src/Icon.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Icon = ({ name, style, className, ariaLabel, onClick, src, qa }: Props) =>
*/
const fetchAntwerpIcons = async () => {
try {
const xlinkHref = 'https://cdn.antwerpen.be/core_branding_scss/5.0.0-beta.5/assets/images/ai.svg';
const xlinkHref = 'https://cdn.antwerpen.be/core_branding_scss/5.0.0/assets/images/ai.svg';
const response = await fetch(xlinkHref);
const svgText = await response.text();
const svgWrapper = document.createElement('svg');
Expand Down
2 changes: 1 addition & 1 deletion styleguide.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module.exports = {
links: [
{
rel: 'stylesheet',
href: 'https://cdn.antwerpen.be/core_branding_scss/5.0.0-beta.5/main.min.css'
href: 'https://cdn.antwerpen.be/core_branding_scss/5.0.0/main.min.css'
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion styleguide/components/Logo.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import PropTypes from 'prop-types';
import Styled from 'react-styleguidist/lib/rsg-components/Styled';
const logo = 'https://cdn.antwerpen.be/core_branding_scss/5.0.0-beta.5/assets/images/a-logo.svg';
const logo = 'https://cdn.antwerpen.be/core_branding_scss/5.0.0/assets/images/a-logo.svg';

const styles = ({ fontFamily, color }) => ({
logo: {
Expand Down

0 comments on commit 949d050

Please sign in to comment.