xpine 0.0.46 → 0.0.47
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.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/src/util/web.d.ts +2 -0
- package/dist/src/util/web.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1206,6 +1206,11 @@ var html = class {
|
|
|
1206
1206
|
function JSXRuntime() {
|
|
1207
1207
|
return true;
|
|
1208
1208
|
}
|
|
1209
|
+
|
|
1210
|
+
// src/util/web.ts
|
|
1211
|
+
function getCurrentBreakpoint() {
|
|
1212
|
+
return window.getComputedStyle(document.documentElement).getPropertyValue("--active-breakpoint")?.replace(/[\'\"]/g, "")?.trim() || "";
|
|
1213
|
+
}
|
|
1209
1214
|
export {
|
|
1210
1215
|
JSXRuntime,
|
|
1211
1216
|
addToContextArray,
|
|
@@ -1222,6 +1227,7 @@ export {
|
|
|
1222
1227
|
filePathToURLPath,
|
|
1223
1228
|
fromRoot,
|
|
1224
1229
|
getComponentDynamicPaths,
|
|
1230
|
+
getCurrentBreakpoint,
|
|
1225
1231
|
getTokenFromRequest,
|
|
1226
1232
|
html,
|
|
1227
1233
|
logSize,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"web.d.ts","sourceRoot":"","sources":["../../../src/util/web.ts"],"names":[],"mappings":"AAAA,wBAAgB,oBAAoB,WAEnC"}
|