@lokutor/sdk 1.1.25 → 1.1.26
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/index.js +15 -14
- package/dist/index.mjs +15 -14
- package/package.json +1 -1
- package/src/conversational-panel.ts +15 -14
package/dist/index.js
CHANGED
|
@@ -1262,19 +1262,16 @@ var PANEL_CSS = (
|
|
|
1262
1262
|
.cv-panel {
|
|
1263
1263
|
position: relative;
|
|
1264
1264
|
width: 100%;
|
|
1265
|
-
aspect-ratio: 16 / 9;
|
|
1266
|
-
max-height: 800px;
|
|
1267
|
-
display: flex;
|
|
1268
|
-
flex-direction: column;
|
|
1269
|
-
align-items: center;
|
|
1270
|
-
justify-content: center;
|
|
1271
|
-
padding: 2rem 0;
|
|
1272
|
-
margin: 0;
|
|
1273
1265
|
background: var(--cv-bg, #0a0a0a);
|
|
1274
1266
|
box-shadow: inset 0 10px 40px rgba(0, 0, 0, 0.1), inset 0 0 100px rgba(0, 0, 0, 0.05);
|
|
1275
1267
|
border-radius: 40px;
|
|
1276
1268
|
overflow: hidden;
|
|
1277
1269
|
}
|
|
1270
|
+
.cv-panel::before {
|
|
1271
|
+
content: '';
|
|
1272
|
+
display: block;
|
|
1273
|
+
padding-bottom: 56.25%;
|
|
1274
|
+
}
|
|
1278
1275
|
.cv-curtain {
|
|
1279
1276
|
position: absolute;
|
|
1280
1277
|
inset: 0;
|
|
@@ -1348,13 +1345,15 @@ var PANEL_CSS = (
|
|
|
1348
1345
|
.cv-curtain-btn svg { transition: transform 0.3s ease; }
|
|
1349
1346
|
.cv-curtain-btn:hover svg { transform: translateX(4px); }
|
|
1350
1347
|
.cv-header {
|
|
1351
|
-
|
|
1348
|
+
position: absolute;
|
|
1349
|
+
top: 1.5rem;
|
|
1350
|
+
left: 0;
|
|
1351
|
+
right: 0;
|
|
1352
1352
|
display: flex;
|
|
1353
1353
|
flex-direction: column;
|
|
1354
1354
|
align-items: center;
|
|
1355
1355
|
gap: 0.25rem;
|
|
1356
1356
|
z-index: 20;
|
|
1357
|
-
margin-bottom: auto;
|
|
1358
1357
|
}
|
|
1359
1358
|
.cv-title {
|
|
1360
1359
|
font-size: clamp(1rem, 2.5vw, 1.75rem);
|
|
@@ -1408,13 +1407,14 @@ var PANEL_CSS = (
|
|
|
1408
1407
|
z-index: 0;
|
|
1409
1408
|
}
|
|
1410
1409
|
.cv-controls {
|
|
1411
|
-
|
|
1410
|
+
position: absolute;
|
|
1411
|
+
bottom: 1.5rem;
|
|
1412
|
+
left: 0;
|
|
1413
|
+
right: 0;
|
|
1412
1414
|
display: flex;
|
|
1413
1415
|
flex-direction: column;
|
|
1414
1416
|
align-items: center;
|
|
1415
1417
|
gap: 1.5rem;
|
|
1416
|
-
padding-top: 1rem;
|
|
1417
|
-
margin-top: auto;
|
|
1418
1418
|
z-index: 20;
|
|
1419
1419
|
}
|
|
1420
1420
|
.cv-pill {
|
|
@@ -1474,7 +1474,8 @@ var PANEL_CSS = (
|
|
|
1474
1474
|
.cv-error.is-visible { display: flex; }
|
|
1475
1475
|
.cv-error-icon { color: var(--cv-accent); flex-shrink: 0; }
|
|
1476
1476
|
@media (max-width: 640px) {
|
|
1477
|
-
.cv-panel {
|
|
1477
|
+
.cv-panel { max-height: 600px; border-radius: 20px; }
|
|
1478
|
+
.cv-panel::before { padding-bottom: 133.33%; }
|
|
1478
1479
|
.cv-curtain-content { padding: 0.75rem; gap: 0.5rem; }
|
|
1479
1480
|
.cv-curtain-title { font-size: clamp(1rem, 5vw, 1.6rem); }
|
|
1480
1481
|
.cv-curtain-btn { padding: 0.5rem 1.25rem; font-size: clamp(0.7rem, 2vw, 0.85rem); }
|
package/dist/index.mjs
CHANGED
|
@@ -1215,19 +1215,16 @@ var PANEL_CSS = (
|
|
|
1215
1215
|
.cv-panel {
|
|
1216
1216
|
position: relative;
|
|
1217
1217
|
width: 100%;
|
|
1218
|
-
aspect-ratio: 16 / 9;
|
|
1219
|
-
max-height: 800px;
|
|
1220
|
-
display: flex;
|
|
1221
|
-
flex-direction: column;
|
|
1222
|
-
align-items: center;
|
|
1223
|
-
justify-content: center;
|
|
1224
|
-
padding: 2rem 0;
|
|
1225
|
-
margin: 0;
|
|
1226
1218
|
background: var(--cv-bg, #0a0a0a);
|
|
1227
1219
|
box-shadow: inset 0 10px 40px rgba(0, 0, 0, 0.1), inset 0 0 100px rgba(0, 0, 0, 0.05);
|
|
1228
1220
|
border-radius: 40px;
|
|
1229
1221
|
overflow: hidden;
|
|
1230
1222
|
}
|
|
1223
|
+
.cv-panel::before {
|
|
1224
|
+
content: '';
|
|
1225
|
+
display: block;
|
|
1226
|
+
padding-bottom: 56.25%;
|
|
1227
|
+
}
|
|
1231
1228
|
.cv-curtain {
|
|
1232
1229
|
position: absolute;
|
|
1233
1230
|
inset: 0;
|
|
@@ -1301,13 +1298,15 @@ var PANEL_CSS = (
|
|
|
1301
1298
|
.cv-curtain-btn svg { transition: transform 0.3s ease; }
|
|
1302
1299
|
.cv-curtain-btn:hover svg { transform: translateX(4px); }
|
|
1303
1300
|
.cv-header {
|
|
1304
|
-
|
|
1301
|
+
position: absolute;
|
|
1302
|
+
top: 1.5rem;
|
|
1303
|
+
left: 0;
|
|
1304
|
+
right: 0;
|
|
1305
1305
|
display: flex;
|
|
1306
1306
|
flex-direction: column;
|
|
1307
1307
|
align-items: center;
|
|
1308
1308
|
gap: 0.25rem;
|
|
1309
1309
|
z-index: 20;
|
|
1310
|
-
margin-bottom: auto;
|
|
1311
1310
|
}
|
|
1312
1311
|
.cv-title {
|
|
1313
1312
|
font-size: clamp(1rem, 2.5vw, 1.75rem);
|
|
@@ -1361,13 +1360,14 @@ var PANEL_CSS = (
|
|
|
1361
1360
|
z-index: 0;
|
|
1362
1361
|
}
|
|
1363
1362
|
.cv-controls {
|
|
1364
|
-
|
|
1363
|
+
position: absolute;
|
|
1364
|
+
bottom: 1.5rem;
|
|
1365
|
+
left: 0;
|
|
1366
|
+
right: 0;
|
|
1365
1367
|
display: flex;
|
|
1366
1368
|
flex-direction: column;
|
|
1367
1369
|
align-items: center;
|
|
1368
1370
|
gap: 1.5rem;
|
|
1369
|
-
padding-top: 1rem;
|
|
1370
|
-
margin-top: auto;
|
|
1371
1371
|
z-index: 20;
|
|
1372
1372
|
}
|
|
1373
1373
|
.cv-pill {
|
|
@@ -1427,7 +1427,8 @@ var PANEL_CSS = (
|
|
|
1427
1427
|
.cv-error.is-visible { display: flex; }
|
|
1428
1428
|
.cv-error-icon { color: var(--cv-accent); flex-shrink: 0; }
|
|
1429
1429
|
@media (max-width: 640px) {
|
|
1430
|
-
.cv-panel {
|
|
1430
|
+
.cv-panel { max-height: 600px; border-radius: 20px; }
|
|
1431
|
+
.cv-panel::before { padding-bottom: 133.33%; }
|
|
1431
1432
|
.cv-curtain-content { padding: 0.75rem; gap: 0.5rem; }
|
|
1432
1433
|
.cv-curtain-title { font-size: clamp(1rem, 5vw, 1.6rem); }
|
|
1433
1434
|
.cv-curtain-btn { padding: 0.5rem 1.25rem; font-size: clamp(0.7rem, 2vw, 0.85rem); }
|
package/package.json
CHANGED
|
@@ -2,19 +2,16 @@ const PANEL_CSS = /*css*/ `
|
|
|
2
2
|
.cv-panel {
|
|
3
3
|
position: relative;
|
|
4
4
|
width: 100%;
|
|
5
|
-
aspect-ratio: 16 / 9;
|
|
6
|
-
max-height: 800px;
|
|
7
|
-
display: flex;
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
align-items: center;
|
|
10
|
-
justify-content: center;
|
|
11
|
-
padding: 2rem 0;
|
|
12
|
-
margin: 0;
|
|
13
5
|
background: var(--cv-bg, #0a0a0a);
|
|
14
6
|
box-shadow: inset 0 10px 40px rgba(0, 0, 0, 0.1), inset 0 0 100px rgba(0, 0, 0, 0.05);
|
|
15
7
|
border-radius: 40px;
|
|
16
8
|
overflow: hidden;
|
|
17
9
|
}
|
|
10
|
+
.cv-panel::before {
|
|
11
|
+
content: '';
|
|
12
|
+
display: block;
|
|
13
|
+
padding-bottom: 56.25%;
|
|
14
|
+
}
|
|
18
15
|
.cv-curtain {
|
|
19
16
|
position: absolute;
|
|
20
17
|
inset: 0;
|
|
@@ -88,13 +85,15 @@ const PANEL_CSS = /*css*/ `
|
|
|
88
85
|
.cv-curtain-btn svg { transition: transform 0.3s ease; }
|
|
89
86
|
.cv-curtain-btn:hover svg { transform: translateX(4px); }
|
|
90
87
|
.cv-header {
|
|
91
|
-
|
|
88
|
+
position: absolute;
|
|
89
|
+
top: 1.5rem;
|
|
90
|
+
left: 0;
|
|
91
|
+
right: 0;
|
|
92
92
|
display: flex;
|
|
93
93
|
flex-direction: column;
|
|
94
94
|
align-items: center;
|
|
95
95
|
gap: 0.25rem;
|
|
96
96
|
z-index: 20;
|
|
97
|
-
margin-bottom: auto;
|
|
98
97
|
}
|
|
99
98
|
.cv-title {
|
|
100
99
|
font-size: clamp(1rem, 2.5vw, 1.75rem);
|
|
@@ -148,13 +147,14 @@ const PANEL_CSS = /*css*/ `
|
|
|
148
147
|
z-index: 0;
|
|
149
148
|
}
|
|
150
149
|
.cv-controls {
|
|
151
|
-
|
|
150
|
+
position: absolute;
|
|
151
|
+
bottom: 1.5rem;
|
|
152
|
+
left: 0;
|
|
153
|
+
right: 0;
|
|
152
154
|
display: flex;
|
|
153
155
|
flex-direction: column;
|
|
154
156
|
align-items: center;
|
|
155
157
|
gap: 1.5rem;
|
|
156
|
-
padding-top: 1rem;
|
|
157
|
-
margin-top: auto;
|
|
158
158
|
z-index: 20;
|
|
159
159
|
}
|
|
160
160
|
.cv-pill {
|
|
@@ -214,7 +214,8 @@ const PANEL_CSS = /*css*/ `
|
|
|
214
214
|
.cv-error.is-visible { display: flex; }
|
|
215
215
|
.cv-error-icon { color: var(--cv-accent); flex-shrink: 0; }
|
|
216
216
|
@media (max-width: 640px) {
|
|
217
|
-
.cv-panel {
|
|
217
|
+
.cv-panel { max-height: 600px; border-radius: 20px; }
|
|
218
|
+
.cv-panel::before { padding-bottom: 133.33%; }
|
|
218
219
|
.cv-curtain-content { padding: 0.75rem; gap: 0.5rem; }
|
|
219
220
|
.cv-curtain-title { font-size: clamp(1rem, 5vw, 1.6rem); }
|
|
220
221
|
.cv-curtain-btn { padding: 0.5rem 1.25rem; font-size: clamp(0.7rem, 2vw, 0.85rem); }
|