@valiantys/atlassian-app-frontend 3.0.0-alpha-2 → 3.0.0-alpha-3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valiantys/atlassian-app-frontend",
3
- "version": "3.0.0-alpha-2",
3
+ "version": "3.0.0-alpha-3",
4
4
  "description": "This library provides an Atlassian Forge Custom UI wrapper component that handles all the setup necessary to support an app that can run deployed or in standalone mode",
5
5
  "exports": {
6
6
  "./atlassian-app": {
@@ -83,6 +83,11 @@
83
83
  "require": "./ui-host-router/index.cjs.js",
84
84
  "types": "./ui-host-router/index.d.ts"
85
85
  },
86
+ "./ui-iframe": {
87
+ "import": "./ui-iframe/index.es.js",
88
+ "require": "./ui-iframe/index.cjs.js",
89
+ "types": "./ui-iframe/index.d.ts"
90
+ },
86
91
  "./ui-modal": {
87
92
  "import": "./ui-modal/index.es.js",
88
93
  "require": "./ui-modal/index.cjs.js",
@@ -0,0 +1,376 @@
1
+ {
2
+ "metadata": {
3
+ "toolPackage": "@microsoft/api-extractor",
4
+ "toolVersion": "7.52.8",
5
+ "schemaVersion": 1011,
6
+ "oldestForwardsCompatibleVersion": 1001,
7
+ "tsdocConfig": {
8
+ "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
9
+ "noStandardTags": true,
10
+ "tagDefinitions": [
11
+ {
12
+ "tagName": "@alpha",
13
+ "syntaxKind": "modifier"
14
+ },
15
+ {
16
+ "tagName": "@beta",
17
+ "syntaxKind": "modifier"
18
+ },
19
+ {
20
+ "tagName": "@defaultValue",
21
+ "syntaxKind": "block"
22
+ },
23
+ {
24
+ "tagName": "@decorator",
25
+ "syntaxKind": "block",
26
+ "allowMultiple": true
27
+ },
28
+ {
29
+ "tagName": "@deprecated",
30
+ "syntaxKind": "block"
31
+ },
32
+ {
33
+ "tagName": "@eventProperty",
34
+ "syntaxKind": "modifier"
35
+ },
36
+ {
37
+ "tagName": "@example",
38
+ "syntaxKind": "block",
39
+ "allowMultiple": true
40
+ },
41
+ {
42
+ "tagName": "@experimental",
43
+ "syntaxKind": "modifier"
44
+ },
45
+ {
46
+ "tagName": "@inheritDoc",
47
+ "syntaxKind": "inline"
48
+ },
49
+ {
50
+ "tagName": "@internal",
51
+ "syntaxKind": "modifier"
52
+ },
53
+ {
54
+ "tagName": "@label",
55
+ "syntaxKind": "inline"
56
+ },
57
+ {
58
+ "tagName": "@link",
59
+ "syntaxKind": "inline",
60
+ "allowMultiple": true
61
+ },
62
+ {
63
+ "tagName": "@override",
64
+ "syntaxKind": "modifier"
65
+ },
66
+ {
67
+ "tagName": "@packageDocumentation",
68
+ "syntaxKind": "modifier"
69
+ },
70
+ {
71
+ "tagName": "@param",
72
+ "syntaxKind": "block",
73
+ "allowMultiple": true
74
+ },
75
+ {
76
+ "tagName": "@privateRemarks",
77
+ "syntaxKind": "block"
78
+ },
79
+ {
80
+ "tagName": "@public",
81
+ "syntaxKind": "modifier"
82
+ },
83
+ {
84
+ "tagName": "@readonly",
85
+ "syntaxKind": "modifier"
86
+ },
87
+ {
88
+ "tagName": "@remarks",
89
+ "syntaxKind": "block"
90
+ },
91
+ {
92
+ "tagName": "@returns",
93
+ "syntaxKind": "block"
94
+ },
95
+ {
96
+ "tagName": "@sealed",
97
+ "syntaxKind": "modifier"
98
+ },
99
+ {
100
+ "tagName": "@see",
101
+ "syntaxKind": "block"
102
+ },
103
+ {
104
+ "tagName": "@throws",
105
+ "syntaxKind": "block",
106
+ "allowMultiple": true
107
+ },
108
+ {
109
+ "tagName": "@typeParam",
110
+ "syntaxKind": "block",
111
+ "allowMultiple": true
112
+ },
113
+ {
114
+ "tagName": "@virtual",
115
+ "syntaxKind": "modifier"
116
+ },
117
+ {
118
+ "tagName": "@betaDocumentation",
119
+ "syntaxKind": "modifier"
120
+ },
121
+ {
122
+ "tagName": "@internalRemarks",
123
+ "syntaxKind": "block"
124
+ },
125
+ {
126
+ "tagName": "@preapproved",
127
+ "syntaxKind": "modifier"
128
+ }
129
+ ],
130
+ "supportForTags": {
131
+ "@alpha": true,
132
+ "@beta": true,
133
+ "@defaultValue": true,
134
+ "@decorator": true,
135
+ "@deprecated": true,
136
+ "@eventProperty": true,
137
+ "@example": true,
138
+ "@experimental": true,
139
+ "@inheritDoc": true,
140
+ "@internal": true,
141
+ "@label": true,
142
+ "@link": true,
143
+ "@override": true,
144
+ "@packageDocumentation": true,
145
+ "@param": true,
146
+ "@privateRemarks": true,
147
+ "@public": true,
148
+ "@readonly": true,
149
+ "@remarks": true,
150
+ "@returns": true,
151
+ "@sealed": true,
152
+ "@see": true,
153
+ "@throws": true,
154
+ "@typeParam": true,
155
+ "@virtual": true,
156
+ "@betaDocumentation": true,
157
+ "@internalRemarks": true,
158
+ "@preapproved": true
159
+ },
160
+ "reportUnsupportedHtmlElements": false
161
+ }
162
+ },
163
+ "kind": "Package",
164
+ "canonicalReference": "@valiantys/atlassian-app-frontend!",
165
+ "docComment": "",
166
+ "name": "@valiantys/atlassian-app-frontend",
167
+ "preserveMemberOrder": false,
168
+ "members": [
169
+ {
170
+ "kind": "EntryPoint",
171
+ "canonicalReference": "@valiantys/atlassian-app-frontend!",
172
+ "name": "",
173
+ "preserveMemberOrder": false,
174
+ "members": [
175
+ {
176
+ "kind": "Interface",
177
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeProps:interface",
178
+ "docComment": "",
179
+ "excerptTokens": [
180
+ {
181
+ "kind": "Content",
182
+ "text": "export interface IframeProps "
183
+ }
184
+ ],
185
+ "fileUrlPath": "../../shared/frontend-ui-iframe/src/lib/iframe-wrapper.d.ts",
186
+ "releaseTag": "Public",
187
+ "name": "IframeProps",
188
+ "preserveMemberOrder": false,
189
+ "members": [
190
+ {
191
+ "kind": "PropertySignature",
192
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeProps#height:member",
193
+ "docComment": "",
194
+ "excerptTokens": [
195
+ {
196
+ "kind": "Content",
197
+ "text": "height?: "
198
+ },
199
+ {
200
+ "kind": "Content",
201
+ "text": "string"
202
+ },
203
+ {
204
+ "kind": "Content",
205
+ "text": ";"
206
+ }
207
+ ],
208
+ "isReadonly": false,
209
+ "isOptional": true,
210
+ "releaseTag": "Public",
211
+ "name": "height",
212
+ "propertyTypeTokenRange": {
213
+ "startIndex": 1,
214
+ "endIndex": 2
215
+ }
216
+ },
217
+ {
218
+ "kind": "PropertySignature",
219
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeProps#link:member",
220
+ "docComment": "",
221
+ "excerptTokens": [
222
+ {
223
+ "kind": "Content",
224
+ "text": "link: "
225
+ },
226
+ {
227
+ "kind": "Content",
228
+ "text": "string"
229
+ },
230
+ {
231
+ "kind": "Content",
232
+ "text": ";"
233
+ }
234
+ ],
235
+ "isReadonly": false,
236
+ "isOptional": false,
237
+ "releaseTag": "Public",
238
+ "name": "link",
239
+ "propertyTypeTokenRange": {
240
+ "startIndex": 1,
241
+ "endIndex": 2
242
+ }
243
+ },
244
+ {
245
+ "kind": "PropertySignature",
246
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeProps#title:member",
247
+ "docComment": "",
248
+ "excerptTokens": [
249
+ {
250
+ "kind": "Content",
251
+ "text": "title?: "
252
+ },
253
+ {
254
+ "kind": "Content",
255
+ "text": "string"
256
+ },
257
+ {
258
+ "kind": "Content",
259
+ "text": ";"
260
+ }
261
+ ],
262
+ "isReadonly": false,
263
+ "isOptional": true,
264
+ "releaseTag": "Public",
265
+ "name": "title",
266
+ "propertyTypeTokenRange": {
267
+ "startIndex": 1,
268
+ "endIndex": 2
269
+ }
270
+ },
271
+ {
272
+ "kind": "PropertySignature",
273
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeProps#width:member",
274
+ "docComment": "",
275
+ "excerptTokens": [
276
+ {
277
+ "kind": "Content",
278
+ "text": "width?: "
279
+ },
280
+ {
281
+ "kind": "Content",
282
+ "text": "string"
283
+ },
284
+ {
285
+ "kind": "Content",
286
+ "text": ";"
287
+ }
288
+ ],
289
+ "isReadonly": false,
290
+ "isOptional": true,
291
+ "releaseTag": "Public",
292
+ "name": "width",
293
+ "propertyTypeTokenRange": {
294
+ "startIndex": 1,
295
+ "endIndex": 2
296
+ }
297
+ }
298
+ ],
299
+ "extendsTokenRanges": []
300
+ },
301
+ {
302
+ "kind": "Function",
303
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeWrapper:function(1)",
304
+ "docComment": "",
305
+ "excerptTokens": [
306
+ {
307
+ "kind": "Content",
308
+ "text": "export declare function IframeWrapper<T>({ iframeProps, messageCallback, onMouseOut, }: "
309
+ },
310
+ {
311
+ "kind": "Content",
312
+ "text": "{\n iframeProps: "
313
+ },
314
+ {
315
+ "kind": "Reference",
316
+ "text": "IframeProps",
317
+ "canonicalReference": "@valiantys/atlassian-app-frontend!IframeProps:interface"
318
+ },
319
+ {
320
+ "kind": "Content",
321
+ "text": ";\n messageCallback?: (eventData: T) => void;\n onMouseOut?: () => void;\n}"
322
+ },
323
+ {
324
+ "kind": "Content",
325
+ "text": "): "
326
+ },
327
+ {
328
+ "kind": "Content",
329
+ "text": "import(\"react/jsx-runtime\")."
330
+ },
331
+ {
332
+ "kind": "Reference",
333
+ "text": "JSX.Element",
334
+ "canonicalReference": "@types/react!JSX.Element:interface"
335
+ },
336
+ {
337
+ "kind": "Content",
338
+ "text": ";"
339
+ }
340
+ ],
341
+ "fileUrlPath": "../../shared/frontend-ui-iframe/src/lib/iframe-wrapper.d.ts",
342
+ "returnTypeTokenRange": {
343
+ "startIndex": 5,
344
+ "endIndex": 7
345
+ },
346
+ "releaseTag": "Public",
347
+ "overloadIndex": 1,
348
+ "parameters": [
349
+ {
350
+ "parameterName": "{ iframeProps, messageCallback, onMouseOut, }",
351
+ "parameterTypeTokenRange": {
352
+ "startIndex": 1,
353
+ "endIndex": 4
354
+ },
355
+ "isOptional": false
356
+ }
357
+ ],
358
+ "typeParameters": [
359
+ {
360
+ "typeParameterName": "T",
361
+ "constraintTokenRange": {
362
+ "startIndex": 0,
363
+ "endIndex": 0
364
+ },
365
+ "defaultTypeTokenRange": {
366
+ "startIndex": 0,
367
+ "endIndex": 0
368
+ }
369
+ }
370
+ ],
371
+ "name": "IframeWrapper"
372
+ }
373
+ ]
374
+ }
375
+ ]
376
+ }
@@ -0,0 +1,30 @@
1
+ ## API Report File for "@valiantys/atlassian-app-frontend"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
8
+
9
+ // @public (undocumented)
10
+ export interface IframeProps {
11
+ // (undocumented)
12
+ height?: string;
13
+ // (undocumented)
14
+ link: string;
15
+ // (undocumented)
16
+ title?: string;
17
+ // (undocumented)
18
+ width?: string;
19
+ }
20
+
21
+ // @public (undocumented)
22
+ export function IframeWrapper<T>({ iframeProps, messageCallback, onMouseOut, }: {
23
+ iframeProps: IframeProps;
24
+ messageCallback?: (eventData: T) => void;
25
+ onMouseOut?: () => void;
26
+ }): JSX_2.Element;
27
+
28
+ // (No @packageDocumentation comment for this package)
29
+
30
+ ```
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../atlassian/shared/frontend-ui-iframe/src/lib/iframe-wrapper/index.cjs.js");exports.IframeWrapper=e.IframeWrapper;
@@ -0,0 +1,16 @@
1
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
2
+
3
+ export declare interface IframeProps {
4
+ link: string;
5
+ title?: string;
6
+ width?: string;
7
+ height?: string;
8
+ }
9
+
10
+ export declare function IframeWrapper<T>({ iframeProps, messageCallback, onMouseOut, }: {
11
+ iframeProps: IframeProps;
12
+ messageCallback?: (eventData: T) => void;
13
+ onMouseOut?: () => void;
14
+ }): JSX_2.Element;
15
+
16
+ export { }
@@ -0,0 +1,4 @@
1
+ import { IframeWrapper as p } from "../atlassian/shared/frontend-ui-iframe/src/lib/iframe-wrapper/index.es.js";
2
+ export {
3
+ p as IframeWrapper
4
+ };
@@ -0,0 +1,11 @@
1
+ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
+ // It should be published with your NPM package. It should not be tracked by Git.
3
+ {
4
+ "tsdocVersion": "0.12",
5
+ "toolPackages": [
6
+ {
7
+ "packageName": "@microsoft/api-extractor",
8
+ "packageVersion": "7.52.8"
9
+ }
10
+ ]
11
+ }