@squiz/resource-browser 3.3.12 → 3.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,164 +1,172 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.3.13
4
+
5
+ ### Patch Changes
6
+
7
+ - c975bca: Update dependencies for those outdated ones across packages, and resolve the vulnerability issues.
8
+ - Updated dependencies [c975bca]
9
+ - @squiz/resource-browser-ui-lib@1.2.8
10
+
3
11
  ## 3.3.12
4
12
 
5
13
  ### Patch Changes
6
14
 
7
- - ddff161: Updated @squiz/resource-browser-ui-lib package
15
+ - ddff161: Updated @squiz/resource-browser-ui-lib package
8
16
 
9
17
  ## 3.3.11
10
18
 
11
19
  ### Patch Changes
12
20
 
13
- - 6c4d5b3: Support for proxying all dam requests
21
+ - 6c4d5b3: Support for proxying all dam requests
14
22
 
15
23
  ## 3.3.10
16
24
 
17
25
  ### Patch Changes
18
26
 
19
- - 8d3c8e0: source alias support
20
- - Updated dependencies [8d3c8e0]
21
- - @squiz/resource-browser-ui-lib@1.2.6
27
+ - 8d3c8e0: source alias support
28
+ - Updated dependencies [8d3c8e0]
29
+ - @squiz/resource-browser-ui-lib@1.2.6
22
30
 
23
31
  ## 3.3.9
24
32
 
25
33
  ### Patch Changes
26
34
 
27
- - 53de26d: add ref support and modal state change callback
28
- - Updated dependencies [53de26d]
29
- - @squiz/resource-browser-ui-lib@1.2.5
35
+ - 53de26d: add ref support and modal state change callback
36
+ - Updated dependencies [53de26d]
37
+ - @squiz/resource-browser-ui-lib@1.2.5
30
38
 
31
39
  ## 3.3.8
32
40
 
33
41
  ### Patch Changes
34
42
 
35
- - 5d6b825: Update generic-browser-lib to 1.67.5 which adds the Content Template icon and updates the Content Page icon
43
+ - 5d6b825: Update generic-browser-lib to 1.67.5 which adds the Content Template icon and updates the Content Page icon
36
44
 
37
45
  ## 3.3.7
38
46
 
39
47
  ### Patch Changes
40
48
 
41
- - cbf0348: enable the resource picker for MatrixAssetURI in resource browser
49
+ - cbf0348: enable the resource picker for MatrixAssetURI in resource browser
42
50
 
43
51
  ## 3.3.6
44
52
 
45
53
  ### Patch Changes
46
54
 
47
- - bd748ea: Better support for AssetBank resources
55
+ - bd748ea: Better support for AssetBank resources
48
56
 
49
57
  ## 3.3.5
50
58
 
51
59
  ### Patch Changes
52
60
 
53
- - 856a08e: Support AssetBank resources
61
+ - 856a08e: Support AssetBank resources
54
62
 
55
63
  ## 3.3.4
56
64
 
57
65
  ### Patch Changes
58
66
 
59
- - f115dfb: Version fix. Asset bank 401 fix for xml response
60
- - 4bdb412: Add classes to resource picker elements
61
- - Updated dependencies [f115dfb]
62
- - Updated dependencies [4bdb412]
63
- - @squiz/resource-browser-ui-lib@1.2.4
67
+ - f115dfb: Version fix. Asset bank 401 fix for xml response
68
+ - 4bdb412: Add classes to resource picker elements
69
+ - Updated dependencies [f115dfb]
70
+ - Updated dependencies [4bdb412]
71
+ - @squiz/resource-browser-ui-lib@1.2.4
64
72
 
65
73
  ## 3.3.1
66
74
 
67
75
  ### Patch Changes
68
76
 
69
- - c8240b6: Minor styling updates
70
- - Updated dependencies [c8240b6]
71
- - @squiz/resource-browser-ui-lib@1.2.1
77
+ - c8240b6: Minor styling updates
78
+ - Updated dependencies [c8240b6]
79
+ - @squiz/resource-browser-ui-lib@1.2.1
72
80
 
73
81
  ## 3.3.0
74
82
 
75
83
  ### Minor Changes
76
84
 
77
- - 9e6268d: Allow users to restrict plugin usage
85
+ - 9e6268d: Allow users to restrict plugin usage
78
86
 
79
87
  ## 3.2.3
80
88
 
81
89
  ### Patch Changes
82
90
 
