@valiantys/atlassian-app-frontend 3.0.0-alpha-19 → 3.0.0-alpha-22

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.
Files changed (29) hide show
  1. package/atlassian/jira/shared/data-access-issue/src/lib/jira-issue-service/index.cjs.js +1 -1
  2. package/atlassian/jira/shared/data-access-issue/src/lib/jira-issue-service/index.es.js +18 -6
  3. package/atlassian/jira/shared/util-jira-v3-api/src/lib/jira-server-info/index.cjs.js +1 -0
  4. package/atlassian/jira/shared/util-jira-v3-api/src/lib/jira-server-info/index.es.js +9 -0
  5. package/atlassian/shared/frontend-feature-atlassian-app/src/lib/custom-ui/atlassian-app-forge/index.cjs.js +1 -1
  6. package/atlassian/shared/frontend-feature-atlassian-app/src/lib/custom-ui/atlassian-app-forge/index.es.js +4 -3
  7. package/atlassian/shared/frontend-feature-atlassian-app/src/lib/standalone/atlassian-app-standalone/index.cjs.js +1 -1
  8. package/atlassian/shared/frontend-feature-atlassian-app/src/lib/standalone/atlassian-app-standalone/index.es.js +4 -3
  9. package/atlassian/shared/frontend-ui-iframe/src/lib/iframe-wrapper/index.cjs.js +1 -1
  10. package/atlassian/shared/frontend-ui-iframe/src/lib/iframe-wrapper/index.es.js +50 -38
  11. package/data-access-issue/atlassian-app-frontend-data-access-issue.api.json +90 -0
  12. package/data-access-issue/atlassian-app-frontend.api.md +8 -0
  13. package/data-access-issue/index.d.ts +42 -0
  14. package/package.json +1 -1
  15. package/shared/frontend-ui-drop-target/src/lib/drop-target-box/index.cjs.js +1 -1
  16. package/shared/frontend-ui-drop-target/src/lib/drop-target-box/index.es.js +7 -9
  17. package/shared/frontend-ui-load-data-hook/src/lib/load-data-hook/index.cjs.js +1 -1
  18. package/shared/frontend-ui-load-data-hook/src/lib/load-data-hook/index.es.js +10 -10
  19. package/ui-iframe/atlassian-app-frontend-ui-iframe.api.json +189 -34
  20. package/ui-iframe/atlassian-app-frontend.api.md +18 -4
  21. package/ui-iframe/index.d.ts +11 -4
  22. package/util-atlassian-product-fetch/atlassian-app-frontend-util-atlassian-product-fetch.api.json +2 -2
  23. package/util-atlassian-product-fetch/atlassian-app-frontend.api.md +1 -1
  24. package/util-atlassian-product-fetch/index.d.ts +1 -1
  25. package/util-jira-v3-api/atlassian-app-frontend-util-jira-v3-api.api.json +383 -1
  26. package/util-jira-v3-api/atlassian-app-frontend.api.md +45 -1
  27. package/util-jira-v3-api/index.cjs.js +1 -1
  28. package/util-jira-v3-api/index.d.ts +32 -1
  29. package/util-jira-v3-api/index.es.js +6 -4
@@ -299,76 +299,231 @@
299
299
  "extendsTokenRanges": []
300
300
  },
