Simon Hunt

Added mojo icons:

- ports, switch, roadm, uiAttached, summary, detail

Change-Id: I4bff2fcaeb16e7dcb59268a46d627ebe92110556
......@@ -566,6 +566,50 @@
'M70.4,31c11.8-10.4,26.2-5.2,24.7,10.1'
},
// --- Mojo Re-Design ---------------------------------------
m_switch_arrows = 'M62.1,64.3l13-7.2-13-7c0,1.1,0,2,0,3' +
'a1.9,1.9,0,0,1-2.2,2.2H53.2V59h1.5A2,2,0,0,1,56.8,61' +
'a1.9,1.9,0,0,1-2.1,1.9H51.4a1.9,1.9,0,0,1-2-2.1q0-3.5,0-7' +
'c0-1.6.7-2.3,2.4-2.3h6.6c0-1.1,0-2.1,0-3.1s0-.8,0-1.2' +
'a1.9,1.9,0,0,1,2.9-1.8l5.4,2.9,13,7' +
'a2.2,2.2,0,0,1,1.5,1.9,2.2,2.2,0,0,1-1.5,2L61.7,68.9' +
'a2.2,2.2,0,0,1-2.5.2,1.8,1.8,0,0,1-.9-1.6c0-2.2,0-4.4,0-6.6' +
'a1.8,1.8,0,0,1,1.9-1.9,1.8,1.8,0,0,1,2,1.9' +
'C62.2,62,62.1,63.1,62.1,64.3ZM41.7,64.4h6.5c1.8,0,2.5.7,2.5,2.4' +
's0,4.4,0,6.6-0.7,2.3-2.3,2.3H45.2a2,2,0,0,1-2-1.9' +
'A2,2,0,0,1,45.1,72h1.6V68.3H40.1a2,2,0,0,1-2.2-2.2c0-1,0-1.9,0-3' +
'L24.8,70l13.1,7.2c0-1.1,0-2.1,0-3a1.9,1.9,0,1,1,3.8,0' +
'c0,2,0,4,0,6.1a1.9,1.9,0,0,1-3,1.8L22.5,73.1l-2.3-1.3' +
'A2,2,0,0,1,18.9,70a2,2,0,0,1,1.3-1.9l14.4-7.7,4-2.1' +
'c1.7-.9,3.1,0,3.1,1.9S41.7,63,41.7,64.4Z' +
'M41.7,36.8h7.1a1.8,1.8,0,0,1,1.9,1.8q0,3.8,0,7.6' +
'a1.9,1.9,0,0,1-1.9,1.8H45.1a1.9,1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0,0-1.4-.6H34.5a1.9,1.9,0,0,0-1.5.6' +
'L11.4,33.2a2,2,0,0,0-.5,1.3c0,10.3,0,20.5,0,30.8' +
'a1.9,1.9,0,0,0,.6,1.5L24.7,79.9l8.7,8.6a1.7,1.7,0,0,0,1.1.5' +
'H65.6a1.8,1.8,0,0,0,1.2-.5l21.9-22a2,2,0,0,0,.5-1.3' +
'C89.2,60.1,89.2,55,89.2,49.8Z',
mojoDataSet = {
_viewbox: '0 0 100 100',
......@@ -622,7 +666,103 @@
'A29.6,29.6,0,0,0,78.5,52.5a29.4,29.4,0,1,0-56.3-8.3,29,29,0,0,' +
'0,6.5,15.5Zm14.7,23,1.7-25.6c-2.9,5-5.7,10.1-8.5,15.2' +
'a0.9,0.9,0,0,0,.1.8l3.5,5.1Zm-2.2-27-0.2-.2' +
'C36.4,62.4,29.8,67.5,23,72.4h0.5l11.2,0.4a1,1,0,0,0,.7-0.5l5.3-9.5Z'
'C36.4,62.4,29.8,67.5,23,72.4h0.5l11.2,0.4a1,1,0,0,0,.7-0.5l5.3-9.5Z',
thatsNoMoon: 'M50,83.4A33.2,33.2,0,1,1,83.2,50.2,33.2,33.2,0,0,' +
'1,50,83.4ZM79.3,50.1A29.3,29.3,0,1,0,50.1,79.4,29.3,29.3,0,0,0,' +
'79.3,50.1ZM65.4,46.9h9.1A1.9,1.9,0,0,1,76.4,48a1.9,1.9,0,0,' +
'1-.3,2.1,2.1,2.1,0,0,1-1.8.7H65.4c-0.1.6-.1,1.2-0.2,1.8' +
'A38.5,38.5,0,0,1,57,73.9a2.1,2.1,0,0,1-2.2.9,2,2,0,0,' +
'1-1.4-1.6,2.3,2.3,0,0,1,.6-1.7,33.6,33.6,0,0,0,4.9-8.5,34.6,34.6,' +
'0,0,0,2.5-11c0-.3,0-0.7,0-1.1H38.9c0.2,1.3.3,2.6,0.5,3.9' +
'a34.2,34.2,0,0,0,7.3,17,2,2,0,1,1-3,2.4A37.1,37.1,0,0,1,39.1,67' +
'a40.8,40.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' +
'a1.1,1.1,0,0,0,1.6,0l1.4-1.4A3.7,3.7,0,0,0,25.5,79.1Z' +
'm3.9-9.8-4.3,3.3,2.4,2.5,3.4-4.4Z',
mojo_switch: m_switch_arrows,
mojo_roadm: m_switch_arrows + m_octagon,
mojo_uiAttached: 'M50,22.2H73.6a5.3,5.3,0,0,1,5.6,5.6' +
'c-0.1,9.5,0,19,0,28.5a5.1,5.1,0,0,1-5.4,5.4H26.3' +
'a5.1,5.1,0,0,1-5.4-5.4q0-14.4,0-28.7a5,5,0,0,1,5.4-5.4H50Z' +
'M50.1,26H26.6c-1.5,0-1.8.3-1.8,1.8q0,14.2,0,28.3' +
'c0,1.3.4,1.7,1.7,1.7H73.7c1.4,0,1.7-.3,1.7-1.8q0-14.1,0-28.3' +
'c0-1.5-.3-1.8-1.8-1.8H50.1ZM48.2,74.1c0-2.7,0-5.3,0-7.9' +
'a1.9,1.9,0,1,1,3.8,0c0,2.3,0,4.7,0,7,0,0.3,0,.5,0,0.9h9.8' +
'A2,2,0,0,1,63.9,76a2,2,0,0,1-2.1,1.9H38.4' +
'a1.9,1.9,0,0,1-2-1.4,1.8,1.8,0,0,1,.7-2.1,2.6,2.6,0,0,1,1.3-.4' +
'h9.8Z',
mojo_summary: 'M20.6,50.1q0-12.7,0-25.3a5,5,0,0,1,4-5.1H74.5' +
'a5,5,0,0,1,5.2,5.2q0,25.3,0,50.6a5,5,0,0,1-5.3,5.3H25.8' +
'a5,5,0,0,1-5.1-5.2q0-9.6,0-19.2Q20.6,53.2,20.6,50.1Zm55.2,0.1' +
'q0-12.6,0-25.1c0-1.3-.3-1.6-1.6-1.6H26c-1.2,0-1.5.4-1.5,1.5' +
'q0,25.2,0,50.4c0,1.2.4,1.6,1.6,1.6H74c1.4,0,1.8-.3,1.8-1.7' +
'Q75.8,62.6,75.8,50.1ZM29.1,37.6q0-2,0-3.9a5,5,0,0,1,5.1-5.2h8' +
'a5,5,0,0,1,5.1,5.1q0,4,0,8a5,5,0,0,1-5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1.9,0,1,1,0,3.8H66.2' +
'a16.6,16.6,0,0,1-3.9,11.8H69a1.9,1.9,0,0,1,2,2.5,1.8,1.8,0,0,' +
'1-1.9,1.3H58.1a4.2,4.2,0,0,0-1.6.3,15.7,15.7,0,0,1-9.8.9,0.9,0.9,' +
'0,0,0-1.2.5L33.3,86.3a2.1,2.1,0,0,1-2.2,1.3,1.9,1.9,0,0,1-1.3-3' +
'l3.5-5.8ZM62.4,49.9A12.2,12.2,0,1,0,50.1,62.1,12.2,12.2,0,0,' +
'0,62.4,49.9ZM50,29.1H68.9c1.7,0,2.7,1.6,1.8,2.9a3.6,3.6,0,0,' +
'1-1.4.9H31a1.9,1.9,0,1,1,.1-3.9H50Z'
};
......
......@@ -21,7 +21,7 @@
describe('factory: fw/svg/glyph.js', function() {
var $log, fs, gs, d3Elem, svg;
var numBaseGlyphs = 54,
var numBaseGlyphs = 61,
vbBird = '352 224 113 112',
vbGlyph = '0 0 110 110',
vbBadge = '0 0 10 10',
......