@atlaskit/ads-mcp 1.3.2 → 1.4.0
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 +7 -0
- package/compass.yml +1 -1
- package/dist/cjs/tools/get-all-components/components.codegen.js +2 -2
- package/dist/cjs/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +1 -1475
- package/dist/cjs/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +1 -128
- package/dist/cjs/tools/get-guidelines/guidelines-structured-content.codegen.js +4 -7
- package/dist/cjs/tools/get-lint-rules/lint-rules-structured-content.codegen.js +2 -6
- package/dist/es2019/tools/get-all-components/components.codegen.js +2 -2
- package/dist/es2019/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +1 -1475
- package/dist/es2019/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +1 -128
- package/dist/es2019/tools/get-guidelines/guidelines-structured-content.codegen.js +4 -7
- package/dist/es2019/tools/get-lint-rules/lint-rules-structured-content.codegen.js +2 -6
- package/dist/esm/tools/get-all-components/components.codegen.js +2 -2
- package/dist/esm/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.js +1 -1475
- package/dist/esm/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.js +1 -128
- package/dist/esm/tools/get-guidelines/guidelines-structured-content.codegen.js +4 -7
- package/dist/esm/tools/get-lint-rules/lint-rules-structured-content.codegen.js +2 -6
- package/dist/types/tools/get-all-components/components.codegen.d.ts +1 -1
- package/dist/types/tools/get-atlaskit-hooks/atlaskit-hooks.codegen.d.ts +1 -1
- package/dist/types/tools/get-atlaskit-hooks/types.d.ts +1 -2
- package/dist/types/tools/get-atlaskit-utilities/atlaskit-utilities.codegen.d.ts +1 -1
- package/dist/types/tools/get-atlaskit-utilities/types.d.ts +1 -4
- package/dist/types/tools/get-guidelines/guidelines-structured-content.codegen.d.ts +1 -1
- package/dist/types/tools/get-lint-rules/lint-rules-structured-content.codegen.d.ts +1 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ exports.atlaskitHooks = void 0;
|
|
|
9
9
|
*
|
|
10
10
|
* Structured content hooks from design-system *.docs.tsx files
|
|
11
11
|
*
|
|
12
|
-
* @codegen <<SignedSource::
|
|
12
|
+
* @codegen <<SignedSource::fef352249d4955ee39f3c228cea0cbee>>
|
|
13
13
|
* @codegenCommand yarn workspace @af/ads-ai-tooling codegen:atlaskit-hooks
|
|
14
14
|
*/
|
|
15
15
|
/* eslint-disable @repo/internal/react/boolean-prop-naming-convention -- not our types */
|
|
@@ -179,84 +179,6 @@ var atlaskitHooks = exports.atlaskitHooks = [{
|
|
|
179
179
|
accessibilityGuidelines: ['Ensure analytics firing does not change focus or alter semantics.'],
|
|
180
180
|
keywords: ['link-analytics', 'analytics', 'datasource', 'lifecycle', 'hooks', 'useDatasourceLifecycleAnalytics'],
|
|
181
181
|
category: 'linking',
|
|
182
|
-
import: {
|
|
183
|
-
name: 'useDatasourceLifecycleAnalytics',
|
|
184
|
-
package: '@atlaskit/link-analytics',
|
|
185
|
-
type: 'named',
|
|
186
|
-
packagePath: '/Users/khall2/.codex/worktrees/bd80/atlassian-frontend-monorepo/platform/packages/linking-platform/link-analytics',
|
|
187
|
-
packageJson: {
|
|
188
|
-
name: '@atlaskit/link-analytics',
|
|
189
|
-
version: '12.1.0',
|
|
190
|
-
description: 'Contains analytics and utils to assist in instrumenting Linking Platform components.',
|
|
191
|
-
publishConfig: {
|
|
192
|
-
registry: 'https://registry.npmjs.org/'
|
|
193
|
-
},
|
|
194
|
-
repository: 'https://bitbucket.org/atlassian/atlassian-frontend-mirror',
|
|
195
|
-
author: 'Atlassian Pty Ltd',
|
|
196
|
-
license: 'Apache-2.0',
|
|
197
|
-
main: 'dist/cjs/index.js',
|
|
198
|
-
module: 'dist/esm/index.js',
|
|
199
|
-
'module:es2019': 'dist/es2019/index.js',
|
|
200
|
-
types: 'dist/types/index.d.ts',
|
|
201
|
-
sideEffects: false,
|
|
202
|
-
'atlaskit:src': 'src/index.ts',
|
|
203
|
-
atlassian: {
|
|
204
|
-
'react-compiler': {
|
|
205
|
-
enabled: true,
|
|
206
|
-
gating: {
|
|
207
|
-
source: '@atlaskit/react-compiler-gating',
|
|
208
|
-
importSpecifierName: 'isReactCompilerActivePlatform'
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
team: 'Navigation Experiences - Linking Platform',
|
|
212
|
-
website: {
|
|
213
|
-
name: 'LinkingAnalytics'
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
scripts: {
|
|
217
|
-
'codegen-analytics': 'yarn workspace @atlassian/analytics-tooling run analytics:codegen link-analytics --output ./src/common/utils/analytics'
|
|
218
|
-
},
|
|
219
|
-
dependencies: {
|
|
220
|
-
'@atlaskit/analytics-next': 'workspace:^',
|
|
221
|
-
'@atlaskit/json-ld-types': 'workspace:^',
|
|
222
|
-
'@atlaskit/link-client-extension': 'workspace:^',
|
|
223
|
-
'@atlaskit/linking-common': 'workspace:^',
|
|
224
|
-
'@atlaskit/linking-types': 'workspace:^',
|
|
225
|
-
'@atlaskit/platform-feature-flags': 'workspace:^',
|
|
226
|
-
'@atlaskit/react-compiler-gating': 'workspace:^',
|
|
227
|
-
'@babel/runtime': 'root:*',
|
|
228
|
-
lru_map: 'root:*',
|
|
229
|
-
rusha: 'root:*'
|
|
230
|
-
},
|
|
231
|
-
peerDependencies: {
|
|
232
|
-
'@atlaskit/link-provider': 'workspace:^',
|
|
233
|
-
react: '^18.2.0'
|
|
234
|
-
},
|
|
235
|
-
devDependencies: {
|
|
236
|
-
'@af/analytics-codegen': 'workspace:^',
|
|
237
|
-
'@atlaskit/link-picker': 'workspace:^',
|
|
238
|
-
'@atlaskit/link-test-helpers': 'workspace:^',
|
|
239
|
-
'@atlassian/structured-docs-types': 'workspace:^',
|
|
240
|
-
'@testing-library/dom': 'root:*',
|
|
241
|
-
'@testing-library/react': 'root:*',
|
|
242
|
-
'@testing-library/user-event': 'root:*',
|
|
243
|
-
'fetch-mock': 'root:*',
|
|
244
|
-
react: 'root:*',
|
|
245
|
-
'react-intl': 'root:*'
|
|
246
|
-
},
|
|
247
|
-
exports: {
|
|
248
|
-
'.': './src/index.ts',
|
|
249
|
-
'./lifecycle': './src/entry-points/lifecycle.ts',
|
|
250
|
-
'./resolved-attributes': './src/entry-points/resolved-attributes.ts'
|
|
251
|
-
},
|
|
252
|
-
'platform-feature-flags': {
|
|
253
|
-
'platform_bandicoots-smartlink-unresolved-error-key': {
|
|
254
|
-
type: 'boolean'
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
compassUnitTestMetricSourceId: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/ee279202-f1b9-4a9d-a894-92f79e2a98db'
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
182
|
package: '@atlaskit/link-analytics',
|
|
261
183
|
examples: []
|
|
262
184
|
}, {
|
|
@@ -267,84 +189,6 @@ var atlaskitHooks = exports.atlaskitHooks = [{
|
|
|
267
189
|
accessibilityGuidelines: ['Ensure analytics firing does not change focus, interrupt screen readers, or alter semantics.'],
|
|
268
190
|
keywords: ['link-analytics', 'analytics', 'lifecycle', 'hooks', 'useSmartLinkLifecycleAnalytics'],
|
|
269
191
|
category: 'linking',
|
|
270
|
-
import: {
|
|
271
|
-
name: 'useSmartLinkLifecycleAnalytics',
|
|
272
|
-
package: '@atlaskit/link-analytics',
|
|
273
|
-
type: 'named',
|
|
274
|
-
packagePath: '/Users/khall2/.codex/worktrees/bd80/atlassian-frontend-monorepo/platform/packages/linking-platform/link-analytics',
|
|
275
|
-
packageJson: {
|
|
276
|
-
name: '@atlaskit/link-analytics',
|
|
277
|
-
version: '12.1.0',
|
|
278
|
-
description: 'Contains analytics and utils to assist in instrumenting Linking Platform components.',
|
|
279
|
-
publishConfig: {
|
|
280
|
-
registry: 'https://registry.npmjs.org/'
|
|
281
|
-
},
|
|
282
|
-
repository: 'https://bitbucket.org/atlassian/atlassian-frontend-mirror',
|
|
283
|
-
author: 'Atlassian Pty Ltd',
|
|
284
|
-
license: 'Apache-2.0',
|
|
285
|
-
main: 'dist/cjs/index.js',
|
|
286
|
-
module: 'dist/esm/index.js',
|
|
287
|
-
'module:es2019': 'dist/es2019/index.js',
|
|
288
|
-
types: 'dist/types/index.d.ts',
|
|
289
|
-
sideEffects: false,
|
|
290
|
-
'atlaskit:src': 'src/index.ts',
|
|
291
|
-
atlassian: {
|
|
292
|
-
'react-compiler': {
|
|
293
|
-
enabled: true,
|
|
294
|
-
gating: {
|
|
295
|
-
source: '@atlaskit/react-compiler-gating',
|
|
296
|
-
importSpecifierName: 'isReactCompilerActivePlatform'
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
team: 'Navigation Experiences - Linking Platform',
|
|
300
|
-
website: {
|
|
301
|
-
name: 'LinkingAnalytics'
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
scripts: {
|
|
305
|
-
'codegen-analytics': 'yarn workspace @atlassian/analytics-tooling run analytics:codegen link-analytics --output ./src/common/utils/analytics'
|
|
306
|
-
},
|
|
307
|
-
dependencies: {
|
|
308
|
-
'@atlaskit/analytics-next': 'workspace:^',
|
|
309
|
-
'@atlaskit/json-ld-types': 'workspace:^',
|
|
310
|
-
'@atlaskit/link-client-extension': 'workspace:^',
|
|
311
|
-
'@atlaskit/linking-common': 'workspace:^',
|
|
312
|
-
'@atlaskit/linking-types': 'workspace:^',
|
|
313
|
-
'@atlaskit/platform-feature-flags': 'workspace:^',
|
|
314
|
-
'@atlaskit/react-compiler-gating': 'workspace:^',
|
|
315
|
-
'@babel/runtime': 'root:*',
|
|
316
|
-
lru_map: 'root:*',
|
|
317
|
-
rusha: 'root:*'
|
|
318
|
-
},
|
|
319
|
-
peerDependencies: {
|
|
320
|
-
'@atlaskit/link-provider': 'workspace:^',
|
|
321
|
-
react: '^18.2.0'
|
|
322
|
-
},
|
|
323
|
-
devDependencies: {
|
|
324
|
-
'@af/analytics-codegen': 'workspace:^',
|
|
325
|
-
'@atlaskit/link-picker': 'workspace:^',
|
|
326
|
-
'@atlaskit/link-test-helpers': 'workspace:^',
|
|
327
|
-
'@atlassian/structured-docs-types': 'workspace:^',
|
|
328
|
-
'@testing-library/dom': 'root:*',
|
|
329
|
-
'@testing-library/react': 'root:*',
|
|
330
|
-
'@testing-library/user-event': 'root:*',
|
|
331
|
-
'fetch-mock': 'root:*',
|
|
332
|
-
react: 'root:*',
|
|
333
|
-
'react-intl': 'root:*'
|
|
334
|
-
},
|
|
335
|
-
exports: {
|
|
336
|
-
'.': './src/index.ts',
|
|
337
|
-
'./lifecycle': './src/entry-points/lifecycle.ts',
|
|
338
|
-
'./resolved-attributes': './src/entry-points/resolved-attributes.ts'
|
|
339
|
-
},
|
|
340
|
-
'platform-feature-flags': {
|
|
341
|
-
'platform_bandicoots-smartlink-unresolved-error-key': {
|
|
342
|
-
type: 'boolean'
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
compassUnitTestMetricSourceId: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/ee279202-f1b9-4a9d-a894-92f79e2a98db'
|
|
346
|
-
}
|
|
347
|
-
},
|
|
348
192
|
package: '@atlaskit/link-analytics',
|
|
349
193
|
examples: []
|
|
350
194
|
}, {
|
|
@@ -355,89 +199,6 @@ var atlaskitHooks = exports.atlaskitHooks = [{
|
|
|
355
199
|
accessibilityGuidelines: [],
|
|
356
200
|
keywords: ['link-client-extension', 'hooks', 'datasource', 'useDatasourceClientExtension'],
|
|
357
201
|
category: 'linking',
|
|
358
|
-
import: {
|
|
359
|
-
name: 'useDatasourceClientExtension',
|
|
360
|
-
package: '@atlaskit/link-client-extension',
|
|
361
|
-
type: 'named',
|
|
362
|
-
packagePath: '/Users/khall2/.codex/worktrees/bd80/atlassian-frontend-monorepo/platform/packages/linking-platform/link-client-extension',
|
|
363
|
-
packageJson: {
|
|
364
|
-
name: '@atlaskit/link-client-extension',
|
|
365
|
-
version: '7.1.0',
|
|
366
|
-
description: 'Extension methods for linking platform client',
|
|
367
|
-
author: 'Atlassian Pty Ltd',
|
|
368
|
-
license: 'Apache-2.0',
|
|
369
|
-
publishConfig: {
|
|
370
|
-
registry: 'https://registry.npmjs.org/'
|
|
371
|
-
},
|
|
372
|
-
atlassian: {
|
|
373
|
-
'react-compiler': {
|
|
374
|
-
enabled: true,
|
|
375
|
-
gating: {
|
|
376
|
-
source: '@atlaskit/react-compiler-gating',
|
|
377
|
-
importSpecifierName: 'isReactCompilerActivePlatform'
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
|
-
team: 'Navigation Experiences - Linking Platform',
|
|
381
|
-
website: {
|
|
382
|
-
name: 'LinkClientExtension'
|
|
383
|
-
}
|
|
384
|
-
},
|
|
385
|
-
repository: 'https://bitbucket.org/atlassian/atlassian-frontend-mirror',
|
|
386
|
-
main: 'dist/cjs/index.js',
|
|
387
|
-
module: 'dist/esm/index.js',
|
|
388
|
-
'module:es2019': 'dist/es2019/index.js',
|
|
389
|
-
types: 'dist/types/index.d.ts',
|
|
390
|
-
sideEffects: false,
|
|
391
|
-
'atlaskit:src': 'src/index.ts',
|
|
392
|
-
exports: {
|
|
393
|
-
'.': './src/index.ts',
|
|
394
|
-
'./use-smart-link-client-extension': './src/entry-points/use-smart-link-client-extension.ts',
|
|
395
|
-
'./use-data-source-client-extension': './src/entry-points/use-data-source-client-extension.ts',
|
|
396
|
-
'./use-data-source-client-extension/mocks': './src/entry-points/data-source-client-extension-mocks.ts',
|
|
397
|
-
'./use-data-source-client-extension/types': './src/entry-points/data-source-response-types.ts'
|
|
398
|
-
},
|
|
399
|
-
dependencies: {
|
|
400
|
-
'@atlaskit/json-ld-types': 'workspace:^',
|
|
401
|
-
'@atlaskit/linking-common': 'workspace:^',
|
|
402
|
-
'@atlaskit/linking-types': 'workspace:^',
|
|
403
|
-
'@atlaskit/platform-feature-flags': 'workspace:^',
|
|
404
|
-
'@atlaskit/react-compiler-gating': 'workspace:^',
|
|
405
|
-
'@babel/runtime': 'root:*',
|
|
406
|
-
lru_map: 'root:*'
|
|
407
|
-
},
|
|
408
|
-
peerDependencies: {
|
|
409
|
-
'@atlaskit/link-provider': 'workspace:^',
|
|
410
|
-
react: '^18.2.0'
|
|
411
|
-
},
|
|
412
|
-
devDependencies: {
|
|
413
|
-
'@atlaskit/link-test-helpers': 'workspace:^',
|
|
414
|
-
'@atlassian/feature-flags-test-utils': 'workspace:^',
|
|
415
|
-
'@atlassian/structured-docs-types': 'workspace:^',
|
|
416
|
-
'@testing-library/react': 'root:*',
|
|
417
|
-
react: 'root:*',
|
|
418
|
-
'react-dom': 'root:*',
|
|
419
|
-
'wait-for-expect': 'root:*'
|
|
420
|
-
},
|
|
421
|
-
techstack: {
|
|
422
|
-
'@atlassian/frontend': {
|
|
423
|
-
'code-structure': ['tangerine-next'],
|
|
424
|
-
'import-structure': ['atlassian-conventions'],
|
|
425
|
-
'circular-dependencies': ['file-and-folder-level']
|
|
426
|
-
},
|
|
427
|
-
'@repo/internal': {
|
|
428
|
-
'dom-events': 'use-bind-event-listener',
|
|
429
|
-
analytics: ['analytics-next'],
|
|
430
|
-
'design-tokens': ['color'],
|
|
431
|
-
theming: ['react-context'],
|
|
432
|
-
'ui-components': ['lite-mode'],
|
|
433
|
-
deprecation: ['no-deprecated-imports'],
|
|
434
|
-
styling: ['static', 'emotion'],
|
|
435
|
-
imports: ['import-no-extraneous-disable-for-examples-and-docs']
|
|
436
|
-
}
|
|
437
|
-
},
|
|
438
|
-
compassUnitTestMetricSourceId: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/cf4080bb-133c-425e-bf40-17e725f5add5'
|
|
439
|
-
}
|
|
440
|
-
},
|
|
441
202
|
package: '@atlaskit/link-client-extension',
|
|
442
203
|
examples: []
|
|
443
204
|
}, {
|
|
@@ -448,89 +209,6 @@ var atlaskitHooks = exports.atlaskitHooks = [{
|
|
|
448
209
|
accessibilityGuidelines: [],
|
|
449
210
|
keywords: ['link-client-extension', 'hooks', 'invoke', 'actions', 'useSmartLinkClientExtension'],
|
|
450
211
|
category: 'linking',
|
|
451
|
-
import: {
|
|
452
|
-
name: 'useSmartLinkClientExtension',
|
|
453
|
-
package: '@atlaskit/link-client-extension',
|
|
454
|
-
type: 'named',
|
|
455
|
-
packagePath: '/Users/khall2/.codex/worktrees/bd80/atlassian-frontend-monorepo/platform/packages/linking-platform/link-client-extension',
|
|
456
|
-
packageJson: {
|
|
457
|
-
name: '@atlaskit/link-client-extension',
|
|
458
|
-
version: '7.1.0',
|
|
459
|
-
description: 'Extension methods for linking platform client',
|
|
460
|
-
author: 'Atlassian Pty Ltd',
|
|
461
|
-
license: 'Apache-2.0',
|
|
462
|
-
publishConfig: {
|
|
463
|
-
registry: 'https://registry.npmjs.org/'
|
|
464
|
-
},
|
|
465
|
-
atlassian: {
|
|
466
|
-
'react-compiler': {
|
|
467
|
-
enabled: true,
|
|
468
|
-
gating: {
|
|
469
|
-
source: '@atlaskit/react-compiler-gating',
|
|
470
|
-
importSpecifierName: 'isReactCompilerActivePlatform'
|
|
471
|
-
}
|
|
472
|
-
},
|
|
473
|
-
team: 'Navigation Experiences - Linking Platform',
|
|
474
|
-
website: {
|
|
475
|
-
name: 'LinkClientExtension'
|
|
476
|
-
}
|
|
477
|
-
},
|
|
478
|
-
repository: 'https://bitbucket.org/atlassian/atlassian-frontend-mirror',
|
|
479
|
-
main: 'dist/cjs/index.js',
|
|
480
|
-
module: 'dist/esm/index.js',
|
|
481
|
-
'module:es2019': 'dist/es2019/index.js',
|
|
482
|
-
types: 'dist/types/index.d.ts',
|
|
483
|
-
sideEffects: false,
|
|
484
|
-
'atlaskit:src': 'src/index.ts',
|
|
485
|
-
exports: {
|
|
486
|
-
'.': './src/index.ts',
|
|
487
|
-
'./use-smart-link-client-extension': './src/entry-points/use-smart-link-client-extension.ts',
|
|
488
|
-
'./use-data-source-client-extension': './src/entry-points/use-data-source-client-extension.ts',
|
|
489
|
-
'./use-data-source-client-extension/mocks': './src/entry-points/data-source-client-extension-mocks.ts',
|
|
490
|
-
'./use-data-source-client-extension/types': './src/entry-points/data-source-response-types.ts'
|
|
491
|
-
},
|
|
492
|
-
dependencies: {
|
|
493
|
-
'@atlaskit/json-ld-types': 'workspace:^',
|
|
494
|
-
'@atlaskit/linking-common': 'workspace:^',
|
|
495
|
-
'@atlaskit/linking-types': 'workspace:^',
|
|
496
|
-
'@atlaskit/platform-feature-flags': 'workspace:^',
|
|
497
|
-
'@atlaskit/react-compiler-gating': 'workspace:^',
|
|
498
|
-
'@babel/runtime': 'root:*',
|
|
499
|
-
lru_map: 'root:*'
|
|
500
|
-
},
|
|
501
|
-
peerDependencies: {
|
|
502
|
-
'@atlaskit/link-provider': 'workspace:^',
|
|
503
|
-
react: '^18.2.0'
|
|
504
|
-
},
|
|
505
|
-
devDependencies: {
|
|
506
|
-
'@atlaskit/link-test-helpers': 'workspace:^',
|
|
507
|
-
'@atlassian/feature-flags-test-utils': 'workspace:^',
|
|
508
|
-
'@atlassian/structured-docs-types': 'workspace:^',
|
|
509
|
-
'@testing-library/react': 'root:*',
|
|
510
|
-
react: 'root:*',
|
|
511
|
-
'react-dom': 'root:*',
|
|
512
|
-
'wait-for-expect': 'root:*'
|
|
513
|
-
},
|
|
514
|
-
techstack: {
|
|
515
|
-
'@atlassian/frontend': {
|
|
516
|
-
'code-structure': ['tangerine-next'],
|
|
517
|
-
'import-structure': ['atlassian-conventions'],
|
|
518
|
-
'circular-dependencies': ['file-and-folder-level']
|
|
519
|
-
},
|
|
520
|
-
'@repo/internal': {
|
|
521
|
-
'dom-events': 'use-bind-event-listener',
|
|
522
|
-
analytics: ['analytics-next'],
|
|
523
|
-
'design-tokens': ['color'],
|
|
524
|
-
theming: ['react-context'],
|
|
525
|
-
'ui-components': ['lite-mode'],
|
|
526
|
-
deprecation: ['no-deprecated-imports'],
|
|
527
|
-
styling: ['static', 'emotion'],
|
|
528
|
-
imports: ['import-no-extraneous-disable-for-examples-and-docs']
|
|
529
|
-
}
|
|
530
|
-
},
|
|
531
|
-
compassUnitTestMetricSourceId: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/cf4080bb-133c-425e-bf40-17e725f5add5'
|
|
532
|
-
}
|
|
533
|
-
},
|
|
534
212
|
package: '@atlaskit/link-client-extension',
|
|
535
213
|
examples: []
|
|
536
214
|
}, {
|
|
@@ -541,139 +219,6 @@ var atlaskitHooks = exports.atlaskitHooks = [{
|
|
|
541
219
|
accessibilityGuidelines: [],
|
|
542
220
|
keywords: ['link-create', 'hooks', 'callback', 'useLinkCreateCallback'],
|
|
543
221
|
category: 'linking',
|
|
544
|
-
import: {
|
|
545
|
-
name: 'useLinkCreateCallback',
|
|
546
|
-
package: '@atlaskit/link-create',
|
|
547
|
-
type: 'named',
|
|
548
|
-
packagePath: '/Users/khall2/.codex/worktrees/bd80/atlassian-frontend-monorepo/platform/packages/linking-platform/link-create',
|
|
549
|
-
packageJson: {
|
|
550
|
-
name: '@atlaskit/link-create',
|
|
551
|
-
version: '6.1.0',
|
|
552
|
-
description: 'The driver component of meta creation flow',
|
|
553
|
-
author: 'Atlassian Pty Ltd',
|
|
554
|
-
license: 'Apache-2.0',
|
|
555
|
-
publishConfig: {
|
|
556
|
-
registry: 'https://registry.npmjs.org/'
|
|
557
|
-
},
|
|
558
|
-
atlassian: {
|
|
559
|
-
'react-compiler': {
|
|
560
|
-
enabled: true,
|
|
561
|
-
gating: {
|
|
562
|
-
source: '@atlaskit/react-compiler-gating',
|
|
563
|
-
importSpecifierName: 'isReactCompilerActivePlatform'
|
|
564
|
-
}
|
|
565
|
-
},
|
|
566
|
-
team: 'Navigation Experiences - Linking Platform',
|
|
567
|
-
website: {
|
|
568
|
-
name: 'LinkCreate'
|
|
569
|
-
},
|
|
570
|
-
i18n: true
|
|
571
|
-
},
|
|
572
|
-
repository: 'https://bitbucket.org/atlassian/atlassian-frontend-mirror',
|
|
573
|
-
main: 'dist/cjs/index.js',
|
|
574
|
-
module: 'dist/esm/index.js',
|
|
575
|
-
'module:es2019': 'dist/es2019/index.js',
|
|
576
|
-
types: 'dist/types/index.d.ts',
|
|
577
|
-
sideEffects: ['**/*.compiled.css'],
|
|
578
|
-
'atlaskit:src': 'src/index.ts',
|
|
579
|
-
exports: {
|
|
580
|
-
'.': './src/index.ts',
|
|
581
|
-
'./i18n/*': {
|
|
582
|
-
publish: null,
|
|
583
|
-
default: './src/i18n/*.ts'
|
|
584
|
-
},
|
|
585
|
-
'./async-select': './src/entry-points/async-select.ts',
|
|
586
|
-
'./callback-context': './src/entry-points/callback-context.ts',
|
|
587
|
-
'./create-field': './src/entry-points/create-field.ts',
|
|
588
|
-
'./create-form': './src/entry-points/create-form.ts',
|
|
589
|
-
'./exit-warning-modal': './src/entry-points/exit-warning-modal.ts',
|
|
590
|
-
'./final-form': './src/entry-points/final-form.ts',
|
|
591
|
-
'./form-loader': './src/entry-points/form-loader.ts',
|
|
592
|
-
'./form-spy': './src/entry-points/form-spy.ts',
|
|
593
|
-
'./icons': './src/entry-points/icons.ts',
|
|
594
|
-
'./inline-create': './src/entry-points/inline-create.ts',
|
|
595
|
-
'./modal-create': './src/entry-points/modal-create.ts',
|
|
596
|
-
'./select': './src/entry-points/select.ts',
|
|
597
|
-
'./text-field': './src/entry-points/text-field.ts',
|
|
598
|
-
'./types': './src/entry-points/types.ts',
|
|
599
|
-
'./user-picker': './src/entry-points/user-picker.ts'
|
|
600
|
-
},
|
|
601
|
-
dependencies: {
|
|
602
|
-
'@atlaskit/afm-i18n-platform-linking-platform-link-create': 'root:*',
|
|
603
|
-
'@atlaskit/analytics-next': 'workspace:^',
|
|
604
|
-
'@atlaskit/atlassian-context': 'workspace:^',
|
|
605
|
-
'@atlaskit/button': 'workspace:^',
|
|
606
|
-
'@atlaskit/css': 'workspace:^',
|
|
607
|
-
'@atlaskit/empty-state': 'workspace:^',
|
|
608
|
-
'@atlaskit/form': 'workspace:^',
|
|
609
|
-
'@atlaskit/icon': 'workspace:^',
|
|
610
|
-
'@atlaskit/icon-file-type': 'workspace:^',
|
|
611
|
-
'@atlaskit/intl-messages-provider': 'workspace:^',
|
|
612
|
-
'@atlaskit/link': 'workspace:^',
|
|
613
|
-
'@atlaskit/linking-common': 'workspace:^',
|
|
614
|
-
'@atlaskit/modal-dialog': 'workspace:^',
|
|
615
|
-
'@atlaskit/object': 'workspace:^',
|
|
616
|
-
'@atlaskit/platform-feature-flags': 'workspace:^',
|
|
617
|
-
'@atlaskit/primitives': 'workspace:^',
|
|
618
|
-
'@atlaskit/react-compiler-gating': 'workspace:^',
|
|
619
|
-
'@atlaskit/select': 'workspace:^',
|
|
620
|
-
'@atlaskit/smart-user-picker': 'workspace:^',
|
|
621
|
-
'@atlaskit/spinner': 'workspace:^',
|
|
622
|
-
'@atlaskit/textfield': 'workspace:^',
|
|
623
|
-
'@atlaskit/theme': 'workspace:^',
|
|
624
|
-
'@atlaskit/tokens': 'workspace:^',
|
|
625
|
-
'@babel/runtime': 'root:*',
|
|
626
|
-
'@compiled/react': 'root:*',
|
|
627
|
-
'debounce-promise': 'root:*',
|
|
628
|
-
'final-form': 'root:*',
|
|
629
|
-
'react-final-form': 'root:*'
|
|
630
|
-
},
|
|
631
|
-
peerDependencies: {
|
|
632
|
-
react: '^18.2.0',
|
|
633
|
-
'react-intl': '^5.25.1 || ^6.0.0 || ^7.0.0'
|
|
634
|
-
},
|
|
635
|
-
devDependencies: {
|
|
636
|
-
'@af/accessibility-testing': 'workspace:^',
|
|
637
|
-
'@af/integration-testing': 'workspace:^',
|
|
638
|
-
'@af/visual-regression': 'workspace:^',
|
|
639
|
-
'@atlaskit/drawer': 'workspace:^',
|
|
640
|
-
'@atlaskit/link-test-helpers': 'workspace:^',
|
|
641
|
-
'@atlaskit/popup': 'workspace:^',
|
|
642
|
-
'@atlassian/a11y-jest-testing': 'workspace:^',
|
|
643
|
-
'@atlassian/feature-flags-test-utils': 'workspace:^',
|
|
644
|
-
'@atlassian/structured-docs-types': 'workspace:^',
|
|
645
|
-
'@testing-library/react': 'root:*',
|
|
646
|
-
'@testing-library/user-event': 'root:*',
|
|
647
|
-
'@types/debounce-promise': 'root:*',
|
|
648
|
-
'fetch-mock': 'root:*',
|
|
649
|
-
react: 'root:*',
|
|
650
|
-
'react-dom': 'root:*',
|
|
651
|
-
'react-intl': 'root:*',
|
|
652
|
-
'wait-for-expect': 'root:*'
|
|
653
|
-
},
|
|
654
|
-
scripts: {
|
|
655
|
-
'codegen-analytics': "yarn run ts-analytics-codegen --command='yarn workspace @atlaskit/link-create run codegen-analytics'"
|
|
656
|
-
},
|
|
657
|
-
techstack: {
|
|
658
|
-
'@atlassian/frontend': {
|
|
659
|
-
'code-structure': ['tangerine-next'],
|
|
660
|
-
'import-structure': ['atlassian-conventions'],
|
|
661
|
-
'circular-dependencies': ['file-and-folder-level']
|
|
662
|
-
},
|
|
663
|
-
'@repo/internal': {
|
|
664
|
-
'dom-events': 'use-bind-event-listener',
|
|
665
|
-
analytics: ['analytics-next'],
|
|
666
|
-
theming: ['react-context', 'tokens'],
|
|
667
|
-
'ui-components': ['lite-mode'],
|
|
668
|
-
deprecation: ['no-deprecated-imports'],
|
|
669
|
-
styling: ['static', 'compiled'],
|
|
670
|
-
imports: ['import-no-extraneous-disable-for-examples-and-docs']
|
|
671
|
-
}
|
|
672
|
-
},
|
|
673
|
-
'platform-feature-flags': {},
|
|
674
|
-
compassUnitTestMetricSourceId: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/5ebc0bfb-9b6d-4ec0-adbe-e4d5e88ace44'
|
|
675
|
-
}
|
|
676
|
-
},
|
|
677
222
|
package: '@atlaskit/link-create',
|
|
678
223
|
examples: []
|
|
679
224
|
}, {
|
|
@@ -684,139 +229,6 @@ var atlaskitHooks = exports.atlaskitHooks = [{
|
|
|
684
229
|
accessibilityGuidelines: [],
|
|
685
230
|
keywords: ['link-create', 'hooks', 'exit', 'warning', 'useWithExitWarning'],
|
|
686
231
|
category: 'linking',
|
|
687
|
-
import: {
|
|
688
|
-
name: 'useWithExitWarning',
|
|
689
|
-
package: '@atlaskit/link-create',
|
|
690
|
-
type: 'named',
|
|
691
|
-
packagePath: '/Users/khall2/.codex/worktrees/bd80/atlassian-frontend-monorepo/platform/packages/linking-platform/link-create',
|
|
692
|
-
packageJson: {
|
|
693
|
-
name: '@atlaskit/link-create',
|
|
694
|
-
version: '6.1.0',
|
|
695
|
-
description: 'The driver component of meta creation flow',
|
|
696
|
-
author: 'Atlassian Pty Ltd',
|
|
697
|
-
license: 'Apache-2.0',
|
|
698
|
-
publishConfig: {
|
|
699
|
-
registry: 'https://registry.npmjs.org/'
|
|
700
|
-
},
|
|
701
|
-
atlassian: {
|
|
702
|
-
'react-compiler': {
|
|
703
|
-
enabled: true,
|
|
704
|
-
gating: {
|
|
705
|
-
source: '@atlaskit/react-compiler-gating',
|
|
706
|
-
importSpecifierName: 'isReactCompilerActivePlatform'
|
|
707
|
-
}
|
|
708
|
-
},
|
|
709
|
-
team: 'Navigation Experiences - Linking Platform',
|
|
710
|
-
website: {
|
|
711
|
-
name: 'LinkCreate'
|
|
712
|
-
},
|
|
713
|
-
i18n: true
|
|
714
|
-
},
|
|
715
|
-
repository: 'https://bitbucket.org/atlassian/atlassian-frontend-mirror',
|
|
716
|
-
main: 'dist/cjs/index.js',
|
|
717
|
-
module: 'dist/esm/index.js',
|
|
718
|
-
'module:es2019': 'dist/es2019/index.js',
|
|
719
|
-
types: 'dist/types/index.d.ts',
|
|
720
|
-
sideEffects: ['**/*.compiled.css'],
|
|
721
|
-
'atlaskit:src': 'src/index.ts',
|
|
722
|
-
exports: {
|
|
723
|
-
'.': './src/index.ts',
|
|
724
|
-
'./i18n/*': {
|
|
725
|
-
publish: null,
|
|
726
|
-
default: './src/i18n/*.ts'
|
|
727
|
-
},
|
|
728
|
-
'./async-select': './src/entry-points/async-select.ts',
|
|
729
|
-
'./callback-context': './src/entry-points/callback-context.ts',
|
|
730
|
-
'./create-field': './src/entry-points/create-field.ts',
|
|
731
|
-
'./create-form': './src/entry-points/create-form.ts',
|
|
732
|
-
'./exit-warning-modal': './src/entry-points/exit-warning-modal.ts',
|
|
733
|
-
'./final-form': './src/entry-points/final-form.ts',
|
|
734
|
-
'./form-loader': './src/entry-points/form-loader.ts',
|
|
735
|
-
'./form-spy': './src/entry-points/form-spy.ts',
|
|
736
|
-
'./icons': './src/entry-points/icons.ts',
|
|
737
|
-
'./inline-create': './src/entry-points/inline-create.ts',
|
|
738
|
-
'./modal-create': './src/entry-points/modal-create.ts',
|
|
739
|
-
'./select': './src/entry-points/select.ts',
|
|
740
|
-
'./text-field': './src/entry-points/text-field.ts',
|
|
741
|
-
'./types': './src/entry-points/types.ts',
|
|
742
|
-
'./user-picker': './src/entry-points/user-picker.ts'
|
|
743
|
-
},
|
|
744
|
-
dependencies: {
|
|
745
|
-
'@atlaskit/afm-i18n-platform-linking-platform-link-create': 'root:*',
|
|
746
|
-
'@atlaskit/analytics-next': 'workspace:^',
|
|
747
|
-
'@atlaskit/atlassian-context': 'workspace:^',
|
|
748
|
-
'@atlaskit/button': 'workspace:^',
|
|
749
|
-
'@atlaskit/css': 'workspace:^',
|
|
750
|
-
'@atlaskit/empty-state': 'workspace:^',
|
|
751
|
-
'@atlaskit/form': 'workspace:^',
|
|
752
|
-
'@atlaskit/icon': 'workspace:^',
|
|
753
|
-
'@atlaskit/icon-file-type': 'workspace:^',
|
|
754
|
-
'@atlaskit/intl-messages-provider': 'workspace:^',
|
|
755
|
-
'@atlaskit/link': 'workspace:^',
|
|
756
|
-
'@atlaskit/linking-common': 'workspace:^',
|
|
757
|
-
'@atlaskit/modal-dialog': 'workspace:^',
|
|
758
|
-
'@atlaskit/object': 'workspace:^',
|
|
759
|
-
'@atlaskit/platform-feature-flags': 'workspace:^',
|
|
760
|
-
'@atlaskit/primitives': 'workspace:^',
|
|
761
|
-
'@atlaskit/react-compiler-gating': 'workspace:^',
|
|
762
|
-
'@atlaskit/select': 'workspace:^',
|
|
763
|
-
'@atlaskit/smart-user-picker': 'workspace:^',
|
|
764
|
-
'@atlaskit/spinner': 'workspace:^',
|
|
765
|
-
'@atlaskit/textfield': 'workspace:^',
|
|
766
|
-
'@atlaskit/theme': 'workspace:^',
|
|
767
|
-
'@atlaskit/tokens': 'workspace:^',
|
|
768
|
-
'@babel/runtime': 'root:*',
|
|
769
|
-
'@compiled/react': 'root:*',
|
|
770
|
-
'debounce-promise': 'root:*',
|
|
771
|
-
'final-form': 'root:*',
|
|
772
|
-
'react-final-form': 'root:*'
|
|
773
|
-
},
|
|
774
|
-
peerDependencies: {
|
|
775
|
-
react: '^18.2.0',
|
|
776
|
-
'react-intl': '^5.25.1 || ^6.0.0 || ^7.0.0'
|
|
777
|
-
},
|
|
778
|
-
devDependencies: {
|
|
779
|
-
'@af/accessibility-testing': 'workspace:^',
|
|
780
|
-
'@af/integration-testing': 'workspace:^',
|
|
781
|
-
'@af/visual-regression': 'workspace:^',
|
|
782
|
-
'@atlaskit/drawer': 'workspace:^',
|
|
783
|
-
'@atlaskit/link-test-helpers': 'workspace:^',
|
|
784
|
-
'@atlaskit/popup': 'workspace:^',
|
|
785
|
-
'@atlassian/a11y-jest-testing': 'workspace:^',
|
|
786
|
-
'@atlassian/feature-flags-test-utils': 'workspace:^',
|
|
787
|
-
'@atlassian/structured-docs-types': 'workspace:^',
|
|
788
|
-
'@testing-library/react': 'root:*',
|
|
789
|
-
'@testing-library/user-event': 'root:*',
|
|
790
|
-
'@types/debounce-promise': 'root:*',
|
|
791
|
-
'fetch-mock': 'root:*',
|
|
792
|
-
react: 'root:*',
|
|
793
|
-
'react-dom': 'root:*',
|
|
794
|
-
'react-intl': 'root:*',
|
|
795
|
-
'wait-for-expect': 'root:*'
|
|
796
|
-
},
|
|
797
|
-
scripts: {
|
|
798
|
-
'codegen-analytics': "yarn run ts-analytics-codegen --command='yarn workspace @atlaskit/link-create run codegen-analytics'"
|
|
799
|
-
},
|
|
800
|
-
techstack: {
|
|
801
|
-
'@atlassian/frontend': {
|
|
802
|
-
'code-structure': ['tangerine-next'],
|
|
803
|
-
'import-structure': ['atlassian-conventions'],
|
|
804
|
-
'circular-dependencies': ['file-and-folder-level']
|
|
805
|
-
},
|
|
806
|
-
'@repo/internal': {
|
|
807
|
-
'dom-events': 'use-bind-event-listener',
|
|
808
|
-
analytics: ['analytics-next'],
|
|
809
|
-
theming: ['react-context', 'tokens'],
|
|
810
|
-
'ui-components': ['lite-mode'],
|
|
811
|
-
deprecation: ['no-deprecated-imports'],
|
|
812
|
-
styling: ['static', 'compiled'],
|
|
813
|
-
imports: ['import-no-extraneous-disable-for-examples-and-docs']
|
|
814
|
-
}
|
|
815
|
-
},
|
|
816
|
-
'platform-feature-flags': {},
|
|
817
|
-
compassUnitTestMetricSourceId: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/5ebc0bfb-9b6d-4ec0-adbe-e4d5e88ace44'
|
|
818
|
-
}
|
|
819
|
-
},
|
|
820
232
|
package: '@atlaskit/link-create',
|
|
821
233
|
examples: []
|
|
822
234
|
}, {
|
|
@@ -827,93 +239,6 @@ var atlaskitHooks = exports.atlaskitHooks = [{
|
|
|
827
239
|
accessibilityGuidelines: [],
|
|
828
240
|
keywords: ['link-provider', 'hooks', 'context', 'useSmartCardContext'],
|
|
829
241
|
category: 'linking',
|
|
830
|
-
import: {
|
|
831
|
-
name: 'useSmartCardContext',
|
|
832
|
-
package: '@atlaskit/link-provider',
|
|
833
|
-
type: 'named',
|
|
834
|
-
packagePath: '/Users/khall2/.codex/worktrees/bd80/atlassian-frontend-monorepo/platform/packages/linking-platform/link-provider',
|
|
835
|
-
packageJson: {
|
|
836
|
-
name: '@atlaskit/link-provider',
|
|
837
|
-
version: '5.1.0',
|
|
838
|
-
description: 'Contains provider with react context for anything link related and the link http client',
|
|
839
|
-
author: 'Atlassian Pty Ltd',
|
|
840
|
-
license: 'Apache-2.0',
|
|
841
|
-
publishConfig: {
|
|
842
|
-
registry: 'https://registry.npmjs.org/'
|
|
843
|
-
},
|
|
844
|
-
atlassian: {
|
|
845
|
-
'react-compiler': {
|
|
846
|
-
enabled: true,
|
|
847
|
-
gating: {
|
|
848
|
-
source: '@atlaskit/react-compiler-gating',
|
|
849
|
-
importSpecifierName: 'isReactCompilerActivePlatform'
|
|
850
|
-
}
|
|
851
|
-
},
|
|
852
|
-
team: 'Navigation Experiences - Linking Platform',
|
|
853
|
-
singleton: true,
|
|
854
|
-
website: {
|
|
855
|
-
name: 'SmartCardProvider'
|
|
856
|
-
}
|
|
857
|
-
},
|
|
858
|
-
repository: 'https://bitbucket.org/atlassian/atlassian-frontend-mirror',
|
|
859
|
-
main: 'dist/cjs/index.js',
|
|
860
|
-
module: 'dist/esm/index.js',
|
|
861
|
-
'module:es2019': 'dist/es2019/index.js',
|
|
862
|
-
types: 'dist/types/index.d.ts',
|
|
863
|
-
sideEffects: false,
|
|
864
|
-
'atlaskit:src': 'src/index.ts',
|
|
865
|
-
exports: {
|
|
866
|
-
'.': './src/index.ts',
|
|
867
|
-
'./client': './src/client/index.ts',
|
|
868
|
-
'./context': './src/state/context/index.tsx',
|
|
869
|
-
'./editor': './src/editor/index.ts',
|
|
870
|
-
'./provider': './src/provider.tsx',
|
|
871
|
-
'./responses': './src/client/types/responses.ts',
|
|
872
|
-
'./types': './src/state/context/types.ts'
|
|
873
|
-
},
|
|
874
|
-
dependencies: {
|
|
875
|
-
'@atlaskit/json-ld-types': 'workspace:^',
|
|
876
|
-
'@atlaskit/link-extractors': 'workspace:^',
|
|
877
|
-
'@atlaskit/linking-common': 'workspace:^',
|
|
878
|
-
'@atlaskit/platform-feature-flags': 'workspace:^',
|
|
879
|
-
'@atlaskit/react-compiler-gating': 'workspace:^',
|
|
880
|
-
'@babel/runtime': 'root:*',
|
|
881
|
-
'async-retry': 'root:*',
|
|
882
|
-
dataloader: 'root:*',
|
|
883
|
-
lodash: 'root:*',
|
|
884
|
-
lru_map: 'root:*',
|
|
885
|
-
'p-throttle': 'root:*',
|
|
886
|
-
redux: 'root:*'
|
|
887
|
-
},
|
|
888
|
-
peerDependencies: {
|
|
889
|
-
react: '^18.2.0'
|
|
890
|
-
},
|
|
891
|
-
devDependencies: {
|
|
892
|
-
'@atlaskit/linking-types': 'workspace:^',
|
|
893
|
-
'@atlaskit/media-test-helpers': 'workspace:^',
|
|
894
|
-
'@atlassian/feature-flags-test-utils': 'workspace:^',
|
|
895
|
-
'@atlassian/structured-docs-types': 'workspace:^',
|
|
896
|
-
'@testing-library/react': 'root:*',
|
|
897
|
-
'@types/async-retry': 'root:*',
|
|
898
|
-
'@types/redux': 'root:*',
|
|
899
|
-
react: 'root:*',
|
|
900
|
-
'react-dom': 'root:*',
|
|
901
|
-
'wait-for-expect': 'root:*'
|
|
902
|
-
},
|
|
903
|
-
'platform-feature-flags': {
|
|
904
|
-
platform_linking_force_no_cache_smart_card_client: {
|
|
905
|
-
type: 'boolean'
|
|
906
|
-
},
|
|
907
|
-
'navx-smartcard-auth-event-listener-killswitch-fg': {
|
|
908
|
-
type: 'boolean'
|
|
909
|
-
},
|
|
910
|
-
platform_smartlink_inline_resolve_optimization: {
|
|
911
|
-
type: 'boolean'
|
|
912
|
-
}
|
|
913
|
-
},
|
|
914
|
-
compassUnitTestMetricSourceId: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/186ef24b-75c6-4a0c-aaa3-4185737ea168'
|
|
915
|
-
}
|
|
916
|
-
},
|
|
917
242
|
package: '@atlaskit/link-provider',
|
|
918
243
|
examples: []
|
|
919
244
|
}, {
|
|
@@ -924,93 +249,6 @@ var atlaskitHooks = exports.atlaskitHooks = [{
|
|
|
924
249
|
accessibilityGuidelines: [],
|
|
925
250
|
keywords: ['link-provider', 'hooks', 'context', 'useSmartLinkContext'],
|
|
926
251
|
category: 'linking',
|
|
927
|
-
import: {
|
|
928
|
-
name: 'useSmartLinkContext',
|
|
929
|
-
package: '@atlaskit/link-provider',
|
|
930
|
-
type: 'named',
|
|
931
|
-
packagePath: '/Users/khall2/.codex/worktrees/bd80/atlassian-frontend-monorepo/platform/packages/linking-platform/link-provider',
|
|
932
|
-
packageJson: {
|
|
933
|
-
name: '@atlaskit/link-provider',
|
|
934
|
-
version: '5.1.0',
|
|
935
|
-
description: 'Contains provider with react context for anything link related and the link http client',
|
|
936
|
-
author: 'Atlassian Pty Ltd',
|
|
937
|
-
license: 'Apache-2.0',
|
|
938
|
-
publishConfig: {
|
|
939
|
-
registry: 'https://registry.npmjs.org/'
|
|
940
|
-
},
|
|
941
|
-
atlassian: {
|
|
942
|
-
'react-compiler': {
|
|
943
|
-
enabled: true,
|
|
944
|
-
gating: {
|
|
945
|
-
source: '@atlaskit/react-compiler-gating',
|
|
946
|
-
importSpecifierName: 'isReactCompilerActivePlatform'
|
|
947
|
-
}
|
|
948
|
-
},
|
|
949
|
-
team: 'Navigation Experiences - Linking Platform',
|
|
950
|
-
singleton: true,
|
|
951
|
-
website: {
|
|
952
|
-
name: 'SmartCardProvider'
|
|
953
|
-
}
|
|
954
|
-
},
|
|
955
|
-
repository: 'https://bitbucket.org/atlassian/atlassian-frontend-mirror',
|
|
956
|
-
main: 'dist/cjs/index.js',
|
|
957
|
-
module: 'dist/esm/index.js',
|
|
958
|
-
'module:es2019': 'dist/es2019/index.js',
|
|
959
|
-
types: 'dist/types/index.d.ts',
|
|
960
|
-
sideEffects: false,
|
|
961
|
-
'atlaskit:src': 'src/index.ts',
|
|
962
|
-
exports: {
|
|
963
|
-
'.': './src/index.ts',
|
|
964
|
-
'./client': './src/client/index.ts',
|
|
965
|
-
'./context': './src/state/context/index.tsx',
|
|
966
|
-
'./editor': './src/editor/index.ts',
|
|
967
|
-
'./provider': './src/provider.tsx',
|
|
968
|
-
'./responses': './src/client/types/responses.ts',
|
|
969
|
-
'./types': './src/state/context/types.ts'
|
|
970
|
-
},
|
|
971
|
-
dependencies: {
|
|
972
|
-
'@atlaskit/json-ld-types': 'workspace:^',
|
|
973
|
-
'@atlaskit/link-extractors': 'workspace:^',
|
|
974
|
-
'@atlaskit/linking-common': 'workspace:^',
|
|
975
|
-
'@atlaskit/platform-feature-flags': 'workspace:^',
|
|
976
|
-
'@atlaskit/react-compiler-gating': 'workspace:^',
|
|
977
|
-
'@babel/runtime': 'root:*',
|
|
978
|
-
'async-retry': 'root:*',
|
|
979
|
-
dataloader: 'root:*',
|
|
980
|
-
lodash: 'root:*',
|
|
981
|
-
lru_map: 'root:*',
|
|
982
|
-
'p-throttle': 'root:*',
|
|
983
|
-
redux: 'root:*'
|
|
984
|
-
},
|
|
985
|
-
peerDependencies: {
|
|
986
|
-
react: '^18.2.0'
|
|
987
|
-
},
|
|
988
|
-
devDependencies: {
|
|
989
|
-
'@atlaskit/linking-types': 'workspace:^',
|
|
990
|
-
'@atlaskit/media-test-helpers': 'workspace:^',
|
|
991
|
-
'@atlassian/feature-flags-test-utils': 'workspace:^',
|
|
992
|
-
'@atlassian/structured-docs-types': 'workspace:^',
|
|
993
|
-
'@testing-library/react': 'root:*',
|
|
994
|
-
'@types/async-retry': 'root:*',
|
|
995
|
-
'@types/redux': 'root:*',
|
|
996
|
-
react: 'root:*',
|
|
997
|
-
'react-dom': 'root:*',
|
|
998
|
-
'wait-for-expect': 'root:*'
|
|
999
|
-
},
|
|
1000
|
-
'platform-feature-flags': {
|
|
1001
|
-
platform_linking_force_no_cache_smart_card_client: {
|
|
1002
|
-
type: 'boolean'
|
|
1003
|
-
},
|
|
1004
|
-
'navx-smartcard-auth-event-listener-killswitch-fg': {
|
|
1005
|
-
type: 'boolean'
|
|
1006
|
-
},
|
|
1007
|
-
platform_smartlink_inline_resolve_optimization: {
|
|
1008
|
-
type: 'boolean'
|
|
1009
|
-
}
|
|
1010
|
-
},
|
|
1011
|
-
compassUnitTestMetricSourceId: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/186ef24b-75c6-4a0c-aaa3-4185737ea168'
|
|
1012
|
-
}
|
|
1013
|
-
},
|
|
1014
252
|
package: '@atlaskit/link-provider',
|
|
1015
253
|
examples: []
|
|
1016
254
|
}, {
|
|
@@ -1021,362 +259,6 @@ var atlaskitHooks = exports.atlaskitHooks = [{
|
|
|
1021
259
|
accessibilityGuidelines: ['When rendering actions from this hook (e.g. buttons or menus), provide accessible labels (e.g. from action.text) and ensure keyboard support.'],
|
|
1022
260
|
keywords: ['smart-card', 'hooks', 'useSmartLinkActions', 'actions'],
|
|
1023
261
|
category: 'linking',
|
|
1024
|
-
import: {
|
|
1025
|
-
name: 'useSmartLinkActions',
|
|
1026
|
-
package: '@atlaskit/smart-card/hooks',
|
|
1027
|
-
type: 'named',
|
|
1028
|
-
packagePath: '/Users/khall2/.codex/worktrees/bd80/atlassian-frontend-monorepo/platform/packages/linking-platform/smart-card',
|
|
1029
|
-
packageJson: {
|
|
1030
|
-
name: '@atlaskit/smart-card',
|
|
1031
|
-
version: '45.6.0',
|
|
1032
|
-
description: 'Smart card component',
|
|
1033
|
-
publishConfig: {
|
|
1034
|
-
registry: 'https://registry.npmjs.org/'
|
|
1035
|
-
},
|
|
1036
|
-
repository: 'https://bitbucket.org/atlassian/atlassian-frontend-mirror',
|
|
1037
|
-
author: 'Atlassian Pty Ltd',
|
|
1038
|
-
license: 'Apache-2.0',
|
|
1039
|
-
main: 'dist/cjs/index.js',
|
|
1040
|
-
module: 'dist/esm/index.js',
|
|
1041
|
-
'module:es2019': 'dist/es2019/index.js',
|
|
1042
|
-
types: 'dist/types/index.d.ts',
|
|
1043
|
-
sideEffects: ['**/*.compiled.css'],
|
|
1044
|
-
'atlaskit:src': 'src/index.ts',
|
|
1045
|
-
atlassian: {
|
|
1046
|
-
i18n: true,
|
|
1047
|
-
'react-compiler': {
|
|
1048
|
-
enabled: true,
|
|
1049
|
-
gating: {
|
|
1050
|
-
source: '@atlaskit/react-compiler-gating',
|
|
1051
|
-
importSpecifierName: 'isReactCompilerActivePlatform'
|
|
1052
|
-
}
|
|
1053
|
-
},
|
|
1054
|
-
team: 'Navigation Experiences - Linking Platform',
|
|
1055
|
-
website: {
|
|
1056
|
-
name: 'Smart Card'
|
|
1057
|
-
}
|
|
1058
|
-
},
|
|
1059
|
-
scripts: {
|
|
1060
|
-
'analytics:codegen': 'yarn workspace @atlassian/analytics-tooling run analytics:codegen smart-card --output ./src/common/analytics/generated',
|
|
1061
|
-
'ak-postbuild': 'ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.{svg,png}'
|
|
1062
|
-
},
|
|
1063
|
-
dependencies: {
|
|
1064
|
-
'@atlaskit/adf-utils': 'workspace:^',
|
|
1065
|
-
'@atlaskit/afm-i18n-platform-linking-platform-smart-card': 'root:*',
|
|
1066
|
-
'@atlaskit/analytics-cross-product': 'workspace:^',
|
|
1067
|
-
'@atlaskit/analytics-gas-types': 'workspace:^',
|
|
1068
|
-
'@atlaskit/analytics-next': 'workspace:^',
|
|
1069
|
-
'@atlaskit/avatar': 'workspace:^',
|
|
1070
|
-
'@atlaskit/avatar-group': 'workspace:^',
|
|
1071
|
-
'@atlaskit/badge': 'workspace:^',
|
|
1072
|
-
'@atlaskit/browser-apis': 'workspace:^',
|
|
1073
|
-
'@atlaskit/button': 'workspace:^',
|
|
1074
|
-
'@atlaskit/checkbox': 'workspace:^',
|
|
1075
|
-
'@atlaskit/css': 'workspace:^',
|
|
1076
|
-
'@atlaskit/dropdown-menu': 'workspace:^',
|
|
1077
|
-
'@atlaskit/embedded-confluence': 'workspace:^',
|
|
1078
|
-
'@atlaskit/feature-gate-js-client': 'workspace:^',
|
|
1079
|
-
'@atlaskit/flag': 'workspace:^',
|
|
1080
|
-
'@atlaskit/form': 'workspace:^',
|
|
1081
|
-
'@atlaskit/frontend-utilities': 'workspace:^',
|
|
1082
|
-
'@atlaskit/heading': 'workspace:^',
|
|
1083
|
-
'@atlaskit/icon': 'workspace:^',
|
|
1084
|
-
'@atlaskit/icon-file-type': 'workspace:^',
|
|
1085
|
-
'@atlaskit/icon-lab': 'workspace:^',
|
|
1086
|
-
'@atlaskit/image': 'workspace:^',
|
|
1087
|
-
'@atlaskit/json-ld-types': 'workspace:^',
|
|
1088
|
-
'@atlaskit/link': 'workspace:^',
|
|
1089
|
-
'@atlaskit/link-analytics': 'workspace:^',
|
|
1090
|
-
'@atlaskit/link-client-extension': 'workspace:^',
|
|
1091
|
-
'@atlaskit/link-extractors': 'workspace:^',
|
|
1092
|
-
'@atlaskit/link-test-helpers': 'workspace:^',
|
|
1093
|
-
'@atlaskit/linking-common': 'workspace:^',
|
|
1094
|
-
'@atlaskit/linking-types': 'workspace:^',
|
|
1095
|
-
'@atlaskit/logo': 'workspace:^',
|
|
1096
|
-
'@atlaskit/lozenge': 'workspace:^',
|
|
1097
|
-
'@atlaskit/menu': 'workspace:^',
|
|
1098
|
-
'@atlaskit/modal-dialog': 'workspace:^',
|
|
1099
|
-
'@atlaskit/motion': 'workspace:^',
|
|
1100
|
-
'@atlaskit/object': 'workspace:^',
|
|
1101
|
-
'@atlaskit/outbound-auth-flow-client': 'workspace:^',
|
|
1102
|
-
'@atlaskit/platform-feature-flags': 'workspace:^',
|
|
1103
|
-
'@atlaskit/platform-feature-flags-react': 'workspace:^',
|
|
1104
|
-
'@atlaskit/popup': 'workspace:^',
|
|
1105
|
-
'@atlaskit/primitives': 'workspace:^',
|
|
1106
|
-
'@atlaskit/react-compiler-gating': 'workspace:^',
|
|
1107
|
-
'@atlaskit/react-ufo': 'workspace:^',
|
|
1108
|
-
'@atlaskit/rovo-triggers': 'workspace:^',
|
|
1109
|
-
'@atlaskit/section-message': 'workspace:^',
|
|
1110
|
-
'@atlaskit/select': 'workspace:^',
|
|
1111
|
-
'@atlaskit/spinner': 'workspace:^',
|
|
1112
|
-
'@atlaskit/tag': 'workspace:^',
|
|
1113
|
-
'@atlaskit/textarea': 'workspace:^',
|
|
1114
|
-
'@atlaskit/textfield': 'workspace:^',
|
|
1115
|
-
'@atlaskit/theme': 'workspace:^',
|
|
1116
|
-
'@atlaskit/tile': 'workspace:^',
|
|
1117
|
-
'@atlaskit/tmp-editor-statsig': 'workspace:^',
|
|
1118
|
-
'@atlaskit/tokens': 'workspace:^',
|
|
1119
|
-
'@atlaskit/tooltip': 'workspace:^',
|
|
1120
|
-
'@atlaskit/ufo': 'workspace:^',
|
|
1121
|
-
'@atlaskit/width-detector': 'workspace:^',
|
|
1122
|
-
'@babel/runtime': 'root:*',
|
|
1123
|
-
'@compiled/react': 'root:*',
|
|
1124
|
-
'@formatjs/intl-utils': 'root:*',
|
|
1125
|
-
facepaint: 'root:*',
|
|
1126
|
-
lru_map: 'root:*',
|
|
1127
|
-
'markdown-to-jsx': 'root:*',
|
|
1128
|
-
'react-error-boundary': 'root:*',
|
|
1129
|
-
'react-lazily-render': 'root:*',
|
|
1130
|
-
'react-loadable': 'root:*',
|
|
1131
|
-
'react-magnetic-di': 'root:*',
|
|
1132
|
-
'react-render-image': 'root:*',
|
|
1133
|
-
'use-sync-external-store': 'root:*',
|
|
1134
|
-
uuid: 'root:*'
|
|
1135
|
-
},
|
|
1136
|
-
peerDependencies: {
|
|
1137
|
-
'@atlaskit/link-provider': 'workspace:^',
|
|
1138
|
-
react: '^18.2.0',
|
|
1139
|
-
'react-dom': '^18.2.0',
|
|
1140
|
-
'react-intl': '^5.25.1 || ^6.0.0 || ^7.0.0'
|
|
1141
|
-
},
|
|
1142
|
-
devDependencies: {
|
|
1143
|
-
'@af/integration-testing': 'workspace:^',
|
|
1144
|
-
'@af/visual-regression': 'workspace:^',
|
|
1145
|
-
'@atlaskit/analytics-listeners': 'workspace:^',
|
|
1146
|
-
'@atlaskit/css-reset': 'workspace:^',
|
|
1147
|
-
'@atlaskit/media-test-helpers': 'workspace:^',
|
|
1148
|
-
'@atlaskit/ssr': 'workspace:^',
|
|
1149
|
-
'@atlassian/a11y-jest-testing': 'workspace:^',
|
|
1150
|
-
'@atlassian/analytics-tooling': 'workspace:^',
|
|
1151
|
-
'@atlassian/feature-flags-test-utils': 'workspace:^',
|
|
1152
|
-
'@atlassian/gemini': 'workspace:^',
|
|
1153
|
-
'@atlassian/structured-docs-types': 'workspace:^',
|
|
1154
|
-
'@atlassian/testing-library': 'workspace:^',
|
|
1155
|
-
'@testing-library/dom': 'root:*',
|
|
1156
|
-
'@testing-library/jest-dom': 'root:*',
|
|
1157
|
-
'@types/facepaint': 'root:*',
|
|
1158
|
-
'@types/lorem-ipsum': 'root:*',
|
|
1159
|
-
'@types/react': 'root:*',
|
|
1160
|
-
'@types/react-loadable': 'root:*',
|
|
1161
|
-
'@types/use-sync-external-store': 'root:*',
|
|
1162
|
-
'abortcontroller-polyfill': 'root:*',
|
|
1163
|
-
brace: 'root:*',
|
|
1164
|
-
'fetch-mock': 'root:*',
|
|
1165
|
-
'jest-extended': 'root:*',
|
|
1166
|
-
'jest-fetch-mock': 'root:*',
|
|
1167
|
-
'jest-mock': 'root:*',
|
|
1168
|
-
jsdom: 'root:*',
|
|
1169
|
-
'lorem-ipsum': 'root:*',
|
|
1170
|
-
react: 'root:*',
|
|
1171
|
-
'react-ace': 'root:*',
|
|
1172
|
-
'react-beautiful-dnd': 'root:*',
|
|
1173
|
-
'react-dom': 'root:*',
|
|
1174
|
-
'react-intl': 'root:*',
|
|
1175
|
-
'react-test-renderer': 'root:*',
|
|
1176
|
-
'ts-jest': 'root:*',
|
|
1177
|
-
'xhr-mock': 'root:*'
|
|
1178
|
-
},
|
|
1179
|
-
techstack: {
|
|
1180
|
-
'@repo/internal': {
|
|
1181
|
-
'design-tokens': ['color', 'spacing'],
|
|
1182
|
-
styling: ['compiled']
|
|
1183
|
-
},
|
|
1184
|
-
'@atlassian/frontend': {
|
|
1185
|
-
'import-structure': ['atlassian-conventions'],
|
|
1186
|
-
'circular-dependencies': ['file-and-folder-level']
|
|
1187
|
-
}
|
|
1188
|
-
},
|
|
1189
|
-
exports: {
|
|
1190
|
-
'./analytics': './src/entry-points/analytics.ts',
|
|
1191
|
-
'./analytics/types': './src/entry-points/analytics-types.ts',
|
|
1192
|
-
'./card/lazy': './src/entry-points/card-lazy.ts',
|
|
1193
|
-
'./card/types': './src/entry-points/card-types.ts',
|
|
1194
|
-
'./class-names': './src/entry-points/class-names.ts',
|
|
1195
|
-
'./embed-resize-message-listener': './src/entry-points/embed-resize-message-listener.ts',
|
|
1196
|
-
'./enums': './src/entry-points/enums.ts',
|
|
1197
|
-
'./expanded-frame': './src/entry-points/expanded-frame.ts',
|
|
1198
|
-
'./flexible/assigned-to-element': './src/entry-points/flexible-assigned-to-element.tsx',
|
|
1199
|
-
'./flexible/assigned-to-group-element': './src/entry-points/flexible-assigned-to-group-element.tsx',
|
|
1200
|
-
'./flexible/attachment-count-element': './src/entry-points/flexible-attachment-count-element.tsx',
|
|
1201
|
-
'./flexible/author-group-element': './src/entry-points/flexible-author-group-element.tsx',
|
|
1202
|
-
'./flexible/checklist-progress-element': './src/entry-points/flexible-checklist-progress-element.tsx',
|
|
1203
|
-
'./flexible/collaborator-group-element': './src/entry-points/flexible-collaborator-group-element.tsx',
|
|
1204
|
-
'./flexible/comment-count-element': './src/entry-points/flexible-comment-count-element.tsx',
|
|
1205
|
-
'./flexible/copy-link-action': './src/entry-points/flexible-copy-link-action.tsx',
|
|
1206
|
-
'./flexible/created-by-element': './src/entry-points/flexible-created-by-element.tsx',
|
|
1207
|
-
'./flexible/created-on-element': './src/entry-points/flexible-created-on-element.tsx',
|
|
1208
|
-
'./flexible/custom-action': './src/entry-points/flexible-custom-action.tsx',
|
|
1209
|
-
'./flexible/custom-block': './src/entry-points/flexible-custom-block.ts',
|
|
1210
|
-
'./flexible/custom-by-access-type-element': './src/entry-points/flexible-custom-by-access-type-element.ts',
|
|
1211
|
-
'./flexible/custom-by-status-element': './src/entry-points/flexible-custom-by-status-element.ts',
|
|
1212
|
-
'./flexible/custom-unresolved-action': './src/entry-points/flexible-custom-unresolved-action.ts',
|
|
1213
|
-
'./flexible/download-action': './src/entry-points/flexible-download-action.tsx',
|
|
1214
|
-
'./flexible/due-on-element': './src/entry-points/flexible-due-on-element.tsx',
|
|
1215
|
-
'./flexible/follow-action': './src/entry-points/flexible-follow-action.tsx',
|
|
1216
|
-
'./flexible/footer-block': './src/entry-points/flexible-footer-block.ts',
|
|
1217
|
-
'./flexible/latest-commit-element': './src/entry-points/flexible-latest-commit-element.tsx',
|
|
1218
|
-
'./flexible/link-icon-element': './src/entry-points/flexible-link-icon-element.tsx',
|
|
1219
|
-
'./flexible/location-element': './src/entry-points/flexible-location-element.tsx',
|
|
1220
|
-
'./flexible/metadata-block': './src/entry-points/flexible-metadata-block.ts',
|
|
1221
|
-
'./flexible/modified-by-element': './src/entry-points/flexible-modified-by-element.tsx',
|
|
1222
|
-
'./flexible/modified-on-element': './src/entry-points/flexible-modified-on-element.tsx',
|
|
1223
|
-
'./flexible/owned-by-element': './src/entry-points/flexible-owned-by-element.tsx',
|
|
1224
|
-
'./flexible/owned-by-group-element': './src/entry-points/flexible-owned-by-group-element.tsx',
|
|
1225
|
-
'./flexible/preview-action': './src/entry-points/flexible-preview-action.tsx',
|
|
1226
|
-
'./flexible/preview-block': './src/entry-points/flexible-preview-block.ts',
|
|
1227
|
-
'./flexible/preview-element': './src/entry-points/flexible-preview-element.tsx',
|
|
1228
|
-
'./flexible/priority-element': './src/entry-points/flexible-priority-element.tsx',
|
|
1229
|
-
'./flexible/programming-language-element': './src/entry-points/flexible-programming-language-element.tsx',
|
|
1230
|
-
'./flexible/provider-element': './src/entry-points/flexible-provider-element.tsx',
|
|
1231
|
-
'./flexible/react-count-element': './src/entry-points/flexible-react-count-element.tsx',
|
|
1232
|
-
'./flexible/read-time-element': './src/entry-points/flexible-read-time-element.tsx',
|
|
1233
|
-
'./flexible/sent-on-element': './src/entry-points/flexible-sent-on-element.tsx',
|
|
1234
|
-
'./flexible/snippet-block': './src/entry-points/flexible-snippet-block.ts',
|
|
1235
|
-
'./flexible/snippet-element': './src/entry-points/flexible-snippet-element.tsx',
|
|
1236
|
-
'./flexible/source-branch-element': './src/entry-points/flexible-source-branch-element.tsx',
|
|
1237
|
-
'./flexible/state-element': './src/entry-points/flexible-state-element.tsx',
|
|
1238
|
-
'./flexible/story-points-element': './src/entry-points/flexible-story-points-element.tsx',
|
|
1239
|
-
'./flexible/sub-tasks-progress-element': './src/entry-points/flexible-sub-tasks-progress-element.tsx',
|
|
1240
|
-
'./flexible/subscriber-count-element': './src/entry-points/flexible-subscriber-count-element.tsx',
|
|
1241
|
-
'./flexible/target-branch-element': './src/entry-points/flexible-target-branch-element.tsx',
|
|
1242
|
-
'./flexible/title-block': './src/entry-points/flexible-title-block.ts',
|
|
1243
|
-
'./flexible/title-element': './src/entry-points/flexible-title-element.tsx',
|
|
1244
|
-
'./flexible/types': './src/entry-points/flexible-types.ts',
|
|
1245
|
-
'./flexible/unresolved-action': './src/entry-points/flexible-unresolved-action.tsx',
|
|
1246
|
-
'./flexible/view-count-element': './src/entry-points/flexible-view-count-element.tsx',
|
|
1247
|
-
'./flexible/vote-count-element': './src/entry-points/flexible-vote-count-element.tsx',
|
|
1248
|
-
'./hook/use-smart-link-actions': './src/entry-points/hook-use-smart-link-actions.ts',
|
|
1249
|
-
'./hook/use-smart-link-destination-url': './src/entry-points/hook-use-smart-link-destination-url.ts',
|
|
1250
|
-
'./hook/use-smart-link-events': './src/entry-points/hook-use-smart-link-events.ts',
|
|
1251
|
-
'./hook/use-smart-link-reload': './src/entry-points/hook-use-smart-link-reload.ts',
|
|
1252
|
-
'./hover': './src/entry-points/hover.ts',
|
|
1253
|
-
'./hover/types': './src/entry-points/hover-types.ts',
|
|
1254
|
-
'./link': './src/entry-points/link.ts',
|
|
1255
|
-
'./link/types': './src/entry-points/link-types.ts',
|
|
1256
|
-
'./ssr': './src/entry-points/ssr.ts',
|
|
1257
|
-
'./types': './src/types.ts',
|
|
1258
|
-
'./hooks': './src/hooks.ts',
|
|
1259
|
-
'./hover-card': './src/hoverCard.ts',
|
|
1260
|
-
'./link-url': './src/linkUrl.ts',
|
|
1261
|
-
'./preload-lazy-card-with-url-content': './src/preloadLazyCardWithUrlContent.ts',
|
|
1262
|
-
'./i18n/*': {
|
|
1263
|
-
publish: null,
|
|
1264
|
-
default: './src/i18n/*.ts'
|
|
1265
|
-
},
|
|
1266
|
-
'.': './src/index.ts'
|
|
1267
|
-
},
|
|
1268
|
-
'platform-feature-flags': {
|
|
1269
|
-
platform_navx_3298_message_wrapper: {
|
|
1270
|
-
type: 'boolean'
|
|
1271
|
-
},
|
|
1272
|
-
platform_lp_use_entity_icon_url_for_icon: {
|
|
1273
|
-
type: 'boolean'
|
|
1274
|
-
},
|
|
1275
|
-
'platform_bandicoots-smartlink-unresolved-error-key': {
|
|
1276
|
-
type: 'boolean'
|
|
1277
|
-
},
|
|
1278
|
-
'platform-smart-card-shift-key': {
|
|
1279
|
-
type: 'boolean'
|
|
1280
|
-
},
|
|
1281
|
-
'confluence-issue-terminology-refresh': {
|
|
1282
|
-
type: 'boolean'
|
|
1283
|
-
},
|
|
1284
|
-
platform_editor_content_mode_button_mvp: {
|
|
1285
|
-
type: 'boolean'
|
|
1286
|
-
},
|
|
1287
|
-
'product-terminology-refresh': {
|
|
1288
|
-
type: 'boolean'
|
|
1289
|
-
},
|
|
1290
|
-
platform_smartlink_3pclick_analytics: {
|
|
1291
|
-
type: 'boolean'
|
|
1292
|
-
},
|
|
1293
|
-
platform_smartlink_xpc_url_wrapping: {
|
|
1294
|
-
type: 'boolean'
|
|
1295
|
-
},
|
|
1296
|
-
platform_smartlink_xpc_url_wrapping_window_existed: {
|
|
1297
|
-
type: 'boolean'
|
|
1298
|
-
},
|
|
1299
|
-
'navx-1895-new-logo-design': {
|
|
1300
|
-
type: 'boolean'
|
|
1301
|
-
},
|
|
1302
|
-
'jfp-magma-platform-lozenge-jump-fix': {
|
|
1303
|
-
type: 'boolean'
|
|
1304
|
-
},
|
|
1305
|
-
platform_sl_3p_auth_rovo_action_kill_switch: {
|
|
1306
|
-
type: 'boolean'
|
|
1307
|
-
},
|
|
1308
|
-
platform_sl_connect_account_flag: {
|
|
1309
|
-
type: 'boolean'
|
|
1310
|
-
},
|
|
1311
|
-
'platform-dst-shape-theme-default': {
|
|
1312
|
-
type: 'boolean'
|
|
1313
|
-
},
|
|
1314
|
-
'jpx-1074-smart-links-iframe': {
|
|
1315
|
-
type: 'boolean'
|
|
1316
|
-
},
|
|
1317
|
-
platform_sl_3p_preauth_better_hovercard_killswitch: {
|
|
1318
|
-
type: 'boolean'
|
|
1319
|
-
},
|
|
1320
|
-
platform_sl_3p_preauth_soc_proof_inline_killswitch: {
|
|
1321
|
-
type: 'boolean'
|
|
1322
|
-
},
|
|
1323
|
-
platform_lp_social_proof_inline_overflow_bug: {
|
|
1324
|
-
type: 'boolean'
|
|
1325
|
-
},
|
|
1326
|
-
platform_navx_smart_link_icon_label_a11y: {
|
|
1327
|
-
type: 'boolean'
|
|
1328
|
-
},
|
|
1329
|
-
billplat_a11y_icon_label_fix: {
|
|
1330
|
-
type: 'boolean',
|
|
1331
|
-
referenceOnly: true
|
|
1332
|
-
},
|
|
1333
|
-
'platform-dst-lozenge-tag-badge-visual-uplifts': {
|
|
1334
|
-
type: 'boolean'
|
|
1335
|
-
},
|
|
1336
|
-
'smart-card-inline-resolved-view-refactor': {
|
|
1337
|
-
type: 'boolean'
|
|
1338
|
-
},
|
|
1339
|
-
platform_sl_3p_auth_rovo_embed_footer_kill_switch: {
|
|
1340
|
-
type: 'boolean'
|
|
1341
|
-
},
|
|
1342
|
-
platform_sl_3p_auth_rovo_embed_footer_exp: {
|
|
1343
|
-
type: 'boolean',
|
|
1344
|
-
referenceOnly: true
|
|
1345
|
-
},
|
|
1346
|
-
'dfo-fix-preview-dynamic-style': {
|
|
1347
|
-
type: 'boolean'
|
|
1348
|
-
},
|
|
1349
|
-
platform_sl_icons_refactor: {
|
|
1350
|
-
type: 'boolean'
|
|
1351
|
-
},
|
|
1352
|
-
'social-proof-3p-unauth-block-fg': {
|
|
1353
|
-
type: 'boolean'
|
|
1354
|
-
},
|
|
1355
|
-
platform_sl_incoming_outgoing_tenant_info_killswitch: {
|
|
1356
|
-
type: 'boolean'
|
|
1357
|
-
},
|
|
1358
|
-
platform_navx_block_card_footer_spacing: {
|
|
1359
|
-
type: 'boolean'
|
|
1360
|
-
},
|
|
1361
|
-
'navx-4957-sl-embed-modal-a11y-label': {
|
|
1362
|
-
type: 'boolean'
|
|
1363
|
-
},
|
|
1364
|
-
platform_sl_3p_post_auth_chat_open_fg: {
|
|
1365
|
-
type: 'boolean'
|
|
1366
|
-
},
|
|
1367
|
-
platform_sl_3p_auth_inline_tailored_cta_killswitch: {
|
|
1368
|
-
type: 'boolean'
|
|
1369
|
-
},
|
|
1370
|
-
platform_smartlink_inline_resolve_optimization: {
|
|
1371
|
-
type: 'boolean'
|
|
1372
|
-
},
|
|
1373
|
-
dfo_issue_view_remote_data_srr_group: {
|
|
1374
|
-
type: 'boolean'
|
|
1375
|
-
}
|
|
1376
|
-
},
|
|
1377
|
-
compassUnitTestMetricSourceId: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/f74ef1bc-7240-4aac-9dc8-9dc43b502089'
|
|
1378
|
-
}
|
|
1379
|
-
},
|
|
1380
262
|
package: '@atlaskit/smart-card',
|
|
1381
263
|
examples: ["import React, { useCallback } from 'react';\nimport Button from '@atlaskit/button/new';\nimport { SmartCardProvider } from '@atlaskit/link-provider';\nimport { ResolvedClient, ResolvedClientUrl } from '@atlaskit/link-test-helpers';\nimport { Box } from '@atlaskit/primitives/compiled';\nimport { Card } from '../../src';\nimport { CardAction } from '../../src/constants';\nimport { useSmartLinkActions } from '../../src/hooks';\nimport ExampleContainer from './example-container';\nconst PreviewButton = ({ url }: { url: string }) => {\n\tconst actions = useSmartLinkActions({ url, appearance: 'block' });\n\t// actions are returned in an array, find the preview action\n\tconst previewAction = actions.find((action) => action.id === 'preview-content');\n\tconst handleClick = useCallback(() => {\n\t\tif (previewAction) {\n\t\t\tpreviewAction.invoke();\n\t\t}\n\t}, [previewAction]);\n\tif (!previewAction) {\n\t\treturn null;\n\t}\n\treturn <Button onClick={handleClick}>{previewAction.text}</Button>;\n};\nconst UseSmartLinkActionsExample = (): React.JSX.Element => (\n\t<ExampleContainer>\n\t\t<SmartCardProvider client={new ResolvedClient()}>\n\t\t\t<Card\n\t\t\t\tappearance=\"block\"\n\t\t\t\turl={ResolvedClientUrl}\n\t\t\t\tactionOptions={{ hide: false, exclude: [CardAction.PreviewAction] }}\n\t\t\t/>\n\t\t\t<Box paddingBlockStart=\"space.200\">\n\t\t\t\t<PreviewButton url={ResolvedClientUrl} />\n\t\t\t</Box>\n\t\t</SmartCardProvider>\n\t</ExampleContainer>\n);\nexport default UseSmartLinkActionsExample;"]
|
|
1382
264
|
}, {
|
|
@@ -1387,362 +269,6 @@ var atlaskitHooks = exports.atlaskitHooks = [{
|
|
|
1387
269
|
accessibilityGuidelines: ['Use analytics events to understand usage; ensure event wiring does not change focus, interrupt screen readers, or alter semantics.'],
|
|
1388
270
|
keywords: ['smart-card', 'hooks', 'analytics', 'useSmartLinkEvents', 'events'],
|
|
1389
271
|
category: 'linking',
|
|
1390
|
-
import: {
|
|
1391
|
-
name: 'useSmartLinkEvents',
|
|
1392
|
-
package: '@atlaskit/smart-card',
|
|
1393
|
-
type: 'named',
|
|
1394
|
-
packagePath: '/Users/khall2/.codex/worktrees/bd80/atlassian-frontend-monorepo/platform/packages/linking-platform/smart-card',
|
|
1395
|
-
packageJson: {
|
|
1396
|
-
name: '@atlaskit/smart-card',
|
|
1397
|
-
version: '45.6.0',
|
|
1398
|
-
description: 'Smart card component',
|
|
1399
|
-
publishConfig: {
|
|
1400
|
-
registry: 'https://registry.npmjs.org/'
|
|
1401
|
-
},
|
|
1402
|
-
repository: 'https://bitbucket.org/atlassian/atlassian-frontend-mirror',
|
|
1403
|
-
author: 'Atlassian Pty Ltd',
|
|
1404
|
-
license: 'Apache-2.0',
|
|
1405
|
-
main: 'dist/cjs/index.js',
|
|
1406
|
-
module: 'dist/esm/index.js',
|
|
1407
|
-
'module:es2019': 'dist/es2019/index.js',
|
|
1408
|
-
types: 'dist/types/index.d.ts',
|
|
1409
|
-
sideEffects: ['**/*.compiled.css'],
|
|
1410
|
-
'atlaskit:src': 'src/index.ts',
|
|
1411
|
-
atlassian: {
|
|
1412
|
-
i18n: true,
|
|
1413
|
-
'react-compiler': {
|
|
1414
|
-
enabled: true,
|
|
1415
|
-
gating: {
|
|
1416
|
-
source: '@atlaskit/react-compiler-gating',
|
|
1417
|
-
importSpecifierName: 'isReactCompilerActivePlatform'
|
|
1418
|
-
}
|
|
1419
|
-
},
|
|
1420
|
-
team: 'Navigation Experiences - Linking Platform',
|
|
1421
|
-
website: {
|
|
1422
|
-
name: 'Smart Card'
|
|
1423
|
-
}
|
|
1424
|
-
},
|
|
1425
|
-
scripts: {
|
|
1426
|
-
'analytics:codegen': 'yarn workspace @atlassian/analytics-tooling run analytics:codegen smart-card --output ./src/common/analytics/generated',
|
|
1427
|
-
'ak-postbuild': 'ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.{svg,png}'
|
|
1428
|
-
},
|
|
1429
|
-
dependencies: {
|
|
1430
|
-
'@atlaskit/adf-utils': 'workspace:^',
|
|
1431
|
-
'@atlaskit/afm-i18n-platform-linking-platform-smart-card': 'root:*',
|
|
1432
|
-
'@atlaskit/analytics-cross-product': 'workspace:^',
|
|
1433
|
-
'@atlaskit/analytics-gas-types': 'workspace:^',
|
|
1434
|
-
'@atlaskit/analytics-next': 'workspace:^',
|
|
1435
|
-
'@atlaskit/avatar': 'workspace:^',
|
|
1436
|
-
'@atlaskit/avatar-group': 'workspace:^',
|
|
1437
|
-
'@atlaskit/badge': 'workspace:^',
|
|
1438
|
-
'@atlaskit/browser-apis': 'workspace:^',
|
|
1439
|
-
'@atlaskit/button': 'workspace:^',
|
|
1440
|
-
'@atlaskit/checkbox': 'workspace:^',
|
|
1441
|
-
'@atlaskit/css': 'workspace:^',
|
|
1442
|
-
'@atlaskit/dropdown-menu': 'workspace:^',
|
|
1443
|
-
'@atlaskit/embedded-confluence': 'workspace:^',
|
|
1444
|
-
'@atlaskit/feature-gate-js-client': 'workspace:^',
|
|
1445
|
-
'@atlaskit/flag': 'workspace:^',
|
|
1446
|
-
'@atlaskit/form': 'workspace:^',
|
|
1447
|
-
'@atlaskit/frontend-utilities': 'workspace:^',
|
|
1448
|
-
'@atlaskit/heading': 'workspace:^',
|
|
1449
|
-
'@atlaskit/icon': 'workspace:^',
|
|
1450
|
-
'@atlaskit/icon-file-type': 'workspace:^',
|
|
1451
|
-
'@atlaskit/icon-lab': 'workspace:^',
|
|
1452
|
-
'@atlaskit/image': 'workspace:^',
|
|
1453
|
-
'@atlaskit/json-ld-types': 'workspace:^',
|
|
1454
|
-
'@atlaskit/link': 'workspace:^',
|
|
1455
|
-
'@atlaskit/link-analytics': 'workspace:^',
|
|
1456
|
-
'@atlaskit/link-client-extension': 'workspace:^',
|
|
1457
|
-
'@atlaskit/link-extractors': 'workspace:^',
|
|
1458
|
-
'@atlaskit/link-test-helpers': 'workspace:^',
|
|
1459
|
-
'@atlaskit/linking-common': 'workspace:^',
|
|
1460
|
-
'@atlaskit/linking-types': 'workspace:^',
|
|
1461
|
-
'@atlaskit/logo': 'workspace:^',
|
|
1462
|
-
'@atlaskit/lozenge': 'workspace:^',
|
|
1463
|
-
'@atlaskit/menu': 'workspace:^',
|
|
1464
|
-
'@atlaskit/modal-dialog': 'workspace:^',
|
|
1465
|
-
'@atlaskit/motion': 'workspace:^',
|
|
1466
|
-
'@atlaskit/object': 'workspace:^',
|
|
1467
|
-
'@atlaskit/outbound-auth-flow-client': 'workspace:^',
|
|
1468
|
-
'@atlaskit/platform-feature-flags': 'workspace:^',
|
|
1469
|
-
'@atlaskit/platform-feature-flags-react': 'workspace:^',
|
|
1470
|
-
'@atlaskit/popup': 'workspace:^',
|
|
1471
|
-
'@atlaskit/primitives': 'workspace:^',
|
|
1472
|
-
'@atlaskit/react-compiler-gating': 'workspace:^',
|
|
1473
|
-
'@atlaskit/react-ufo': 'workspace:^',
|
|
1474
|
-
'@atlaskit/rovo-triggers': 'workspace:^',
|
|
1475
|
-
'@atlaskit/section-message': 'workspace:^',
|
|
1476
|
-
'@atlaskit/select': 'workspace:^',
|
|
1477
|
-
'@atlaskit/spinner': 'workspace:^',
|
|
1478
|
-
'@atlaskit/tag': 'workspace:^',
|
|
1479
|
-
'@atlaskit/textarea': 'workspace:^',
|
|
1480
|
-
'@atlaskit/textfield': 'workspace:^',
|
|
1481
|
-
'@atlaskit/theme': 'workspace:^',
|
|
1482
|
-
'@atlaskit/tile': 'workspace:^',
|
|
1483
|
-
'@atlaskit/tmp-editor-statsig': 'workspace:^',
|
|
1484
|
-
'@atlaskit/tokens': 'workspace:^',
|
|
1485
|
-
'@atlaskit/tooltip': 'workspace:^',
|
|
1486
|
-
'@atlaskit/ufo': 'workspace:^',
|
|
1487
|
-
'@atlaskit/width-detector': 'workspace:^',
|
|
1488
|
-
'@babel/runtime': 'root:*',
|
|
1489
|
-
'@compiled/react': 'root:*',
|
|
1490
|
-
'@formatjs/intl-utils': 'root:*',
|
|
1491
|
-
facepaint: 'root:*',
|
|
1492
|
-
lru_map: 'root:*',
|
|
1493
|
-
'markdown-to-jsx': 'root:*',
|
|
1494
|
-
'react-error-boundary': 'root:*',
|
|
1495
|
-
'react-lazily-render': 'root:*',
|
|
1496
|
-
'react-loadable': 'root:*',
|
|
1497
|
-
'react-magnetic-di': 'root:*',
|
|
1498
|
-
'react-render-image': 'root:*',
|
|
1499
|
-
'use-sync-external-store': 'root:*',
|
|
1500
|
-
uuid: 'root:*'
|
|
1501
|
-
},
|
|
1502
|
-
peerDependencies: {
|
|
1503
|
-
'@atlaskit/link-provider': 'workspace:^',
|
|
1504
|
-
react: '^18.2.0',
|
|
1505
|
-
'react-dom': '^18.2.0',
|
|
1506
|
-
'react-intl': '^5.25.1 || ^6.0.0 || ^7.0.0'
|
|
1507
|
-
},
|
|
1508
|
-
devDependencies: {
|
|
1509
|
-
'@af/integration-testing': 'workspace:^',
|
|
1510
|
-
'@af/visual-regression': 'workspace:^',
|
|
1511
|
-
'@atlaskit/analytics-listeners': 'workspace:^',
|
|
1512
|
-
'@atlaskit/css-reset': 'workspace:^',
|
|
1513
|
-
'@atlaskit/media-test-helpers': 'workspace:^',
|
|
1514
|
-
'@atlaskit/ssr': 'workspace:^',
|
|
1515
|
-
'@atlassian/a11y-jest-testing': 'workspace:^',
|
|
1516
|
-
'@atlassian/analytics-tooling': 'workspace:^',
|
|
1517
|
-
'@atlassian/feature-flags-test-utils': 'workspace:^',
|
|
1518
|
-
'@atlassian/gemini': 'workspace:^',
|
|
1519
|
-
'@atlassian/structured-docs-types': 'workspace:^',
|
|
1520
|
-
'@atlassian/testing-library': 'workspace:^',
|
|
1521
|
-
'@testing-library/dom': 'root:*',
|
|
1522
|
-
'@testing-library/jest-dom': 'root:*',
|
|
1523
|
-
'@types/facepaint': 'root:*',
|
|
1524
|
-
'@types/lorem-ipsum': 'root:*',
|
|
1525
|
-
'@types/react': 'root:*',
|
|
1526
|
-
'@types/react-loadable': 'root:*',
|
|
1527
|
-
'@types/use-sync-external-store': 'root:*',
|
|
1528
|
-
'abortcontroller-polyfill': 'root:*',
|
|
1529
|
-
brace: 'root:*',
|
|
1530
|
-
'fetch-mock': 'root:*',
|
|
1531
|
-
'jest-extended': 'root:*',
|
|
1532
|
-
'jest-fetch-mock': 'root:*',
|
|
1533
|
-
'jest-mock': 'root:*',
|
|
1534
|
-
jsdom: 'root:*',
|
|
1535
|
-
'lorem-ipsum': 'root:*',
|
|
1536
|
-
react: 'root:*',
|
|
1537
|
-
'react-ace': 'root:*',
|
|
1538
|
-
'react-beautiful-dnd': 'root:*',
|
|
1539
|
-
'react-dom': 'root:*',
|
|
1540
|
-
'react-intl': 'root:*',
|
|
1541
|
-
'react-test-renderer': 'root:*',
|
|
1542
|
-
'ts-jest': 'root:*',
|
|
1543
|
-
'xhr-mock': 'root:*'
|
|
1544
|
-
},
|
|
1545
|
-
techstack: {
|
|
1546
|
-
'@repo/internal': {
|
|
1547
|
-
'design-tokens': ['color', 'spacing'],
|
|
1548
|
-
styling: ['compiled']
|
|
1549
|
-
},
|
|
1550
|
-
'@atlassian/frontend': {
|
|
1551
|
-
'import-structure': ['atlassian-conventions'],
|
|
1552
|
-
'circular-dependencies': ['file-and-folder-level']
|
|
1553
|
-
}
|
|
1554
|
-
},
|
|
1555
|
-
exports: {
|
|
1556
|
-
'./analytics': './src/entry-points/analytics.ts',
|
|
1557
|
-
'./analytics/types': './src/entry-points/analytics-types.ts',
|
|
1558
|
-
'./card/lazy': './src/entry-points/card-lazy.ts',
|
|
1559
|
-
'./card/types': './src/entry-points/card-types.ts',
|
|
1560
|
-
'./class-names': './src/entry-points/class-names.ts',
|
|
1561
|
-
'./embed-resize-message-listener': './src/entry-points/embed-resize-message-listener.ts',
|
|
1562
|
-
'./enums': './src/entry-points/enums.ts',
|
|
1563
|
-
'./expanded-frame': './src/entry-points/expanded-frame.ts',
|
|
1564
|
-
'./flexible/assigned-to-element': './src/entry-points/flexible-assigned-to-element.tsx',
|
|
1565
|
-
'./flexible/assigned-to-group-element': './src/entry-points/flexible-assigned-to-group-element.tsx',
|
|
1566
|
-
'./flexible/attachment-count-element': './src/entry-points/flexible-attachment-count-element.tsx',
|
|
1567
|
-
'./flexible/author-group-element': './src/entry-points/flexible-author-group-element.tsx',
|
|
1568
|
-
'./flexible/checklist-progress-element': './src/entry-points/flexible-checklist-progress-element.tsx',
|
|
1569
|
-
'./flexible/collaborator-group-element': './src/entry-points/flexible-collaborator-group-element.tsx',
|
|
1570
|
-
'./flexible/comment-count-element': './src/entry-points/flexible-comment-count-element.tsx',
|
|
1571
|
-
'./flexible/copy-link-action': './src/entry-points/flexible-copy-link-action.tsx',
|
|
1572
|
-
'./flexible/created-by-element': './src/entry-points/flexible-created-by-element.tsx',
|
|
1573
|
-
'./flexible/created-on-element': './src/entry-points/flexible-created-on-element.tsx',
|
|
1574
|
-
'./flexible/custom-action': './src/entry-points/flexible-custom-action.tsx',
|
|
1575
|
-
'./flexible/custom-block': './src/entry-points/flexible-custom-block.ts',
|
|
1576
|
-
'./flexible/custom-by-access-type-element': './src/entry-points/flexible-custom-by-access-type-element.ts',
|
|
1577
|
-
'./flexible/custom-by-status-element': './src/entry-points/flexible-custom-by-status-element.ts',
|
|
1578
|
-
'./flexible/custom-unresolved-action': './src/entry-points/flexible-custom-unresolved-action.ts',
|
|
1579
|
-
'./flexible/download-action': './src/entry-points/flexible-download-action.tsx',
|
|
1580
|
-
'./flexible/due-on-element': './src/entry-points/flexible-due-on-element.tsx',
|
|
1581
|
-
'./flexible/follow-action': './src/entry-points/flexible-follow-action.tsx',
|
|
1582
|
-
'./flexible/footer-block': './src/entry-points/flexible-footer-block.ts',
|
|
1583
|
-
'./flexible/latest-commit-element': './src/entry-points/flexible-latest-commit-element.tsx',
|
|
1584
|
-
'./flexible/link-icon-element': './src/entry-points/flexible-link-icon-element.tsx',
|
|
1585
|
-
'./flexible/location-element': './src/entry-points/flexible-location-element.tsx',
|
|
1586
|
-
'./flexible/metadata-block': './src/entry-points/flexible-metadata-block.ts',
|
|
1587
|
-
'./flexible/modified-by-element': './src/entry-points/flexible-modified-by-element.tsx',
|
|
1588
|
-
'./flexible/modified-on-element': './src/entry-points/flexible-modified-on-element.tsx',
|
|
1589
|
-
'./flexible/owned-by-element': './src/entry-points/flexible-owned-by-element.tsx',
|
|
1590
|
-
'./flexible/owned-by-group-element': './src/entry-points/flexible-owned-by-group-element.tsx',
|
|
1591
|
-
'./flexible/preview-action': './src/entry-points/flexible-preview-action.tsx',
|
|
1592
|
-
'./flexible/preview-block': './src/entry-points/flexible-preview-block.ts',
|
|
1593
|
-
'./flexible/preview-element': './src/entry-points/flexible-preview-element.tsx',
|
|
1594
|
-
'./flexible/priority-element': './src/entry-points/flexible-priority-element.tsx',
|
|
1595
|
-
'./flexible/programming-language-element': './src/entry-points/flexible-programming-language-element.tsx',
|
|
1596
|
-
'./flexible/provider-element': './src/entry-points/flexible-provider-element.tsx',
|
|
1597
|
-
'./flexible/react-count-element': './src/entry-points/flexible-react-count-element.tsx',
|
|
1598
|
-
'./flexible/read-time-element': './src/entry-points/flexible-read-time-element.tsx',
|
|
1599
|
-
'./flexible/sent-on-element': './src/entry-points/flexible-sent-on-element.tsx',
|
|
1600
|
-
'./flexible/snippet-block': './src/entry-points/flexible-snippet-block.ts',
|
|
1601
|
-
'./flexible/snippet-element': './src/entry-points/flexible-snippet-element.tsx',
|
|
1602
|
-
'./flexible/source-branch-element': './src/entry-points/flexible-source-branch-element.tsx',
|
|
1603
|
-
'./flexible/state-element': './src/entry-points/flexible-state-element.tsx',
|
|
1604
|
-
'./flexible/story-points-element': './src/entry-points/flexible-story-points-element.tsx',
|
|
1605
|
-
'./flexible/sub-tasks-progress-element': './src/entry-points/flexible-sub-tasks-progress-element.tsx',
|
|
1606
|
-
'./flexible/subscriber-count-element': './src/entry-points/flexible-subscriber-count-element.tsx',
|
|
1607
|
-
'./flexible/target-branch-element': './src/entry-points/flexible-target-branch-element.tsx',
|
|
1608
|
-
'./flexible/title-block': './src/entry-points/flexible-title-block.ts',
|
|
1609
|
-
'./flexible/title-element': './src/entry-points/flexible-title-element.tsx',
|
|
1610
|
-
'./flexible/types': './src/entry-points/flexible-types.ts',
|
|
1611
|
-
'./flexible/unresolved-action': './src/entry-points/flexible-unresolved-action.tsx',
|
|
1612
|
-
'./flexible/view-count-element': './src/entry-points/flexible-view-count-element.tsx',
|
|
1613
|
-
'./flexible/vote-count-element': './src/entry-points/flexible-vote-count-element.tsx',
|
|
1614
|
-
'./hook/use-smart-link-actions': './src/entry-points/hook-use-smart-link-actions.ts',
|
|
1615
|
-
'./hook/use-smart-link-destination-url': './src/entry-points/hook-use-smart-link-destination-url.ts',
|
|
1616
|
-
'./hook/use-smart-link-events': './src/entry-points/hook-use-smart-link-events.ts',
|
|
1617
|
-
'./hook/use-smart-link-reload': './src/entry-points/hook-use-smart-link-reload.ts',
|
|
1618
|
-
'./hover': './src/entry-points/hover.ts',
|
|
1619
|
-
'./hover/types': './src/entry-points/hover-types.ts',
|
|
1620
|
-
'./link': './src/entry-points/link.ts',
|
|
1621
|
-
'./link/types': './src/entry-points/link-types.ts',
|
|
1622
|
-
'./ssr': './src/entry-points/ssr.ts',
|
|
1623
|
-
'./types': './src/types.ts',
|
|
1624
|
-
'./hooks': './src/hooks.ts',
|
|
1625
|
-
'./hover-card': './src/hoverCard.ts',
|
|
1626
|
-
'./link-url': './src/linkUrl.ts',
|
|
1627
|
-
'./preload-lazy-card-with-url-content': './src/preloadLazyCardWithUrlContent.ts',
|
|
1628
|
-
'./i18n/*': {
|
|
1629
|
-
publish: null,
|
|
1630
|
-
default: './src/i18n/*.ts'
|
|
1631
|
-
},
|
|
1632
|
-
'.': './src/index.ts'
|
|
1633
|
-
},
|
|
1634
|
-
'platform-feature-flags': {
|
|
1635
|
-
platform_navx_3298_message_wrapper: {
|
|
1636
|
-
type: 'boolean'
|
|
1637
|
-
},
|
|
1638
|
-
platform_lp_use_entity_icon_url_for_icon: {
|
|
1639
|
-
type: 'boolean'
|
|
1640
|
-
},
|
|
1641
|
-
'platform_bandicoots-smartlink-unresolved-error-key': {
|
|
1642
|
-
type: 'boolean'
|
|
1643
|
-
},
|
|
1644
|
-
'platform-smart-card-shift-key': {
|
|
1645
|
-
type: 'boolean'
|
|
1646
|
-
},
|
|
1647
|
-
'confluence-issue-terminology-refresh': {
|
|
1648
|
-
type: 'boolean'
|
|
1649
|
-
},
|
|
1650
|
-
platform_editor_content_mode_button_mvp: {
|
|
1651
|
-
type: 'boolean'
|
|
1652
|
-
},
|
|
1653
|
-
'product-terminology-refresh': {
|
|
1654
|
-
type: 'boolean'
|
|
1655
|
-
},
|
|
1656
|
-
platform_smartlink_3pclick_analytics: {
|
|
1657
|
-
type: 'boolean'
|
|
1658
|
-
},
|
|
1659
|
-
platform_smartlink_xpc_url_wrapping: {
|
|
1660
|
-
type: 'boolean'
|
|
1661
|
-
},
|
|
1662
|
-
platform_smartlink_xpc_url_wrapping_window_existed: {
|
|
1663
|
-
type: 'boolean'
|
|
1664
|
-
},
|
|
1665
|
-
'navx-1895-new-logo-design': {
|
|
1666
|
-
type: 'boolean'
|
|
1667
|
-
},
|
|
1668
|
-
'jfp-magma-platform-lozenge-jump-fix': {
|
|
1669
|
-
type: 'boolean'
|
|
1670
|
-
},
|
|
1671
|
-
platform_sl_3p_auth_rovo_action_kill_switch: {
|
|
1672
|
-
type: 'boolean'
|
|
1673
|
-
},
|
|
1674
|
-
platform_sl_connect_account_flag: {
|
|
1675
|
-
type: 'boolean'
|
|
1676
|
-
},
|
|
1677
|
-
'platform-dst-shape-theme-default': {
|
|
1678
|
-
type: 'boolean'
|
|
1679
|
-
},
|
|
1680
|
-
'jpx-1074-smart-links-iframe': {
|
|
1681
|
-
type: 'boolean'
|
|
1682
|
-
},
|
|
1683
|
-
platform_sl_3p_preauth_better_hovercard_killswitch: {
|
|
1684
|
-
type: 'boolean'
|
|
1685
|
-
},
|
|
1686
|
-
platform_sl_3p_preauth_soc_proof_inline_killswitch: {
|
|
1687
|
-
type: 'boolean'
|
|
1688
|
-
},
|
|
1689
|
-
platform_lp_social_proof_inline_overflow_bug: {
|
|
1690
|
-
type: 'boolean'
|
|
1691
|
-
},
|
|
1692
|
-
platform_navx_smart_link_icon_label_a11y: {
|
|
1693
|
-
type: 'boolean'
|
|
1694
|
-
},
|
|
1695
|
-
billplat_a11y_icon_label_fix: {
|
|
1696
|
-
type: 'boolean',
|
|
1697
|
-
referenceOnly: true
|
|
1698
|
-
},
|
|
1699
|
-
'platform-dst-lozenge-tag-badge-visual-uplifts': {
|
|
1700
|
-
type: 'boolean'
|
|
1701
|
-
},
|
|
1702
|
-
'smart-card-inline-resolved-view-refactor': {
|
|
1703
|
-
type: 'boolean'
|
|
1704
|
-
},
|
|
1705
|
-
platform_sl_3p_auth_rovo_embed_footer_kill_switch: {
|
|
1706
|
-
type: 'boolean'
|
|
1707
|
-
},
|
|
1708
|
-
platform_sl_3p_auth_rovo_embed_footer_exp: {
|
|
1709
|
-
type: 'boolean',
|
|
1710
|
-
referenceOnly: true
|
|
1711
|
-
},
|
|
1712
|
-
'dfo-fix-preview-dynamic-style': {
|
|
1713
|
-
type: 'boolean'
|
|
1714
|
-
},
|
|
1715
|
-
platform_sl_icons_refactor: {
|
|
1716
|
-
type: 'boolean'
|
|
1717
|
-
},
|
|
1718
|
-
'social-proof-3p-unauth-block-fg': {
|
|
1719
|
-
type: 'boolean'
|
|
1720
|
-
},
|
|
1721
|
-
platform_sl_incoming_outgoing_tenant_info_killswitch: {
|
|
1722
|
-
type: 'boolean'
|
|
1723
|
-
},
|
|
1724
|
-
platform_navx_block_card_footer_spacing: {
|
|
1725
|
-
type: 'boolean'
|
|
1726
|
-
},
|
|
1727
|
-
'navx-4957-sl-embed-modal-a11y-label': {
|
|
1728
|
-
type: 'boolean'
|
|
1729
|
-
},
|
|
1730
|
-
platform_sl_3p_post_auth_chat_open_fg: {
|
|
1731
|
-
type: 'boolean'
|
|
1732
|
-
},
|
|
1733
|
-
platform_sl_3p_auth_inline_tailored_cta_killswitch: {
|
|
1734
|
-
type: 'boolean'
|
|
1735
|
-
},
|
|
1736
|
-
platform_smartlink_inline_resolve_optimization: {
|
|
1737
|
-
type: 'boolean'
|
|
1738
|
-
},
|
|
1739
|
-
dfo_issue_view_remote_data_srr_group: {
|
|
1740
|
-
type: 'boolean'
|
|
1741
|
-
}
|
|
1742
|
-
},
|
|
1743
|
-
compassUnitTestMetricSourceId: 'ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/f74ef1bc-7240-4aac-9dc8-9dc43b502089'
|
|
1744
|
-
}
|
|
1745
|
-
},
|
|
1746
272
|
package: '@atlaskit/smart-card',
|
|
1747
273
|
examples: ["import {\n\tAnalyticsContext,\n\tAnalyticsListener,\n\ttype UIAnalyticsEvent,\n} from '@atlaskit/analytics-next';\nimport Heading from '@atlaskit/heading';\nimport { SmartCardProvider } from '@atlaskit/link-provider';\nimport { ResolvedClient, ResolvedClientUrl } from '@atlaskit/link-test-helpers';\nimport { Box, Text, xcss } from '@atlaskit/primitives';\nimport { Card } from '../../src';\nconst headingBoxStyles = xcss({\n\tmarginBottom: 'space.100',\n});\nconst stackBoxStyles = xcss({\n\tmarginTop: 'space.100',\n});\ntype ExampleComponentProps = {\n\tsetRecentEvents: React.Dispatch<React.SetStateAction<UIAnalyticsEvent[]>>;\n};\nconst ExampleComponent = ({ setRecentEvents }: ExampleComponentProps): JSX.Element => {\n\tconst handleOnClick = React.useCallback(\n\t\t(e: React.MouseEvent<Element, MouseEvent> | React.KeyboardEvent<Element>) => {\n\t\t\te.preventDefault();\n\t\t\treturn;\n\t\t},\n\t\t[],\n\t);\n\treturn (\n\t\t<AnalyticsListener\n\t\t\tonEvent={(event) => {\n\t\t\t\tsetRecentEvents((prevEvents) => [...prevEvents, event]);\n\t\t\t}}\n\t\t\tchannel=\"*\"\n\t\t>\n\t\t\t<AnalyticsContext\n\t\t\t\tdata={{\n\t\t\t\t\tsource: 'content',\n\t\t\t\t\tattributes: {\n\t\t\t\t\t\tdisplayCategory: 'link',\n\t\t\t\t\t\tdisplay: 'url',\n\t\t\t\t\t\tid: '123',\n\t\t\t\t\t},\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t<SmartCardProvider client={new ResolvedClient('dev')}>\n\t\t\t\t\t<Card\n\t\t\t\t\t\turl={ResolvedClientUrl}\n\t\t\t\t\t\tappearance=\"inline\"\n\t\t\t\t\t\tplatform=\"web\"\n\t\t\t\t\t\tshowHoverPreview={true}\n\t\t\t\t\t\tonClick={handleOnClick}\n\t\t\t\t\t/>\n\t\t\t\t</SmartCardProvider>\n\t\t\t</AnalyticsContext>\n\t\t</AnalyticsListener>\n\t);\n};\nexport default (): React.JSX.Element => {\n\tconst [recentEvents, setRecentEvents] = React.useState<UIAnalyticsEvent[]>([]);\n\tconst mostRecent10Events = React.useMemo(() => {\n\t\treturn Array.from({ length: 10 }, (_, i) => {\n\t\t\treturn recentEvents.at(recentEvents.length - i - 1);\n\t\t});\n\t}, [recentEvents]);\n\treturn (\n\t\t<Box>\n\t\t\t<Box xcss={headingBoxStyles}>\n\t\t\t\t<Heading size=\"medium\">Interact with the link below and see events being fired</Heading>\n\t\t\t</Box>\n\t\t\t<ExampleComponent setRecentEvents={setRecentEvents} />\n\t\t\t<Box xcss={stackBoxStyles}>\n\t\t\t\t<Heading size=\"small\">The 10 Most Recent Events Fired</Heading>\n\t\t\t\t<ol>\n\t\t\t\t\t{mostRecent10Events.map((event, index) => {\n\t\t\t\t\t\tif (event === undefined) {\n\t\t\t\t\t\t\treturn <li key={index}></li>;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tconst { action, actionSubject, eventType } = event.payload;\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<li key={index}>\n\t\t\t\t\t\t\t\t<Text\n\t\t\t\t\t\t\t\t\tkey={index}\n\t\t\t\t\t\t\t\t>{`actionSubject: ${actionSubject}, action: ${action}, eventType: ${eventType}`}</Text>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t</ol>\n\t\t\t</Box>\n\t\t</Box>\n\t);\n};"]
|
|
1748
274
|
}];
|