83
- - fe57830: fix for refresh token clering by other plugins
91
+ - fe57830: fix for refresh token clering by other plugins
84
92
 
85
93
  ## 3.2.2
86
94
 
87
95
  ### Patch Changes
88
96
 
89
- - 168c317: Pass all preselected info to resolvers, dam resolve variant
90
- - 168c317: Added optional extra fields to pass dam variant information
97
+ - 168c317: Pass all preselected info to resolvers, dam resolve variant
98
+ - 168c317: Added optional extra fields to pass dam variant information
91
99
 
92
100
  ## 3.2.1
93
101
 
94
102
  ### Patch Changes
95
103
 
96
- - a64f8ae: Derive plugin synchronously from source to avoid stale state
104
+ - a64f8ae: Derive plugin synchronously from source to avoid stale state
97
105
 
98
106
  ## 3.2.0
99
107
 
100
108
  ### Minor Changes
101
109
 
102
- - ce4521d: Outdated token fix
110
+ - ce4521d: Outdated token fix
103
111
 
104
112
  ## 3.1.2
105
113
 
106
114
  ### Patch Changes
107
115
 
108
- - c1ebb09: format scope as expected for oAuth calls (space delimited)
109
- - 213ea12: change plugin render comparison to type not object ref
116
+ - c1ebb09: format scope as expected for oAuth calls (space delimited)
117
+ - 213ea12: change plugin render comparison to type not object ref
110
118
 
111
119
  ## 3.1.1
112
120
 
113
121
  ### Patch Changes
114
122
 
115
- - 1ce2636: dont render select preview if switched to different source
123
+ - 1ce2636: dont render select preview if switched to different source
116
124
 
117
125
  ## 3.1.0
118
126
 
119
127
  ### Patch Changes
120
128
 
121
- - a89fb2d: Updated the peer dependencies and dependencies so that we use the deps published by Matrix'
122
- - a89fb2d: Updated title for modal to be sentence case when displayed
123
- - a89fb2d: Changed background colour of hovered source on source selector
124
- - a89fb2d: Updated modal to use sds button, removed scroll bar from search panel
125
- - 6503eba: clean selected mode on modal close
126
- - a89fb2d: Version control via changesets added
127
- - Updated dependencies [70ed1a8]
128
- - Updated dependencies [9bcc4d2]
129
- - Updated dependencies [a89fb2d]
130
- - Updated dependencies [a065ca7]
131
- - Updated dependencies [7a6a6fc]
132
- - Updated dependencies [a89fb2d]
133
- - @squiz/resource-browser-ui-lib@1.0.0
129
+ - a89fb2d: Updated the peer dependencies and dependencies so that we use the deps published by Matrix'
130
+ - a89fb2d: Updated title for modal to be sentence case when displayed
131
+ - a89fb2d: Changed background colour of hovered source on source selector
132
+ - a89fb2d: Updated modal to use sds button, removed scroll bar from search panel
133
+ - 6503eba: clean selected mode on modal close
134
+ - a89fb2d: Version control via changesets added
135
+ - Updated dependencies [70ed1a8]
136
+ - Updated dependencies [9bcc4d2]
137
+ - Updated dependencies [a89fb2d]
138
+ - Updated dependencies [a065ca7]
139
+ - Updated dependencies [7a6a6fc]
140
+ - Updated dependencies [a89fb2d]
141
+ - @squiz/resource-browser-ui-lib@1.0.0
134
142
 
135
143
  ## 3.1.0-rc.4
136
144
 
137
145
  ### Patch Changes
138
146
 
139
- - 6503eba: clean selected mode on modal close
147
+ - 6503eba: clean selected mode on modal close
140
148
 
141
149
  ## 3.1.0-rc.3
142
150
 
143
151
  ### Patch Changes
144
152
 
145
- - 020d957: Updated the peer dependencies and dependencies so that we use the deps published by Matrix'
153
+ - 020d957: Updated the peer dependencies and dependencies so that we use the deps published by Matrix'
146
154
 
147
155
  ## 3.1.0-rc.2
148
156
 
149
157
  ### Patch Changes
150
158
 
151
- - 1cfe0fe: Updated title for modal to be sentence case when displayed
152
- - f28383e: Changed background colour of hovered source on source selector
159
+ - 1cfe0fe: Updated title for modal to be sentence case when displayed
160
+ - f28383e: Changed background colour of hovered source on source selector
153
161
 
154
162
  ## 3.1.0-rc.1
