blue-web 1.36.3 → 1.37.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.36.3 (https://bruegmann.github.io/blue-web)
2
+ * Blue Web v1.37.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
 
@@ -46,6 +46,7 @@
46
46
  @import "./styles/scrollspy";
47
47
  @import "./styles/intro";
48
48
  @import "./styles/accordion";
49
+ @import "./styles/quick-look";
49
50
 
50
51
  @import "./styles/devexpress";
51
52
  @import "./styles/inter";
@@ -0,0 +1,56 @@
1
+ // Base styles with focus on functionality
2
+ bl-quick-look {
3
+ display: contents;
4
+ }
5
+
6
+ bl-quick-look-backdrop {
7
+ position: fixed;
8
+ z-index: 20;
9
+ inset: 0;
10
+ background: rgb(22 21 24 / 38%);
11
+ backdrop-filter: blur(7px);
12
+ opacity: 1;
13
+ transition: opacity 180ms ease;
14
+ }
15
+
16
+ bl-quick-look-backdrop[hidden],
17
+ bl-quick-look-content[hidden] {
18
+ display: none !important;
19
+ }
20
+
21
+ bl-quick-look-backdrop:is([data-starting-style], [data-ending-style]) {
22
+ opacity: 0;
23
+ }
24
+
25
+ bl-quick-look-content {
26
+ position: fixed;
27
+ z-index: 21;
28
+ inset: 50% auto auto 50%;
29
+ display: grid;
30
+ width: min(1320px, calc(100vw - 2rem));
31
+ height: min(720px, calc(100dvh - 2rem));
32
+ grid-template-rows: auto minmax(0, 1fr) auto;
33
+ padding: 0;
34
+ overflow: hidden;
35
+ transform: translate(-50%, -50%);
36
+ opacity: 1;
37
+ transition:
38
+ opacity 180ms ease,
39
+ scale 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
40
+ }
41
+
42
+ bl-quick-look-content:is([data-starting-style], [data-ending-style]) {
43
+ scale: 0.97;
44
+ opacity: 0;
45
+ }
46
+
47
+ // Themed styles
48
+
49
+ .blue-quick-look {
50
+ bl-quick-look-content {
51
+ border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
52
+ border-radius: var(--bs-border-radius-lg);
53
+ background-color: var(--bs-body-bg);
54
+ box-shadow: var(--bs-box-shadow-lg);
55
+ }
56
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blue-web",
3
- "version": "1.36.3",
3
+ "version": "1.37.0",
4
4
  "description": "UI components built on top of Bootstrap 5",
5
5
  "license": "LGPL-3.0-or-later",
6
6
  "type": "module",
@@ -13,26 +13,27 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "@popperjs/core": "^2.11.5",
16
+ "@ui-sdk/core": "0.1.0-beta.10",
17
+ "@ui-sdk/web": "0.1.0-beta.10",
16
18
  "bootstrap": "~5.3.9"
17
19
  },
18
20
  "peerDependencies": {
19
21
  "@spectrum-web-components/split-view": "^1.12.2"
20
22
  },
21
23
  "devDependencies": {
22
- "@babel/cli": "^7.10.4",
23
24
  "@babel/preset-env": "^7.10.4",
24
25
  "@babel/preset-typescript": "^7.9.0",
25
26
  "@types/bootstrap": "^5.0.17",
26
27
  "@types/node": "^12.12.47",
27
28
  "autoprefixer": "^10.3.6",
28
29
  "babel-loader": "^8.4.1",
29
- "babel-watch": "^7.8.1",
30
30
  "lint-staged": "^11.1.2",
31
31
  "postcss-cli": "^9.0.1",
32
32
  "postcss-minify": "^1.1.0",
33
33
  "postcss-only-vars": "^1.0.0",
34
34
  "sass": "^1.93.2",
35
- "typescript": "^4.3.5",
35
+ "typescript": "~7.0.2",
36
+ "vite": "^8.3.8",
36
37
  "webpack": "^5.95.0",
37
38
  "webpack-cli": "^5.1.4"
38
39
  },
@@ -51,8 +52,8 @@
51
52
  "scripts": {
52
53
  "start": "npm run dev",
53
54
  "build-types": "tsc --declaration --emitDeclarationOnly --declarationDir ./dist/js --noEmit false --project tsconfig.build.json",
54
- "build": "babel ./src/js --out-dir ./dist/js --extensions \".tsx,.js,.ts\"",
55
- "dev": "babel ./src/js --out-dir ./dist/js --extensions \".tsx,.js,.ts\" --watch",
55
+ "build": "vite build --config vite.library.config.ts && vite build",
56
+ "dev": "vite build --watch --config vite.library.config.ts",
56
57
  "build-bundles": "webpack",
57
58
  "build-css": "node ./setVersionToStyleScss.cjs && sass --quiet --load-path=. ./dist/style.scss:./dist/style.css && npx postcss ./dist/style.css --use autoprefixer -r && npx postcss ./dist/style.css --use postcss-minify -o ./dist/style.min.css",
58
59
  "build-neu-css": "sass --quiet --load-path=. ./dist/neu.scss:./dist/neu.css && npx postcss ./dist/neu.css --use autoprefixer -r && npx postcss ./dist/neu.css --use postcss-minify -o ./dist/neu.min.css",