blue-web 1.27.1 → 1.28.0

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.1 (https://bruegmann.github.io/blue-web)
2
+ * Blue Web v1.28.0 (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;
@@ -53,11 +59,14 @@ dialog.blue-modal {
53
59
 
54
60
  .offcanvas {
55
61
  --blue-offcanvas-inset: 1rem;
62
+ visibility: visible;
63
+ transform: none;
56
64
 
57
65
  bottom: var(--blue-offcanvas-inset);
58
66
  border: var(--bs-offcanvas-border-width) solid var(--bs-offcanvas-border-color);
59
67
  border-radius: var(--bs-border-radius-lg);
60
68
  box-shadow: var(--bs-box-shadow-lg);
69
+ max-width: calc(100% - var(--blue-offcanvas-inset) * 2);
61
70
  }
62
71
 
63
72
  .offcanvas.offcanvas-start {
@@ -84,10 +93,12 @@ dialog.blue-modal {
84
93
 
85
94
  dialog.blue-modal[open] {
86
95
  display: block;
87
- animation: blue-modal-open 0.2s forwards;
96
+ & > :is(.modal-dialog, .offcanvas) {
97
+ animation: blue-modal-open 0.2s forwards;
98
+ }
88
99
  }
89
100
 
90
- dialog.blue-modal::backdrop {
101
+ .blue-modal-backdrop {
91
102
  --bs-backdrop-bg: #000;
92
103
  --bs-backdrop-opacity: 0.5;
93
104
  background-color: var(--bs-backdrop-bg);
@@ -95,7 +106,7 @@ dialog.blue-modal::backdrop {
95
106
  opacity: 0;
96
107
  }
97
108
 
98
- dialog.blue-modal[open]::backdrop {
109
+ dialog.blue-modal[open] .blue-modal-backdrop {
99
110
  opacity: var(--bs-backdrop-opacity);
100
111
  }
101
112
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blue-web",
3
- "version": "1.27.1",
3
+ "version": "1.28.0",
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",
@@ -49,7 +51,7 @@
49
51
  "astro": "^5.16.5",
50
52
  "autoprefixer": "^10.3.6",
51
53
  "babel-loader": "^8.4.1",
52
- "blue-react": "^11.0.6",
54
+ "blue-react": "^11.3.0",
53
55
  "blue-themify": "^1.0.0",
54
56
  "colorjs.io": "^0.5.2",
55
57
  "gh-pages": "^3.1.0",