@schibsted/advertory 2.50.0 → 2.51.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.
Files changed (103) hide show
  1. package/core/aftenposten/es/index.css +1 -1
  2. package/core/aftenposten/es/index.d.ts +2 -0
  3. package/core/aftenposten/es/index.js +1 -1
  4. package/core/aftenposten/index.d.ts +2 -0
  5. package/core/aftenposten/index.js +1 -1
  6. package/core/aftonbladet/es/index.css +1 -1
  7. package/core/aftonbladet/es/index.d.ts +2 -0
  8. package/core/aftonbladet/es/index.js +1 -1
  9. package/core/aftonbladet/index.d.ts +2 -0
  10. package/core/aftonbladet/index.js +1 -1
  11. package/core/aftonbladetv2/es/index.css +1 -1
  12. package/core/aftonbladetv2/es/index.d.ts +2 -0
  13. package/core/aftonbladetv2/es/index.js +1 -1
  14. package/core/bt/es/index.css +1 -1
  15. package/core/bt/es/index.d.ts +2 -0
  16. package/core/bt/es/index.js +1 -1
  17. package/core/bt/index.d.ts +2 -0
  18. package/core/bt/index.js +1 -1
  19. package/core/e24/es/index.css +1 -1
  20. package/core/e24/es/index.d.ts +2 -0
  21. package/core/e24/es/index.js +1 -1
  22. package/core/e24/index.d.ts +2 -0
  23. package/core/e24/index.js +1 -1
  24. package/core/e24v2/es/index.css +1 -1
  25. package/core/e24v2/es/index.d.ts +2 -0
  26. package/core/e24v2/es/index.js +1 -1
  27. package/core/fotbollskanalen/es/index.d.ts +2 -0
  28. package/core/fotbollskanalen/index.d.ts +2 -0
  29. package/core/godare/index.d.ts +2 -0
  30. package/core/godare/index.js +1 -1
  31. package/core/godt/index.d.ts +2 -0
  32. package/core/godt/index.js +1 -1
  33. package/core/klart/index.d.ts +2 -0
  34. package/core/klart/index.js +1 -1
  35. package/core/koket/es/index.css +1 -1
  36. package/core/koket/es/index.d.ts +2 -0
  37. package/core/koket/index.d.ts +2 -0
  38. package/core/kompakt/index.d.ts +2 -0
  39. package/core/minmote/index.d.ts +2 -0
  40. package/core/minmote/index.js +1 -1
  41. package/core/pent/index.d.ts +2 -0
  42. package/core/pent/index.js +1 -1
  43. package/core/sa/es/index.css +1 -1
  44. package/core/sa/es/index.d.ts +2 -0
  45. package/core/sa/es/index.js +1 -1
  46. package/core/sa/index.d.ts +2 -0
  47. package/core/sa/index.js +1 -1
  48. package/core/svd/es/index.css +1 -1
  49. package/core/svd/es/index.d.ts +2 -0
  50. package/core/svd/es/index.js +1 -1
  51. package/core/svd/index.d.ts +2 -0
  52. package/core/svd/index.js +1 -1
  53. package/core/svdv2/es/index.css +1 -1
  54. package/core/svdv2/es/index.d.ts +2 -0
  55. package/core/svdv2/es/index.js +1 -1
  56. package/core/tek/index.d.ts +2 -0
  57. package/core/tek/index.js +1 -1
  58. package/core/tv4/es/index.css +1 -1
  59. package/core/tv4/es/index.d.ts +2 -0
  60. package/core/tv4/index.d.ts +2 -0
  61. package/core/tvnu/index.d.ts +702 -0
  62. package/core/tvnu/index.js +1 -0
  63. package/core/tvnu/package.json +9 -0
  64. package/core/vg/es/index.css +1 -1
  65. package/core/vg/es/index.d.ts +2 -0
  66. package/core/vg/es/index.js +1 -1
  67. package/core/vg/index.d.ts +2 -0
  68. package/core/vg/index.js +1 -1
  69. package/core/vgv2/es/index.css +1 -1
  70. package/core/vgv2/es/index.d.ts +2 -0
  71. package/core/vgv2/es/index.js +1 -1
  72. package/features/ad-native/index.d.ts +1 -0
  73. package/features/ad-native/index.js +1 -1
  74. package/features/dr-edition/es/index.d.ts +1 -0
  75. package/features/dr-edition/index.d.ts +1 -0
  76. package/package.json +1 -1
  77. package/sites/aftenposten/es/index.css +1 -1
  78. package/sites/aftonbladet/es/index.css +1 -1
  79. package/sites/aftonbladetv2/es/index.css +1 -1
  80. package/sites/bt/es/index.css +1 -1
  81. package/sites/e24/es/index.css +1 -1
  82. package/sites/e24v2/es/index.css +1 -1
  83. package/sites/sa/es/index.css +1 -1
  84. package/sites/svd/es/index.css +1 -1
  85. package/sites/svdv2/es/index.css +1 -1
  86. package/sites/tvnu/index.d.ts +27 -0
  87. package/sites/tvnu/index.js +1 -0
  88. package/sites/tvnu/package.json +9 -0
  89. package/sites/vg/es/index.css +1 -1
  90. package/sites/vgv2/es/index.css +1 -1
  91. package/types/config/tvnu.d.ts +3 -0
  92. package/types/core/interface/newsrooms.d.ts +1 -0
  93. package/types/interface/global.d.ts +1 -0
  94. package/types/sites/tvnu/config.d.ts +3 -0
  95. package/types/sites/tvnu/events.d.ts +14 -0
  96. package/types/sites/tvnu/formats/Panorama/index.d.ts +3 -0
  97. package/types/sites/tvnu/formats/Toppanorama/index.d.ts +3 -0
  98. package/types/sites/tvnu/formats/Widescreen/helpers.d.ts +1 -0
  99. package/types/sites/tvnu/formats/Widescreen/index.d.ts +4 -0
  100. package/types/sites/tvnu/formats/helpers.d.ts +6 -0
  101. package/types/sites/tvnu/formats/index.d.ts +6 -0
  102. package/types/sites/tvnu/index.d.ts +3 -0
  103. package/types/sites/tvnu/prepare-page-options.d.ts +3 -0
