Bläddra i källkod

chore(deps): update @atlaskit/checkbox from 4.0.6 to 5.0.10

master
Leonard Kim 6 år sedan
förälder
incheckning
b36fd96b07
3 ändrade filer med 61 tillägg och 40 borttagningar
  1. 32
    9
      package-lock.json
  2. 1
    1
      package.json
  3. 28
    30
      react/features/settings/components/web/MoreTab.js

+ 32
- 9
package-lock.json Visa fil

@@ -131,22 +131,45 @@
131 131
       }
132 132
     },
133 133
     "@atlaskit/checkbox": {
134
-      "version": "4.0.6",
135
-      "resolved": "https://registry.npmjs.org/@atlaskit/checkbox/-/checkbox-4.0.6.tgz",
136
-      "integrity": "sha512-U3Y0KaNnR2dUfXDe8/lXzMfudLbCZPZqYlvgDkvlllw0jlF5g5eU4vJ935bVUeTiuOmyIpzDqjkWe6AY5kbQqQ==",
134
+      "version": "5.0.10",
135
+      "resolved": "https://registry.npmjs.org/@atlaskit/checkbox/-/checkbox-5.0.10.tgz",
136
+      "integrity": "sha512-20LvwY8YtmCXhJI+klKJe36RPPfC3GalJ8/1cUVW+ddVNLgXw9GmAXo4Ux/CxLVghlYt125PqlB0KjprdplRNw==",
137 137
       "requires": {
138
-        "@atlaskit/analytics-next": "^3.0.6",
139
-        "@atlaskit/icon": "^13.6.1",
140
-        "@atlaskit/theme": "^6.0.2",
138
+        "@atlaskit/analytics-next": "^3.1.2",
139
+        "@atlaskit/icon": "^15.0.2",
140
+        "@atlaskit/theme": "^7.0.1",
141
+        "@babel/runtime": "^7.0.0",
141 142
         "babel-runtime": "^6.26.0",
142 143
         "prop-types": "^15.5.10"
143 144
       },
144 145
       "dependencies": {
146
+        "@atlaskit/analytics-next": {
147
+          "version": "3.1.2",
148
+          "resolved": "https://registry.npmjs.org/@atlaskit/analytics-next/-/analytics-next-3.1.2.tgz",
149
+          "integrity": "sha512-bkYDvl3Ojsnim+bsc9BALfvOjiL7xdb2rTp/4yqUP9pfidtf5HudbOJ849+dKcRCmk/rFbfB/nhDBRU6rv1Ueg==",
150
+          "requires": {
151
+            "@babel/runtime": "^7.0.0",
152
+            "babel-runtime": "^6.26.0",
153
+            "prop-types": "^15.5.10"
154
+          }
155
+        },
156
+        "@atlaskit/icon": {
157
+          "version": "15.0.3",
158
+          "resolved": "https://registry.npmjs.org/@atlaskit/icon/-/icon-15.0.3.tgz",
159
+          "integrity": "sha512-UAf7U0/+5giS2uMlOeVMYmhuWD4fQy0eRcp7r8oEDBqZXNH0yIuHrfu1bPgt2SbFotrjxZdPpOX1i1dXEu7y6g==",
160
+          "requires": {
161
+            "@atlaskit/theme": "^7.0.1",
162
+            "@babel/runtime": "^7.0.0",
163
+            "babel-runtime": "^6.26.0",
164
+            "uuid": "^3.1.0"
165
+          }
166
+        },
145 167
         "@atlaskit/theme": {
146
-          "version": "6.0.3",
147
-          "resolved": "https://registry.npmjs.org/@atlaskit/theme/-/theme-6.0.3.tgz",
148
-          "integrity": "sha512-s90qPe3S0fXtf1xHxH4uhT2IIbvGkMWLp1HW66rv0c8VSBj0f5VaJW+xVs7BLii5rN1QnOtsYS3ykx307mZOJQ==",
168
+          "version": "7.0.1",
169
+          "resolved": "https://registry.npmjs.org/@atlaskit/theme/-/theme-7.0.1.tgz",
170
+          "integrity": "sha512-wxXDnkUablJketNCrQuNUuazufYEA7kv0Y6Yzv6uvqfuyNpWUQt4H1psz/MW8DbZmCdku9dEYbNVK3nFP5TDGg==",
149 171
           "requires": {
172
+            "@babel/runtime": "^7.0.0",
150 173
             "prop-types": "^15.5.10"
151 174
           }
152 175
         }

+ 1
- 1
package.json Visa fil

@@ -17,7 +17,7 @@
17 17
   "dependencies": {
18 18
     "@atlaskit/avatar": "14.0.10",
19 19
     "@atlaskit/button": "9.0.8",
20
-    "@atlaskit/checkbox": "4.0.6",
20
+    "@atlaskit/checkbox": "5.0.10",
21 21
     "@atlaskit/dropdown-menu": "6.1.12",
22 22
     "@atlaskit/field-text": "7.0.10",
23 23
     "@atlaskit/field-text-area": "4.0.9",

+ 28
- 30
react/features/settings/components/web/MoreTab.js Visa fil

@@ -1,6 +1,6 @@
1 1
 // @flow
2 2
 
3
-import { CheckboxGroup, CheckboxStateless } from '@atlaskit/checkbox';
3
+import { Checkbox } from '@atlaskit/checkbox';
4 4
 import DropdownMenu, {
5 5
     DropdownItem,
6 6
     DropdownItemGroup
@@ -202,35 +202,33 @@ class MoreTab extends AbstractDialogTab<Props, State> {
202 202
                 <div className = 'mock-atlaskit-label'>
203 203
                     { t('settings.moderator') }
204 204
                 </div>
205
-                <CheckboxGroup>
206
-                    <CheckboxStateless
207
-                        isChecked = { startAudioMuted }
208
-                        label = { t('settings.startAudioMuted') }
209
-                        name = 'start-audio-muted'
210
-                        // eslint-disable-next-line react/jsx-no-bind
211
-                        onChange = {
212
-                            ({ target: { checked } }) =>
213
-                                super._onChange({ startAudioMuted: checked })
214
-                        } />
215
-                    <CheckboxStateless
216
-                        isChecked = { startVideoMuted }
217
-                        label = { t('settings.startVideoMuted') }
218
-                        name = 'start-video-muted'
219
-                        // eslint-disable-next-line react/jsx-no-bind
220
-                        onChange = {
221
-                            ({ target: { checked } }) =>
222
-                                super._onChange({ startVideoMuted: checked })
223
-                        } />
224
-                    <CheckboxStateless
225
-                        isChecked = { followMeEnabled }
226
-                        label = { t('settings.followMe') }
227
-                        name = 'follow-me'
228
-                        // eslint-disable-next-line react/jsx-no-bind
229
-                        onChange = {
230
-                            ({ target: { checked } }) =>
231
-                                super._onChange({ followMeEnabled: checked })
232
-                        } />
233
-                </CheckboxGroup>
205
+                <Checkbox
206
+                    isChecked = { startAudioMuted }
207
+                    label = { t('settings.startAudioMuted') }
208
+                    name = 'start-audio-muted'
209
+                    // eslint-disable-next-line react/jsx-no-bind
210
+                    onChange = {
211
+                        ({ target: { checked } }) =>
212
+                            super._onChange({ startAudioMuted: checked })
213
+                    } />
214
+                <Checkbox
215
+                    isChecked = { startVideoMuted }
216
+                    label = { t('settings.startVideoMuted') }
217
+                    name = 'start-video-muted'
218
+                    // eslint-disable-next-line react/jsx-no-bind
219
+                    onChange = {
220
+                        ({ target: { checked } }) =>
221
+                            super._onChange({ startVideoMuted: checked })
222
+                    } />
223
+                <Checkbox
224
+                    isChecked = { followMeEnabled }
225
+                    label = { t('settings.followMe') }
226
+                    name = 'follow-me'
227
+                    // eslint-disable-next-line react/jsx-no-bind
228
+                    onChange = {
229
+                        ({ target: { checked } }) =>
230
+                            super._onChange({ followMeEnabled: checked })
231
+                    } />
234 232
             </div>
235 233
         );
236 234
     }

Laddar…
Avbryt
Spara