diff --git a/_temp/trace-type-animation.svg b/_temp/trace-type-animation.svg new file mode 100755 index 0000000..ff34a82 --- /dev/null +++ b/_temp/trace-type-animation.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-area.svg b/_temp/trace-type-area.svg new file mode 100755 index 0000000..84712ba --- /dev/null +++ b/_temp/trace-type-area.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-bar.svg b/_temp/trace-type-bar.svg new file mode 100755 index 0000000..0f5de43 --- /dev/null +++ b/_temp/trace-type-bar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-box.svg b/_temp/trace-type-box.svg new file mode 100755 index 0000000..e345fef --- /dev/null +++ b/_temp/trace-type-box.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-candlestick.svg b/_temp/trace-type-candlestick.svg new file mode 100755 index 0000000..8a4f808 --- /dev/null +++ b/_temp/trace-type-candlestick.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-carpet.svg b/_temp/trace-type-carpet.svg new file mode 100755 index 0000000..3083b94 --- /dev/null +++ b/_temp/trace-type-carpet.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-choropleth.svg b/_temp/trace-type-choropleth.svg new file mode 100755 index 0000000..ea85447 --- /dev/null +++ b/_temp/trace-type-choropleth.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-contour.svg b/_temp/trace-type-contour.svg new file mode 100755 index 0000000..c18942b --- /dev/null +++ b/_temp/trace-type-contour.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-error-bars.svg b/_temp/trace-type-error-bars.svg new file mode 100755 index 0000000..423e3d0 --- /dev/null +++ b/_temp/trace-type-error-bars.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-heatmap.svg b/_temp/trace-type-heatmap.svg new file mode 100755 index 0000000..e6a8adb --- /dev/null +++ b/_temp/trace-type-heatmap.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-histogram.svg b/_temp/trace-type-histogram.svg new file mode 100755 index 0000000..47803f7 --- /dev/null +++ b/_temp/trace-type-histogram.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-histogram2d.svg b/_temp/trace-type-histogram2d.svg new file mode 100755 index 0000000..e56a0c6 --- /dev/null +++ b/_temp/trace-type-histogram2d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-histogram2dcontour.svg b/_temp/trace-type-histogram2dcontour.svg new file mode 100755 index 0000000..5239191 --- /dev/null +++ b/_temp/trace-type-histogram2dcontour.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-line.svg b/_temp/trace-type-line.svg new file mode 100755 index 0000000..d4dfe53 --- /dev/null +++ b/_temp/trace-type-line.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-line3d.svg b/_temp/trace-type-line3d.svg new file mode 100755 index 0000000..c1431aa --- /dev/null +++ b/_temp/trace-type-line3d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-mesh3d.svg b/_temp/trace-type-mesh3d.svg new file mode 100755 index 0000000..e219e03 --- /dev/null +++ b/_temp/trace-type-mesh3d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-ohlc.svg b/_temp/trace-type-ohlc.svg new file mode 100755 index 0000000..92dd9d2 --- /dev/null +++ b/_temp/trace-type-ohlc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-parcoords.svg b/_temp/trace-type-parcoords.svg new file mode 100755 index 0000000..4d1a634 --- /dev/null +++ b/_temp/trace-type-parcoords.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-pie.svg b/_temp/trace-type-pie.svg new file mode 100755 index 0000000..729af76 --- /dev/null +++ b/_temp/trace-type-pie.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-range-slider.svg b/_temp/trace-type-range-slider.svg new file mode 100755 index 0000000..bb282f4 --- /dev/null +++ b/_temp/trace-type-range-slider.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-sankey.svg b/_temp/trace-type-sankey.svg new file mode 100755 index 0000000..04475ca --- /dev/null +++ b/_temp/trace-type-sankey.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-scatter.svg b/_temp/trace-type-scatter.svg new file mode 100755 index 0000000..5f95ea5 --- /dev/null +++ b/_temp/trace-type-scatter.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-scatter3d.svg b/_temp/trace-type-scatter3d.svg new file mode 100755 index 0000000..db115f9 --- /dev/null +++ b/_temp/trace-type-scatter3d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-scattergeo.svg b/_temp/trace-type-scattergeo.svg new file mode 100755 index 0000000..0f2b635 --- /dev/null +++ b/_temp/trace-type-scattergeo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-scattermapbox.svg b/_temp/trace-type-scattermapbox.svg new file mode 100755 index 0000000..d0a4970 --- /dev/null +++ b/_temp/trace-type-scattermapbox.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-scatterpolar.svg b/_temp/trace-type-scatterpolar.svg new file mode 100755 index 0000000..4f5ac3a --- /dev/null +++ b/_temp/trace-type-scatterpolar.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-scatterternary.svg b/_temp/trace-type-scatterternary.svg new file mode 100755 index 0000000..9f9425d --- /dev/null +++ b/_temp/trace-type-scatterternary.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-surface.svg b/_temp/trace-type-surface.svg new file mode 100755 index 0000000..a2d709b --- /dev/null +++ b/_temp/trace-type-surface.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/_temp/trace-type-table.svg b/_temp/trace-type-table.svg new file mode 100644 index 0000000..f6a500c --- /dev/null +++ b/_temp/trace-type-table.svg @@ -0,0 +1 @@ +ic-table-46 \ No newline at end of file diff --git a/_temp/trace-type-violin.svg b/_temp/trace-type-violin.svg new file mode 100755 index 0000000..2e60cfa --- /dev/null +++ b/_temp/trace-type-violin.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/package.json b/package.json index 1834571..a342b9a 100644 --- a/package.json +++ b/package.json @@ -1,23 +1,10 @@ { "name": "plotly-icons", - "version": "1.1.3", "description": "set of plotly icons", - "main": "lib/index.js", - "scripts": { - "generate": "yarn run clean && node scripts/generate.js", - "clean": "rimraf lib && rimraf src/plotly/*.js", - "prepublishOnly": "mkdirp lib && yarn generate && babel src --out-dir lib" - }, - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/plotly/plotly-icons.git" - }, - "author": "", - "license": "ISC", + "version": "1.1.3", "bugs": { "url": "https://github.com/plotly/plotly-icons/issues" }, - "homepage": "https://github.com/plotly/plotly-icons#readme", "dependencies": { "mdi-react": "^2.1.19", "react": "^16.2.0", @@ -32,5 +19,17 @@ "fs": "0.0.1-security", "mkdirp": "^0.5.1", "rimraf": "^2.6.1" + }, + "homepage": "https://github.com/plotly/plotly-icons#readme", + "license": "ISC", + "main": "lib/index.js", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/plotly/plotly-icons.git" + }, + "scripts": { + "clean": "rimraf lib && rimraf src/plotly/*.js", + "generate": "yarn run clean && node scripts/generate.js", + "prepublishOnly": "mkdirp lib && yarn generate && babel src --out-dir lib" } } diff --git a/scripts/generate.js b/scripts/generate.js index 699a4a2..b08c811 100644 --- a/scripts/generate.js +++ b/scripts/generate.js @@ -21,7 +21,7 @@ for (let svgFile of svgFiles) { const height = heightRegex.exec(content); const viewBox = viewBoxRegex.exec(content); const path = pathMatches && pathMatches[1]; - // Skip on empty path + if (!path) continue; const fileContent = `import React from 'react'; diff --git a/src/index.js b/src/index.js index 6bd7102..b0065f3 100644 --- a/src/index.js +++ b/src/index.js @@ -98,7 +98,7 @@ import UploadIcon from 'mdi-react/UploadIcon'; import VideoIcon from 'mdi-react/VideoIcon'; import WrenchIcon from 'mdi-react/WrenchIcon'; -// Plotly Icons / Custom Icons +// Plotly Custom Icons (non-plot) import AutoscaleIcon from './plotly/AutoscaleIcon'; import EmbedIconIcon from './plotly/EmbedIconIcon'; import FilingCabinetIcon from './plotly/FilingCabinetIcon'; @@ -117,54 +117,60 @@ import ScriptIcon from './plotly/ScriptIcon'; import SpikelineIcon from './plotly/SpikelineIcon'; import TooltipBasicIcon from './plotly/TooltipBasicIcon'; import TooltipCompareIcon from './plotly/TooltipCompareIcon'; +import ZoomboxIcon from './plotly/ZoomboxIcon'; import ZoomMinusIcon from './plotly/ZoomMinusIcon'; import ZoomPlusIcon from './plotly/ZoomPlusIcon'; -import ZoomboxIcon from './plotly/ZoomboxIcon'; -import PlotIcon from './plotly/PlotIcon'; -// Plotly.js plot icons +// Plotly plot icons import PlotAreaIcon from './plotly/PlotAreaIcon'; +import PlotAreaStackedIcon from './plotly/PlotAreaStackedIcon'; +import PlotBarAxesIcon from './plotly/PlotBarAxesIcon'; import PlotBarIcon from './plotly/PlotBarIcon'; import PlotBoxIcon from './plotly/PlotBoxIcon'; +import PlotBubblesIcon from './plotly/PlotBubblesIcon'; +import PlotCandlestickAltIcon from './plotly/PlotCandlestickAltIcon'; import PlotCandlestickIcon from './plotly/PlotCandlestickIcon'; import PlotCarpetIcon from './plotly/PlotCarpetIcon'; import PlotChoroplethIcon from './plotly/PlotChoroplethIcon'; +import PlotCone3dIcon from './plotly/PlotCone3dIcon'; import PlotContourIcon from './plotly/PlotContourIcon'; +import PlotDonutIcon from './plotly/PlotDonutIcon'; +import PlotErrorBarsIcon from './plotly/PlotErrorBarsIcon'; +import PlotFitIcon from './plotly/PlotFitIcon'; import PlotHeatmapIcon from './plotly/PlotHeatmapIcon'; +import PlotHistogram2dBricksIcon from './plotly/PlotHistogram2dBricksIcon'; import PlotHistogram2dIcon from './plotly/PlotHistogram2dIcon'; import PlotHistogramIcon from './plotly/PlotHistogramIcon'; +import PlotIcon from './plotly/PlotIcon'; +import PlotIsosurface3dIcon from './plotly/PlotIsosurface3dIcon'; +import PlotLine3dIcon from './plotly/PlotLine3dIcon'; +import PlotLineIcon from './plotly/PlotLineIcon'; +import PlotLineMarkersIcon from './plotly/PlotLineMarkersIcon'; +import PlotMapLineIcon from './plotly/PlotMapLineIcon'; import PlotMesh3dIcon from './plotly/PlotMesh3dIcon'; import PlotOhlcIcon from './plotly/PlotOhlcIcon'; import PlotParcoordsIcon from './plotly/PlotParcoordsIcon'; import PlotPieIcon from './plotly/PlotPieIcon'; -import PlotSankeyIcon from './plotly/PlotSankeyIcon'; -import PlotScatter3dIcon from './plotly/PlotScatter3dIcon'; -import PlotScatterIcon from './plotly/PlotScatterIcon'; -import PlotScattermapboxIcon from './plotly/PlotScattermapboxIcon'; -import PlotScatterternaryIcon from './plotly/PlotScatterternaryIcon'; -import PlotSurfaceIcon from './plotly/PlotSurfaceIcon'; - -// custom editor plot icons -import Plot2dHistIcon from './plotly/Plot2dHistIcon'; -import Plot3dLineIcon from './plotly/Plot3dLineIcon'; -import PlotAreaStackedIcon from './plotly/PlotAreaStackedIcon'; -import PlotBarAxesIcon from './plotly/PlotBarAxesIcon'; -import PlotBubblesIcon from './plotly/PlotBubblesIcon'; -import PlotCountryLineChartIcon from './plotly/PlotCountryLineChartIcon'; -import PlotDHistogramBricksIcon from './plotly/PlotDHistogramBricksIcon'; -import PlotDonutIcon from './plotly/PlotDonutIcon'; -import PlotErrorBarsIcon from './plotly/PlotErrorBarsIcon'; -import PlotFitIcon from './plotly/PlotFitIcon'; -import PlotLineIcon from './plotly/PlotLineIcon'; -import PlotLineMarkersIcon from './plotly/PlotLineMarkersIcon'; import PlotPieShadedIcon from './plotly/PlotPieShadedIcon'; +import PlotPolarFilledIcon from './plotly/PlotPolarFilledIcon'; import PlotRadarIcon from './plotly/PlotRadarIcon'; +import PlotSankeyIcon from './plotly/PlotSankeyIcon'; +import PlotScatter3dIcon from './plotly/PlotScatter3dIcon'; import PlotScatterAxesIcon from './plotly/PlotScatterAxesIcon'; import PlotScatterChartIcon from './plotly/PlotScatterChartIcon'; +import PlotScattergeoIcon from './plotly/PlotScattergeoIcon'; +import PlotScatterIcon from './plotly/PlotScatterIcon'; +import PlotScattermapboxIcon from './plotly/PlotScattermapboxIcon'; import PlotScatterMatrixIcon from './plotly/PlotScatterMatrixIcon'; +import PlotScatterpolarIcon from './plotly/PlotScatterpolarIcon'; +import PlotScatterternaryIcon from './plotly/PlotScatterternaryIcon'; import PlotStackedAreaIcon from './plotly/PlotStackedAreaIcon'; +import PlotSurfaceIcon from './plotly/PlotSurfaceIcon'; import PlotTernaryContourIcon from './plotly/PlotTernaryContourIcon'; import PlotTimeSeriesIcon from './plotly/PlotTimeSeriesIcon'; +import PlotTube3dIcon from './plotly/PlotTube3dIcon'; +import PlotViolinIcon from './plotly/PlotViolinIcon'; +import PlotVolume3dIcon from './plotly/PlotVolume3dIcon'; export { AccountIcon, @@ -177,7 +183,6 @@ export { ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, - AutoscaleIcon, BarsIcon, BellIcon, BookmarkIcon, @@ -186,8 +191,8 @@ export { ChartLineIcon, ChatIcon, ChatOutlineIcon, - CheckIcon, CheckboxMarkedOutlineIcon, + CheckIcon, CloseIcon, CloudIcon, CodeBracesIcon, @@ -197,7 +202,6 @@ export { CreditCardIcon, DownloadIcon, EditIcon, - EmbedIconIcon, EnvelopeIcon, EnvelopeOutlineIcon, ExternalLinkIcon, @@ -205,17 +209,13 @@ export { FileDocumentIcon, FileIcon, FileMultipleIcon, - FilingCabinetIcon, FilterIcon, FolderIcon, FolderOpenIcon, - ForkEditIcon, - ForkIcon, FormatAlignCenterIcon, FormatAlignLeftIcon, FormatAlignRightIcon, FullViewIcon, - GearsSettingIcon, GitHubIcon, GlobeIcon, GooglePlusIcon, @@ -226,105 +226,119 @@ export { InboxArrowIcon, InboxIcon, InstagramIcon, + LinkedInIcon, LinkIcon, LinkVariantIcon, - LinkedInIcon, ListViewIcon, LockIcon, + MinusIcon, + OfficeIcon, + PhoneIcon, + PlayIcon, + PlusIcon, + QuestionIcon, + RecentIcon, + RefreshIcon, + ReorderHorizontalIcon, + ReorderVerticalIcon, + ResizeDownIcon, + ResizeUpIcon, + RevisionsIcon, + RotateLeftIcon, + RotateRightIcon, + SaveIcon, + SearchIcon, + ShareIcon, + ShareVariantIcon, + SignOutIcon, + SquareIcon, + StarIcon, + SuitcaseIcon, + TableIcon, + TagIcon, + TagOutlineIcon, + TalkChatIcon, + TalkChatMultipleIcon, + TeamIcon, + ThemeIcon, + ThumnailViewIcon, + TooltipIcon, + TooltipTextIcon, + TrashIcon, + TwitterIcon, + UnlockIcon, + UploadFileIcon, + UploadIcon, + VideoIcon, + WrenchIcon, + AutoscaleIcon, + EmbedIconIcon, + FilingCabinetIcon, + ForkEditIcon, + ForkIcon, + GearsSettingIcon, LogoAmexIcon, LogoMastercardIcon, LogoStripeIcon, LogoVisaIcon, - MinusIcon, NotebookIpIcon, NotebookMIconIcon, NotebookRIcon, - OfficeIcon, PanIcon, - PhoneIcon, - PlayIcon, - Plot2dHistIcon, - Plot3dLineIcon, PlotAreaIcon, PlotAreaStackedIcon, PlotBarAxesIcon, PlotBarIcon, PlotBoxIcon, PlotBubblesIcon, + PlotCandlestickAltIcon, PlotCandlestickIcon, PlotCarpetIcon, PlotChoroplethIcon, + PlotCone3dIcon, PlotContourIcon, - PlotCountryLineChartIcon, - PlotDHistogramBricksIcon, PlotDonutIcon, PlotErrorBarsIcon, PlotFitIcon, PlotHeatmapIcon, + PlotHistogram2dBricksIcon, PlotHistogram2dIcon, PlotHistogramIcon, PlotIcon, + PlotIsosurface3dIcon, + PlotLine3dIcon, PlotLineIcon, PlotLineMarkersIcon, + PlotMapLineIcon, PlotMesh3dIcon, PlotOhlcIcon, PlotParcoordsIcon, PlotPieIcon, PlotPieShadedIcon, + PlotPolarFilledIcon, PlotRadarIcon, PlotSankeyIcon, PlotScatter3dIcon, PlotScatterAxesIcon, PlotScatterChartIcon, + PlotScattergeoIcon, PlotScatterIcon, - PlotScatterMatrixIcon, PlotScattermapboxIcon, + PlotScatterMatrixIcon, + PlotScatterpolarIcon, PlotScatterternaryIcon, PlotStackedAreaIcon, PlotSurfaceIcon, PlotTernaryContourIcon, PlotTimeSeriesIcon, - PlusIcon, - QuestionIcon, - RecentIcon, - RefreshIcon, - ReorderHorizontalIcon, - ReorderVerticalIcon, - ResizeDownIcon, - ResizeUpIcon, - RevisionsIcon, - RotateLeftIcon, - RotateRightIcon, - SaveIcon, + PlotTube3dIcon, + PlotViolinIcon, + PlotVolume3dIcon, ScriptIcon, - SearchIcon, - ShareIcon, - ShareVariantIcon, - SignOutIcon, SpikelineIcon, - SquareIcon, - StarIcon, - SuitcaseIcon, - TableIcon, - TagIcon, - TagOutlineIcon, - TalkChatIcon, - TalkChatMultipleIcon, - TeamIcon, - ThemeIcon, - ThumnailViewIcon, TooltipBasicIcon, TooltipCompareIcon, - TooltipIcon, - TooltipTextIcon, - TrashIcon, - TwitterIcon, - UnlockIcon, - UploadFileIcon, - UploadIcon, - VideoIcon, - WrenchIcon, + ZoomboxIcon, ZoomMinusIcon, ZoomPlusIcon, - ZoomboxIcon, }; diff --git a/src/plotly/GridIcon.js b/src/plotly/GridIcon.js deleted file mode 100644 index 5f1f842..0000000 --- a/src/plotly/GridIcon.js +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; -const GridIcon = ({ className, children, ...props }) => { - let classes = 'plotly-icon'; - if (className) classes += ` ${className}`; - return ( - - - - ); -}; -export default GridIcon; diff --git a/src/plotly/Plot2dHistIcon.js b/src/plotly/Plot2dHistIcon.js deleted file mode 100644 index c4c6d1f..0000000 --- a/src/plotly/Plot2dHistIcon.js +++ /dev/null @@ -1,11 +0,0 @@ -import React from 'react'; -const Plot2dHistIcon = ({ className, children, ...props }) => { - let classes = 'plotly-icon'; - if (className) classes += ` ${className}`; - return ( - - - - ); -}; -export default Plot2dHistIcon; diff --git a/src/plotly/PlotCandlestickAltIcon.js b/src/plotly/PlotCandlestickAltIcon.js new file mode 100644 index 0000000..26763ea --- /dev/null +++ b/src/plotly/PlotCandlestickAltIcon.js @@ -0,0 +1,11 @@ +import React from 'react'; +const PlotCandlestickAltIcon = ({ className, children, ...props }) => { + let classes = 'plotly-icon'; + if (className) classes += ` ${className}`; + return ( + + + + ); +}; +export default PlotCandlestickAltIcon; diff --git a/src/plotly/PlotCone3dIcon.js b/src/plotly/PlotCone3dIcon.js new file mode 100644 index 0000000..1179bec --- /dev/null +++ b/src/plotly/PlotCone3dIcon.js @@ -0,0 +1,11 @@ +import React from 'react'; +const PlotCone3dIcon = ({ className, children, ...props }) => { + let classes = 'plotly-icon'; + if (className) classes += ` ${className}`; + return ( + + + + ); +}; +export default PlotCone3dIcon; diff --git a/src/plotly/PlotDHistogramBricksIcon.js b/src/plotly/PlotHistogram2dBricksIcon.js similarity index 77% rename from src/plotly/PlotDHistogramBricksIcon.js rename to src/plotly/PlotHistogram2dBricksIcon.js index 68e72f6..211ede9 100644 --- a/src/plotly/PlotDHistogramBricksIcon.js +++ b/src/plotly/PlotHistogram2dBricksIcon.js @@ -1,5 +1,5 @@ import React from 'react'; -const PlotDHistogramBricksIcon = ({ className, children, ...props }) => { +const PlotHistogram2dBricksIcon = ({ className, children, ...props }) => { let classes = 'plotly-icon'; if (className) classes += ` ${className}`; return ( @@ -8,4 +8,4 @@ const PlotDHistogramBricksIcon = ({ className, children, ...props }) => { ); }; -export default PlotDHistogramBricksIcon; +export default PlotHistogram2dBricksIcon; diff --git a/src/plotly/PlotHistogram2dIcon.js b/src/plotly/PlotHistogram2dIcon.js index c628fc3..f999261 100644 --- a/src/plotly/PlotHistogram2dIcon.js +++ b/src/plotly/PlotHistogram2dIcon.js @@ -3,8 +3,8 @@ const PlotHistogram2dIcon = ({ className, children, ...props }) => { let classes = 'plotly-icon'; if (className) classes += ` ${className}`; return ( - - + + ); }; diff --git a/src/plotly/PlotIsosurface3dIcon.js b/src/plotly/PlotIsosurface3dIcon.js new file mode 100644 index 0000000..82a2c81 --- /dev/null +++ b/src/plotly/PlotIsosurface3dIcon.js @@ -0,0 +1,11 @@ +import React from 'react'; +const PlotIsosurface3dIcon = ({ className, children, ...props }) => { + let classes = 'plotly-icon'; + if (className) classes += ` ${className}`; + return ( + + + + ); +}; +export default PlotIsosurface3dIcon; diff --git a/src/plotly/Plot3dLineIcon.js b/src/plotly/PlotLine3dIcon.js similarity index 83% rename from src/plotly/Plot3dLineIcon.js rename to src/plotly/PlotLine3dIcon.js index 0dbad18..ee034fd 100644 --- a/src/plotly/Plot3dLineIcon.js +++ b/src/plotly/PlotLine3dIcon.js @@ -1,5 +1,5 @@ import React from 'react'; -const Plot3dLineIcon = ({ className, children, ...props }) => { +const PlotLine3dIcon = ({ className, children, ...props }) => { let classes = 'plotly-icon'; if (className) classes += ` ${className}`; return ( @@ -8,4 +8,4 @@ const Plot3dLineIcon = ({ className, children, ...props }) => { ); }; -export default Plot3dLineIcon; +export default PlotLine3dIcon; diff --git a/src/plotly/PlotCountryLineChartIcon.js b/src/plotly/PlotMapLineIcon.js similarity index 97% rename from src/plotly/PlotCountryLineChartIcon.js rename to src/plotly/PlotMapLineIcon.js index 9bea741..3c12fb1 100644 --- a/src/plotly/PlotCountryLineChartIcon.js +++ b/src/plotly/PlotMapLineIcon.js @@ -1,5 +1,5 @@ import React from 'react'; -const PlotCountryLineChartIcon = ({ className, children, ...props }) => { +const PlotMapLineIcon = ({ className, children, ...props }) => { let classes = 'plotly-icon'; if (className) classes += ` ${className}`; return ( @@ -8,4 +8,4 @@ const PlotCountryLineChartIcon = ({ className, children, ...props }) => { ); }; -export default PlotCountryLineChartIcon; +export default PlotMapLineIcon; diff --git a/src/plotly/PlotPolarFilledIcon.js b/src/plotly/PlotPolarFilledIcon.js new file mode 100644 index 0000000..da60763 --- /dev/null +++ b/src/plotly/PlotPolarFilledIcon.js @@ -0,0 +1,11 @@ +import React from 'react'; +const PlotPolarFilledIcon = ({ className, children, ...props }) => { + let classes = 'plotly-icon'; + if (className) classes += ` ${className}`; + return ( + + + + ); +}; +export default PlotPolarFilledIcon; diff --git a/src/plotly/PlotScattergeoIcon.js b/src/plotly/PlotScattergeoIcon.js new file mode 100644 index 0000000..b7c4ad8 --- /dev/null +++ b/src/plotly/PlotScattergeoIcon.js @@ -0,0 +1,11 @@ +import React from 'react'; +const PlotScattergeoIcon = ({ className, children, ...props }) => { + let classes = 'plotly-icon'; + if (className) classes += ` ${className}`; + return ( + + + + ); +}; +export default PlotScattergeoIcon; diff --git a/src/plotly/PlotScatterpolarIcon.js b/src/plotly/PlotScatterpolarIcon.js new file mode 100644 index 0000000..0f78c05 --- /dev/null +++ b/src/plotly/PlotScatterpolarIcon.js @@ -0,0 +1,11 @@ +import React from 'react'; +const PlotScatterpolarIcon = ({ className, children, ...props }) => { + let classes = 'plotly-icon'; + if (className) classes += ` ${className}`; + return ( + + + + ); +}; +export default PlotScatterpolarIcon; diff --git a/src/plotly/PlotTube3dIcon.js b/src/plotly/PlotTube3dIcon.js new file mode 100644 index 0000000..6122428 --- /dev/null +++ b/src/plotly/PlotTube3dIcon.js @@ -0,0 +1,11 @@ +import React from 'react'; +const PlotTube3dIcon = ({ className, children, ...props }) => { + let classes = 'plotly-icon'; + if (className) classes += ` ${className}`; + return ( + + + + ); +}; +export default PlotTube3dIcon; diff --git a/src/plotly/PlotViolinIcon.js b/src/plotly/PlotViolinIcon.js new file mode 100644 index 0000000..2ffc6b6 --- /dev/null +++ b/src/plotly/PlotViolinIcon.js @@ -0,0 +1,11 @@ +import React from 'react'; +const PlotViolinIcon = ({ className, children, ...props }) => { + let classes = 'plotly-icon'; + if (className) classes += ` ${className}`; + return ( + + + + ); +}; +export default PlotViolinIcon; diff --git a/src/plotly/PlotVolume3dIcon.js b/src/plotly/PlotVolume3dIcon.js new file mode 100644 index 0000000..4db5349 --- /dev/null +++ b/src/plotly/PlotVolume3dIcon.js @@ -0,0 +1,11 @@ +import React from 'react'; +const PlotVolume3dIcon = ({ className, children, ...props }) => { + let classes = 'plotly-icon'; + if (className) classes += ` ${className}`; + return ( + + + + ); +}; +export default PlotVolume3dIcon; diff --git a/src/svg/grid.svg b/src/svg/grid.svg deleted file mode 100755 index e4d10c3..0000000 --- a/src/svg/grid.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/svg/plot-candlestick-alt.svg b/src/svg/plot-candlestick-alt.svg new file mode 100755 index 0000000..36d9a74 --- /dev/null +++ b/src/svg/plot-candlestick-alt.svg @@ -0,0 +1,5 @@ + + +plot-candle-alt + + diff --git a/src/svg/plot-cone-3d.svg b/src/svg/plot-cone-3d.svg new file mode 100755 index 0000000..077ec95 --- /dev/null +++ b/src/svg/plot-cone-3d.svg @@ -0,0 +1,5 @@ + + +plot-3d-cone + + diff --git a/src/svg/plot-d-histogram-bricks.svg b/src/svg/plot-histogram-2d-bricks.svg similarity index 100% rename from src/svg/plot-d-histogram-bricks.svg rename to src/svg/plot-histogram-2d-bricks.svg diff --git a/src/svg/plot-2d-hist.svg b/src/svg/plot-histogram-2d.svg similarity index 88% rename from src/svg/plot-2d-hist.svg rename to src/svg/plot-histogram-2d.svg index d53438d..04fbf35 100755 --- a/src/svg/plot-2d-hist.svg +++ b/src/svg/plot-histogram-2d.svg @@ -1,5 +1,5 @@ -plot-2d-hist +plot-2d-histogram diff --git a/src/svg/plot-histogram2d.svg b/src/svg/plot-histogram2d.svg deleted file mode 100755 index ff022c7..0000000 --- a/src/svg/plot-histogram2d.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/svg/plot-isosurface-3d.svg b/src/svg/plot-isosurface-3d.svg new file mode 100755 index 0000000..eb7ce10 --- /dev/null +++ b/src/svg/plot-isosurface-3d.svg @@ -0,0 +1,5 @@ + + +plot-3d-isosurface + + diff --git a/src/svg/plot-3d-line.svg b/src/svg/plot-line-3d.svg similarity index 100% rename from src/svg/plot-3d-line.svg rename to src/svg/plot-line-3d.svg diff --git a/src/svg/plot-country-line-chart.svg b/src/svg/plot-map-line.svg similarity index 100% rename from src/svg/plot-country-line-chart.svg rename to src/svg/plot-map-line.svg diff --git a/src/svg/plot-polar-filled.svg b/src/svg/plot-polar-filled.svg new file mode 100755 index 0000000..fa0f41d --- /dev/null +++ b/src/svg/plot-polar-filled.svg @@ -0,0 +1,5 @@ + + +plot-polar-filled + + diff --git a/src/svg/plot-scatter3d.svg b/src/svg/plot-scatter-3d.svg similarity index 100% rename from src/svg/plot-scatter3d.svg rename to src/svg/plot-scatter-3d.svg diff --git a/src/svg/plot-scattergeo.svg b/src/svg/plot-scattergeo.svg new file mode 100755 index 0000000..c7e466e --- /dev/null +++ b/src/svg/plot-scattergeo.svg @@ -0,0 +1,5 @@ + + +plot-scatter-map + + diff --git a/src/svg/plot-scatterpolar.svg b/src/svg/plot-scatterpolar.svg new file mode 100755 index 0000000..647863d --- /dev/null +++ b/src/svg/plot-scatterpolar.svg @@ -0,0 +1,5 @@ + + +plot-polar-scatter + + diff --git a/src/svg/plot-tube-3d.svg b/src/svg/plot-tube-3d.svg new file mode 100755 index 0000000..e6493ae --- /dev/null +++ b/src/svg/plot-tube-3d.svg @@ -0,0 +1,5 @@ + + +plot-3d-tube + + diff --git a/src/svg/plot-violin.svg b/src/svg/plot-violin.svg new file mode 100755 index 0000000..2186281 --- /dev/null +++ b/src/svg/plot-violin.svg @@ -0,0 +1,5 @@ + + +plot-violin + + diff --git a/src/svg/plot-volume-3d.svg b/src/svg/plot-volume-3d.svg new file mode 100755 index 0000000..605cc1f --- /dev/null +++ b/src/svg/plot-volume-3d.svg @@ -0,0 +1,5 @@ + + +plot-3d-volume + +