@atlaskit/smart-card 43.1.7 → 43.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 43.1.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [`6b483642e86d0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6b483642e86d0) -
8
+ Change the analytics "display" value for connection actions to be "url" instead of "hyperlink" for
9
+ consistency
10
+
11
+ ## 43.1.8
12
+
13
+ ### Patch Changes
14
+
15
+ - [`57d4a5b7703ef`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/57d4a5b7703ef) -
16
+ Cleans up platform_renderer_blindspots
17
+ - Updated dependencies
18
+
3
19
  ## 43.1.7
4
20
 
5
21
  ### Patch Changes
@@ -6321,7 +6337,6 @@
6321
6337
 
6322
6338
  - [#32793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32793)
6323
6339
  [`9c49eef4c87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c49eef4c87) - [ux]
6324
-
6325
6340
  - Add lozenge action to hover preview (wip, opt-in, feature flag)
6326
6341
  - Fix hover preview's action dropdown menu showing behind container
6327
6342
  - Allow setting z-index for portal component inside flexible smart links
@@ -7421,7 +7436,6 @@
7421
7436
  - [#24442](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24442)
7422
7437
  [`d0b3a262e03`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d0b3a262e03) - [ux]
7423
7438
  Embed Preview: Update the new embed preview modal UX
7424
-
7425
7439
  - Make title smaller
7426
7440
  - Reduce gap between element
7427
7441
  - Hide resize button on smaller screen
@@ -7545,7 +7559,6 @@
7545
7559
  - [#22592](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22592)
7546
7560
  [`e15410365b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e15410365b2) - - export
7547
7561
  types/functions in linking common to be used in smart card
7548
-
7549
7562
  - add flag to card action to override re-using previous 'resolved' state
7550
7563
 
7551
7564
  - add prop to cardState which reflects the metadata state, can be pending, resolved or errored
@@ -7841,13 +7854,11 @@
7841
7854
  are now as follows:
7842
7855
 
7843
7856
  #### `ui.cardClickedEvent`
7844
-
7845
7857
  - Now contains `location` as described by the `useSmartLinkAnalytics` hook.
7846
7858
  - Now is fired in `unauthorized`, `errored` and `forbidden` states, with the `status` attribute
7847
7859
  representing the state of the event.
7848
7860
 
7849
7861
  #### `ui.renderSuccessEvent`
7850
-
7851
7862
  - Now contains the `status` attribute, representing the state of the event (`unauthorized`,
7852
7863
  `errored`, `resolved`, etc.)
7853
7864
 
@@ -8010,7 +8021,6 @@
8010
8021
  - [#20562](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20562)
8011
8022
  [`6ee499cbb73`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ee499cbb73) - - Add
8012
8023
  @atlaskit/link-provider as peerDependency.
8013
-
8014
8024
  - Use Provider/Client from @atlaskit/link-provider and remove local version.
8015
8025
  - Re export moved things from @atlaskit/link-provider to make adoption easier
8016
8026
 
@@ -9113,7 +9123,6 @@
9113
9123
 
9114
9124
  As of this version of `@atlaskit/smart-card`, when a Smart Link is initially rendered, one of two
9115
9125
  things will take place:
9116
-
9117
9126
  - The link will be considered as within the viewport, and a `fetch` and `render` path will be
9118
9127
  taken, or;
9119
9128
  - The link will be considered as outside of the viewport, and a `prefetch` and `render` later path
@@ -9125,7 +9134,6 @@
9125
9134
  Links is fetched in the background, and persisted to the store.
9126
9135
 
9127
9136
  A few additional points here are:
9128
-
9129
9137
  - The prefetching logic has been implemented as a hook which can be used in other components,
9130
9138
  `usePrefetch`;
9131
9139
  - The prefetching logic is error-safe, in that, if errors take place whilst replacing there should
@@ -9173,7 +9181,6 @@
9173
9181
 
9174
9182
  Added integration tests across the board, asserting that a new window is opened to kick off the
9175
9183
  3LO flow.
9176
-
9177
9184
  - Added integration test for account connection and try another account flows for Inline Links;
9178
9185
  - Added integration test for account connection and try another account flows for Card Links;
9179
9186
  - Added integration test for account connection and try another account flows for Embed Links;
@@ -9183,7 +9190,6 @@
9183
9190
 
9184
9191
  Further, added an `AuthorizationWindow` method to the `@atlaskit/media-integration-test-helpers`,
9185
9192
  with the following methods:
9186
-
9187
9193
  - `AuthorizationWindow.open()` - to open a window to authorize, dependent on which card state it
9188
9194
  is being activated from;
9189
9195
  - `AuthorizationWindow.checkUrl()` - to check if the window URL when redirected is the same as the
@@ -9598,7 +9604,6 @@
9598
9604
 
9599
9605
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
9600
9606
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
9601
-
9602
9607
  - @atlaskit/docs@8.3.2
9603
9608
  - @atlaskit/analytics-next@6.3.5
9604
9609
  - @atlaskit/button@13.3.7
@@ -9919,12 +9924,10 @@ Bumped dependencies.
9919
9924
  safety. Flow types are no longer provided. No behavioural changes.
9920
9925
 
9921
9926
  **Breaking changes**
9922
-
9923
9927
  - `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
9924
9928
  - `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
9925
9929
 
9926
9930
  **Breaking changes to TypeScript annotations**
9927
-
9928
9931
  - `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
9929
9932
  props as a generic type.
9930
9933
  - `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
@@ -10029,7 +10032,6 @@ Bumped dependencies.
10029
10032
  - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
10030
10033
 
10031
10034
  In this PR, we are:
10032
-
10033
10035
  - Re-introducing dist build folders
10034
10036
  - Adding back cjs
10035
10037
  - Replacing es5 by cjs and es2015 by esm
@@ -10158,7 +10160,6 @@ Bumped dependencies.
10158
10160
  ### Patch Changes
10159
10161
 
10160
10162
  - [patch][1347760307](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1347760307):
10161
-
10162
10163
  - fix pull request, branch and commit name formatting
10163
10164
 
10164
10165
  ## 11.1.4
@@ -10176,7 +10177,6 @@ Bumped dependencies.
10176
10177
  ## 11.1.3
10177
10178
 
10178
10179
  - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
10179
-
10180
10180
  - This is just a safety release in case anything strange happened in in the previous one. See Pull
10181
10181
  Request #5942 for details
10182
10182
 
@@ -10200,50 +10200,42 @@ Bumped dependencies.
10200
10200
  ## 11.1.0
10201
10201
 
10202
10202
  - [minor][4969df0716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4969df0716):
10203
-
10204
10203
  - fix lazy rendering bugs in Smart Links.
10205
10204
 
10206
10205
  ## 11.0.5
10207
10206
 
10208
10207
  - [patch][27f666ed85](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/27f666ed85):
10209
-
10210
10208
  - Fixed example.
10211
10209
 
10212
10210
  ## 11.0.4
10213
10211
 
10214
10212
  - [patch][94ffb3b638](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/94ffb3b638):
10215
-
10216
10213
  - check for taskType icon in the json payload
10217
10214
 
10218
10215
  ## 11.0.3
10219
10216
 
10220
10217
  - [patch][6a52b3d258](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a52b3d258):
10221
-
10222
10218
  - fix for clicking behaviour in view/edit mode for Inline Smart Links.
10223
10219
 
10224
10220
  ## 11.0.2
10225
10221
 
10226
10222
  - [patch][7e18a6398b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e18a6398b):
10227
-
10228
10223
  - improve type safety when defining smart-card environment
10229
10224
 
10230
10225
  ## 11.0.1
10231
10226
 
10232
10227
  - [patch][b7687b9981](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b7687b9981):
10233
-
10234
10228
  - Changed smart link functionality so that it will open in the same tab if clicked.
10235
10229
 
10236
10230
  ## 11.0.0
10237
10231
 
10238
10232
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
10239
-
10240
10233
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
10241
10234
  this package, please ensure you use at least this version of react and react-dom.
10242
10235
 
10243
10236
  ## 10.5.0
10244
10237
 
10245
10238
  - [minor][593404cba8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/593404cba8):
10246
-
10247
10239
  - add status lozenge to source code issue references.
10248
10240
 
10249
10241
  ## 10.4.2
@@ -10259,13 +10251,11 @@ Bumped dependencies.
10259
10251
  ## 10.4.1
10260
10252
 
10261
10253
  - [patch][3e4c4d7e2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3e4c4d7e2d):
10262
-
10263
10254
  - fix: send 'Origin' header in resolve requests
10264
10255
 
10265
10256
  ## 10.4.0
10266
10257
 
10267
10258
  - [minor][da5a7f3390](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/da5a7f3390):
10268
-
10269
10259
  - fix third-party link extractors to resolve URLs more accurately.
10270
10260
 
10271
10261
  ## 10.3.1
@@ -10278,7 +10268,6 @@ Bumped dependencies.
10278
10268
  ## 10.3.0
10279
10269
 
10280
10270
  - [minor][ce985861c3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ce985861c3):
10281
-
10282
10271
  - Added analytics for UI actions, and updated existing operational analytics events
10283
10272
 
10284
10273
  ## 10.2.4
@@ -10302,7 +10291,6 @@ Bumped dependencies.
10302
10291
  ## 10.2.3
10303
10292
 
10304
10293
  - [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
10305
-
10306
10294
  - @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
10307
10295
  supplied from itself.
10308
10296
 
@@ -10329,19 +10317,16 @@ Bumped dependencies.
10329
10317
  ## 10.2.1
10330
10318
 
10331
10319
  - [patch][d13fad66df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13fad66df):
10332
-
10333
10320
  - Enable esModuleInterop for typescript, this allows correct use of default exports
10334
10321
 
10335
10322
  ## 10.2.0
10336
10323
 
10337
10324
  - [minor][9b0dd21ce7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9b0dd21ce7):
10338
-
10339
10325
  - allow the appearance of lozenges within smart link tasks to be configured
10340
10326
 
10341
10327
  ## 10.1.2
10342
10328
 
10343
10329
  - [patch][aa117f5341](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aa117f5341):
10344
-
10345
10330
  - fix alignment and UI for inline Smart Links.
10346
10331
 
10347
10332
  ## 10.1.1
@@ -10354,7 +10339,6 @@ Bumped dependencies.
10354
10339
  ## 10.1.0
10355
10340
 
10356
10341
  - [minor][11a6c98707](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/11a6c98707):
10357
-
10358
10342
  - refactor Smart Links frontend directory structure.
10359
10343
 
10360
10344
  ## 10.0.2
@@ -10367,19 +10351,16 @@ Bumped dependencies.
10367
10351
  ## 10.0.1
10368
10352
 
10369
10353
  - [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
10370
-
10371
10354
  - Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
10372
10355
 
10373
10356
  ## 10.0.0
10374
10357
 
10375
10358
  - [major][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
10376
-
10377
10359
  - Dropped ES5 distributables from the typescript packages
10378
10360
 
10379
10361
  ## 9.11.4
10380
10362
 
10381
10363
  - [patch][8ed53a1cbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8ed53a1cbb):
10382
-
10383
10364
  - fix padding, wrapping for inline smart links.
10384
10365
 
10385
10366
  ## 9.11.3
@@ -10414,31 +10395,26 @@ Bumped dependencies.
10414
10395
  ## 9.11.1
10415
10396
 
10416
10397
  - [patch][2cb8c44165](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2cb8c44165):
10417
-
10418
10398
  - Fix environments mix-up
10419
10399
 
10420
10400
  ## 9.11.0
10421
10401
 
10422
10402
  - [minor][41147bbc4c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/41147bbc4c):
10423
-
10424
10403
  - Fix for links in editor
10425
10404
 
10426
10405
  ## 9.10.0
10427
10406
 
10428
10407
  - [minor][ea423a619f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ea423a619f):
10429
-
10430
10408
  - Fixed the call to the /check endpoint
10431
10409
 
10432
10410
  ## 9.9.0
10433
10411
 
10434
10412
  - [minor][7f70e97f98](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7f70e97f98):
10435
-
10436
10413
  - Added environments to client
10437
10414
 
10438
10415
  ## 9.8.0
10439
10416
 
10440
10417
  - [minor][1594f351d9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1594f351d9):
10441
-
10442
10418
  - added inline extractors for Bitbucket and Github.
10443
10419
 
10444
10420
  ## 9.7.1
@@ -10450,68 +10426,57 @@ Bumped dependencies.
10450
10426
  ## 9.7.0
10451
10427
 
10452
10428
  - [minor][1c62bcce7d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1c62bcce7d):
10453
-
10454
10429
  - Fix a problem with smart cards not appearing sometimes when lazy rendered and lazy loaded after
10455
10430
  code-split.
10456
10431
 
10457
10432
  ## 9.6.8
10458
10433
 
10459
10434
  - [patch][af3918bc89](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/af3918bc89):
10460
-
10461
10435
  - The url part of the unauthorized link is now grey
10462
10436
 
10463
10437
  ## 9.6.7
10464
10438
 
10465
10439
  - [patch][abce6949c0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abce6949c0):
10466
-
10467
10440
  - fix icon sizing and url key.
10468
10441
 
10469
10442
  ## 9.6.6
10470
10443
 
10471
10444
  - [patch][5ae645d661](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5ae645d661):
10472
-
10473
10445
  - Fixing analytics in smart-cards
10474
10446
 
10475
10447
  ## 9.6.5
10476
10448
 
10477
10449
  - [patch][2035bef8fb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2035bef8fb):
10478
-
10479
10450
  - Fix inline extractor priority preventing @type arrays in some cases.
10480
10451
 
10481
10452
  ## 9.6.4
10482
10453
 
10483
10454
  - [patch][56c5a4b41f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/56c5a4b41f):
10484
-
10485
10455
  - Fix "try again" should not be showing when there are no auth methods
10486
10456
 
10487
10457
  ## 9.6.3
10488
10458
 
10489
10459
  - [patch][63e6f7d420](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/63e6f7d420):
10490
-
10491
10460
  - Fix missing attributes for link view
10492
10461
 
10493
10462
  ## 9.6.2
10494
10463
 
10495
10464
  - [patch][cbc601aed3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cbc601aed3):
10496
-
10497
10465
  - Added missing type of events for Confluence
10498
10466
 
10499
10467
  ## 9.6.1
10500
10468
 
10501
10469
  - [patch][bef9abc8de](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bef9abc8de):
10502
-
10503
10470
  - added background colour to inline card views, fixed icon alignment.
10504
10471
 
10505
10472
  ## 9.6.0
10506
10473
 
10507
10474
  - [minor][27b12fdfc6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/27b12fdfc6):
10508
-
10509
10475
  - added support for rendering of icons in Jira links
10510
10476
 
10511
10477
  ## 9.5.0
10512
10478
 
10513
10479
  - [minor][d664fc3d49](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d664fc3d49):
10514
-
10515
10480
  - added support for rendering of icons with Confluence links
10516
10481
 
10517
10482
  ## 9.4.1
@@ -10530,21 +10495,17 @@ Bumped dependencies.
10530
10495
  ## 9.4.0
10531
10496
 
10532
10497
  - [minor][8ff07c1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8ff07c1):
10533
-
10534
10498
  - Analytics, first attempt, validate the idea
10535
10499
 
10536
10500
  - [minor][7777442](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7777442):
10537
-
10538
10501
  - More analytics for smart links
10539
10502
 
10540
10503
  - [minor][7302ea6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7302ea6):
10541
-
10542
10504
  - Analytics for smart cards
10543
10505
 
10544
10506
  ## 9.3.0
10545
10507
 
10546
10508
  - [minor][150626e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/150626e):
10547
-
10548
10509
  - add support for source code repository urls (currently Bitbucket and Github) in smart-cards.
10549
10510
 
10550
10511
  ## 9.2.2
@@ -10557,19 +10518,16 @@ Bumped dependencies.
10557
10518
  ## 9.2.1
10558
10519
 
10559
10520
  - [patch][9c50550](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c50550):
10560
-
10561
10521
  - Do not show connect button if there are no auth methods.
10562
10522
 
10563
10523
  ## 9.2.0
10564
10524
 
10565
10525
  - [minor][95f98cc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/95f98cc):
10566
-
10567
10526
  - User can click on a smart card to open a new window/tab
10568
10527
 
10569
10528
  ## 9.1.0
10570
10529
 
10571
10530
  - [minor][1175616](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1175616):
10572
-
10573
10531
  - Simplified error state in inline cards: no red state anymore, just blue link
10574
10532
 
10575
10533
  ## 9.0.4
@@ -10618,13 +10576,11 @@ Bumped dependencies.
10618
10576
  ## 9.0.1
10619
10577
 
10620
10578
  - [patch][4c0c2a0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4c0c2a0):
10621
-
10622
10579
  - Fix Cards throwing Error when client is not provided.
10623
10580
 
10624
10581
  ## 9.0.0
10625
10582
 
10626
10583
  - [major][df32968](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df32968):
10627
-
10628
10584
  - Introduced pending state (which is represented as a link) and a race between resolving state and
10629
10585
  the data fetch.
10630
10586
 
@@ -10670,7 +10626,6 @@ Bumped dependencies.
10670
10626
  ## 8.8.2
10671
10627
 
10672
10628
  - [patch][b859e08](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b859e08):
10673
-
10674
10629
  - Update dependent versions
10675
10630
 
10676
10631
  ## 8.8.1
@@ -10682,37 +10637,31 @@ Bumped dependencies.
10682
10637
  ## 8.8.0
10683
10638
 
10684
10639
  - [minor][93b31fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93b31fa):
10685
-
10686
10640
  - Add support for nested <SmartCardProvider />
10687
10641
 
10688
10642
  ## 8.7.1
10689
10643
 
10690
10644
  - [patch][00cd9a8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/00cd9a8):
10691
-
10692
10645
  - Add tag support for inline task card.
10693
10646
 
10694
10647
  ## 8.7.0
10695
10648
 
10696
10649
  - [minor][e89e244](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e89e244):
10697
-
10698
10650
  - Implemented time-based caching for the client.
10699
10651
 
10700
10652
  ## 8.6.3
10701
10653
 
10702
10654
  - [patch][4b989c3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4b989c3):
10703
-
10704
10655
  - Fix inline cards crashing after change to the format.
10705
10656
 
10706
10657
  ## 8.6.2
10707
10658
 
10708
10659
  - [patch][a567cc9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a567cc9):
10709
-
10710
10660
  - Improve rendering of Smart Cards.
10711
10661
 
10712
10662
  ## 8.6.1
10713
10663
 
10714
10664
  - [patch][7bc4461](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7bc4461):
10715
-
10716
10665
  - ED-5565: support connecting external React.Context to nodeviews
10717
10666
 
10718
10667
  ## 8.6.0
@@ -165,7 +165,7 @@ attributes:
165
165
  description: The definitionId of the Smart Link resolver invoked.
166
166
  display:
167
167
  required: false
168
- type: ['inline', 'block', 'embed', 'embedPreview', 'flexible', 'hoverCardPreview', 'hyperlink']
168
+ type: ['inline', 'block', 'embed', 'embedPreview', 'flexible', 'hoverCardPreview', 'url']
169
169
  description: Whether the card was an Inline, Block, Embed or Flexible UI.
170
170
  resourceType:
171
171
  required: false
@@ -313,7 +313,7 @@ events:
313
313
  description: The unique ID for this Smart Link
314
314
  display:
315
315
  required: true
316
- type: ['inline', 'block', 'embed', 'embedPreview', 'flexible', 'hoverCardPreview', 'hyperlink']
316
+ type: ['inline', 'block', 'embed', 'embedPreview', 'flexible', 'hoverCardPreview', 'url']
317
317
  description: Whether the card was an Inline, Block, Embed or Flexible UI
318
318
  definitionId:
319
319
  required: false
@@ -337,7 +337,7 @@ events:
337
337
  description: The unique ID for this Smart Link.
338
338
  display:
339
339
  required: true
340
- type: ['inline', 'block', 'embed', 'embedPreview', 'flexible', 'hoverCardPreview', 'hyperlink']
340
+ type: ['inline', 'block', 'embed', 'embedPreview', 'flexible', 'hoverCardPreview', 'url']
341
341
  description: Whether the card was an Inline, Block, Embed or Flexible UI.
342
342
  definitionId:
343
343
  required: false
@@ -480,7 +480,7 @@ events:
480
480
  <<: [*PackageMetaDataContext, *CommonContext]
481
481
  display:
482
482
  required: true
483
- type: ['inline', 'block', 'embed', 'embedPreview', 'flexible', 'hoverCardPreview', 'hyperlink']
483
+ type: ['inline', 'block', 'embed', 'embedPreview', 'flexible', 'hoverCardPreview', 'url']
484
484
  description: Whether the card was an Inline, Block, Embed or Flexible UI.
485
485
  definitionId:
486
486
  required: false
@@ -679,7 +679,7 @@ events:
679
679
  <<: [*PackageMetaDataContext, *CommonContext]
680
680
  display:
681
681
  required: true
682
- type: ['inline', 'block', 'embed', 'embedPreview', 'flexible', 'hoverCardPreview', 'hyperlink']
682
+ type: ['inline', 'block', 'embed', 'embedPreview', 'flexible', 'hoverCardPreview', 'url']
683
683
  description: Whether the card was an Inline, Block, Embed or Flexible UI.
684
684
  definitionId:
685
685
  required: false
@@ -694,7 +694,7 @@ events:
694
694
  <<: [*PackageMetaDataContext, *CommonContext]
695
695
  display:
696
696
  required: true
697
- type: ['inline', 'block', 'embed', 'embedPreview', 'flexible', 'hoverCardPreview', 'hyperlink']
697
+ type: ['inline', 'block', 'embed', 'embedPreview', 'flexible', 'hoverCardPreview', 'url']
698
698
  description: Whether the card was an Inline, Block, Embed or Flexible UI.
699
699
  definitionId:
700
700
  required: false
@@ -709,7 +709,7 @@ events:
709
709
  <<: [*PackageMetaDataContext, *CommonContext]
710
710
  display:
711
711
  required: true
712
- type: ['inline', 'block', 'embed', 'embedPreview', 'flexible', 'hoverCardPreview', 'hyperlink']
712
+ type: ['inline', 'block', 'embed', 'embedPreview', 'flexible', 'hoverCardPreview', 'url']
713
713
  description: Whether the card was an Inline, Block, Embed or Flexible UI.
714
714
  definitionId:
715
715
  required: false
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
11
11
  var context = exports.context = {
12
12
  componentName: 'smart-cards',
13
13
  packageName: "@atlaskit/smart-card",
14
- packageVersion: "43.1.6"
14
+ packageVersion: "0.0.0-development"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.BlockCard = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
11
10
  var _loadHold = _interopRequireDefault(require("@atlaskit/react-ufo/load-hold"));
12
11
  var _useControlDataExportConfig = require("../../state/hooks/use-control-data-export-config");
13
12
  var _shouldDataExport = require("../../utils/should-data-export");
@@ -23,9 +22,9 @@ var _UnauthorisedView = _interopRequireDefault(require("./views/UnauthorisedView
23
22
 
24
23
  var UFOLoadHoldWrapper = function UFOLoadHoldWrapper(_ref) {
25
24
  var children = _ref.children;
26
- return (0, _platformFeatureFlags.fg)('platform_renderer_blindspots') ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_loadHold.default, {
25
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_loadHold.default, {
27
26
  name: "smart-card-block-card"
28
- }), children) : children;
27
+ }), children);
29
28
  };
30
29
  var BlockCard = exports.BlockCard = function BlockCard(_ref2) {
31
30
  var id = _ref2.id,
@@ -8,7 +8,6 @@ exports.EmbedCard = void 0;
8
8
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
9
  var _react = _interopRequireDefault(require("react"));
10
10
  var _analyticsNext = require("@atlaskit/analytics-next");
11
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
11
  var _loadHold = _interopRequireDefault(require("@atlaskit/react-ufo/load-hold"));
13
12
  var _extractAccessContext = require("../../extractors/common/context/extractAccessContext");
14
13
  var _embed = require("../../extractors/embed");
@@ -29,9 +28,9 @@ var _unauthorizedView = _interopRequireDefault(require("./views/unauthorized-vie
29
28
 
30
29
  var UFOLoadHoldWrapper = function UFOLoadHoldWrapper(_ref) {
31
30
  var children = _ref.children;
32
- return (0, _platformFeatureFlags.fg)('platform_renderer_blindspots') ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_loadHold.default, {
31
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_loadHold.default, {
33
32
  name: "smart-card-embed-card"
34
- }), children) : children;
33
+ }), children);
35
34
  };
36
35
  var EmbedCard = exports.EmbedCard = /*#__PURE__*/_react.default.forwardRef(function (_ref2, iframeRef) {
37
36
  var _details$meta, _forbiddenViewProps$c, _forbiddenViewProps$c2, _notFoundViewProps$co, _notFoundViewProps$co2;
@@ -40,7 +40,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
40
40
  var _react = _interopRequireWildcard(require("react"));
41
41
  var _analyticsNext = require("@atlaskit/analytics-next");
42
42
  var _linkExtractors = require("@atlaskit/link-extractors");
43
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
44
43
  var _loadHold = _interopRequireDefault(require("@atlaskit/react-ufo/load-hold"));
45
44
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
46
45
  var _constants = require("../../constants");
@@ -60,9 +59,9 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
60
59
 
61
60
  var UFOLoadHoldWrapper = function UFOLoadHoldWrapper(_ref) {
62
61
  var children = _ref.children;
63
- return (0, _platformFeatureFlags.fg)('platform_renderer_blindspots') ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_loadHold.default, {
62
+ return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_loadHold.default, {
64
63
  name: "smart-card-inline-card"
65
- }), children) : children;
64
+ }), children);
66
65
  };
67
66
  var InlineCard = exports.InlineCard = function InlineCard(_ref2) {
68
67
  var _details$meta, _providerForbidden$te;
@@ -56,7 +56,7 @@ var HyperlinkWithSmartLinkResolverInner = function HyperlinkWithSmartLinkResolve
56
56
  onClickCallback === null || onClickCallback === void 0 || onClickCallback(e);
57
57
  }, [onClickCallback, fire3PClickEvent, state === null || state === void 0 ? void 0 : state.status]);
58
58
  var onAuthorize = (0, _react.useCallback)(function () {
59
- return actions.authorize('hyperlink');
59
+ return actions.authorize('url');
60
60
  }, [actions]);
61
61
  var shouldRenderConnectBtn = function shouldRenderConnectBtn() {
62
62
  if (!props.children || !Array.isArray(props.children) || props.children.length === 0) {
@@ -22,7 +22,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
22
22
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
23
23
  var PACKAGE_DATA = {
24
24
  packageName: "@atlaskit/smart-card",
25
- packageVersion: "43.1.6",
25
+ packageVersion: "0.0.0-development",
26
26
  componentName: 'linkUrl'
27
27
  };
28
28
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
2
2
  export const context = {
3
3
  componentName: 'smart-cards',
4
4
  packageName: "@atlaskit/smart-card",
5
- packageVersion: "43.1.6"
5
+ packageVersion: "0.0.0-development"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import { fg } from '@atlaskit/platform-feature-flags';
3
+
4
4
  // TODO: Package Owner - please fix:
5
5
  // eslint-disable-next-line import/no-extraneous-dependencies
6
6
  import UFOHoldLoad from '@atlaskit/react-ufo/load-hold';
@@ -15,11 +15,9 @@ import ResolvedView from './views/ResolvedView';
15
15
  import UnauthorisedView from './views/UnauthorisedView';
16
16
  const UFOLoadHoldWrapper = ({
17
17
  children
18
- }) => {
19
- return fg('platform_renderer_blindspots') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(UFOHoldLoad, {
20
- name: "smart-card-block-card"
21
- }), children) : children;
22
- };
18
+ }) => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(UFOHoldLoad, {
19
+ name: "smart-card-block-card"
20
+ }), children);
23
21
  export const BlockCard = ({
24
22
  id,
25
23
  url,
@@ -1,7 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
3
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
4
- import { fg } from '@atlaskit/platform-feature-flags';
5
4
  // TODO: Package Owner - please fix:
6
5
  // eslint-disable-next-line import/no-extraneous-dependencies
7
6
  import UFOHoldLoad from '@atlaskit/react-ufo/load-hold';
@@ -21,11 +20,9 @@ import { EmbedCardResolvedView } from './views/ResolvedView';
21
20
  import UnauthorizedView from './views/unauthorized-view';
22
21
  const UFOLoadHoldWrapper = ({
23
22
  children
24
- }) => {
25
- return fg('platform_renderer_blindspots') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(UFOHoldLoad, {
26
- name: "smart-card-embed-card"
27
- }), children) : children;
28
- };
23
+ }) => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(UFOHoldLoad, {
24
+ name: "smart-card-embed-card"
25
+ }), children);
29
26
  export const EmbedCard = /*#__PURE__*/React.forwardRef(({
30
27
  url,
31
28
  cardState,
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { useEffect } from 'react';
3
3
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
4
4
  import { extractSmartLinkProvider } from '@atlaskit/link-extractors';
5
- import { fg } from '@atlaskit/platform-feature-flags';
6
5
  // TODO: Package Owner - please fix:
7
6
  // eslint-disable-next-line import/no-extraneous-dependencies
8
7
  import UFOHoldLoad from '@atlaskit/react-ufo/load-hold';
@@ -21,11 +20,9 @@ import { InlineCardUnauthorizedView } from './UnauthorisedView';
21
20
  export { InlineCardResolvedView, InlineCardResolvingView, InlineCardErroredView, InlineCardForbiddenView, InlineCardUnauthorizedView };
22
21
  const UFOLoadHoldWrapper = ({
23
22
  children
24
- }) => {
25
- return fg('platform_renderer_blindspots') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(UFOHoldLoad, {
26
- name: "smart-card-inline-card"
27
- }), children) : children;
28
- };
23
+ }) => /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(UFOHoldLoad, {
24
+ name: "smart-card-inline-card"
25
+ }), children);
29
26
  export const InlineCard = ({
30
27
  id,
31
28
  url,
@@ -42,7 +42,7 @@ const HyperlinkWithSmartLinkResolverInner = ({
42
42
  }
43
43
  onClickCallback === null || onClickCallback === void 0 ? void 0 : onClickCallback(e);
44
44
  }, [onClickCallback, fire3PClickEvent, state === null || state === void 0 ? void 0 : state.status]);
45
- const onAuthorize = useCallback(() => actions.authorize('hyperlink'), [actions]);
45
+ const onAuthorize = useCallback(() => actions.authorize('url'), [actions]);
46
46
  const shouldRenderConnectBtn = () => {
47
47
  if (!props.children || !Array.isArray(props.children) || props.children.length === 0) {
48
48
  return false;
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
12
12
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
13
13
  const PACKAGE_DATA = {
14
14
  packageName: "@atlaskit/smart-card",
15
- packageVersion: "43.1.6",
15
+ packageVersion: "0.0.0-development",
16
16
  componentName: 'linkUrl'
17
17
  };
18
18
  const Anchor = withLinkClickedEvent('a');
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
4
4
  export var context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card",
7
- packageVersion: "43.1.6"
7
+ packageVersion: "0.0.0-development"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
- import { fg } from '@atlaskit/platform-feature-flags';
3
+
4
4
  // TODO: Package Owner - please fix:
5
5
  // eslint-disable-next-line import/no-extraneous-dependencies
6
6
  import UFOHoldLoad from '@atlaskit/react-ufo/load-hold';
@@ -15,9 +15,9 @@ import ResolvedView from './views/ResolvedView';
15
15
  import UnauthorisedView from './views/UnauthorisedView';
16
16
  var UFOLoadHoldWrapper = function UFOLoadHoldWrapper(_ref) {
17
17
  var children = _ref.children;
18
- return fg('platform_renderer_blindspots') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(UFOHoldLoad, {
18
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(UFOHoldLoad, {
19
19
  name: "smart-card-block-card"
20
- }), children) : children;
20
+ }), children);
21
21
  };
22
22
  export var BlockCard = function BlockCard(_ref2) {
23
23
  var id = _ref2.id,
@@ -1,7 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
3
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
4
- import { fg } from '@atlaskit/platform-feature-flags';
5
4
  // TODO: Package Owner - please fix:
6
5
  // eslint-disable-next-line import/no-extraneous-dependencies
7
6
  import UFOHoldLoad from '@atlaskit/react-ufo/load-hold';
@@ -21,9 +20,9 @@ import { EmbedCardResolvedView } from './views/ResolvedView';
21
20
  import UnauthorizedView from './views/unauthorized-view';
22
21
  var UFOLoadHoldWrapper = function UFOLoadHoldWrapper(_ref) {
23
22
  var children = _ref.children;
24
- return fg('platform_renderer_blindspots') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(UFOHoldLoad, {
23
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(UFOHoldLoad, {
25
24
  name: "smart-card-embed-card"
26
- }), children) : children;
25
+ }), children);
27
26
  };
28
27
  export var EmbedCard = /*#__PURE__*/React.forwardRef(function (_ref2, iframeRef) {
29
28
  var _details$meta, _forbiddenViewProps$c, _forbiddenViewProps$c2, _notFoundViewProps$co, _notFoundViewProps$co2;
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { useEffect } from 'react';
3
3
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
4
4
  import { extractSmartLinkProvider } from '@atlaskit/link-extractors';
5
- import { fg } from '@atlaskit/platform-feature-flags';
6
5
  // TODO: Package Owner - please fix:
7
6
  // eslint-disable-next-line import/no-extraneous-dependencies
8
7
  import UFOHoldLoad from '@atlaskit/react-ufo/load-hold';
@@ -21,9 +20,9 @@ import { InlineCardUnauthorizedView } from './UnauthorisedView';
21
20
  export { InlineCardResolvedView, InlineCardResolvingView, InlineCardErroredView, InlineCardForbiddenView, InlineCardUnauthorizedView };
22
21
  var UFOLoadHoldWrapper = function UFOLoadHoldWrapper(_ref) {
23
22
  var children = _ref.children;
24
- return fg('platform_renderer_blindspots') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(UFOHoldLoad, {
23
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(UFOHoldLoad, {
25
24
  name: "smart-card-inline-card"
26
- }), children) : children;
25
+ }), children);
27
26
  };
28
27
  export var InlineCard = function InlineCard(_ref2) {
29
28
  var _details$meta, _providerForbidden$te;
@@ -47,7 +47,7 @@ var HyperlinkWithSmartLinkResolverInner = function HyperlinkWithSmartLinkResolve
47
47
  onClickCallback === null || onClickCallback === void 0 || onClickCallback(e);
48
48
  }, [onClickCallback, fire3PClickEvent, state === null || state === void 0 ? void 0 : state.status]);
49
49
  var onAuthorize = useCallback(function () {
50
- return actions.authorize('hyperlink');
50
+ return actions.authorize('url');
51
51
  }, [actions]);
52
52
  var shouldRenderConnectBtn = function shouldRenderConnectBtn() {
53
53
  if (!props.children || !Array.isArray(props.children) || props.children.length === 0) {
@@ -15,7 +15,7 @@ import LinkWarningModal from './LinkWarningModal';
15
15
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
16
16
  var PACKAGE_DATA = {
17
17
  packageName: "@atlaskit/smart-card",
18
- packageVersion: "43.1.6",
18
+ packageVersion: "0.0.0-development",
19
19
  componentName: 'linkUrl'
20
20
  };
21
21
  var Anchor = withLinkClickedEvent('a');
@@ -37,35 +37,35 @@ export type ButtonClickedCopyLinkAttributesType = {
37
37
  actionType: string | null;
38
38
  id: string | null;
39
39
  definitionId: string | null;
40
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink' | null;
40
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url' | null;
41
41
  resourceType: string | null;
42
42
  };
43
43
  export type ButtonClickedDownloadDocumentAttributesType = {
44
44
  actionType: string | null;
45
45
  id: string | null;
46
46
  definitionId: string | null;
47
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink' | null;
47
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url' | null;
48
48
  resourceType: string | null;
49
49
  };
50
50
  export type ButtonClickedInvokePreviewScreenAttributesType = {
51
51
  actionType: string | null;
52
52
  id: string | null;
53
53
  definitionId: string | null;
54
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink' | null;
54
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url' | null;
55
55
  resourceType: string | null;
56
56
  };
57
57
  export type ButtonClickedShortcutGoToLinkAttributesType = {
58
58
  actionType: string | null;
59
59
  id: string | null;
60
60
  definitionId: string | null;
61
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink' | null;
61
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url' | null;
62
62
  resourceType: string | null;
63
63
  };
64
64
  export type ButtonClickedIssueStatusUpdateAttributesType = {
65
65
  actionType: string | null;
66
66
  id: string | null;
67
67
  definitionId: string | null;
68
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink' | null;
68
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url' | null;
69
69
  resourceType: string | null;
70
70
  };
71
71
  export type ButtonClickedAiSummaryAttributesType = {};
@@ -99,14 +99,14 @@ export type RelatedLinksFailedAttributesType = {
99
99
  };
100
100
  export type SmartLinkIframeDwelledAttributesType = {
101
101
  id: string;
102
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink';
102
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
103
103
  definitionId: string | null;
104
104
  dwellTime: number;
105
105
  dwellPercentVisible: number;
106
106
  };
107
107
  export type SmartLinkIframeFocusedAttributesType = {
108
108
  id: string;
109
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink';
109
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
110
110
  definitionId: string | null;
111
111
  };
112
112
  export type ApplicationAccountConnectedAttributesType = {
@@ -147,7 +147,7 @@ export type SmartLinkUnresolvedAttributesType = {
147
147
  reason: string;
148
148
  };
149
149
  export type SmartLinkChunkLoadFailedAttributesType = {
150
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink';
150
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
151
151
  definitionId: string | null;
152
152
  error: Record<string, unknown>;
153
153
  errorInfo: Record<string, unknown>;
@@ -156,7 +156,7 @@ export type SmartLinkActionResolvedAttributesType = {
156
156
  actionType: string | null;
157
157
  id: string | null;
158
158
  definitionId: string | null;
159
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink' | null;
159
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url' | null;
160
160
  resourceType: string | null;
161
161
  duration: number | null;
162
162
  };
@@ -164,7 +164,7 @@ export type SmartLinkActionUnresolvedAttributesType = {
164
164
  actionType: string | null;
165
165
  id: string | null;
166
166
  definitionId: string | null;
167
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink' | null;
167
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url' | null;
168
168
  resourceType: string | null;
169
169
  duration: number | null;
170
170
  reason: string | null;
@@ -211,15 +211,15 @@ export type HoverCardDismissedAttributesType = {
211
211
  definitionId: string | null;
212
212
  };
213
213
  export type ButtonClickedConnectAccountAttributesType = {
214
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink';
214
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
215
215
  definitionId: string | null;
216
216
  };
217
217
  export type SmartLinkClickedTryAnotherAccountAttributesType = {
218
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink';
218
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
219
219
  definitionId: string | null;
220
220
  };
221
221
  export type ConsentModalClosedAttributesType = {
222
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink';
222
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
223
223
  definitionId: string | null;
224
224
  };
225
225
  export type ModalClosedEmbedPreviewAttributesType = {
@@ -7,7 +7,7 @@ import { type FlexibleUiOptions } from '../FlexibleCard/types';
7
7
  import { type HoverPreviewOptions } from '../HoverCard/types';
8
8
  import { type InlinePreloaderStyle, type OnErrorCallback } from '../types';
9
9
  export type { CardAppearance, CardPlatform };
10
- export type CardInnerAppearance = CardAppearance | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink';
10
+ export type CardInnerAppearance = CardAppearance | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
11
11
  export type EmbedIframeUrlType = 'href' | 'interactiveHref';
12
12
  export type OnResolveCallback = (data: {
13
13
  aspectRatio?: number;
@@ -37,35 +37,35 @@ export type ButtonClickedCopyLinkAttributesType = {
37
37
  actionType: string | null;
38
38
  id: string | null;
39
39
  definitionId: string | null;
40
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink' | null;
40
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url' | null;
41
41
  resourceType: string | null;
42
42
  };
43
43
  export type ButtonClickedDownloadDocumentAttributesType = {
44
44
  actionType: string | null;
45
45
  id: string | null;
46
46
  definitionId: string | null;
47
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink' | null;
47
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url' | null;
48
48
  resourceType: string | null;
49
49
  };
50
50
  export type ButtonClickedInvokePreviewScreenAttributesType = {
51
51
  actionType: string | null;
52
52
  id: string | null;
53
53
  definitionId: string | null;
54
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink' | null;
54
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url' | null;
55
55
  resourceType: string | null;
56
56
  };
57
57
  export type ButtonClickedShortcutGoToLinkAttributesType = {
58
58
  actionType: string | null;
59
59
  id: string | null;
60
60
  definitionId: string | null;
61
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink' | null;
61
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url' | null;
62
62
  resourceType: string | null;
63
63
  };
64
64
  export type ButtonClickedIssueStatusUpdateAttributesType = {
65
65
  actionType: string | null;
66
66
  id: string | null;
67
67
  definitionId: string | null;
68
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink' | null;
68
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url' | null;
69
69
  resourceType: string | null;
70
70
  };
71
71
  export type ButtonClickedAiSummaryAttributesType = {};
@@ -99,14 +99,14 @@ export type RelatedLinksFailedAttributesType = {
99
99
  };
100
100
  export type SmartLinkIframeDwelledAttributesType = {
101
101
  id: string;
102
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink';
102
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
103
103
  definitionId: string | null;
104
104
  dwellTime: number;
105
105
  dwellPercentVisible: number;
106
106
  };
107
107
  export type SmartLinkIframeFocusedAttributesType = {
108
108
  id: string;
109
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink';
109
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
110
110
  definitionId: string | null;
111
111
  };
112
112
  export type ApplicationAccountConnectedAttributesType = {
@@ -147,7 +147,7 @@ export type SmartLinkUnresolvedAttributesType = {
147
147
  reason: string;
148
148
  };
149
149
  export type SmartLinkChunkLoadFailedAttributesType = {
150
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink';
150
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
151
151
  definitionId: string | null;
152
152
  error: Record<string, unknown>;
153
153
  errorInfo: Record<string, unknown>;
@@ -156,7 +156,7 @@ export type SmartLinkActionResolvedAttributesType = {
156
156
  actionType: string | null;
157
157
  id: string | null;
158
158
  definitionId: string | null;
159
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink' | null;
159
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url' | null;
160
160
  resourceType: string | null;
161
161
  duration: number | null;
162
162
  };
@@ -164,7 +164,7 @@ export type SmartLinkActionUnresolvedAttributesType = {
164
164
  actionType: string | null;
165
165
  id: string | null;
166
166
  definitionId: string | null;
167
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink' | null;
167
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url' | null;
168
168
  resourceType: string | null;
169
169
  duration: number | null;
170
170
  reason: string | null;
@@ -211,15 +211,15 @@ export type HoverCardDismissedAttributesType = {
211
211
  definitionId: string | null;
212
212
  };
213
213
  export type ButtonClickedConnectAccountAttributesType = {
214
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink';
214
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
215
215
  definitionId: string | null;
216
216
  };
217
217
  export type SmartLinkClickedTryAnotherAccountAttributesType = {
218
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink';
218
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
219
219
  definitionId: string | null;
220
220
  };
221
221
  export type ConsentModalClosedAttributesType = {
222
- display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink';
222
+ display: 'inline' | 'block' | 'embed' | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
223
223
  definitionId: string | null;
224
224
  };
225
225
  export type ModalClosedEmbedPreviewAttributesType = {
@@ -7,7 +7,7 @@ import { type FlexibleUiOptions } from '../FlexibleCard/types';
7
7
  import { type HoverPreviewOptions } from '../HoverCard/types';
8
8
  import { type InlinePreloaderStyle, type OnErrorCallback } from '../types';
9
9
  export type { CardAppearance, CardPlatform };
10
- export type CardInnerAppearance = CardAppearance | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'hyperlink';
10
+ export type CardInnerAppearance = CardAppearance | 'embedPreview' | 'flexible' | 'hoverCardPreview' | 'url';
11
11
  export type EmbedIframeUrlType = 'href' | 'interactiveHref';
12
12
  export type OnResolveCallback = (data: {
13
13
  aspectRatio?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "43.1.7",
3
+ "version": "43.1.9",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -70,12 +70,12 @@
70
70
  "@atlaskit/textarea": "^8.0.0",
71
71
  "@atlaskit/textfield": "^8.0.0",
72
72
  "@atlaskit/theme": "^21.0.0",
73
- "@atlaskit/tmp-editor-statsig": "^13.10.0",
73
+ "@atlaskit/tmp-editor-statsig": "^13.12.0",
74
74
  "@atlaskit/tokens": "^6.5.0",
75
75
  "@atlaskit/tooltip": "^20.5.0",
76
76
  "@atlaskit/ufo": "^0.4.0",
77
77
  "@babel/runtime": "^7.0.0",
78
- "@compiled/react": "^0.18.3",
78
+ "@compiled/react": "^0.18.6",
79
79
  "@formatjs/intl-utils": "^3.8.4",
80
80
  "facepaint": "^1.2.1",
81
81
  "lru_map": "^0.4.1",
@@ -100,7 +100,7 @@
100
100
  "@atlaskit/analytics-listeners": "^9.1.0",
101
101
  "@atlaskit/css-reset": "^7.3.0",
102
102
  "@atlaskit/media-test-helpers": "^39.0.0",
103
- "@atlaskit/react-ufo": "^4.11.0",
103
+ "@atlaskit/react-ufo": "^4.12.0",
104
104
  "@atlaskit/ssr": "workspace:^",
105
105
  "@atlassian/analytics-tooling": "^0.5.0",
106
106
  "@atlassian/feature-flags-test-utils": "^0.3.0",
@@ -202,9 +202,6 @@
202
202
  "platform-linking-user-attributes-component": {
203
203
  "type": "boolean"
204
204
  },
205
- "platform_renderer_blindspots": {
206
- "type": "boolean"
207
- },
208
205
  "product-terminology-refresh": {
209
206
  "type": "boolean"
210
207
  },