@@ -0,0 +1,3 @@
1
+ import { updateAdvertory } from 'core/handlers/ad-server';
2
+ declare const initAdvertoryPackage: (config: import("core/interface/config").SiteConfig) => Promise<void>;
3
+ export { initAdvertoryPackage, updateAdvertory };
@@ -12,6 +12,7 @@ export declare const Newsrooms: {
12
12
  readonly GODT: "godt";
13
13
  readonly TEK: "tekno";
14
14
  readonly KLART: "klart";
15
+ readonly TVNU: "tvnu";
15
16
  readonly POLARIS: "polaris";
16
17
  readonly KOKET: "koket";
17
18
  readonly TV4: "tv4";
@@ -31,6 +31,7 @@ declare global {
31
31
  autoplayQueue: Array<(autoplay: {
32
32
  parse: () => void;
33
33
  }) => void>;
34
+ __isListeningToWidescreenScrollEvents?: boolean;
34
35
  }
35
36
  interface Document {
36
37
  prerendering: boolean;
@@ -0,0 +1,3 @@
1
+ import { SiteSpecificConfig } from 'core/interface/config';
2
+ declare const siteSpecificConfig: SiteSpecificConfig;
3
+ export { siteSpecificConfig };
@@ -0,0 +1,14 @@
1
+ import { AstAdError, AstAdObj } from 'core/interface/ast';
2
+ declare const siteEvents: {
3
+ adRequested: () => void;
4
+ adAvailable: (adObj: AstAdObj) => void;
5
+ adLoaded: (adObj: AstAdObj) => void;
6
+ adNoBid: (adObj: AstAdObj) => void;
7
+ adError: (adError: AstAdError, adObj: AstAdObj) => void;
8
+ adCollapse: () => void;
9
+ adRequestFailure: (adError: AstAdError) => void;
10
+ adBadRequest: (adError: AstAdError) => void;
11
+ adLoadedMediated: (adObj: AstAdObj) => void;
12
+ adNoBidMediated: (adObj: AstAdObj) => void;
13
+ };
14
+ export { siteEvents };
@@ -0,0 +1,3 @@
1
+ import { AdComponentProps } from 'core/interface/ad-component';
2
+ import './styles.scss';
3
+ export declare const Panorama: ({ placementId, adTheme, device, classNames }: AdComponentProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { AdComponentProps } from 'core/interface/ad-component';
2
+ import './styles.scss';
3
+ export declare const Toppanorama: ({ placementId, adTheme, device }: AdComponentProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const initWidescreenSwitching: () => void;
@@ -0,0 +1,4 @@
1
+ import { AdComponentProps } from 'core/interface/ad-component';
2
+ import './styles.scss';
3
+ declare const Widescreen: ({ placementId, adTheme, device }: AdComponentProps) => JSX.Element;
4
+ export { Widescreen };
@@ -0,0 +1,6 @@
1
+ import { AstAdObj } from 'core/interface/ast';
2
+ declare const isCalendarFormatAd: (adObj: AstAdObj) => boolean;
3
+ declare const applyHFormatClasses: (element: HTMLElement, parent: HTMLElement) => void;
4
+ declare const applyWidescreenWithHFormat: (parent: HTMLElement) => void;
5
+ declare const applyCalendarFormatClasses: (element: HTMLElement, parent: HTMLElement) => void;
6
+ export { isCalendarFormatAd, applyHFormatClasses, applyWidescreenWithHFormat, applyCalendarFormatClasses };
@@ -0,0 +1,6 @@
1
+ export * from './Panorama';
2
+ export * from './Toppanorama';
3
+ export * from './Widescreen';
4
+ export * from 'features/ad-takeover/placement';
5
+ export * from './takeover.scss';
6
+ export * from './fullscreen-scroll.scss';
@@ -0,0 +1,3 @@
1
+ import { Panorama, Toppanorama, Widescreen, Takeover } from './formats';
2
+ import { Sponsorstripe } from 'features/ad-native';
3
+ export { Panorama, Toppanorama, Widescreen, Takeover, Sponsorstripe };
@@ -0,0 +1,3 @@
1
+ import { AstPageOptions } from 'core/interface/ast';
2
+ declare const _default: (pageOptions: AstPageOptions) => Promise<AstPageOptions>;
3
+ export default _default;