blue-web 1.27.2 → 1.28.1

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/style.scss CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Blue Web v1.27.2 (https://bruegmann.github.io/blue-web)
2
+ * Blue Web v1.28.1 (https://bruegmann.github.io/blue-web)
3
3
  * Licensed under GNU General Public License v3.0 (https://github.com/bruegmann/blue-web/blob/master/LICENSE).
4
4
  */
5
5
 
@@ -32,6 +32,7 @@
32
32
  height: var(--blue-header-height);
33
33
  gap: var(--spacing);
34
34
  padding-inline: var(--spacing);
35
+ width: env(titlebar-area-width);
35
36
  }
36
37
 
37
38
  .blue-layout-side {
@@ -18,6 +18,8 @@
18
18
  border-radius: 0;
19
19
  background-color: transparent;
20
20
  color: inherit;
21
+ transition: none;
22
+ animation: none;
21
23
 
22
24
  & > .offcanvas-header {
23
25
  display: none;
@@ -36,16 +36,22 @@ dialog.blue-modal {
36
36
  --ani-translate-from: 0 0;
37
37
  --ani-translate-to: 0 0;
38
38
 
39
+ // For compatibility with DevExpress, where z-index start at 1050.
40
+ --bs-modal-zindex: 1049;
41
+
39
42
  border: none;
40
43
  background: none;
41
44
  padding: 0;
42
45
  margin: 0;
43
46
  max-width: none;
44
47
  max-height: none;
45
- transition:
46
- display 0.2s allow-discrete,
47
- overlay 0.2s allow-discrete;
48
- animation: blue-modal-close 0.2s forwards;
48
+
49
+ & > :is(.modal-dialog, .offcanvas) {
50
+ transition:
51
+ display 0.2s allow-discrete,
52
+ overlay 0.2s allow-discrete;
53
+ animation: blue-modal-close 0.2s forwards;
54
+ }
49
55
 
50
56
  .offcanvas-backdrop {
51
57
  display: none;
@@ -60,6 +66,7 @@ dialog.blue-modal {
60
66
  border: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
61
67
  border-radius: var(--bs-border-radius-lg);
62
68
  box-shadow: var(--bs-box-shadow-lg);
69
+ max-width: calc(100% - var(--blue-offcanvas-inset) * 2);
63
70
  }
64
71
 
65
72
  .offcanvas.offcanvas-start {
@@ -86,10 +93,12 @@ dialog.blue-modal {
86
93
 
87
94
  dialog.blue-modal[open] {
88
95
  display: block;
89
- animation: blue-modal-open 0.2s forwards;
96
+ & > :is(.modal-dialog, .offcanvas) {
97
+ animation: blue-modal-open 0.2s forwards;
98
+ }
90
99
  }
91
100
 
92
- dialog.blue-modal::backdrop {
101
+ .blue-modal-backdrop {
93
102
  --bs-backdrop-bg: #000;
94
103
  --bs-backdrop-opacity: 0.5;
95
104
  background-color: var(--bs-backdrop-bg);
@@ -97,7 +106,7 @@ dialog.blue-modal::backdrop {
97
106
  opacity: 0;
98
107
  }
99
108
 
100
- dialog.blue-modal[open]::backdrop {
109
+ dialog.blue-modal[open] .blue-modal-backdrop {
101
110
  opacity: var(--bs-backdrop-opacity);
102
111
  }
103
112
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blue-web",
3
- "version": "1.27.2",
3
+ "version": "1.28.1",
4
4
  "description": "UI components built on top of Bootstrap 5",
5
5
  "license": "LGPL-3.0-or-later",
6
6
  "type": "module",
@@ -28,7 +28,9 @@
28
28
  "license-report": "npx license-report --prod --output=json > site/src/assets/license-report.json",
29
29
  "dev": "astro dev --root site",
30
30
  "build-astro": "astro build --root site",
31
- "preview-astro": "astro preview --root site"
31
+ "preview-astro": "astro preview --root site",
32
+ "version": "npm run build-release",
33
+ "postversion": "npm run deploy && git push --follow-tags"
32
34
  },
33
35
  "dependencies": {
34
36
  "@popperjs/core": "^2.11.5",