@schibsted/advertory 2.70.4 → 2.71.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 (105) hide show
  1. package/core/aftenposten/es/index.css +1 -1
  2. package/core/aftenposten/es/index.d.ts +6 -3
  3. package/core/aftenposten/es/index.js +1 -1
  4. package/core/aftenposten/index.d.ts +6 -3
  5. package/core/aftenposten/index.js +1 -1
  6. package/core/aftenpostenv2/es/index.css +1 -1
  7. package/core/aftenpostenv2/es/index.d.ts +6 -3
  8. package/core/aftenpostenv2/es/index.js +1 -1
  9. package/core/aftonbladet/es/index.css +1 -1
  10. package/core/aftonbladet/es/index.d.ts +6 -3
  11. package/core/aftonbladet/es/index.js +1 -1
  12. package/core/aftonbladet/index.d.ts +6 -3
  13. package/core/aftonbladet/index.js +1 -1
  14. package/core/aftonbladetv2/es/index.css +1 -1
  15. package/core/aftonbladetv2/es/index.d.ts +6 -3
  16. package/core/aftonbladetv2/es/index.js +1 -1
  17. package/core/bt/es/index.css +1 -1
  18. package/core/bt/es/index.d.ts +6 -3
  19. package/core/bt/es/index.js +1 -1
  20. package/core/bt/index.d.ts +6 -3
  21. package/core/bt/index.js +1 -1
  22. package/core/e24/es/index.css +1 -1
  23. package/core/e24/es/index.d.ts +6 -3
  24. package/core/e24/es/index.js +1 -1
  25. package/core/e24/index.d.ts +6 -3
  26. package/core/e24/index.js +1 -1
  27. package/core/fotbollskanalen/es/index.css +1 -1
  28. package/core/fotbollskanalen/es/index.d.ts +6 -3
  29. package/core/fotbollskanalen/es/index.js +1 -1
  30. package/core/fotbollskanalen/index.d.ts +6 -3
  31. package/core/fotbollskanalen/index.js +1 -1
  32. package/core/godare/index.d.ts +6 -3
  33. package/core/godare/index.js +1 -1
  34. package/core/godt/index.d.ts +6 -3
  35. package/core/godt/index.js +1 -1
  36. package/core/klart/index.d.ts +6 -3
  37. package/core/klart/index.js +1 -1
  38. package/core/koket/es/index.css +1 -1
  39. package/core/koket/es/index.d.ts +6 -3
  40. package/core/koket/es/index.js +1 -1
  41. package/core/koket/index.d.ts +6 -3
  42. package/core/koket/index.js +1 -1
  43. package/core/kompakt/index.d.ts +6 -3
  44. package/core/kompakt/index.js +1 -1
  45. package/core/minmote/index.d.ts +6 -3
  46. package/core/minmote/index.js +1 -1
  47. package/core/pent/index.d.ts +6 -3
  48. package/core/pent/index.js +1 -1
  49. package/core/sa/es/index.css +1 -1
  50. package/core/sa/es/index.d.ts +6 -3
  51. package/core/sa/es/index.js +1 -1
  52. package/core/sa/index.d.ts +6 -3
  53. package/core/sa/index.js +1 -1
  54. package/core/sav2/es/index.css +1 -1
  55. package/core/sav2/es/index.d.ts +6 -3
  56. package/core/sav2/es/index.js +1 -1
  57. package/core/svd/es/index.css +1 -1
  58. package/core/svd/es/index.d.ts +6 -3
  59. package/core/svd/es/index.js +1 -1
  60. package/core/svd/index.d.ts +6 -3
  61. package/core/svd/index.js +1 -1
  62. package/core/svdv2/es/index.css +1 -1
  63. package/core/svdv2/es/index.d.ts +6 -3
  64. package/core/svdv2/es/index.js +1 -1
  65. package/core/tek/index.d.ts +6 -3
  66. package/core/tek/index.js +1 -1
  67. package/core/tv4/es/index.css +1 -1
  68. package/core/tv4/es/index.d.ts +6 -3
  69. package/core/tv4/es/index.js +1 -1
  70. package/core/tv4/index.d.ts +6 -3
  71. package/core/tv4/index.js +1 -1
  72. package/core/tvnu/index.d.ts +6 -3
  73. package/core/tvnu/index.js +1 -1
  74. package/core/vg/es/index.css +1 -1
  75. package/core/vg/es/index.d.ts +6 -3
  76. package/core/vg/es/index.js +1 -1
  77. package/core/vg/index.d.ts +6 -3
  78. package/core/vg/index.js +1 -1
  79. package/core/vgv2/es/index.css +1 -1
  80. package/core/vgv2/es/index.d.ts +6 -3
  81. package/core/vgv2/es/index.js +1 -1
  82. package/features/ad-native/index.d.ts +5 -3
  83. package/features/ad-native/index.js +1 -1
  84. package/features/dr-edition/es/index.d.ts +4 -3
  85. package/features/dr-edition/index.d.ts +4 -3
  86. package/features/kilkaya/es/index.d.ts +4 -3
  87. package/features/kilkaya/index.d.ts +4 -3
  88. package/features/tracker/index.d.ts +4 -3
  89. package/package.json +1 -1
  90. package/sites/aftenposten/es/index.css +1 -1
  91. package/sites/aftenpostenv2/es/index.css +1 -1
  92. package/sites/aftonbladet/es/index.css +1 -1
  93. package/sites/aftonbladetv2/es/index.css +1 -1
  94. package/sites/bt/es/index.css +1 -1
  95. package/sites/e24/es/index.css +1 -1
  96. package/sites/koket/es/index.css +1 -1
  97. package/sites/sa/es/index.css +1 -1
  98. package/sites/sav2/es/index.css +1 -1
  99. package/sites/svd/es/index.css +1 -1
  100. package/sites/svdv2/es/index.css +1 -1
  101. package/sites/tv4/es/index.css +1 -1
  102. package/sites/vg/es/index.css +1 -1
  103. package/sites/vgv2/es/index.css +1 -1
  104. package/types/core/interface/ast.d.ts +2 -0
  105. package/types/core/interface/config.d.ts +4 -3
