@qtoggle/qui 1.19.1 → 1.19.2

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.
@@ -1,6 +1,6 @@
1
1
  repos:
2
2
  - repo: https://github.com/astral-sh/ruff-pre-commit
3
- rev: v0.11.12
3
+ rev: v0.14.11
4
4
  hooks:
5
5
  - id: ruff-check
6
6
  language: system
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qtoggle/qui",
3
3
  "description": "A JavaScript UI library with batteries included.",
4
- "version": "1.19.1",
4
+ "version": "1.19.2",
5
5
  "author": {
6
6
  "name": "Calin Crisan",
7
7
  "email": "ccrisan@gmail.com"
package/pyproject.toml CHANGED
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "qui-server"
3
- version = "1.19.1"
3
+ version = "1.19.2"
4
4
  description = "A fully fledged qToggle implementation written in Python"
5
5
  authors = [
6
6
  {name = "Calin Crisan", email = "ccrisan@gmail.com"},
@@ -35,10 +35,6 @@ const FONT_REGEX = new RegExp(`${FONT_DIR}/.*\\.(woff)$`)
35
35
  const TMPL_REGEX = new RegExp(`${TMPL_DIR}/.*\\.(html|json|js)$`)
36
36
 
37
37
 
38
- function escapeForLess(s) {
39
- return `~"${s}"`
40
- }
41
-
42
38
  function requireFromDir(regex, path, excludeRegex) {
43
39
  let filePaths = glob.sync(path + '/**')
44
40
 
@@ -67,13 +63,14 @@ function makeLessRule({type, theme, isProduction, appName, appFullPath, quiFullP
67
63
  loader: 'less-loader',
68
64
  options: {
69
65
  lessOptions: {
66
+ relativeUrls: false,
70
67
  globalVars: {
71
68
  qui_theme: theme,
72
69
  app_img_path: appImgPath,
73
70
  app_font_path: appFontPath,
74
- qui_img_path: escapeForLess(quiImgPath),
75
- qui_font_path: escapeForLess(quiFontPath),
76
- qui_less_path: escapeForLess(quiLessPath)
71
+ qui_img_path: quiImgPath,
72
+ qui_font_path: quiFontPath,
73
+ qui_less_path: quiLessPath
77
74
  }
78
75
  }
79
76
  }