@playkit-js/playkit-js-ivq 3.7.29 → 3.8.0-canary.0-e8f0da3
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 +9 -0
- package/README.md +59 -0
- package/demo/style.css +19 -0
- package/dist/playkit-ivq.js +1 -1
- package/dist/playkit-ivq.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## 3.8.0-canary.0-e8f0da3 (2026-09-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* **FEC-14942:** IVQ plugin: expose CSS custom properties and stable root class for theming ([#212](https://github.com/kaltura/playkit-js-ivq/issues/212)) ([e8f0da3](https://github.com/kaltura/playkit-js-ivq/commit/e8f0da3))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
5
14
|
### 3.7.29 (2026-09-03)
|
|
6
15
|
|
|
7
16
|
|
package/README.md
CHANGED
|
@@ -100,6 +100,65 @@ We use [SemVer](http://semver.org/) for versioning. For the versions available,
|
|
|
100
100
|
|
|
101
101
|
This project is licensed under the AGPL-3.0 License - see the [LICENSE.md](LICENSE.md) file for details
|
|
102
102
|
|
|
103
|
+
## Theming
|
|
104
|
+
|
|
105
|
+
The plugin root element carries the stable class `playkit-ivq`. Default values
|
|
106
|
+
are declared on that class; override any property at the player-container level.
|
|
107
|
+
|
|
108
|
+
**Question text**
|
|
109
|
+
|
|
110
|
+
| Property | Default | Description |
|
|
111
|
+
|---|---|---|
|
|
112
|
+
| `--ivq-question-font-size` | `18px` | Question text font size |
|
|
113
|
+
| `--ivq-question-line-height` | `normal` | Question text line height |
|
|
114
|
+
| `--ivq-question-max-width` | `100%` | Max width of question text block |
|
|
115
|
+
|
|
116
|
+
**Answer options**
|
|
117
|
+
|
|
118
|
+
| Property | Default | Description |
|
|
119
|
+
|---|---|---|
|
|
120
|
+
| `--ivq-answer-font-size` | `16px` | Answer choice font size |
|
|
121
|
+
| `--ivq-answer-line-height` | `normal` | Answer choice line height |
|
|
122
|
+
| `--ivq-answer-border-radius` | `4px` | Answer choice corner radius |
|
|
123
|
+
|
|
124
|
+
**Open question textarea**
|
|
125
|
+
|
|
126
|
+
| Property | Default | Description |
|
|
127
|
+
|---|---|---|
|
|
128
|
+
| `--ivq-textarea-font-size` | `14px` | Textarea font size |
|
|
129
|
+
| `--ivq-textarea-min-height` | `80px` | Textarea minimum height |
|
|
130
|
+
| `--ivq-textarea-max-height` | `120px` | Textarea maximum height |
|
|
131
|
+
|
|
132
|
+
**Buttons**
|
|
133
|
+
|
|
134
|
+
| Property | Default | Description |
|
|
135
|
+
|---|---|---|
|
|
136
|
+
| `--ivq-button-font-size` | `14px` | Button label font size |
|
|
137
|
+
| `--ivq-button-padding` | `4px 8px` | Button inner padding |
|
|
138
|
+
| `--ivq-button-border-radius` | `4px` | Button corner radius |
|
|
139
|
+
|
|
140
|
+
**Welcome and submit screens**
|
|
141
|
+
|
|
142
|
+
| Property | Default | Description |
|
|
143
|
+
|---|---|---|
|
|
144
|
+
| `--ivq-title-font-size` | `32px` | Title font size |
|
|
145
|
+
| `--ivq-description-font-size` | `14px` | Description font size |
|
|
146
|
+
|
|
147
|
+
**Popup**
|
|
148
|
+
|
|
149
|
+
| Property | Default | Description |
|
|
150
|
+
|---|---|---|
|
|
151
|
+
| `--ivq-popup-background` | `rgba(0, 0, 0, 0.7)` | Popup background color |
|
|
152
|
+
| `--ivq-popup-blur` | `8px` | Popup backdrop blur radius |
|
|
153
|
+
|
|
154
|
+
**Example** — override from the player container:
|
|
155
|
+
```css
|
|
156
|
+
.playkit-ivq {
|
|
157
|
+
--ivq-button-font-size: 16px;
|
|
158
|
+
--ivq-question-max-width: 800px;
|
|
159
|
+
}
|
|
160
|
+
```
|
|
161
|
+
|
|
103
162
|
<a name="dependencies"></a>
|
|
104
163
|
## Dependencies
|
|
105
164
|
|
package/demo/style.css
CHANGED
|
@@ -2,6 +2,25 @@ body {
|
|
|
2
2
|
background-color: #212121;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
+
.playkit-ivq {
|
|
6
|
+
--ivq-question-font-size: 18px;
|
|
7
|
+
--ivq-question-line-height: normal;
|
|
8
|
+
--ivq-question-max-width: 100%;
|
|
9
|
+
--ivq-answer-font-size: 16px;
|
|
10
|
+
--ivq-answer-line-height: normal;
|
|
11
|
+
--ivq-answer-border-radius: 4px;
|
|
12
|
+
--ivq-textarea-font-size: 14px;
|
|
13
|
+
--ivq-textarea-min-height: 80px;
|
|
14
|
+
--ivq-textarea-max-height: 120px;
|
|
15
|
+
--ivq-button-font-size: 14px;
|
|
16
|
+
--ivq-button-padding: 4px 8px;
|
|
17
|
+
--ivq-button-border-radius: 4px;
|
|
18
|
+
--ivq-title-font-size: 32px;
|
|
19
|
+
--ivq-description-font-size: 14px;
|
|
20
|
+
--ivq-popup-background: rgba(0, 0, 0, 0.7);
|
|
21
|
+
--ivq-popup-blur: 8px;
|
|
22
|
+
}
|
|
23
|
+
|
|
5
24
|
#player-placeholder {
|
|
6
25
|
margin: 100px auto;
|
|
7
26
|
width: 768px;
|