@@ -50,6 +50,7 @@ export interface AstNative {
50
50
  customTitle3?: string;
51
51
  customTitle4?: string;
52
52
  description?: string;
53
+ customIcon1?: AstNativeIcon;
53
54
  customIcon2: AstNativeIcon;
54
55
  }
55
56
  export interface AstAdObj {
@@ -178,6 +179,7 @@ export interface AstNativeParams {
178
179
  address?: AstNativeItem;
179
180
  description: AstNativeItem;
180
181
  video?: AstNativeItem;
182
+ customIcon1?: AstNativeItem;
181
183
  customIcon2?: AstNativeItem;
182
184
  }
183
185
  export interface AstDefineTagParams {
@@ -103,6 +103,7 @@ export interface Placements {
103
103
  tablet: Array<Placement>;
104
104
  mobile: Array<Placement>;
105
105
  }
106
+ type Theme = 'light' | 'dark';
106
107
  export interface AppearanceConfig {
107
108
  defaultThreshold: {
108
109
  mobile: number;
@@ -112,6 +113,7 @@ export interface AppearanceConfig {
112
113
  clearProbableDimensionsEnabled?: boolean;
113
114
  isDarkModeEnabled?: boolean;
114
115
  mainColumnWidth?: number;
116
+ theme?: Theme;
115
117
  }
116
118
  interface PageSectionsSelectors {
117
119
  top?: string;
@@ -138,13 +140,12 @@ interface PositionConfig {
138
140
  sizes?: Array<Array<number>>;
139
141
  keywords?: AstKeywords;
140
142
  }
141
- type FinnBlinkTheme = 'light' | 'dark';
142
143
  export interface FinnBlinkConfig {
143
144
  enabled?: boolean;
144
145
  channel?: string;
145
146
  userId?: string;
146
147
  uuid?: string;
147
- theme?: FinnBlinkTheme;
148
+ theme?: Theme;
148
149
  replacementConfig?: {
149
150
  adsToReplace?: Array<Array<string>>;
150
151
  sizes?: {
@@ -168,7 +169,7 @@ export interface FinnBlinkPlacementConfig {
168
169
  offset?: number;
169
170
  requireImage?: boolean;
170
171
  rec?: boolean;
171
- theme?: FinnBlinkTheme;
172
+ theme?: Theme;
172
173
  advertoryTheme?: string;
173
174
  loadOnlyFinnBlink?: boolean;
174
175
  }