@atlaskit/smart-card 43.1.7 → 43.1.8

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,13 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 43.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`57d4a5b7703ef`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/57d4a5b7703ef) -
8
+ Cleans up platform_renderer_blindspots
9
+ - Updated dependencies
10
+
3
11
  ## 43.1.7
4
12
 
5
13
  ### Patch Changes
@@ -6321,7 +6329,6 @@
6321
6329
 
6322
6330
  - [#32793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32793)
6323
6331
  [`9c49eef4c87`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c49eef4c87) - [ux]
6324
-
6325
6332
  - Add lozenge action to hover preview (wip, opt-in, feature flag)
6326
6333
  - Fix hover preview's action dropdown menu showing behind container
6327
6334
  - Allow setting z-index for portal component inside flexible smart links
@@ -7421,7 +7428,6 @@
7421
7428
  - [#24442](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24442)
7422
7429
  [`d0b3a262e03`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d0b3a262e03) - [ux]
7423
7430
  Embed Preview: Update the new embed preview modal UX
7424
-
7425
7431
  - Make title smaller
7426
7432
  - Reduce gap between element
7427
7433
  - Hide resize button on smaller screen
@@ -7545,7 +7551,6 @@
7545
7551
  - [#22592](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22592)
7546
7552
  [`e15410365b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e15410365b2) - - export
7547
7553
  types/functions in linking common to be used in smart card
7548
-
7549
7554
  - add flag to card action to override re-using previous 'resolved' state
7550
7555
 
7551
7556
  - add prop to cardState which reflects the metadata state, can be pending, resolved or errored
@@ -7841,13 +7846,11 @@
7841
7846
  are now as follows:
7842
7847
 
7843
7848
  #### `ui.cardClickedEvent`
7844
-
7845
7849
  - Now contains `location` as described by the `useSmartLinkAnalytics` hook.
7846
7850
  - Now is fired in `unauthorized`, `errored` and `forbidden` states, with the `status` attribute
7847
7851
  representing the state of the event.
7848
7852
 
7849
7853
  #### `ui.renderSuccessEvent`
7850
-
7851
7854
  - Now contains the `status` attribute, representing the state of the event (`unauthorized`,
7852
7855
  `errored`, `resolved`, etc.)
7853
7856
 
@@ -8010,7 +8013,6 @@
8010
8013
  - [#20562](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20562)
8011
8014
  [`6ee499cbb73`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ee499cbb73) - - Add
8012
8015
  @atlaskit/link-provider as peerDependency.
8013
-
8014
8016
  - Use Provider/Client from @atlaskit/link-provider and remove local version.
8015
8017
  - Re export moved things from @atlaskit/link-provider to make adoption easier
8016
8018
 
@@ -9113,7 +9115,6 @@
9113
9115
 
9114
9116
  As of this version of `@atlaskit/smart-card`, when a Smart Link is initially rendered, one of two
9115
9117
  things will take place:
9116
-
9117
9118
  - The link will be considered as within the viewport, and a `fetch` and `render` path will be
9118
9119
  taken, or;
9119
9120
  - The link will be considered as outside of the viewport, and a `prefetch` and `render` later path
@@ -9125,7 +9126,6 @@
9125
9126
  Links is fetched in the background, and persisted to the store.
9126
9127
 
9127
9128
  A few additional points here are:
9128
-
9129
9129
  - The prefetching logic has been implemented as a hook which can be used in other components,
9130
9130
  `usePrefetch`;
9131
9131
  - The prefetching logic is error-safe, in that, if errors take place whilst replacing there should
@@ -9173,7 +9173,6 @@
9173
9173
 
9174
9174
  Added integration tests across the board, asserting that a new window is opened to kick off the
9175
9175
  3LO flow.
9176
-
9177
9176
  - Added integration test for account connection and try another account flows for Inline Links;
9178
9177
  - Added integration test for account connection and try another account flows for Card Links;
9179
9178
  - Added integration test for account connection and try another account flows for Embed Links;
@@ -9183,7 +9182,6 @@
9183
9182
 
9184
9183
  Further, added an `AuthorizationWindow` method to the `@atlaskit/media-integration-test-helpers`,
9185
9184
  with the following methods:
9186
-
9187
9185
  - `AuthorizationWindow.open()` - to open a window to authorize, dependent on which card state it
9188
9186
  is being activated from;
9189
9187
  - `AuthorizationWindow.checkUrl()` - to check if the window URL when redirected is the same as the
@@ -9598,7 +9596,6 @@
9598
9596
 
9599
9597
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
9600
9598
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
9601
-
9602
9599
  - @atlaskit/docs@8.3.2
9603
9600
  - @atlaskit/analytics-next@6.3.5
9604
9601
  - @atlaskit/button@13.3.7
@@ -9919,12 +9916,10 @@ Bumped dependencies.
9919
9916
  safety. Flow types are no longer provided. No behavioural changes.
9920
9917
 
9921
9918
  **Breaking changes**
9922
-
9923
9919
  - `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
9924
9920
  - `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
9925
9921
 
9926
9922
  **Breaking changes to TypeScript annotations**
9927
-
9928
9923
  - `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
9929
9924
  props as a generic type.
9930
9925
  - `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
@@ -10029,7 +10024,6 @@ Bumped dependencies.
10029
10024
  - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
10030
10025
 
10031
10026
  In this PR, we are:
10032
-
10033
10027
  - Re-introducing dist build folders
10034
10028
  - Adding back cjs
10035
10029
  - Replacing es5 by cjs and es2015 by esm
@@ -10158,7 +10152,6 @@ Bumped dependencies.
10158
10152
  ### Patch Changes
10159
10153
 
10160
10154
  - [patch][1347760307](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1347760307):
10161
-
10162
10155
  - fix pull request, branch and commit name formatting
10163
10156
 
10164
10157
  ## 11.1.4
@@ -10176,7 +10169,6 @@ Bumped dependencies.
10176
10169
  ## 11.1.3
10177
10170
 
10178
10171
  - [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
10179
-
10180
10172
  - This is just a safety release in case anything strange happened in in the previous one. See Pull
10181
10173
  Request #5942 for details
10182
10174
 
@@ -10200,50 +10192,42 @@ Bumped dependencies.
10200
10192
  ## 11.1.0
10201
10193
 
10202
10194
  - [minor][4969df0716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4969df0716):
10203
-
10204
10195
  - fix lazy rendering bugs in Smart Links.
10205
10196
 
10206
10197
  ## 11.0.5
10207
10198
 
10208
10199
  - [patch][27f666ed85](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/27f666ed85):
10209
-
10210
10200
  - Fixed example.
10211
10201
 
10212
10202
  ## 11.0.4
10213
10203
 
10214
10204
  - [patch][94ffb3b638](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/94ffb3b638):
10215
-
10216
10205
  - check for taskType icon in the json payload
10217
10206
 
10218
10207
  ## 11.0.3
10219
10208
 
10220
10209
  - [patch][6a52b3d258](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a52b3d258):
10221
-
10222
10210
  - fix for clicking behaviour in view/edit mode for Inline Smart Links.
10223
10211
 
10224
10212
  ## 11.0.2
10225
10213
 
10226
10214
  - [patch][7e18a6398b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e18a6398b):
10227
-
10228
10215
  - improve type safety when defining smart-card environment
10229
10216
 
10230
10217
  ## 11.0.1
10231
10218
 
10232
10219
  - [patch][b7687b9981](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b7687b9981):
10233
-
10234
10220
  - Changed smart link functionality so that it will open in the same tab if clicked.
10235
10221
 
10236
10222
  ## 11.0.0
10237
10223
 
10238
10224
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
10239
-
10240
10225
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
10241
10226
  this package, please ensure you use at least this version of react and react-dom.
10242
10227
 
10243
10228
  ## 10.5.0
10244
10229
 
10245
10230
  - [minor][593404cba8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/593404cba8):
10246
-
10247
10231
  - add status lozenge to source code issue references.
10248
10232
 
10249
10233
  ## 10.4.2
@@ -10259,13 +10243,11 @@ Bumped dependencies.
10259
10243
  ## 10.4.1
10260
10244
 
10261
10245
  - [patch][3e4c4d7e2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3e4c4d7e2d):
10262
-
10263
10246
  - fix: send 'Origin' header in resolve requests
10264
10247
 
10265
10248
  ## 10.4.0
10266
10249
 
10267
10250
  - [minor][da5a7f3390](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/da5a7f3390):
10268
-
10269
10251
  - fix third-party link extractors to resolve URLs more accurately.
10270
10252
 
10271
10253
  ## 10.3.1
@@ -10278,7 +10260,6 @@ Bumped dependencies.
10278
10260
  ## 10.3.0
10279
10261
 
10280
10262
  - [minor][ce985861c3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ce985861c3):
10281
-
10282
10263
  - Added analytics for UI actions, and updated existing operational analytics events
10283
10264
 
10284
10265
  ## 10.2.4
@@ -10302,7 +10283,6 @@ Bumped dependencies.
10302
10283
  ## 10.2.3
10303
10284
 
10304
10285
  - [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
10305
-
10306
10286
  - @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
10307
10287
  supplied from itself.
10308
10288
 
@@ -10329,19 +10309,16 @@ Bumped dependencies.
10329
10309
  ## 10.2.1
10330
10310
 
10331
10311
  - [patch][d13fad66df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13fad66df):
10332
-
10333
10312
  - Enable esModuleInterop for typescript, this allows correct use of default exports
10334
10313
 
10335
10314
  ## 10.2.0
10336
10315
 
10337
10316
  - [minor][9b0dd21ce7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9b0dd21ce7):
10338
-
10339
10317
  - allow the appearance of lozenges within smart link tasks to be configured
10340
10318
 
10341
10319
  ## 10.1.2
10342
10320
 
10343
10321
  - [patch][aa117f5341](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aa117f5341):
10344
-
10345
10322
  - fix alignment and UI for inline Smart Links.
10346
10323
 
10347
10324
  ## 10.1.1
@@ -10354,7 +10331,6 @@ Bumped dependencies.
10354
10331
  ## 10.1.0
10355
10332
 
10356
10333
  - [minor][11a6c98707](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/11a6c98707):
10357
-
10358
10334
  - refactor Smart Links frontend directory structure.
10359
10335
 
10360
10336
  ## 10.0.2
@@ -10367,19 +10343,16 @@ Bumped dependencies.
10367
10343
  ## 10.0.1
10368
10344
 
10369
10345
  - [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
10370
-
10371
10346
  - Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
10372
10347
 
10373
10348
  ## 10.0.0
10374
10349
 
10375
10350
  - [major][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
10376
-
10377
10351
  - Dropped ES5 distributables from the typescript packages
10378
10352
 
10379
10353
  ## 9.11.4
10380
10354
 
10381
10355
  - [patch][8ed53a1cbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8ed53a1cbb):
10382
-
10383
10356
  - fix padding, wrapping for inline smart links.
10384
10357
 
10385
10358
  ## 9.11.3
@@ -10414,31 +10387,26 @@ Bumped dependencies.
10414
10387
  ## 9.11.1
10415
10388
 
10416
10389
  - [patch][2cb8c44165](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2cb8c44165):
10417
-
10418
10390
  - Fix environments mix-up
10419
10391
 
10420
10392
  ## 9.11.0
10421
10393
 
10422
10394
  - [minor][41147bbc4c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/41147bbc4c):
10423
-
10424
10395
  - Fix for links in editor
10425
10396
 
10426
10397
  ## 9.10.0
10427
10398
 
10428
10399
  - [minor][ea423a619f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ea423a619f):
10429
-
10430
10400
  - Fixed the call to the /check endpoint
10431
10401
 
10432
10402
  ## 9.9.0
10433
10403
 
10434
10404
  - [minor][7f70e97f98](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7f70e97f98):
10435
-
10436
10405
  - Added environments to client
10437
10406
 
10438
10407
  ## 9.8.0
10439
10408
 
10440
10409
  - [minor][1594f351d9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1594f351d9):
10441
-
10442
10410
  - added inline extractors for Bitbucket and Github.
10443
10411
 
10444
10412
  ## 9.7.1
@@ -10450,68 +10418,57 @@ Bumped dependencies.
10450
10418
  ## 9.7.0
10451
10419
 
10452
10420
  - [minor][1c62bcce7d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1c62bcce7d):
10453
-
10454
10421
  - Fix a problem with smart cards not appearing sometimes when lazy rendered and lazy loaded after
10455
10422
  code-split.
10456
10423
 
10457
10424
  ## 9.6.8
10458
10425
 
10459
10426
  - [patch][af3918bc89](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/af3918bc89):
10460
-
10461
10427
  - The url part of the unauthorized link is now grey
10462
10428
 
10463
10429
  ## 9.6.7
10464
10430
 
10465
10431
  - [patch][abce6949c0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/abce6949c0):
10466
-
10467
10432
  - fix icon sizing and url key.
10468
10433
 
10469
10434
  ## 9.6.6
10470
10435
 
10471
10436
  - [patch][5ae645d661](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5ae645d661):
10472
-
10473
10437
  - Fixing analytics in smart-cards
10474
10438
 
10475
10439
  ## 9.6.5
10476
10440
 
10477
10441
  - [patch][2035bef8fb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2035bef8fb):
10478
-
10479
10442
  - Fix inline extractor priority preventing @type arrays in some cases.
10480
10443
 
10481
10444
  ## 9.6.4
10482
10445
 
10483
10446
  - [patch][56c5a4b41f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/56c5a4b41f):
10484
-
10485
10447
  - Fix "try again" should not be showing when there are no auth methods
10486
10448
 
10487
10449
  ## 9.6.3
10488
10450
 
10489
10451
  - [patch][63e6f7d420](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/63e6f7d420):
10490
-
10491
10452
  - Fix missing attributes for link view
10492
10453
 
10493
10454
  ## 9.6.2
10494
10455
 
10495
10456
  - [patch][cbc601aed3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cbc601aed3):
10496
-
10497
10457
  - Added missing type of events for Confluence
10498
10458
 
10499
10459
  ## 9.6.1
10500
10460
 
10501
10461
  - [patch][bef9abc8de](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bef9abc8de):
10502
-
10503
10462
  - added background colour to inline card views, fixed icon alignment.
10504
10463
 
10505
10464
  ## 9.6.0
10506
10465
 
10507
10466
  - [minor][27b12fdfc6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/27b12fdfc6):
10508
-
10509
10467
  - added support for rendering of icons in Jira links
10510
10468
 
10511
10469
  ## 9.5.0
10512
10470
 
10513
10471
  - [minor][d664fc3d49](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d664fc3d49):
10514
-
10515
10472
  - added support for rendering of icons with Confluence links
10516
10473
 
10517
10474
  ## 9.4.1
@@ -10530,21 +10487,17 @@ Bumped dependencies.
10530
10487
  ## 9.4.0
10531
10488
 
10532
10489
  - [minor][8ff07c1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8ff07c1):
10533
-
10534
10490
  - Analytics, first attempt, validate the idea
10535
10491
 
10536
10492
  - [minor][7777442](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7777442):
10537
-
10538
10493
  - More analytics for smart links
10539
10494
 
10540
10495
  - [minor][7302ea6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7302ea6):
10541
-
10542
10496
  - Analytics for smart cards
10543
10497
 
10544
10498
  ## 9.3.0
10545
10499
 
10546
10500
  - [minor][150626e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/150626e):
10547
-
10548
10501
  - add support for source code repository urls (currently Bitbucket and Github) in smart-cards.
10549
10502
 
10550
10503
  ## 9.2.2
@@ -10557,19 +10510,16 @@ Bumped dependencies.
10557
10510
  ## 9.2.1
10558
10511
 
10559
10512
  - [patch][9c50550](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c50550):
10560
-
10561
10513
  - Do not show connect button if there are no auth methods.
10562
10514
 
10563
10515
  ## 9.2.0
10564
10516
 
10565
10517
  - [minor][95f98cc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/95f98cc):
10566
-
10567
10518
  - User can click on a smart card to open a new window/tab
10568
10519
 
10569
10520
  ## 9.1.0
10570
10521
 
10571
10522
  - [minor][1175616](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1175616):
10572
-
10573
10523
  - Simplified error state in inline cards: no red state anymore, just blue link
10574
10524
 
10575
10525
  ## 9.0.4
@@ -10618,13 +10568,11 @@ Bumped dependencies.
10618
10568
  ## 9.0.1
10619
10569
 
10620
10570
  - [patch][4c0c2a0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4c0c2a0):
10621
-
10622
10571
  - Fix Cards throwing Error when client is not provided.
10623
10572
 
10624
10573
  ## 9.0.0
10625
10574
 
10626
10575
  - [major][df32968](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df32968):
10627
-
10628
10576
  - Introduced pending state (which is represented as a link) and a race between resolving state and
10629
10577
  the data fetch.
10630
10578
 
@@ -10670,7 +10618,6 @@ Bumped dependencies.
10670
10618
  ## 8.8.2
10671
10619
 
10672
10620
  - [patch][b859e08](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b859e08):
10673
-
10674
10621
  - Update dependent versions
10675
10622
 
10676
10623
  ## 8.8.1
@@ -10682,37 +10629,31 @@ Bumped dependencies.
10682
10629
  ## 8.8.0
10683
10630
 
10684
10631
  - [minor][93b31fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/93b31fa):
10685
-
10686
10632
  - Add support for nested <SmartCardProvider />
10687
10633
 
10688
10634
  ## 8.7.1
10689
10635
 
10690
10636
  - [patch][00cd9a8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/00cd9a8):
10691
-
10692
10637
  - Add tag support for inline task card.
10693
10638
 
10694
10639
  ## 8.7.0
10695
10640
 
10696
10641
  - [minor][e89e244](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e89e244):
10697
-
10698
10642
  - Implemented time-based caching for the client.
10699
10643
 
10700
10644
  ## 8.6.3
10701
10645
 
10702
10646
  - [patch][4b989c3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4b989c3):
10703
-
10704
10647
  - Fix inline cards crashing after change to the format.
10705
10648
 
10706
10649
  ## 8.6.2
10707
10650
 
10708
10651
  - [patch][a567cc9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a567cc9):
10709
-
10710
10652
  - Improve rendering of Smart Cards.
10711
10653
 
10712
10654
  ## 8.6.1
10713
10655
 
10714
10656
  - [patch][7bc4461](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7bc4461):
10715
-
10716
10657
  - ED-5565: support connecting external React.Context to nodeviews
10717
10658
 
10718
10659
  ## 8.6.0
@@ -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: "43.1.7"
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;
@@ -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: "43.1.7",
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: "43.1.7"
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,
@@ -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: "43.1.7",
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: "43.1.7"
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;
@@ -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: "43.1.7",
19
19
  componentName: 'linkUrl'
20
20
  };
21
21
  var Anchor = withLinkClickedEvent('a');
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.8",
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.11.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
  },