155
163
 
156
164
  ### Patch Changes
157
165
 
158
- - Updated modal to use sds button, removed scroll bar from search panel
159
- - ce9ae92: Version control via changesets added
160
- - Updated dependencies [ce9ae92]
161
- - @squiz/resource-browser-ui-lib@1.0.0-rc.8
166
+ - Updated modal to use sds button, removed scroll bar from search panel
167
+ - ce9ae92: Version control via changesets added
168
+ - Updated dependencies [ce9ae92]
169
+ - @squiz/resource-browser-ui-lib@1.0.0-rc.8
162
170
 
163
171
  All notable changes to this project will be documented in this file.
164
172
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
@@ -167,7 +175,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
167
175
 
168
176
  ### Features
169
177
 
170
- - **prodam-489:** close modal hover and mobile input with fix ([135c695](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/135c695bdcc1c5d6cbbd26d850e402d3cc208a8a))
178
+ - **prodam-489:** close modal hover and mobile input with fix ([135c695](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/135c695bdcc1c5d6cbbd26d850e402d3cc208a8a))
171
179
 
172
180
  ## [3.0.1-rc.7](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/compare/@squiz/resource-browser@3.0.1-rc.6...@squiz/resource-browser@3.0.1-rc.7) (2024-12-13)
173
181
 
@@ -205,7 +213,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
205
213
 
206
214
  ### Features
207
215
 
208
- - **prodam-346:** implement new top bar in matrix plugin ([b962c6f](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/b962c6fc7d2c7a1d05d90fa57d149eabdfbee5b9))
216
+ - **prodam-346:** implement new top bar in matrix plugin ([b962c6f](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/b962c6fc7d2c7a1d05d90fa57d149eabdfbee5b9))
209
217
 
210
218
  ## [3.0.1-pre-alpha.1](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/compare/@squiz/resource-browser@3.0.0-pre-alpha.0...@squiz/resource-browser@3.0.1-pre-alpha.1) (2024-11-19)
211
219
 
@@ -219,7 +227,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
219
227
 
220
228
  ### Features
221
229
 
222
- - **prodam-346:** implement new top bar in matrix plugin ([b962c6f](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/b962c6fc7d2c7a1d05d90fa57d149eabdfbee5b9))
230
+ - **prodam-346:** implement new top bar in matrix plugin ([b962c6f](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/b962c6fc7d2c7a1d05d90fa57d149eabdfbee5b9))
223
231
 
224
232
  ## [3.0.0] Manual entry
225
233
 
@@ -277,21 +285,21 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
277
285
 
278
286
  ### Bug Fixes
279
287
 
280
- - wip hooks fix ([274701c](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/274701c0874888430d8dcdaecfb6e5a8efe4a98f))
288
+ - wip hooks fix ([274701c](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/274701c0874888430d8dcdaecfb6e5a8efe4a98f))
281
289
 
282
290
  # [2.4.0-rc.0](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/compare/@squiz/resource-browser@2.3.0-rc.0...@squiz/resource-browser@2.4.0-rc.0) (2024-06-13)
283
291
 
284
292
  ### Features
285
293
 
286
- - **PRODAM-161:** updated versions ([8ed02b5](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/8ed02b5aa5b818c27a0d23d98cbbee468e4e559e))
294
+ - **PRODAM-161:** updated versions ([8ed02b5](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/8ed02b5aa5b818c27a0d23d98cbbee468e4e559e))
287
295
 
288
296
  # [2.3.0-rc.0](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/compare/@squiz/resource-browser@2.2.1...@squiz/resource-browser@2.3.0-rc.0) (2024-06-13)
289
297
 
290
298
  ### Features
291
299
 
292
- - **PRODAM-161:** lint ([7bc6f21](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/7bc6f2112a0364efb6c7e6e56c1fcfac61dc1086))
293
- - **PRODAM-161:** linting ([afef928](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/afef928ac5a3fd05693f44995c144548e44b4392))
294
- - **PRODAM-161:** route resource fetch tru internal api ([3073a7a](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/3073a7a34b8700f63f3b60070c489a7476c62122))
300
+ - **PRODAM-161:** lint ([7bc6f21](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/7bc6f2112a0364efb6c7e6e56c1fcfac61dc1086))
301
+ - **PRODAM-161:** linting ([afef928](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/afef928ac5a3fd05693f44995c144548e44b4392))
302
+ - **PRODAM-161:** route resource fetch tru internal api ([3073a7a](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/3073a7a34b8700f63f3b60070c489a7476c62122))
295
303
 
