@playpilot/tpi 7.3.0 → 7.3.2
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/dist/editorial.mount.js +2 -2
- package/dist/link-injections.js +1 -1
- package/dist/mount.js +2 -2
- package/package.json +1 -1
- package/src/lib/scss/_functions.scss +1 -1
- package/src/routes/components/Button.svelte +1 -1
- package/src/routes/components/Description.svelte +1 -0
- package/src/routes/components/Playlinks/Playlink.svelte +1 -0
- package/src/routes/components/Rails/ParticipantsRail.svelte +1 -1
- package/src/routes/components/Rails/Rail.svelte +3 -2
- package/src/tests/lib/explore.test.js +2 -1
package/package.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
// If the fallback value is not given at all we assume it's meant to be a variable straight up without fallback.
|
|
13
13
|
@if $fallback == "" {
|
|
14
14
|
@return var(--playpilot-#{$scope});
|
|
15
|
-
} @if meta.type-of($fallback) == "string" and $fallback != currentColor {
|
|
15
|
+
} @if meta.type-of($fallback) == "string" and $fallback != currentColor and $fallback != inherit {
|
|
16
16
|
@return var(--playpilot-#{$scope}, var(--playpilot-#{$fallback}));
|
|
17
17
|
} @else {
|
|
18
18
|
@return var(--playpilot-#{$scope}, $fallback);
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
align-items: center;
|
|
26
26
|
justify-content: center;
|
|
27
27
|
gap: margin(0.25);
|
|
28
|
-
border: 0;
|
|
29
28
|
padding: 0.25em 0.5em;
|
|
30
29
|
background: transparent;
|
|
30
|
+
border: theme(button-border, 0);
|
|
31
31
|
border-radius: theme(button-border-radius, border-radius);
|
|
32
32
|
color: theme(button-text-color, text-color-alt);
|
|
33
33
|
font-size: inherit;
|
|
@@ -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);
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
width: 10rem;
|
|
78
78
|
min-height: margin(3.375); // Matches 54 pixels, the height of a card with both name and character
|
|
79
79
|
padding: margin(0.5);
|
|
80
|
-
border: 0;
|
|
80
|
+
border: theme(cast-border, 0);
|
|
81
81
|
border-radius: theme(cast-border-radius, border-radius);
|
|
82
82
|
background: theme(cast-background, lighter);
|
|
83
83
|
cursor: pointer;
|
|
@@ -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 {
|
|
@@ -71,7 +72,7 @@
|
|
|
71
72
|
height: margin(2);
|
|
72
73
|
padding: 0;
|
|
73
74
|
margin: 0;
|
|
74
|
-
border: 0;
|
|
75
|
+
border: theme(rails-arrow-border, 0);
|
|
75
76
|
border-radius: 50%;
|
|
76
77
|
transform: translateX(-50%) translateY(-50%);
|
|
77
78
|
background: theme(rails-arrow-background, content-light);
|
|
@@ -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()
|