taleem-player 0.5.0 → 0.7.0-rc
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/README.md +169 -146
- package/dist/css/taleem.css +347 -0
- package/dist/css/themes/dark.css +6 -0
- package/dist/css/themes/light.css +6 -0
- package/dist/css/themes/paper.css +6 -0
- package/dist/taleem-player.esm.js +221 -14372
- package/dist/taleem-player.umd.js +221 -14366
- package/package.json +11 -8
- package/dist/taleem-player.esm.css +0 -181
- package/dist/taleem-player.umd.css +0 -181
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "taleem-player",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0-rc",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/taleem-player.umd.js",
|
|
6
6
|
"module": "./dist/taleem-player.esm.js",
|
|
@@ -8,23 +8,26 @@
|
|
|
8
8
|
".": {
|
|
9
9
|
"import": "./dist/taleem-player.esm.js",
|
|
10
10
|
"require": "./dist/taleem-player.umd.js"
|
|
11
|
-
}
|
|
11
|
+
},
|
|
12
|
+
"./css": "./dist/css/taleem.css",
|
|
13
|
+
"./css/dark": "./dist/css/themes/dark.css",
|
|
14
|
+
"./css/light": "./dist/css/themes/light.css",
|
|
15
|
+
"./css/paper": "./dist/css/themes/paper.css"
|
|
12
16
|
},
|
|
13
17
|
"files": [
|
|
14
18
|
"dist"
|
|
15
19
|
],
|
|
16
20
|
"scripts": {
|
|
17
21
|
"build": "node ./scripts/build.js",
|
|
18
|
-
"test": "
|
|
22
|
+
"test": "vitest run"
|
|
19
23
|
},
|
|
20
24
|
"dependencies": {
|
|
21
|
-
"taleem-core": "^1.
|
|
22
|
-
"taleem-slides": "^0.
|
|
23
|
-
"zod": "^4.3.5"
|
|
25
|
+
"taleem-core": "^1.4.3",
|
|
26
|
+
"taleem-slides": "^0.6.2-rc.6"
|
|
24
27
|
},
|
|
25
28
|
"devDependencies": {
|
|
26
29
|
"esbuild": "^0.27.2",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
30
|
+
"jsdom": "^22.1.0",
|
|
31
|
+
"vitest": "^3.2.4"
|
|
29
32
|
}
|
|
30
33
|
}
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
/* node_modules/taleem-core/src/styles/taleem.css */
|
|
2
|
-
:root {
|
|
3
|
-
--backgroundColor: #081b7a;
|
|
4
|
-
--primaryColor: #ccd0e4;
|
|
5
|
-
}
|
|
6
|
-
.slide {
|
|
7
|
-
min-height: 100vh;
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
align-items: center;
|
|
13
|
-
padding: 64px 80px;
|
|
14
|
-
gap: 32px;
|
|
15
|
-
background: transparent;
|
|
16
|
-
color: var(--primaryColor);
|
|
17
|
-
font-family:
|
|
18
|
-
system-ui,
|
|
19
|
-
-apple-system,
|
|
20
|
-
Segoe UI,
|
|
21
|
-
Roboto,
|
|
22
|
-
sans-serif;
|
|
23
|
-
font-size: 2.4rem;
|
|
24
|
-
line-height: 1.6;
|
|
25
|
-
letter-spacing: 0.01em;
|
|
26
|
-
text-align: center;
|
|
27
|
-
}
|
|
28
|
-
.slide h1 {
|
|
29
|
-
letter-spacing: -0.015em;
|
|
30
|
-
}
|
|
31
|
-
.slide.titleSlide h1 {
|
|
32
|
-
font-size: 5.6rem;
|
|
33
|
-
font-weight: 700;
|
|
34
|
-
line-height: 1.2;
|
|
35
|
-
margin: 0;
|
|
36
|
-
}
|
|
37
|
-
.slide.titleAndSubtitle h1 {
|
|
38
|
-
font-size: 5.8rem;
|
|
39
|
-
font-weight: 700;
|
|
40
|
-
line-height: 1.25;
|
|
41
|
-
margin: 0;
|
|
42
|
-
}
|
|
43
|
-
.slide.titleAndSubtitle h2 {
|
|
44
|
-
font-size: 3.8rem;
|
|
45
|
-
font-weight: 400;
|
|
46
|
-
line-height: 1.4;
|
|
47
|
-
margin: 0;
|
|
48
|
-
opacity: 0.8;
|
|
49
|
-
}
|
|
50
|
-
.slide.titleAndPara h1 {
|
|
51
|
-
font-size: 4.8rem;
|
|
52
|
-
font-weight: 600;
|
|
53
|
-
line-height: 1.3;
|
|
54
|
-
margin: 0;
|
|
55
|
-
}
|
|
56
|
-
.slide.titleAndPara p {
|
|
57
|
-
font-size: 3rem;
|
|
58
|
-
line-height: 1.7;
|
|
59
|
-
max-width: 70ch;
|
|
60
|
-
margin: 0;
|
|
61
|
-
opacity: 0.9;
|
|
62
|
-
}
|
|
63
|
-
.slide.bulletList ul {
|
|
64
|
-
list-style: disc;
|
|
65
|
-
padding-left: 2rem;
|
|
66
|
-
margin: 0;
|
|
67
|
-
}
|
|
68
|
-
.slide.bulletList li {
|
|
69
|
-
font-size: 3.6rem;
|
|
70
|
-
line-height: 1.6;
|
|
71
|
-
margin-bottom: 1rem;
|
|
72
|
-
text-align: left;
|
|
73
|
-
font-weight: 500;
|
|
74
|
-
}
|
|
75
|
-
.slide.imageSlide {
|
|
76
|
-
padding: 0;
|
|
77
|
-
}
|
|
78
|
-
.slide.imageSlide img {
|
|
79
|
-
max-width: 100%;
|
|
80
|
-
max-height: 100vh;
|
|
81
|
-
object-fit: contain;
|
|
82
|
-
}
|
|
83
|
-
.slide.imageWithTitle {
|
|
84
|
-
position: relative;
|
|
85
|
-
padding: 48px;
|
|
86
|
-
}
|
|
87
|
-
.slide.imageWithTitle img {
|
|
88
|
-
width: 100%;
|
|
89
|
-
height: calc(100vh - 96px);
|
|
90
|
-
object-fit: contain;
|
|
91
|
-
border-radius: 12px;
|
|
92
|
-
}
|
|
93
|
-
.slide.imageWithTitle h1 {
|
|
94
|
-
position: absolute;
|
|
95
|
-
bottom: 64px;
|
|
96
|
-
left: 50%;
|
|
97
|
-
transform: translateX(-50%);
|
|
98
|
-
font-size: 4.6rem;
|
|
99
|
-
font-weight: 600;
|
|
100
|
-
line-height: 1.2;
|
|
101
|
-
padding: 0.4em 0.8em;
|
|
102
|
-
background: rgba(0, 0, 0, 0.45);
|
|
103
|
-
border-radius: 6px;
|
|
104
|
-
}
|
|
105
|
-
.slide.imageWithCaption {
|
|
106
|
-
gap: 40px;
|
|
107
|
-
}
|
|
108
|
-
.slide.imageWithCaption img {
|
|
109
|
-
max-width: 80%;
|
|
110
|
-
max-height: 60vh;
|
|
111
|
-
object-fit: contain;
|
|
112
|
-
}
|
|
113
|
-
.slide.imageWithCaption p {
|
|
114
|
-
font-size: 3rem;
|
|
115
|
-
opacity: 0.85;
|
|
116
|
-
max-width: 60ch;
|
|
117
|
-
}
|
|
118
|
-
.slide.twoColumnText {
|
|
119
|
-
gap: 48px;
|
|
120
|
-
}
|
|
121
|
-
.slide.twoColumnText .columns {
|
|
122
|
-
display: grid;
|
|
123
|
-
grid-template-columns: 1fr 1fr;
|
|
124
|
-
gap: 64px;
|
|
125
|
-
max-width: 1200px;
|
|
126
|
-
}
|
|
127
|
-
.slide.twoColumnText .columns p {
|
|
128
|
-
font-size: 3rem;
|
|
129
|
-
line-height: 1.7;
|
|
130
|
-
text-align: left;
|
|
131
|
-
}
|
|
132
|
-
.slide.imageRightBulletsLeft,
|
|
133
|
-
.slide.imageLeftBulletsRight {
|
|
134
|
-
display: grid;
|
|
135
|
-
grid-template-columns: 1fr 1fr;
|
|
136
|
-
gap: 64px;
|
|
137
|
-
text-align: left;
|
|
138
|
-
align-items: center;
|
|
139
|
-
}
|
|
140
|
-
.slide.imageRightBulletsLeft li,
|
|
141
|
-
.slide.imageLeftBulletsRight li {
|
|
142
|
-
font-size: 3.4rem;
|
|
143
|
-
line-height: 1.6;
|
|
144
|
-
font-weight: 500;
|
|
145
|
-
}
|
|
146
|
-
.slide.imageRightBulletsLeft img,
|
|
147
|
-
.slide.imageLeftBulletsRight img {
|
|
148
|
-
width: 100%;
|
|
149
|
-
max-height: 70vh;
|
|
150
|
-
object-fit: contain;
|
|
151
|
-
}
|
|
152
|
-
.slide.quoteSlide {
|
|
153
|
-
gap: 40px;
|
|
154
|
-
}
|
|
155
|
-
.slide.quoteSlide blockquote {
|
|
156
|
-
font-size: 3.8rem;
|
|
157
|
-
font-style: italic;
|
|
158
|
-
max-width: 60ch;
|
|
159
|
-
line-height: 1.5;
|
|
160
|
-
}
|
|
161
|
-
.slide.quoteSlide cite {
|
|
162
|
-
font-size: 2.4rem;
|
|
163
|
-
opacity: 0.75;
|
|
164
|
-
}
|
|
165
|
-
.slide.bigNumber {
|
|
166
|
-
gap: 24px;
|
|
167
|
-
}
|
|
168
|
-
.slide.bigNumber .number {
|
|
169
|
-
font-size: 9rem;
|
|
170
|
-
font-weight: 700;
|
|
171
|
-
}
|
|
172
|
-
.slide.bigNumber .label {
|
|
173
|
-
font-size: 3rem;
|
|
174
|
-
opacity: 0.85;
|
|
175
|
-
}
|
|
176
|
-
.slide.contactSlide {
|
|
177
|
-
gap: 24px;
|
|
178
|
-
}
|
|
179
|
-
.slide.contactSlide p {
|
|
180
|
-
font-size: 3rem;
|
|
181
|
-
}
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
/* node_modules/taleem-core/src/styles/taleem.css */
|
|
2
|
-
:root {
|
|
3
|
-
--backgroundColor: #081b7a;
|
|
4
|
-
--primaryColor: #ccd0e4;
|
|
5
|
-
}
|
|
6
|
-
.slide {
|
|
7
|
-
min-height: 100vh;
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
align-items: center;
|
|
13
|
-
padding: 64px 80px;
|
|
14
|
-
gap: 32px;
|
|
15
|
-
background: transparent;
|
|
16
|
-
color: var(--primaryColor);
|
|
17
|
-
font-family:
|
|
18
|
-
system-ui,
|
|
19
|
-
-apple-system,
|
|
20
|
-
Segoe UI,
|
|
21
|
-
Roboto,
|
|
22
|
-
sans-serif;
|
|
23
|
-
font-size: 2.4rem;
|
|
24
|
-
line-height: 1.6;
|
|
25
|
-
letter-spacing: 0.01em;
|
|
26
|
-
text-align: center;
|
|
27
|
-
}
|
|
28
|
-
.slide h1 {
|
|
29
|
-
letter-spacing: -0.015em;
|
|
30
|
-
}
|
|
31
|
-
.slide.titleSlide h1 {
|
|
32
|
-
font-size: 5.6rem;
|
|
33
|
-
font-weight: 700;
|
|
34
|
-
line-height: 1.2;
|
|
35
|
-
margin: 0;
|
|
36
|
-
}
|
|
37
|
-
.slide.titleAndSubtitle h1 {
|
|
38
|
-
font-size: 5.8rem;
|
|
39
|
-
font-weight: 700;
|
|
40
|
-
line-height: 1.25;
|
|
41
|
-
margin: 0;
|
|
42
|
-
}
|
|
43
|
-
.slide.titleAndSubtitle h2 {
|
|
44
|
-
font-size: 3.8rem;
|
|
45
|
-
font-weight: 400;
|
|
46
|
-
line-height: 1.4;
|
|
47
|
-
margin: 0;
|
|
48
|
-
opacity: 0.8;
|
|
49
|
-
}
|
|
50
|
-
.slide.titleAndPara h1 {
|
|
51
|
-
font-size: 4.8rem;
|
|
52
|
-
font-weight: 600;
|
|
53
|
-
line-height: 1.3;
|
|
54
|
-
margin: 0;
|
|
55
|
-
}
|
|
56
|
-
.slide.titleAndPara p {
|
|
57
|
-
font-size: 3rem;
|
|
58
|
-
line-height: 1.7;
|
|
59
|
-
max-width: 70ch;
|
|
60
|
-
margin: 0;
|
|
61
|
-
opacity: 0.9;
|
|
62
|
-
}
|
|
63
|
-
.slide.bulletList ul {
|
|
64
|
-
list-style: disc;
|
|
65
|
-
padding-left: 2rem;
|
|
66
|
-
margin: 0;
|
|
67
|
-
}
|
|
68
|
-
.slide.bulletList li {
|
|
69
|
-
font-size: 3.6rem;
|
|
70
|
-
line-height: 1.6;
|
|
71
|
-
margin-bottom: 1rem;
|
|
72
|
-
text-align: left;
|
|
73
|
-
font-weight: 500;
|
|
74
|
-
}
|
|
75
|
-
.slide.imageSlide {
|
|
76
|
-
padding: 0;
|
|
77
|
-
}
|
|
78
|
-
.slide.imageSlide img {
|
|
79
|
-
max-width: 100%;
|
|
80
|
-
max-height: 100vh;
|
|
81
|
-
object-fit: contain;
|
|
82
|
-
}
|
|
83
|
-
.slide.imageWithTitle {
|
|
84
|
-
position: relative;
|
|
85
|
-
padding: 48px;
|
|
86
|
-
}
|
|
87
|
-
.slide.imageWithTitle img {
|
|
88
|
-
width: 100%;
|
|
89
|
-
height: calc(100vh - 96px);
|
|
90
|
-
object-fit: contain;
|
|
91
|
-
border-radius: 12px;
|
|
92
|
-
}
|
|
93
|
-
.slide.imageWithTitle h1 {
|
|
94
|
-
position: absolute;
|
|
95
|
-
bottom: 64px;
|
|
96
|
-
left: 50%;
|
|
97
|
-
transform: translateX(-50%);
|
|
98
|
-
font-size: 4.6rem;
|
|
99
|
-
font-weight: 600;
|
|
100
|
-
line-height: 1.2;
|
|
101
|
-
padding: 0.4em 0.8em;
|
|
102
|
-
background: rgba(0, 0, 0, 0.45);
|
|
103
|
-
border-radius: 6px;
|
|
104
|
-
}
|
|
105
|
-
.slide.imageWithCaption {
|
|
106
|
-
gap: 40px;
|
|
107
|
-
}
|
|
108
|
-
.slide.imageWithCaption img {
|
|
109
|
-
max-width: 80%;
|
|
110
|
-
max-height: 60vh;
|
|
111
|
-
object-fit: contain;
|
|
112
|
-
}
|
|
113
|
-
.slide.imageWithCaption p {
|
|
114
|
-
font-size: 3rem;
|
|
115
|
-
opacity: 0.85;
|
|
116
|
-
max-width: 60ch;
|
|
117
|
-
}
|
|
118
|
-
.slide.twoColumnText {
|
|
119
|
-
gap: 48px;
|
|
120
|
-
}
|
|
121
|
-
.slide.twoColumnText .columns {
|
|
122
|
-
display: grid;
|
|
123
|
-
grid-template-columns: 1fr 1fr;
|
|
124
|
-
gap: 64px;
|
|
125
|
-
max-width: 1200px;
|
|
126
|
-
}
|
|
127
|
-
.slide.twoColumnText .columns p {
|
|
128
|
-
font-size: 3rem;
|
|
129
|
-
line-height: 1.7;
|
|
130
|
-
text-align: left;
|
|
131
|
-
}
|
|
132
|
-
.slide.imageRightBulletsLeft,
|
|
133
|
-
.slide.imageLeftBulletsRight {
|
|
134
|
-
display: grid;
|
|
135
|
-
grid-template-columns: 1fr 1fr;
|
|
136
|
-
gap: 64px;
|
|
137
|
-
text-align: left;
|
|
138
|
-
align-items: center;
|
|
139
|
-
}
|
|
140
|
-
.slide.imageRightBulletsLeft li,
|
|
141
|
-
.slide.imageLeftBulletsRight li {
|
|
142
|
-
font-size: 3.4rem;
|
|
143
|
-
line-height: 1.6;
|
|
144
|
-
font-weight: 500;
|
|
145
|
-
}
|
|
146
|
-
.slide.imageRightBulletsLeft img,
|
|
147
|
-
.slide.imageLeftBulletsRight img {
|
|
148
|
-
width: 100%;
|
|
149
|
-
max-height: 70vh;
|
|
150
|
-
object-fit: contain;
|
|
151
|
-
}
|
|
152
|
-
.slide.quoteSlide {
|
|
153
|
-
gap: 40px;
|
|
154
|
-
}
|
|
155
|
-
.slide.quoteSlide blockquote {
|
|
156
|
-
font-size: 3.8rem;
|
|
157
|
-
font-style: italic;
|
|
158
|
-
max-width: 60ch;
|
|
159
|
-
line-height: 1.5;
|
|
160
|
-
}
|
|
161
|
-
.slide.quoteSlide cite {
|
|
162
|
-
font-size: 2.4rem;
|
|
163
|
-
opacity: 0.75;
|
|
164
|
-
}
|
|
165
|
-
.slide.bigNumber {
|
|
166
|
-
gap: 24px;
|
|
167
|
-
}
|
|
168
|
-
.slide.bigNumber .number {
|
|
169
|
-
font-size: 9rem;
|
|
170
|
-
font-weight: 700;
|
|
171
|
-
}
|
|
172
|
-
.slide.bigNumber .label {
|
|
173
|
-
font-size: 3rem;
|
|
174
|
-
opacity: 0.85;
|
|
175
|
-
}
|
|
176
|
-
.slide.contactSlide {
|
|
177
|
-
gap: 24px;
|
|
178
|
-
}
|
|
179
|
-
.slide.contactSlide p {
|
|
180
|
-
font-size: 3rem;
|
|
181
|
-
}
|