296
304
  ## [2.2.1](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/compare/@squiz/resource-browser@2.2.1-rc.0...@squiz/resource-browser@2.2.1) (2024-06-11)
297
305
 
@@ -305,7 +313,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
305
313
 
306
314
  ### Features
307
315
 
308
- - **PRODAM:92:** auth provider ([3c7136d](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/3c7136da5f5ef148f713ad6a39f5d2328eaff4c7))
316
+ - **PRODAM:92:** auth provider ([3c7136d](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/3c7136da5f5ef148f713ad6a39f5d2328eaff4c7))
309
317
 
310
318
  ## [2.1.10-rc.0](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/compare/@squiz/resource-browser@2.1.9-rc.0...@squiz/resource-browser@2.1.10-rc.0) (2024-06-06)
311
319
 
@@ -351,7 +359,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
351
359
 
352
360
  ### Features
353
361
 
354
- - **prodam-133:** add source dropdown to rb wrapper ([a258b0f](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/a258b0febebca94aad1885f602d6a10a323ab95f))
362
+ - **prodam-133:** add source dropdown to rb wrapper ([a258b0f](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/commit/a258b0febebca94aad1885f602d6a10a323ab95f))
355
363
 
356
364
  ## [2.0.9-rc.0](https://gitlab.squiz.net/dxp/dxp-shared-ui/resource-browser/compare/@squiz/resource-browser-v2@2.0.8-rc.0...@squiz/resource-browser-v2@2.0.9-rc.0) (2024-05-13)
357
365
 
@@ -395,72 +403,72 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
395
403
 
396
404
  ### Patch Changes
397
405
 
398
- - 9e4cad8: Fixed minor issue with finding best matched lineage in resource browser
406
+ - 9e4cad8: Fixed minor issue with finding best matched lineage in resource browser
399
407
 
400
408
  ## 1.67.0
401
409
 
402
410
  ### Minor Changes
403
411
 
404
- - 5fa9b39: Updated resource browser to allow replacing the previously selected resource. Replacing will open the resource browser to the location where the resource resides.
412
+ - 5fa9b39: Updated resource browser to allow replacing the previously selected resource. Replacing will open the resource browser to the location where the resource resides.
405
413
 
406
414
  ### Patch Changes
407
415
 
408
- - Updated dependencies [5fa9b39]
409
- - Updated dependencies [5fa9b39]
410
- - @squiz/dx-json-schema-lib@1.67.0
411
- - @squiz/generic-browser-lib@1.66.0
416
+ - Updated dependencies [5fa9b39]
417
+ - Updated dependencies [5fa9b39]
418
+ - @squiz/dx-json-schema-lib@1.67.0
419
+ - @squiz/generic-browser-lib@1.66.0
412
420
 
413
421
  ## 1.66.3
414
422
 
415
423
  ### Patch Changes
416
424
 
417
- - 8421756: Selected image assets in the resource browser will now display the actual image instead of just the image asset icon if they have a URL specified
425
+ - 8421756: Selected image assets in the resource browser will now display the actual image instead of just the image asset icon if they have a URL specified
418
426
 
419
427
  ## 1.66.2
420
428
 
421
429
  ### Patch Changes
422
430
 
423
- - 6d41052: Added white background to resource picker input to avoid it inheriting the background colour of its parent element.
431
+ - 6d41052: Added white background to resource picker input to avoid it inheriting the background colour of its parent element.
424
432
 
425
433
  ## 1.66.1
426
434
 
427
435
  ### Patch Changes
428
436
 
429
- - 81c7cba: Image asset previews will now display the image if there is a URL in the returned resource data
430
- Also fixes a bug around the selected resource name not having break-word applied so the filename was not wrapping as expected
437
+ - 81c7cba: Image asset previews will now display the image if there is a URL in the returned resource data
438
+ Also fixes a bug around the selected resource name not having break-word applied so the filename was not wrapping as expected
431
439
 
432
440
  ## 1.66.0
433
441
 
434
442
  ### Minor Changes
435
443
 
436
- - 5032c38: Added content page asset icon.
444
+ - 5032c38: Added content page asset icon.
437
445
 
438
446
  ### Patch Changes
439
447
 
440
- - Updated dependencies [5032c38]
441
- - @squiz/generic-browser-lib@1.65.0
448
+ - Updated dependencies [5032c38]
449
+ - @squiz/generic-browser-lib@1.65.0
442
450
 
