mnfst 0.5.305 → 0.5.306
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/manifest.data.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"manifest.appwrite.auth.js": "sha384-gWLSeVPqCLMiUZB8MU7GqMg3x2yULFUsp8nTTZrPp/9Dlkix42rBn9yIimvwrHqZ",
|
|
3
|
-
"manifest.appwrite.data.js": "sha384-
|
|
3
|
+
"manifest.appwrite.data.js": "sha384-J8fMocP5MLiSE2aVC30j6N6kzEtPSpFDWQp5Q9swJczrEmbOW+ASOIa4nf9Ule0K",
|
|
4
4
|
"manifest.appwrite.presences.js": "sha384-LINPhIPTCK+rA8zd+HPUzMSEgH6Sl2vQMEyItT97bnEE2FYGYKqjXX+CWdt6nl9z",
|
|
5
5
|
"manifest.bindings.js": "sha384-lPtMf8Ykaic9gNVZKq8Scia1881ZeMAyxer3WCIkUNwwrgzGBWto1OXADUwjvORF",
|
|
6
6
|
"manifest.charts.js": "sha384-BnTxO3ncLxg82aV+64tQMS3ssN+RKZ69Dic6Oruz0pw+/UIK2MAZicg8+ooHF2ZA",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"manifest.combobox.js": "sha384-/lJo6vaxKjgnBSRs/dzkhK1dzGk3GBw8FISoNJZB70mwAVwu1k5veZyBXjOb4keS",
|
|
12
12
|
"manifest.components.js": "sha384-t2qgBbcGPMoTYpMffOHW2dM07UWIq3pU3PYqLGrS6QP2hzCer4ofgaIKA+7hW558",
|
|
13
13
|
"manifest.computed.js": "sha384-GYML/e81gQfN+iDbqhPUgny8bINCyL+SrbTofoGk4hlCnLLjv51mCv42JMqq+ku5",
|
|
14
|
-
"manifest.data.js": "sha384-
|
|
14
|
+
"manifest.data.js": "sha384-Ni+Od89rx4K+VnFUYh13NPWECP7Q8T8E6gvOL2YiKEoexVuzsoaU8Mc5RhKbnOU3",
|
|
15
15
|
"manifest.datepicker.js": "sha384-pZUQhUK6u5cl6g0myBXND/Wtrs1RTovYmy/ETQLUV0JujvTvUdRNc/XjPpVhtK16",
|
|
16
16
|
"manifest.defer.js": "sha384-PRp7+dCZHnnl55rX2xrHutLrQnszHo7o5o9Tq28M/yjLZPuXDzcwQNxCdvbtCYSz",
|
|
17
17
|
"manifest.device.js": "sha384-YeQaS56L8IILqrQNBSeAOLwIh5DuAOrE60cYLK1+46qJtUrXlAvqGe2j5mbV4Vq7",
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"manifest.status.js": "sha384-ofu7nBnVIGZ1U1o2R9d2H3V8aEMPUCVbl5FO3gIToXqi0oa36fTviEdh5UU7Kitw",
|
|
30
30
|
"manifest.submissions.js": "sha384-v9eS47ytAfTGIKAyVnbd0QWegucVS7yduvigqfsxxoqXmbaEoy0M2y+BiI4xeZBd",
|
|
31
31
|
"manifest.svg.js": "sha384-qr/8H9+2cIhSXNbRWRtIdrDlTOxKlNJqwEefHvCYoiBNW/kKhPTFa109Orv/EBnb",
|
|
32
|
-
"manifest.sw.js": "sha384-
|
|
32
|
+
"manifest.sw.js": "sha384-MAV2OHFMlgUcGmWVsD6ZaGfDRiHz82Lf3KQTg7u2ksPjTYixH2tV7mDBu20T8Pm8",
|
|
33
33
|
"manifest.tabs.js": "sha384-otU09H7jnawVKQdLAYpMCd3jx00tgyPVr42D2hLIBzN5dG4se505YesavdnMqEi1",
|
|
34
34
|
"manifest.tailwind.js": "sha384-yuP3LEvWU+QVjxjkZ0YhErtC9RrGmhOmHjjFjhS9obqZbp5/KTIEnSR0CXDvHE0B",
|
|
35
35
|
"manifest.toasts.js": "sha384-UpOz9fAdGeGUhL0NamBg5iPepEfIy73p9HYdcxfOQC5b7CVsl7Our0skdZzaLNcC",
|
|
36
36
|
"manifest.tooltips.js": "sha384-hXGp5j0s6p2kGZY/hqLPEbaUv68ca63kFCjYiZqK3DcC12mpHTBy1vz3kuApyf4p",
|
|
37
37
|
"manifest.url.parameters.js": "sha384-J2aSVBOPsoqsbafHndrWLHEDpKb4AKJAoQnVmKA4gZh5P/8HHjFWHO/lkusmG84l",
|
|
38
|
-
"manifest.utilities.js": "sha384-
|
|
38
|
+
"manifest.utilities.js": "sha384-UYU0eluyEtLq0sKoeeogRNbHa3cqkrWedtSlXYMBAIaDLF4Z4g5RIVYnCuVWQ19N",
|
|
39
39
|
"manifest.virtual.js": "sha384-PtIDx042i29mkxEYZH+y3whBzKgBgV01CU1XzzeEl/8TBPl9qvny4ppyXgYI5DsM",
|
|
40
40
|
"manifest.js": "sha384-vaJVFuwnaYalVw8vjut1si3Kqwk5+sDHiC3iScfS417NSWqfhNZNBdvcF2lUbuz+"
|
|
41
41
|
}
|
package/lib/manifest.sw.js
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
// Build stamps the published version here; unstamped (dev) falls back to the
|
|
18
18
|
// registration URL's `v`, then 'dev'.
|
|
19
|
-
const BUILD_VERSION = '0.5.
|
|
19
|
+
const BUILD_VERSION = '0.5.306';
|
|
20
20
|
const CACHE_PREFIX = 'mnfst-sw:';
|
|
21
21
|
const META_CACHE = CACHE_PREFIX + 'meta';
|
|
22
22
|
// Sized to hold a full precache.json warm-up (PRECACHE_MAX_ENTRIES server-side)
|
|
@@ -1343,6 +1343,12 @@ TailwindCompiler.prototype.scheduleEnsureUtilityStylesLast = function () {
|
|
|
1343
1343
|
});
|
|
1344
1344
|
};
|
|
1345
1345
|
|
|
1346
|
+
// Tailwind browser runtime output and baked prerender utilities: not theme sources
|
|
1347
|
+
function isGeneratedUtilitiesStyle(style) {
|
|
1348
|
+
return style.hasAttribute('data-mnfst-utilities') ||
|
|
1349
|
+
(!style.id && (style.textContent || '').trimStart().startsWith('/*! tailwindcss'));
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1346
1352
|
// Discover CSS files from stylesheets and imports
|
|
1347
1353
|
TailwindCompiler.prototype.discoverCssFiles = function () {
|
|
1348
1354
|
try {
|
|
@@ -1382,8 +1388,12 @@ TailwindCompiler.prototype.discoverCssFiles = function () {
|
|
|
1382
1388
|
// Add any inline styles (exclude generated styles)
|
|
1383
1389
|
const styleElements = document.querySelectorAll('style:not(#manifest-styles)');
|
|
1384
1390
|
for (const style of styleElements) {
|
|
1391
|
+
if (isGeneratedUtilitiesStyle(style)) continue;
|
|
1385
1392
|
if (style.textContent && style.textContent.trim()) {
|
|
1386
1393
|
const id = style.id || `inline-style-${Array.from(styleElements).indexOf(style)}`;
|
|
1394
|
+
// Synthetic ids aren't on the element: keep it for fetchThemeContent
|
|
1395
|
+
if (!this.inlineStyleSources) this.inlineStyleSources = new Map();
|
|
1396
|
+
this.inlineStyleSources.set(id, style);
|
|
1387
1397
|
this.cssFiles.add('inline:' + id);
|
|
1388
1398
|
}
|
|
1389
1399
|
}
|
|
@@ -1654,7 +1664,8 @@ TailwindCompiler.prototype.fetchThemeContent = async function () {
|
|
|
1654
1664
|
|
|
1655
1665
|
if (source.startsWith('inline:')) {
|
|
1656
1666
|
const styleId = source.replace('inline:', '');
|
|
1657
|
-
const
|
|
1667
|
+
const kept = this.inlineStyleSources && this.inlineStyleSources.get(styleId);
|
|
1668
|
+
const styleElement = (kept && kept.isConnected) ? kept : styleId ?
|
|
1658
1669
|
document.getElementById(styleId) :
|
|
1659
1670
|
document.querySelector('style');
|
|
1660
1671
|
if (styleElement) {
|
|
@@ -774,6 +774,12 @@ TailwindCompiler.prototype.scheduleEnsureUtilityStylesLast = function () {
|
|
|
774
774
|
});
|
|
775
775
|
};
|
|
776
776
|
|
|
777
|
+
// Tailwind browser runtime output and baked prerender utilities: not theme sources
|
|
778
|
+
function isGeneratedUtilitiesStyle(style) {
|
|
779
|
+
return style.hasAttribute('data-mnfst-utilities') ||
|
|
780
|
+
(!style.id && (style.textContent || '').trimStart().startsWith('/*! tailwindcss'));
|
|
781
|
+
}
|
|
782
|
+
|
|
777
783
|
// Discover CSS files from stylesheets and imports
|
|
778
784
|
TailwindCompiler.prototype.discoverCssFiles = function () {
|
|
779
785
|
try {
|
|
@@ -813,8 +819,12 @@ TailwindCompiler.prototype.discoverCssFiles = function () {
|
|
|
813
819
|
// Add any inline styles (exclude generated styles)
|
|
814
820
|
const styleElements = document.querySelectorAll('style:not(#manifest-styles)');
|
|
815
821
|
for (const style of styleElements) {
|
|
822
|
+
if (isGeneratedUtilitiesStyle(style)) continue;
|
|
816
823
|
if (style.textContent && style.textContent.trim()) {
|
|
817
824
|
const id = style.id || `inline-style-${Array.from(styleElements).indexOf(style)}`;
|
|
825
|
+
// Synthetic ids aren't on the element: keep it for fetchThemeContent
|
|
826
|
+
if (!this.inlineStyleSources) this.inlineStyleSources = new Map();
|
|
827
|
+
this.inlineStyleSources.set(id, style);
|
|
818
828
|
this.cssFiles.add('inline:' + id);
|
|
819
829
|
}
|
|
820
830
|
}
|
|
@@ -1085,7 +1095,8 @@ TailwindCompiler.prototype.fetchThemeContent = async function () {
|
|
|
1085
1095
|
|
|
1086
1096
|
if (source.startsWith('inline:')) {
|
|
1087
1097
|
const styleId = source.replace('inline:', '');
|
|
1088
|
-
const
|
|
1098
|
+
const kept = this.inlineStyleSources && this.inlineStyleSources.get(styleId);
|
|
1099
|
+
const styleElement = (kept && kept.isConnected) ? kept : styleId ?
|
|
1089
1100
|
document.getElementById(styleId) :
|
|
1090
1101
|
document.querySelector('style');
|
|
1091
1102
|
if (styleElement) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mnfst",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.306",
|
|
4
4
|
"private": false,
|
|
5
5
|
"workspaces": [
|
|
6
6
|
"templates/starter",
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"test:e2e:prerender-patch": "node tests/e2e/utilities-prerender-patch.e2e.mjs",
|
|
63
63
|
"test:e2e:hidden-responsive": "node tests/e2e/utilities-hidden-responsive.e2e.mjs",
|
|
64
64
|
"test:e2e:tailwind-dark": "node tests/e2e/tailwind-dark-variant.e2e.mjs",
|
|
65
|
+
"test:e2e:inline-style-variants": "node tests/e2e/utilities-inline-style-variants.e2e.mjs",
|
|
65
66
|
"lint": "echo 'No linting configured'",
|
|
66
67
|
"release:docs": "npm test && node scripts/release-bump.mjs packages/docs && cd packages/docs && npm publish --auth-type=web",
|
|
67
68
|
"release:check": "node scripts/release-check.mjs"
|