diff --git a/packages/icons/src/__tests__/__snapshots__/icons.spec.js.snap b/packages/icons/src/__tests__/__snapshots__/icons.spec.js.snap index d873c545..c97f64cc 100644 --- a/packages/icons/src/__tests__/__snapshots__/icons.spec.js.snap +++ b/packages/icons/src/__tests__/__snapshots__/icons.spec.js.snap @@ -468,160 +468,6 @@ Array [ ] `; -exports[`renders without throwing 1`] = ` -Array [ - - - -, - - - -, - - - -, - - - -, - - - -, - - - -, - - - -, -] -`; - exports[`renders without throwing 1`] = ` Array [ without throwing 1`] = ` -Array [ - - - - - -, - - - - - -, - - - - - -, - - - - - -, - - - - - -, - - - - - -, - - - - - -, -] -`; - exports[`renders without throwing 1`] = ` Array [ without throwing 1`] = ` -Array [ - - -, - - -, - - -, - - -, - - -, - - -, - - -, -] -`; - exports[`renders without throwing 1`] = ` Array [ without throwing', () => { ).toMatchSnapshot(); }); -it('renders without throwing', () => { - expect( - renderer - .create( - - - - - - - - - - ) - .toJSON() - ).toMatchSnapshot(); -}); - it('renders without throwing', () => { expect( renderer @@ -382,24 +361,6 @@ it('renders without throwing', () => { ).toMatchSnapshot(); }); -it('renders without throwing', () => { - expect( - renderer - .create( - - - - - - - - - - ) - .toJSON() - ).toMatchSnapshot(); -}); - it('renders without throwing', () => { expect( renderer @@ -418,24 +379,6 @@ it('renders without throwing', () => { ).toMatchSnapshot(); }); -it('renders without throwing', () => { - expect( - renderer - .create( - - - - - - - - - - ) - .toJSON() - ).toMatchSnapshot(); -}); - it('renders without throwing', () => { expect( renderer diff --git a/packages/icons/src/checkcircle.js b/packages/icons/src/checkcircle.js deleted file mode 100644 index 45ba4980..00000000 --- a/packages/icons/src/checkcircle.js +++ /dev/null @@ -1,114 +0,0 @@ -import React from 'react'; -import remcalc from 'remcalc'; - -import Rotate from './rotate'; - -export const Tick = props => ( - - - -); - -export const Completed = ({ colors = {}, ...props }) => ( - - - - -); - -export const PartCompleted = ({ colors = {}, ...props }) => ( - - - - - -); - -export const Incomplete = ({ colors = {}, ...props }) => ( - - - - -); - -export default ({ - fill, - checked, - border, - direction = 'down', - style = {}, - ...rest -}) => ( - - {({ style: rotateStyle }) => { - if (fill && checked) { - return ; - } - - if (checked && border) { - return ; - } - - if (checked) { - return ; - } - - return ; - }} - -); diff --git a/packages/icons/src/health.js b/packages/icons/src/health.js deleted file mode 100644 index c82ed4d8..00000000 --- a/packages/icons/src/health.js +++ /dev/null @@ -1,37 +0,0 @@ -import React from 'react'; - -import Rotate from './rotate'; - -export default ({ - healthy = true, - direction = 'down', - colors = {}, - style = {}, - ...rest -}) => ( - - {({ style: rotateStyle }) => ( - - - - - - - )} - -); diff --git a/packages/icons/src/import.js b/packages/icons/src/import.js deleted file mode 100644 index d6318092..00000000 --- a/packages/icons/src/import.js +++ /dev/null @@ -1,32 +0,0 @@ -import React from 'react'; - -import Rotate from './rotate'; -import calcFill from './fill'; - -export default ({ - fill = null, - light = false, - disabled = false, - direction = 'down', - colors = {}, - style = {}, - ...rest -}) => ( - - {({ style: rotateStyle }) => ( - - - - )} - -); diff --git a/packages/icons/src/index.js b/packages/icons/src/index.js index b75ef7a5..8e6616c2 100644 --- a/packages/icons/src/index.js +++ b/packages/icons/src/index.js @@ -2,7 +2,6 @@ export { default as Actions } from './actions'; export { default as Affinity } from './affinity'; export { default as Arrow } from './arrow'; export { default as Bin } from './bin'; -export { default as Checkcircle } from './checkcircle'; export { default as Clipboard } from './clipboard'; export { default as Close } from './close'; export { default as Cns } from './cns'; @@ -17,9 +16,7 @@ export { default as Fabric } from './fabric'; // export { default as Filter } from './filter'; export { default as Firewall } from './firewall'; export { default as General } from './general'; -export { default as Health } from './health'; export { default as Id } from './id'; -export { default as Import } from './import'; export { default as InstanceCount } from './instance-count'; export { default as InstanceType } from './instance-type'; export { default as Instances } from './instances'; diff --git a/packages/ui-toolkit/src/icons/functional.md b/packages/ui-toolkit/src/icons/functional.md index a5ec7af2..8d75d78a 100644 --- a/packages/ui-toolkit/src/icons/functional.md +++ b/packages/ui-toolkit/src/icons/functional.md @@ -11,7 +11,6 @@ const { Affinity, Arrow, Bin, - Checkcircle, Clipboard, Close, Cns, @@ -22,9 +21,7 @@ const { Duplicate, Edit, Firewall, - Health, Id, - Import, InstanceCount, InstanceType, Instances, @@ -83,30 +80,6 @@ const { - - - - - - - - - - - - - - - - - - - - - - - - @@ -167,30 +140,12 @@ const { - - - - - - - - - - - - - - - - - - diff --git a/packages/ui-toolkit/src/icons/index.js b/packages/ui-toolkit/src/icons/index.js index fe0c9c96..1b99ab8c 100644 --- a/packages/ui-toolkit/src/icons/index.js +++ b/packages/ui-toolkit/src/icons/index.js @@ -8,7 +8,6 @@ import { Affinity as BaseAffinity, Arrow as BaseArrow, Bin as BaseBin, - Checkcircle as BaseCheckcircle, Clipboard as BaseClipboard, Close as BaseClose, Cns as BaseCns, @@ -22,9 +21,7 @@ import { Fabric as BaseFabric, Firewall as BaseFirewall, General as BaseGeneral, - Health as BaseHealth, Id as BaseId, - Import as BaseImport, InstanceCount as BaseInstanceCount, InstanceType as BaseInstanceType, Instances as BaseInstances, @@ -61,7 +58,6 @@ export const Actions = Baseline(Colors(BaseActions)); export const Affinity = Baseline(Colors(BaseAffinity)); export const Arrow = Baseline(Colors(BaseArrow)); export const Bin = Baseline(Colors(BaseBin)); -export const Checkcircle = Baseline(Colors(BaseCheckcircle)); export const Clipboard = Baseline(Colors(BaseClipboard)); export const Close = Baseline(Colors(BaseClose)); export const Cns = Baseline(Colors(BaseCns)); @@ -75,9 +71,7 @@ export const Edit = Baseline(Colors(BaseEdit)); export const Fabric = Baseline(Colors(BaseFabric)); export const Firewall = Baseline(Colors(BaseFirewall)); export const General = Baseline(Colors(BaseGeneral)); -export const Health = Baseline(Colors(BaseHealth)); export const Id = Baseline(Colors(BaseId)); -export const Import = Baseline(Colors(BaseImport)); export const InstanceCount = Baseline(Colors(BaseInstanceCount)); export const InstanceType = Baseline(Colors(BaseInstanceType)); export const Instances = Baseline(Colors(BaseInstances)); diff --git a/packages/ui-toolkit/src/icons/section.md b/packages/ui-toolkit/src/icons/section.md index 32a9e69d..cbd536d3 100644 --- a/packages/ui-toolkit/src/icons/section.md +++ b/packages/ui-toolkit/src/icons/section.md @@ -11,7 +11,6 @@ const { Affinity, Arrow, Bin, - Checkcircle, Clipboard, Close, Cns, @@ -22,7 +21,6 @@ const { Duplicate, Edit, Firewall, - Health, Id, Import, InstanceCount, diff --git a/packages/ui-toolkit/src/index.js b/packages/ui-toolkit/src/index.js index 627fff5e..0b523067 100644 --- a/packages/ui-toolkit/src/index.js +++ b/packages/ui-toolkit/src/index.js @@ -64,7 +64,6 @@ export { Affinity as AffinityIcon, Arrow as ArrowIcon, Bin as BinIcon, - Checkcircle as CheckcircleIcon, Clipboard as ClipboardIcon, Close as CloseIcon, Cns as CnsIcon, @@ -78,7 +77,6 @@ export { Fabric as FabricIcon, Firewall as FirewallIcon, General as GeneralIcon, - Health as HealthIcon, Id as IdIcon, Import as ImportIcon, InstanceCount as InstanceCountIcon,