Skip to content

Commit

Permalink
feat(icons): latest icons from alfa-ui-primitives 2.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
SiebenSieben committed Nov 26, 2019
1 parent 6ef9ae1 commit 184293e
Show file tree
Hide file tree
Showing 35 changed files with 252 additions and 8 deletions.
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 @@ -104,7 +104,7 @@
"arui-demo": "2.0.0",
"arui-presets": "^4.13.4",
"babel-loader": "^7.1.2",
"alfa-ui-primitives": "2.3.2",
"alfa-ui-primitives": "2.3.3",
"babel-plugin-dynamic-import-node": "^2.0.0",
"conventional-changelog-cli": "1.3.14",
"conventional-github-releaser": "2.0.0",
Expand Down
28 changes: 28 additions & 0 deletions src/icon/__snapshots__/icon.test.jsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1064,6 +1064,13 @@ exports[`icon render IconCategoryAuto without problems: IconCategoryAuto 1`] = `
/>
`;

exports[`icon render IconCategoryAutoLoan without problems: IconCategoryAutoLoan 1`] = `
<Icon
name="category-auto-loan"
size="m"
/>
`;

exports[`icon render IconCategoryBooksMovies without problems: IconCategoryBooksMovies 1`] = `
<Icon
name="category-books-movies"
Expand Down Expand Up @@ -1120,6 +1127,13 @@ exports[`icon render IconCategoryCharity without problems: IconCategoryCharity 1
/>
`;

exports[`icon render IconCategoryConsulting without problems: IconCategoryConsulting 1`] = `
<Icon
name="category-consulting"
size="m"
/>
`;

exports[`icon render IconCategoryDefault without problems: IconCategoryDefault 1`] = `
<Icon
name="category-default"
Expand Down Expand Up @@ -1407,6 +1421,20 @@ exports[`icon render IconCategoryVacation without problems: IconCategoryVacation
/>
`;

exports[`icon render IconCategoryVipManager without problems: IconCategoryVipManager 1`] = `
<Icon
name="category-vip-manager"
size="m"
/>
`;

exports[`icon render IconCategoryVipRoom without problems: IconCategoryVipRoom 1`] = `
<Icon
name="category-vip-room"
size="m"
/>
`;

exports[`icon render IconCategoryWallet without problems: IconCategoryWallet 1`] = `
<Icon
name="category-wallet"
Expand Down
11 changes: 11 additions & 0 deletions src/icon/category/category-auto-loan/category-auto-loan.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

.icon_size_s.icon_name_category-auto-loan.icon_theme_alfa-on-white {
background-image: url('./icon_category-auto-loan_s_black.svg');
}

.icon_size_s.icon_name_category-auto-loan.icon_theme_alfa-on-color {
background-image: url('./icon_category-auto-loan_s_white.svg');
}
21 changes: 21 additions & 0 deletions src/icon/category/category-auto-loan/category-auto-loan.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import React from 'react';
import Icon from '../../../icon';

class IconCategoryAutoLoan extends React.Component {
static propTypes = Icon.propTypes;

render() {
return (
<Icon
{ ...this.props }
name='category-auto-loan'
/>
);
}
}

export default IconCategoryAutoLoan;
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.
8 changes: 8 additions & 0 deletions src/icon/category/category-auto-loan/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import './category-auto-loan.css';
import '../../../icon';

export default from './category-auto-loan';
11 changes: 11 additions & 0 deletions src/icon/category/category-consulting/category-consulting.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

.icon_size_s.icon_name_category-consulting.icon_theme_alfa-on-white {
background-image: url('./icon_category-consulting_s_black.svg');
}

.icon_size_s.icon_name_category-consulting.icon_theme_alfa-on-color {
background-image: url('./icon_category-consulting_s_white.svg');
}
21 changes: 21 additions & 0 deletions src/icon/category/category-consulting/category-consulting.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import React from 'react';
import Icon from '../../../icon';

class IconCategoryConsulting extends React.Component {
static propTypes = Icon.propTypes;

render() {
return (
<Icon
{ ...this.props }
name='category-consulting'
/>
);
}
}

export default IconCategoryConsulting;
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.
8 changes: 8 additions & 0 deletions src/icon/category/category-consulting/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import './category-consulting.css';
import '../../../icon';

export default from './category-consulting';
8 changes: 8 additions & 0 deletions src/icon/category/category-default/category-default.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,11 @@
.icon_size_xl.icon_name_category-default.icon_theme_alfa-on-color {
background-image: url('./icon_category-default_xl_white.svg');
}

.icon_size_xxl.icon_name_category-default.icon_theme_alfa-on-white {
background-image: url('./icon_category-default_xxl_black.svg');
}

.icon_size_xxl.icon_name_category-default.icon_theme_alfa-on-color {
background-image: url('./icon_category-default_xxl_white.svg');
}
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.
11 changes: 11 additions & 0 deletions src/icon/category/category-vip-manager/category-vip-manager.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

.icon_size_s.icon_name_category-vip-manager.icon_theme_alfa-on-white {
background-image: url('./icon_category-vip-manager_s_black.svg');
}

.icon_size_s.icon_name_category-vip-manager.icon_theme_alfa-on-color {
background-image: url('./icon_category-vip-manager_s_white.svg');
}
21 changes: 21 additions & 0 deletions src/icon/category/category-vip-manager/category-vip-manager.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import React from 'react';
import Icon from '../../../icon';

class IconCategoryVipManager extends React.Component {
static propTypes = Icon.propTypes;

render() {
return (
<Icon
{ ...this.props }
name='category-vip-manager'
/>
);
}
}

export default IconCategoryVipManager;
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.
8 changes: 8 additions & 0 deletions src/icon/category/category-vip-manager/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import './category-vip-manager.css';
import '../../../icon';

export default from './category-vip-manager';
11 changes: 11 additions & 0 deletions src/icon/category/category-vip-room/category-vip-room.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

.icon_size_s.icon_name_category-vip-room.icon_theme_alfa-on-white {
background-image: url('./icon_category-vip-room_s_black.svg');
}

.icon_size_s.icon_name_category-vip-room.icon_theme_alfa-on-color {
background-image: url('./icon_category-vip-room_s_white.svg');
}
21 changes: 21 additions & 0 deletions src/icon/category/category-vip-room/category-vip-room.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import React from 'react';
import Icon from '../../../icon';

class IconCategoryVipRoom extends React.Component {
static propTypes = Icon.propTypes;

render() {
return (
<Icon
{ ...this.props }
name='category-vip-room'
/>
);
}
}

export default IconCategoryVipRoom;
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.
8 changes: 8 additions & 0 deletions src/icon/category/category-vip-room/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

import './category-vip-room.css';
import '../../../icon';

export default from './category-vip-room';
Loading

0 comments on commit 184293e

Please sign in to comment.