@playpilot/tpi 7.3.0 → 7.3.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playpilot/tpi",
3
- "version": "7.3.0",
3
+ "version": "7.3.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
@@ -40,6 +40,7 @@
40
40
  .paragraph {
41
41
  display: block;
42
42
  margin: margin(1) 0 0;
43
+ font-family: theme(description-font-family, font-family);
43
44
  }
44
45
 
45
46
  .show-more {
@@ -100,6 +100,7 @@
100
100
  position: relative;
101
101
  background: theme(playlink-background, lighter);
102
102
  box-shadow: theme(playlink-shadow, shadow);
103
+ border: theme(playlink-border, 0);
103
104
  border-radius: theme(playlink-border-radius, border-radius);
104
105
  color: theme(playlink-text-color, text-color) !important;
105
106
  font-weight: theme(playlink-font-weight, inherit);
@@ -41,8 +41,9 @@
41
41
  margin: margin(1) 0 margin(0.5);
42
42
  font-size: theme(rail-title-font-size, 18px);
43
43
  line-height: normal;
44
- font-weight: inherit;
44
+ font-weight: theme(rail-title-font-weight, inherit);
45
45
  color: theme(rail-title-text-color, text-color);
46
+ font-family: theme(rail-title-font-family, font-family);
46
47
  }
47
48
 
48
49
  .rail {
@@ -95,8 +95,9 @@ describe('explore.js', () => {
95
95
  })
96
96
 
97
97
  it('Should remove custom style tag', () => {
98
- document.body.innerHTML = `<script id="${exploreCustomStyleId}"></script>`
98
+ document.body.innerHTML = `<div data-playpilot-explore></div><script id="${exploreCustomStyleId}"></script>`
99
99
 
100
+ insertExplore()
100
101
  destroyExplore()
101
102
 
102
103
  expect(document.querySelector('#' + exploreCustomStyleId)).not.toBeTruthy()