443
451
  ## 1.65.0
444
452
 
445
453
  ### Minor Changes
446
454
 
447
- - ac68ec6: Unpinned Squiz dependencies, they should now be following semver.
455
+ - ac68ec6: Unpinned Squiz dependencies, they should now be following semver.
448
456
 
449
457
  ### Patch Changes
450
458
 
451
- - Updated dependencies [ac68ec6]
452
- - @squiz/dx-json-schema-lib@1.65.0
459
+ - Updated dependencies [ac68ec6]
460
+ - @squiz/dx-json-schema-lib@1.65.0
453
461
 
454
462
  ## 1.64.1
455
463
 
456
464
  ### Patch Changes
457
465
 
458
- - Updated dependencies [e717e6e]
459
- - @squiz/generic-browser-lib@1.64.0
460
- - @squiz/dx-json-schema-lib@1.64.0
466
+ - Updated dependencies [e717e6e]
467
+ - @squiz/generic-browser-lib@1.64.0
468
+ - @squiz/dx-json-schema-lib@1.64.0
461
469
 
462
470
  ## 1.64.0
463
471
 
464
472
  ### Minor Changes
465
473
 
466
- - e7d4c0f: Updated disabled styling for component-editing-ui & resource browser
474
+ - e7d4c0f: Updated disabled styling for component-editing-ui & resource browser
package/build.js CHANGED
@@ -12,7 +12,7 @@ esbuild
12
12
  sassPlugin({
13
13
  type: 'css',
14
14
  transform: async (source) => {
15
- const { css } = postcss(postcssConfig).process(source);
15
+ const { css } = await postcss(postcssConfig).process(source, { from: undefined });
16
16
  return css;
17
17
  },
18
18
  }),
package/jest.config.ts CHANGED
@@ -21,9 +21,12 @@ const config: Config = {
21
21
  testPathIgnorePatterns: ['/lib/', `/node_modules/`],
22
22
  maxWorkers: 1,
23
23
  moduleNameMapper: {
24
+ // @squiz/sds charts use ESM-only Highcharts packages that Jest cannot parse, use the mock sds ships for this
25
+ '^@highcharts/react(/.*)?$': '<rootDir>/../../node_modules/@squiz/sds/dist/cjs/Testing/Mocks/highcharts-react.js',
24
26
  '^.+\\.(css|scss)$': '<rootDir>/src/__mocks__/styleMock.ts',
25
27
  '^@squiz/resource-browser-ui-lib$': '<rootDir>/../resource-browser-ui-lib/src/index',
26
28
  },
29
+ setupFiles: ['<rootDir>/src/__mocks__/jestPolyfills.ts'],
27
30
  setupFilesAfterEnv: ['@testing-library/jest-dom/extend-expect'],
28
31
  };
29
32
 
@@ -15,14 +15,25 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.default = BrowseToSource;
26
37
  const react_1 = __importStar(require("react"));
27
38
  const generic_browser_lib_1 = require("@squiz/generic-browser-lib");
28
39
  const react_aria_1 = require("react-aria");
@@ -73,4 +84,3 @@ function BrowseToSource({ sources, selectedSource, onSourceSelect, className = '
73
84
  isSelectedSource && (react_1.default.createElement(generic_browser_lib_1.Icon, { icon: 'selected', "aria-label": "selected", className: "absolute right-4" })))));
74
85
  }))))));
75
86
  }
76
- exports.default = BrowseToSource;
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
37
  };
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.PluginRender = void 0;
27
37
  const react_1 = __importStar(require("react"));
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.AuthProvider = exports.useAuthContext = exports.AuthContext = void 0;
27
37
  const react_1 = __importStar(require("react"));
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
37
  };
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
37
  };
@@ -15,14 +15,25 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.default = SourceDropdown;
26
37
  const react_1 = __importStar(require("react"));
27
38
  const generic_browser_lib_1 = require("@squiz/generic-browser-lib");
28
39
  const react_aria_1 = require("react-aria");
@@ -69,4 +80,3 @@ function SourceDropdown({ sources, selectedSource, onSourceSelect, }) {
69
80
  isSelectedSource && (react_1.default.createElement(generic_browser_lib_1.Icon, { icon: 'selected', "aria-label": "selected", className: "absolute right-4" })))));
70
81
  }))));
71
82
  }
72
- exports.default = SourceDropdown;