diff --git a/styleguide/src/Icons/icons-path/MoneyReturn.tsx b/styleguide/src/Icons/icons-path/MoneyReturn.tsx new file mode 100644 index 0000000..7ed1e7e --- /dev/null +++ b/styleguide/src/Icons/icons-path/MoneyReturn.tsx @@ -0,0 +1,12 @@ +import React from 'react' + +export const MoneyReturn = () => { + return ( + + ) +} diff --git a/styleguide/src/Icons/icons-path/index.ts b/styleguide/src/Icons/icons-path/index.ts index f9c6a44..4dc2d80 100644 --- a/styleguide/src/Icons/icons-path/index.ts +++ b/styleguide/src/Icons/icons-path/index.ts @@ -49,6 +49,7 @@ import { Loading } from './Loading' import { Minus } from './Minus' import { Mobile } from './Mobile' import { MoneyBill } from './MoneyBill' +import { MoneyReturn } from './MoneyReturn' import { Move } from './Move' import { Nav } from './Nav' import { Order } from './Order' @@ -145,6 +146,7 @@ export const icons = { minus: Minus, mobile: Mobile, moneyBill: MoneyBill, + moneyReturn: MoneyReturn, move: Move, nav: Nav, order: Order, diff --git a/styleguide/src/Indicators/Alert/Alert.spec.tsx b/styleguide/src/Indicators/Alert/Alert.spec.tsx index 0c360cb..8aef63a 100644 --- a/styleguide/src/Indicators/Alert/Alert.spec.tsx +++ b/styleguide/src/Indicators/Alert/Alert.spec.tsx @@ -36,7 +36,7 @@ describe(specTitle('Alert tests'), () => { cy.get('.alert').should('have.class', 'bg-danger-light') mount() - cy.get('.alert').should('have.class', 'border-inverted-2') + cy.get('.alert').should('have.class', 'bg-focus-light') mount() cy.get('.alert').should('have.class', 'bg-primary-light') diff --git a/styleguide/src/Indicators/Alert/Alert.tsx b/styleguide/src/Indicators/Alert/Alert.tsx index c3121a5..96a94f4 100644 --- a/styleguide/src/Indicators/Alert/Alert.tsx +++ b/styleguide/src/Indicators/Alert/Alert.tsx @@ -1,7 +1,14 @@ import React, { useState, useEffect } from 'react' import { Icon, IconProps } from '../../Icons' -type alertTypesOptions = 'success' | 'warning' | 'danger' | 'info' | 'infoOutline' | 'infoDark' | 'primary' +type alertTypesOptions = + | 'success' + | 'warning' + | 'danger' + | 'info' + | 'infoOutline' + | 'infoDark' + | 'primary' const alertTypes: Record< alertTypesOptions, @@ -73,7 +80,9 @@ const AlertComponent = ({ if (!alertIsOpen) return null return (
{!hideIcon && (