@learnpack/learnpack 5.0.359 → 5.0.361
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/lib/creatorDist/assets/{index-zrPponAn.css → index-B7s5Nmq8.css} +59 -0
- package/lib/creatorDist/assets/{index-D6pmbMe9.js → index-CqVEKiJR.js} +22610 -22364
- package/lib/creatorDist/index.html +2 -2
- package/package.json +1 -1
- package/src/creator/src/App.test.tsx +338 -0
- package/src/creator/src/App.tsx +152 -26
- package/src/creator/src/components/CourseLanguagePicker.tsx +51 -0
- package/src/creator/src/components/LanguageDetectionModal.tsx +29 -9
- package/src/creator/src/components/StepWizard.tsx +11 -3
- package/src/creator/src/components/Uploader.test.tsx +65 -0
- package/src/creator/src/components/Uploader.tsx +9 -3
- package/src/creator/src/locales/en.json +7 -0
- package/src/creator/src/locales/es.json +7 -0
- package/src/creator/src/utils/courseLanguage.test.ts +215 -0
- package/src/creator/src/utils/courseLanguage.ts +173 -0
- package/src/creator/src/utils/creationRequest.test.ts +104 -0
- package/src/creator/src/utils/creationRequest.ts +63 -0
- package/src/creator/src/utils/lib.test.ts +101 -0
- package/src/creator/src/utils/lib.ts +4 -1
- package/src/creator/src/utils/store.ts +7 -0
- package/src/creatorDist/assets/{index-zrPponAn.css → index-B7s5Nmq8.css} +59 -0
- package/src/creatorDist/assets/{index-D6pmbMe9.js → index-CqVEKiJR.js} +22610 -22364
- package/src/creatorDist/index.html +2 -2
- package/src/ui/_app/app.css +1 -1
- package/src/ui/_app/app.js +2105 -2105
- package/src/ui/_app/sw.js +13 -0
- package/src/ui/app.tar.gz +0 -0
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
--color-blue-50: oklch(97% 0.014 254.604);
|
|
66
66
|
--color-blue-100: oklch(93.2% 0.032 255.585);
|
|
67
67
|
--color-blue-200: oklch(88.2% 0.059 254.128);
|
|
68
|
+
--color-blue-300: oklch(80.9% 0.105 251.813);
|
|
68
69
|
--color-blue-400: oklch(70.7% 0.165 254.624);
|
|
69
70
|
--color-blue-500: oklch(62.3% 0.214 259.815);
|
|
70
71
|
--color-blue-600: oklch(54.6% 0.245 262.881);
|
|
@@ -439,6 +440,12 @@
|
|
|
439
440
|
.z-1000 {
|
|
440
441
|
z-index: 1000;
|
|
441
442
|
}
|
|
443
|
+
.col-span-2 {
|
|
444
|
+
grid-column: span 2 / span 2;
|
|
445
|
+
}
|
|
446
|
+
.row-start-2 {
|
|
447
|
+
grid-row-start: 2;
|
|
448
|
+
}
|
|
442
449
|
.container {
|
|
443
450
|
width: 100%;
|
|
444
451
|
}
|
|
@@ -536,6 +543,9 @@
|
|
|
536
543
|
.flex {
|
|
537
544
|
display: flex;
|
|
538
545
|
}
|
|
546
|
+
.grid {
|
|
547
|
+
display: grid;
|
|
548
|
+
}
|
|
539
549
|
.hidden {
|
|
540
550
|
display: none;
|
|
541
551
|
}
|
|
@@ -548,6 +558,9 @@
|
|
|
548
558
|
.table {
|
|
549
559
|
display: table;
|
|
550
560
|
}
|
|
561
|
+
.field-sizing-content {
|
|
562
|
+
field-sizing: content;
|
|
563
|
+
}
|
|
551
564
|
.h-2 {
|
|
552
565
|
height: calc(var(--spacing) * 2);
|
|
553
566
|
}
|
|
@@ -644,6 +657,9 @@
|
|
|
644
657
|
.w-full {
|
|
645
658
|
width: 100%;
|
|
646
659
|
}
|
|
660
|
+
.max-w-64 {
|
|
661
|
+
max-width: calc(var(--spacing) * 64);
|
|
662
|
+
}
|
|
647
663
|
.max-w-\[700px\] {
|
|
648
664
|
max-width: 700px;
|
|
649
665
|
}
|
|
@@ -705,6 +721,9 @@
|
|
|
705
721
|
.list-disc {
|
|
706
722
|
list-style-type: disc;
|
|
707
723
|
}
|
|
724
|
+
.grid-cols-2 {
|
|
725
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
726
|
+
}
|
|
708
727
|
.flex-col {
|
|
709
728
|
flex-direction: column;
|
|
710
729
|
}
|
|
@@ -780,6 +799,15 @@
|
|
|
780
799
|
calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse))
|
|
781
800
|
);
|
|
782
801
|
}
|
|
802
|
+
.justify-self-center {
|
|
803
|
+
justify-self: center;
|
|
804
|
+
}
|
|
805
|
+
.justify-self-end {
|
|
806
|
+
justify-self: flex-end;
|
|
807
|
+
}
|
|
808
|
+
.justify-self-start {
|
|
809
|
+
justify-self: flex-start;
|
|
810
|
+
}
|
|
783
811
|
.truncate {
|
|
784
812
|
text-overflow: ellipsis;
|
|
785
813
|
white-space: nowrap;
|
|
@@ -905,6 +933,9 @@
|
|
|
905
933
|
.bg-red-100 {
|
|
906
934
|
background-color: var(--color-red-100);
|
|
907
935
|
}
|
|
936
|
+
.bg-transparent {
|
|
937
|
+
background-color: #0000;
|
|
938
|
+
}
|
|
908
939
|
.bg-white {
|
|
909
940
|
background-color: var(--color-white);
|
|
910
941
|
}
|
|
@@ -1046,6 +1077,9 @@
|
|
|
1046
1077
|
.break-words {
|
|
1047
1078
|
overflow-wrap: break-word;
|
|
1048
1079
|
}
|
|
1080
|
+
.whitespace-nowrap {
|
|
1081
|
+
white-space: nowrap;
|
|
1082
|
+
}
|
|
1049
1083
|
.whitespace-pre-line {
|
|
1050
1084
|
white-space: pre-line;
|
|
1051
1085
|
}
|
|
@@ -1244,6 +1278,19 @@
|
|
|
1244
1278
|
.focus\:ring-blue-200:focus {
|
|
1245
1279
|
--tw-ring-color: var(--color-blue-200);
|
|
1246
1280
|
}
|
|
1281
|
+
.focus\:outline-none:focus {
|
|
1282
|
+
--tw-outline-style: none;
|
|
1283
|
+
outline-style: none;
|
|
1284
|
+
}
|
|
1285
|
+
.focus-visible\:ring-2:focus-visible {
|
|
1286
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0
|
|
1287
|
+
calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1288
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow),
|
|
1289
|
+
var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1290
|
+
}
|
|
1291
|
+
.focus-visible\:ring-blue-300:focus-visible {
|
|
1292
|
+
--tw-ring-color: var(--color-blue-300);
|
|
1293
|
+
}
|
|
1247
1294
|
.disabled\:cursor-not-allowed:disabled {
|
|
1248
1295
|
cursor: not-allowed;
|
|
1249
1296
|
}
|
|
@@ -1257,9 +1304,21 @@
|
|
|
1257
1304
|
opacity: 0.5;
|
|
1258
1305
|
}
|
|
1259
1306
|
@media (min-width: 40rem) {
|
|
1307
|
+
.sm\:col-span-1 {
|
|
1308
|
+
grid-column: span 1 / span 1;
|
|
1309
|
+
}
|
|
1310
|
+
.sm\:col-start-2 {
|
|
1311
|
+
grid-column-start: 2;
|
|
1312
|
+
}
|
|
1313
|
+
.sm\:row-start-1 {
|
|
1314
|
+
grid-row-start: 1;
|
|
1315
|
+
}
|
|
1260
1316
|
.sm\:w-auto {
|
|
1261
1317
|
width: auto;
|
|
1262
1318
|
}
|
|
1319
|
+
.sm\:grid-cols-\[1fr_auto_1fr\] {
|
|
1320
|
+
grid-template-columns: 1fr auto 1fr;
|
|
1321
|
+
}
|
|
1263
1322
|
.sm\:flex-row {
|
|
1264
1323
|
flex-direction: row;
|
|
1265
1324
|
}
|