301
301
  {
302
- "kind": "Function",
303
- "canonicalReference": "@valiantys/atlassian-app-frontend!IframeWrapper:function(1)",
302
+ "kind": "Variable",
303
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeWrapper:var",
304
304
  "docComment": "",
305
305
  "excerptTokens": [
306
306
  {
307
307
  "kind": "Content",
308
- "text": "export declare function IframeWrapper<T>({ iframeProps, messageCallback, onMouseOut, }: "
308
+ "text": "IframeWrapper: "
309
+ },
310
+ {
311
+ "kind": "Reference",
312
+ "text": "React.ForwardRefExoticComponent",
313
+ "canonicalReference": "@types/react!React.ForwardRefExoticComponent:interface"
309
314
  },
310
315
  {
311
316
  "kind": "Content",
312
- "text": "{\n iframeProps: "
317
+ "text": "<"
313
318
  },
314
319
  {
315
320
  "kind": "Reference",
316
- "text": "IframeProps",
317
- "canonicalReference": "@valiantys/atlassian-app-frontend!IframeProps:interface"
321
+ "text": "Readonly",
322
+ "canonicalReference": "!Readonly:type"
318
323
  },
319
324
  {
320
325
  "kind": "Content",
321
- "text": ";\n messageCallback?: (eventData: T) => void;\n onMouseOut?: () => void;\n}"
326
+ "text": "<"
322
327
  },
323
328
  {
324
- "kind": "Content",
325
- "text": "): "
329
+ "kind": "Reference",
330
+ "text": "IframeWrapperProps",
331
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeWrapperProps:interface"
326
332
  },
327
333
  {
328
334
  "kind": "Content",
329
- "text": "import(\"react/jsx-runtime\")."
335
+ "text": "> & "
330
336
  },
331
337
  {
332
338
  "kind": "Reference",
333
- "text": "JSX.Element",
334
- "canonicalReference": "@types/react!JSX.Element:interface"
339
+ "text": "React.RefAttributes",
340
+ "canonicalReference": "@types/react!React.RefAttributes:interface"
335
341
  },
336
342
  {
337
343
  "kind": "Content",
338
- "text": ";"
344
+ "text": "<unknown>>"
345
+ }
346
+ ],
347
+ "fileUrlPath": "../../shared/frontend-ui-iframe/src/lib/iframe-wrapper.d.ts",
348
+ "isReadonly": true,
349
+ "releaseTag": "Public",
350
+ "name": "IframeWrapper",
351
+ "variableTypeTokenRange": {
352
+ "startIndex": 1,
353
+ "endIndex": 9
354
+ }
355
+ },
356
+ {
357
+ "kind": "Interface",
358
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeWrapperProps:interface",
359
+ "docComment": "",
360
+ "excerptTokens": [
361
+ {
362
+ "kind": "Content",
363
+ "text": "export interface IframeWrapperProps "
339
364
  }
340
365
  ],
341
366
  "fileUrlPath": "../../shared/frontend-ui-iframe/src/lib/iframe-wrapper.d.ts",
342
- "returnTypeTokenRange": {
343
- "startIndex": 5,
344
- "endIndex": 7
345
- },
346
367
  "releaseTag": "Public",
347
- "overloadIndex": 1,
348
- "parameters": [
368
+ "name": "IframeWrapperProps",
369
+ "preserveMemberOrder": false,
370
+ "members": [
349
371
  {
350
- "parameterName": "{ iframeProps, messageCallback, onMouseOut, }",
351
- "parameterTypeTokenRange": {
372
+ "kind": "PropertySignature",
373
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeWrapperProps#iframeProps:member",
374
+ "docComment": "",
375
+ "excerptTokens": [
376
+ {
377
+ "kind": "Content",
378
+ "text": "iframeProps: "
379
+ },
380
+ {
381
+ "kind": "Reference",
382
+ "text": "IframeProps",
383
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeProps:interface"
384
+ },
385
+ {
386
+ "kind": "Content",
387
+ "text": ";"
388
+ }
389
+ ],
390
+ "isReadonly": false,
391
+ "isOptional": false,
392
+ "releaseTag": "Public",
393
+ "name": "iframeProps",
394
+ "propertyTypeTokenRange": {
352
395
  "startIndex": 1,
353
- "endIndex": 4
354
- },
355
- "isOptional": false
396
+ "endIndex": 2
397
+ }
398
+ },
399
+ {
400
+ "kind": "PropertySignature",
401
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeWrapperProps#messageCallback:member",
402
+ "docComment": "",
403
+ "excerptTokens": [
404
+ {
405
+ "kind": "Content",
406
+ "text": "messageCallback?: "
407
+ },
408
+ {
409
+ "kind": "Content",
410
+ "text": "(eventData: any) => void"
411
+ },
412
+ {
413
+ "kind": "Content",
414
+ "text": ";"
415
+ }
416
+ ],
417
+ "isReadonly": false,
418
+ "isOptional": true,
419
+ "releaseTag": "Public",
420
+ "name": "messageCallback",
421
+ "propertyTypeTokenRange": {
422
+ "startIndex": 1,
423
+ "endIndex": 2
424
+ }
425
+ },
426
+ {
427
+ "kind": "PropertySignature",
428
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeWrapperProps#onMouseOut:member",
429
+ "docComment": "",
430
+ "excerptTokens": [
431
+ {
432
+ "kind": "Content",
433
+ "text": "onMouseOut?: "
434
+ },
435
+ {
436
+ "kind": "Content",
437
+ "text": "() => void"
438
+ },
439
+ {
440
+ "kind": "Content",
441
+ "text": ";"
442
+ }
443
+ ],
444
+ "isReadonly": false,
445
+ "isOptional": true,
446
+ "releaseTag": "Public",
447
+ "name": "onMouseOut",
448
+ "propertyTypeTokenRange": {
449
+ "startIndex": 1,
450
+ "endIndex": 2
451
+ }
356
452
  }
357
453
  ],
358
- "typeParameters": [
454
+ "extendsTokenRanges": []
455
+ },
456
+ {
457
+ "kind": "Interface",
458
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeWrapperRef:interface",
459
+ "docComment": "",
460
+ "excerptTokens": [
461
+ {
462
+ "kind": "Content",
463
+ "text": "export interface IframeWrapperRef "
464
+ }
465
+ ],
466
+ "fileUrlPath": "../../shared/frontend-ui-iframe/src/lib/iframe-wrapper.d.ts",
467
+ "releaseTag": "Public",
468
+ "name": "IframeWrapperRef",
469
+ "preserveMemberOrder": false,
470
+ "members": [
471
+ {
472
+ "kind": "PropertySignature",
473
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeWrapperRef#focusContentWindow:member",
474
+ "docComment": "",
475
+ "excerptTokens": [
476
+ {
477
+ "kind": "Content",
478
+ "text": "focusContentWindow: "
479
+ },
480
+ {
481
+ "kind": "Content",
482
+ "text": "() => void"
483
+ },
484
+ {
485
+ "kind": "Content",
486
+ "text": ";"
487
+ }
488
+ ],
489
+ "isReadonly": false,
490
+ "isOptional": false,
491
+ "releaseTag": "Public",
492
+ "name": "focusContentWindow",
493
+ "propertyTypeTokenRange": {
494
+ "startIndex": 1,
495
+ "endIndex": 2
496
+ }
497
+ },
359
498
  {
360
- "typeParameterName": "T",
361
- "constraintTokenRange": {
362
- "startIndex": 0,
363
- "endIndex": 0
364
- },
365
- "defaultTypeTokenRange": {
366
- "startIndex": 0,
367
- "endIndex": 0
499
+ "kind": "PropertySignature",
500
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeWrapperRef#reloadContentWindow:member",
501
+ "docComment": "",
502
+ "excerptTokens": [
503
+ {
504
+ "kind": "Content",
505
+ "text": "reloadContentWindow: "
506
+ },
507
+ {
508
+ "kind": "Content",
509
+ "text": "() => void"
510
+ },
511
+ {
512
+ "kind": "Content",
513
+ "text": ";"
514
+ }
515
+ ],
516
+ "isReadonly": false,
517
+ "isOptional": false,
518
+ "releaseTag": "Public",
519
+ "name": "reloadContentWindow",
520
+ "propertyTypeTokenRange": {
521
+ "startIndex": 1,
522
+ "endIndex": 2
368
523
  }
369
524
  }
370
525
  ],
371
- "name": "IframeWrapper"
526
+ "extendsTokenRanges": []
372
527
  }
373
528
  ]
374
529
  }
@@ -4,7 +4,7 @@
4
4
 
5
5
  ```ts
6
6
 
7
- import { JSX as JSX_2 } from 'react/jsx-runtime';
7
+ import { default as default_2 } from 'react';
8
8
 
9
9
  // @public (undocumented)
10
10
  export interface IframeProps {
@@ -19,11 +19,25 @@ export interface IframeProps {
19
19
  }
20
20
 
21
21
  // @public (undocumented)
22
- export function IframeWrapper<T>({ iframeProps, messageCallback, onMouseOut, }: {
22
+ export const IframeWrapper: default_2.ForwardRefExoticComponent<Readonly<IframeWrapperProps> & default_2.RefAttributes<unknown>>;
23
+
24
+ // @public (undocumented)
25
+ export interface IframeWrapperProps {
26
+ // (undocumented)
23
27
  iframeProps: IframeProps;
24
- messageCallback?: (eventData: T) => void;
28
+ // (undocumented)
29
+ messageCallback?: (eventData: any) => void;
30
+ // (undocumented)
25
31
  onMouseOut?: () => void;
26
- }): JSX_2.Element;
32
+ }
33
+
34
+ // @public (undocumented)
35
+ export interface IframeWrapperRef {
36
+ // (undocumented)
37
+ focusContentWindow: () => void;
38
+ // (undocumented)
39
+ reloadContentWindow: () => void;
40
+ }
27
41
 
28
42
  // (No @packageDocumentation comment for this package)
29
43
 
@@ -1,4 +1,4 @@
1
- import { JSX as JSX_2 } from 'react/jsx-runtime';
1
+ import { default as default_2 } from 'react';
2
2
 
3
3
  export declare interface IframeProps {
4
4
  link: string;
@@ -7,10 +7,17 @@ export declare interface IframeProps {
7
7
  height?: string;
8
8
  }
9
9
 
10
- export declare function IframeWrapper<T>({ iframeProps, messageCallback, onMouseOut, }: {
10
+ export declare const IframeWrapper: default_2.ForwardRefExoticComponent<Readonly<IframeWrapperProps> & default_2.RefAttributes<unknown>>;
11
+
12
+ export declare interface IframeWrapperProps {
11
13
  iframeProps: IframeProps;
12
- messageCallback?: (eventData: T) => void;
14
+ messageCallback?: (eventData: any) => void;
13
15
  onMouseOut?: () => void;
14
- }): JSX_2.Element;
16
+ }
17
+
18
+ export declare interface IframeWrapperRef {
19
+ reloadContentWindow: () => void;
20
+ focusContentWindow: () => void;
21
+ }
15
22
 
16
23
  export { }
@@ -187,7 +187,7 @@
187
187
  },
188
188
  {
189
189
  "kind": "Content",
190
- "text": ", headers: "
190
+ "text": ", headers?: "
191
191
  },
192
192
  {
193
193
  "kind": "Reference",
@@ -229,7 +229,7 @@
229
229
  "startIndex": 3,
230
230
  "endIndex": 4
231
231
  },
232
- "isOptional": false
232
+ "isOptional": true
233
233
  }
234
234
  ],
235
235
  "name": "addAuthHeader"
@@ -5,7 +5,7 @@
5
5
  ```ts
6
6
 
7
7
  // @public (undocumented)
8
- export function addAuthHeader(authToken: string, headers: HeadersInit): {
8
+ export function addAuthHeader(authToken: string, headers?: HeadersInit): {
9
9
  Authorization: string;
10
10
  };
11
11
 
@@ -1,4 +1,4 @@
1
- export declare function addAuthHeader(authToken: string, headers: HeadersInit): {
1
+ export declare function addAuthHeader(authToken: string, headers?: HeadersInit): {
2
2
  Authorization: string;
3
3
  };
4
4