Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 7229d9e

Browse files
authored
Merge pull request #171 from OneNoteDev/linswu/makeAllSvgsUnfocusable
Make all svgs unfocusable
2 parents d3074b7 + fbc7e67 commit 7229d9e

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "onenotepicker",
3-
"version": "3.0.7",
3+
"version": "3.0.8",
44
"files": [
55
"dist/**/*"
66
],

src/components/icons/addIcon.svg.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as React from 'react';
33
export class AddIconSvg extends React.Component {
44
render() {
55
return (
6-
<svg width='15' height='15' viewBox='0 0 15 15' xmlns='http://www.w3.org/2000/svg'>
6+
<svg width='15' height='15' viewBox='0 0 15 15' xmlns='http://www.w3.org/2000/svg' focusable="false">
77
<g id='Icon-/-Add' fill='none' fillRule='evenodd'>
88
<path d='M8,7 L14.5,7 C14.7761424,7 15,7.22385763 15,7.5 C15,7.77614237 14.7761424,8 14.5,8 L8,8 L8,14.5 C8,14.7761424 7.77614237,15 7.5,15 C7.22385763,15 7,14.7761424 7,14.5 L7,8 L0.5,8 C0.223857625,8 0,7.77614237 0,7.5 C0,7.22385763 0.223857625,7 0.5,7 L7,7 L7,0.5 C7,0.223857625 7.22385763,5.07265313e-17 7.5,0 C7.77614237,-5.07265313e-17 8,0.223857625 8,0.5 L8,7 Z'
99
id='Combined-Shape' fill='#595858' />

src/components/icons/errorInfoIcon.svg.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as React from 'react';
33
export class ErrorInfoIconSvg extends React.Component {
44
render() {
55
return (
6-
<svg width='13' height='13' viewBox='0 0 13 13' xmlns='http://www.w3.org/2000/svg'>
6+
<svg width='13' height='13' viewBox='0 0 13 13' xmlns='http://www.w3.org/2000/svg' focusable="false">
77
<g id='info' fill='none' fillRule='evenodd'>
88
<rect id='Rectangle' fill='#C4314B' x='6' y='3' width='1' height='1' />
99
<rect id='Rectangle-2' fill='#C4314B' x='6' y='5' width='1' height='5' />

src/components/icons/recentSectionsIcon.svg.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as React from 'react';
33
export class RecentSectionsIconSvg extends React.Component {
44
render() {
55
return (
6-
<svg width='24px' height='24px' viewBox='0 0 24 24' version='1.1' xmlns='http://www.w3.org/2000/svg'
6+
<svg width='24px' height='24px' viewBox='0 0 24 24' version='1.1' xmlns='http://www.w3.org/2000/svg' focusable="false"
77
xmlnsXlink='http://www.w3.org/1999/xlink'>
88
<g className='recents-icon' transform='translate(-66.000000, -94.000000)' fill='#000000'>
99
<path

src/components/icons/spinnerIcon.svg.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as React from 'react';
33
export class SpinnerIconSvg extends React.Component {
44
render() {
55
return (
6-
<svg className='spinner' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg' xmlnsXlink='http://www.w3.org/1999/xlink'>
6+
<svg className='spinner' viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg' xmlnsXlink='http://www.w3.org/1999/xlink' focusable="false">
77
<g stroke='none' strokeWidth='1' fill='none' fillRule='evenodd'>
88
<circle className='spinner-circle' stroke='currentColor' strokeWidth='5' cx='32' cy='32' r='29'/>
99
<path className='spinner-progress' stroke='currentColor' strokeWidth='5' d='M52.6861723,11.5097602 C47.418631,6.25144806 40.1470894,3 32.1161315,3 C24.0850974,3 16.8134942,6.25150964 11.545941,11.5099096'/>

src/oneNotePickerDropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export abstract class GenericOneNotePickerDropdown<T extends PickerProperties> e
9595
<div className='picker-dropdown-padding'>
9696
<a className='picker-dropdown-toggle' onClick={this.onClick.bind(this)}>
9797
<div className='dropdown-arrow-container'>
98-
<svg version='1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'>
98+
<svg version='1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' focusable="false">
9999
<polygon id='XMLID_10_' points='3.5,7 4.4,6.1 8,9.7 11.7,6.1 12.6,7 8,11.5' />
100100
</svg>
101101
</div>

src/oneNoteSingleNotebookDropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export class OneNoteSingleNotebookDropdown extends React.Component<OneNoteSingle
9595
<div className='picker-dropdown-padding'>
9696
<a className='picker-dropdown-toggle' onClick={this.onClick.bind(this)}>
9797
<div className='dropdown-arrow-container'>
98-
<svg version='1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'>
98+
<svg version='1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' focusable="false">
9999
<polygon id='XMLID_10_' points='3.5,7 4.4,6.1 8,9.7 11.7,6.1 12.6,7 8,11.5' />
100100
</svg>
101101
</div>

0 commit comments

Comments
 (0)