Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
gbombassaro committed Dec 4, 2020
1 parent 27dcf6d commit 4aa198e
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 11 deletions.
4 changes: 4 additions & 0 deletions icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ function _extends() {

function SvgArrowCircleDownBlack18Dp(props) {
return /*#__PURE__*/React.createElement("svg", _extends({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
width: 18,
height: 18
Expand All @@ -37,6 +38,7 @@ function SvgArrowCircleDownBlack18Dp(props) {

function SvgIcArrowBack(props) {
return /*#__PURE__*/React.createElement("svg", _extends({
xmlns: "http://www.w3.org/2000/svg",
height: 32,
viewBox: "0 0 24 24",
width: 32
Expand All @@ -50,6 +52,7 @@ function SvgIcArrowBack(props) {

function SvgIcArrowForward(props) {
return /*#__PURE__*/React.createElement("svg", _extends({
xmlns: "http://www.w3.org/2000/svg",
height: 32,
viewBox: "0 0 24 24",
width: 32
Expand All @@ -63,6 +66,7 @@ function SvgIcArrowForward(props) {

function SvgIcArrowMenu(props) {
return /*#__PURE__*/React.createElement("svg", _extends({
xmlns: "http://www.w3.org/2000/svg",
height: 24,
width: 24
}, props), /*#__PURE__*/React.createElement("path", {
Expand Down
10 changes: 8 additions & 2 deletions icons/ArrowCircleDownBlack18Dp.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import * as React from "react";
import * as React from 'react';

function SvgArrowCircleDownBlack18Dp(props) {
return (
<svg viewBox="0 0 24 24" width={18} height={18} {...props}>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width={18}
height={18}
{...props}
>
<path fill="none" d="M0 0h24v24H0z" />
<path d="M12 4c4.41 0 8 3.59 8 8s-3.59 8-8 8-8-3.59-8-8 3.59-8 8-8m0-2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 10V8h-2v4H8l4 4 4-4h-3z" />
</svg>
Expand Down
10 changes: 8 additions & 2 deletions icons/IcArrowBack.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import * as React from "react";
import * as React from 'react';

function SvgIcArrowBack(props) {
return (
<svg height={32} viewBox="0 0 24 24" width={32} {...props}>
<svg
xmlns="http://www.w3.org/2000/svg"
height={32}
viewBox="0 0 24 24"
width={32}
{...props}
>
<path d="M0 0h24v24H0z" fill="none" />
<path d="M11.67 3.87L9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z" />
</svg>
Expand Down
10 changes: 8 additions & 2 deletions icons/IcArrowForward.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
import * as React from "react";
import * as React from 'react';

function SvgIcArrowForward(props) {
return (
<svg height={32} viewBox="0 0 24 24" width={32} {...props}>
<svg
xmlns="http://www.w3.org/2000/svg"
height={32}
viewBox="0 0 24 24"
width={32}
{...props}
>
<path d="M0 0h24v24H0z" fill="none" />
<path d="M5.88 4.12L13.76 12l-7.88 7.88L8 22l10-10L8 2z" />
</svg>
Expand Down
4 changes: 2 additions & 2 deletions icons/IcArrowMenu.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from "react";
import * as React from 'react';

function SvgIcArrowMenu(props) {
return (
<svg height={24} width={24} {...props}>
<svg xmlns="http://www.w3.org/2000/svg" height={24} width={24} {...props}>
<path d="M0 0h24v24H0V0z" fill="none" />
<path d="M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z" />
</svg>
Expand Down
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1030,6 +1030,7 @@ Image$1.defaultProps = {

function SvgIcArrowBack(props) {
return /*#__PURE__*/React.createElement("svg", _extends({
xmlns: "http://www.w3.org/2000/svg",
height: 32,
viewBox: "0 0 24 24",
width: 32
Expand All @@ -1043,6 +1044,7 @@ function SvgIcArrowBack(props) {

function SvgIcArrowForward(props) {
return /*#__PURE__*/React.createElement("svg", _extends({
xmlns: "http://www.w3.org/2000/svg",
height: 32,
viewBox: "0 0 24 24",
width: 32
Expand Down Expand Up @@ -1298,6 +1300,7 @@ SideMenu.defaultProps = {

function SvgIcArrowMenu(props) {
return /*#__PURE__*/React.createElement("svg", _extends({
xmlns: "http://www.w3.org/2000/svg",
height: 24,
width: 24
}, props), /*#__PURE__*/React.createElement("path", {
Expand Down
32 changes: 29 additions & 3 deletions templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -4710,6 +4710,32 @@ var Subjects = function Subjects(_ref) {
var items_left = pqueue_left && pqueue_left.length > 0 ? pqueue_left : content['items-left'];
var items_center = pqueue_center && pqueue_center.length > 0 ? pqueue_center : content['items-center'];
var items_right = pqueue_right && pqueue_right.length > 0 ? pqueue_right : content['items-right'];

var parseColor = function parseColor(color) {
switch (color) {
case 'yellow':
return 'editorial-1';

case 'blue':
return 'editorial-2';

case 'black':
return 'editorial-3';

case 'green':
return 'editorial-4';

case 'red':
return 'editorial-5';

case 'default':
return 'primary-1';

default:
return color;
}
};

return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, title && title !== '' && /*#__PURE__*/React__default['default'].createElement(SectionTitle, {
weight: "bold",
gutter: 3,
Expand All @@ -4719,7 +4745,7 @@ var Subjects = function Subjects(_ref) {
}, /*#__PURE__*/React__default['default'].createElement(SectionTitle, {
weight: "bold",
gutter: 3,
color: leftColor
color: parseColor(leftColor)
}, titleLeft), lodash.map(items_left, function (item, key) {
return /*#__PURE__*/React__default['default'].createElement(Teaser, {
content: item,
Expand All @@ -4739,7 +4765,7 @@ var Subjects = function Subjects(_ref) {
}, /*#__PURE__*/React__default['default'].createElement(SectionTitle, {
weight: "bold",
gutter: 3,
color: centerColor
color: parseColor(centerColor)
}, titleCenter), lodash.map(items_center, function (item, key) {
return /*#__PURE__*/React__default['default'].createElement(Teaser, {
content: item,
Expand All @@ -4759,7 +4785,7 @@ var Subjects = function Subjects(_ref) {
}, /*#__PURE__*/React__default['default'].createElement(SectionTitle, {
weight: "bold",
gutter: 3,
color: rightColor
color: parseColor(rightColor)
}, titleRight), lodash.map(items_right, function (item, key) {
return /*#__PURE__*/React__default['default'].createElement(Teaser, {
content: item,
Expand Down

0 comments on commit 4aa198e

Please sign in to comment.