Quellcode durchsuchen

better test icons for test-ui-components, care of @tgeorgeux

telamonian vor 5 Jahren
Ursprung
Commit
e4651952cb
2 geänderte Dateien mit 19 neuen und 6 gelöschten Zeilen
  1. 10 0
      tests/test-ui-components/svg/bar.svg
  2. 9 6
      tests/test-ui-components/svg/foo.svg

+ 10 - 0
tests/test-ui-components/svg/bar.svg

@@ -0,0 +1,10 @@
+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0)">
+<rect x="2" y="2" width="20" height="20" fill="#616161" class="jp-icon3"/>
+<path class="jp-icon1" d="M6.03584 10.9875V9.6875C6.03584 9.50417 5.93167 9.4125 5.72334 9.4125H4.82334V11.2625H5.72334C5.93167 11.2625 6.03584 11.1708 6.03584 10.9875ZM6.03584 14.2875V12.975C6.03584 12.7917 5.93167 12.7 5.72334 12.7H4.82334V14.5625H5.72334C5.93167 14.5625 6.03584 14.4708 6.03584 14.2875ZM2.67334 7.975H6.34834C7.57334 7.975 8.18584 8.49167 8.18584 9.525V10.55C8.18584 11.275 7.98584 11.7458 7.58584 11.9625C7.81917 12.0625 7.97751 12.2167 8.06084 12.425C8.14417 12.625 8.18584 12.9 8.18584 13.25V14.45C8.18584 15.4833 7.57334 16 6.34834 16H2.67334V7.975ZM13.2062 16L12.9562 14.8H11.0312L10.7687 16H8.61865L10.6812 7.975H13.3437L15.4062 16H13.2062ZM11.3687 13.25H12.6187L12.0062 10.3625L11.3687 13.25ZM18.0933 13.15V16H15.9058V7.975H19.6183C20.8433 7.975 21.4558 8.49167 21.4558 9.525V11.6C21.4558 12.3917 21.0974 12.8792 20.3808 13.0625L21.8558 16H19.5058L18.2308 13.15H18.0933ZM18.9558 9.5375H18.0933V11.6625H18.9558C19.1641 11.6625 19.2683 11.5708 19.2683 11.3875V9.8125C19.2683 9.62917 19.1641 9.5375 18.9558 9.5375Z"/>
+</g>
+<defs>
+<clipPath id="clip0">
+</clipPath>
+</defs>
+</svg>

+ 9 - 6
tests/test-ui-components/svg/foo.svg

@@ -1,7 +1,10 @@
-<svg width="24" height="24" viewBox="0 0 24 24">
-    <path
-        class="jp-icon0"
-        fill="#000"
-        d="M24 20.188l-8.315-8.209 8.2-8.282-3.697-3.697-8.212 8.318-8.31-8.203-3.666 3.666 8.321 8.24-8.206 8.313 3.666 3.666 8.237-8.318 8.285 8.203z"
-    />
+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0)">
+<rect x="2" y="2" width="20" height="20" class="jp-icon3"/>
+<path class="jp-icon1" d="M8.1145 9.5375H5.4895V11.4875H7.7645V12.925H5.4895V16H3.302V7.975H8.1145V9.5375ZM10.6074 7.975H12.4574C13.6824 7.975 14.2949 8.49167 14.2949 9.525V14.45C14.2949 15.4833 13.6824 16 12.4574 16H10.6074C9.38237 16 8.76987 15.4833 8.76987 14.45V9.525C8.76987 8.49167 9.38237 7.975 10.6074 7.975ZM12.1074 14.1625V9.8125C12.1074 9.62917 12.0032 9.5375 11.7949 9.5375H11.2699C11.0615 9.5375 10.9574 9.62917 10.9574 9.8125V14.1625C10.9574 14.3458 11.0615 14.4375 11.2699 14.4375H11.7949C12.0032 14.4375 12.1074 14.3458 12.1074 14.1625ZM17.0527 7.975H18.9027C20.1277 7.975 20.7402 8.49167 20.7402 9.525V14.45C20.7402 15.4833 20.1277 16 18.9027 16H17.0527C15.8277 16 15.2152 15.4833 15.2152 14.45V9.525C15.2152 8.49167 15.8277 7.975 17.0527 7.975ZM18.5527 14.1625V9.8125C18.5527 9.62917 18.4485 9.5375 18.2402 9.5375H17.7152C17.5069 9.5375 17.4027 9.62917 17.4027 9.8125V14.1625C17.4027 14.3458 17.5069 14.4375 17.7152 14.4375H18.2402C18.4485 14.4375 18.5527 14.3458 18.5527 14.1625Z" />
+</g>
+<defs>
+<clipPath id="clip0">
+</clipPath>
+</defs>
 </svg>