blue-web 1.30.3 → 1.31.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.30.3 (https://bruegmann.github.io/blue-web)
2
+ * Blue Web v1.31.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
 
@@ -102,3 +102,57 @@
102
102
  --bs-link-hover-color: #{$link-hover-color-dark};
103
103
  }
104
104
  }
105
+
106
+ .blue-layout-splitter {
107
+ height: 100%;
108
+
109
+ // Set styles for sp-split-view
110
+ &:is(sp-split-view) {
111
+ --mod-splitview-handle-background-color: transparent;
112
+ --mod-splitview-handle-background-color-down: var(--bs-primary-text-emphasis);
113
+ --mod-splitview-handle-background-color-hover: var(--bs-gray-400);
114
+ --mod-splitview-handle-background-color-key-focus: var(--bs-gray-300);
115
+ --mod-splitview-handle-background-color-mouse-focus: var(--bs-gray-300);
116
+ --mod-splitview-handle-width: 6px;
117
+ --mod-splitview-handle-height: 6px;
118
+ --mod-splitview-gripper-width: 0;
119
+ --mod-splitview-gripper-border-width-vertical: 0;
120
+ --mod-splitview-gripper-border-width-horizontal: 0;
121
+
122
+ @media (prefers-color-scheme: dark) {
123
+ & {
124
+ --mod-splitview-handle-background-color: transparent;
125
+ --mod-splitview-handle-background-color-down: var(--bs-primary-text-emphasis);
126
+ --mod-splitview-handle-background-color-hover: var(--bs-gray-600);
127
+ --mod-splitview-handle-background-color-key-focus: var(--bs-gray-700);
128
+ --mod-splitview-handle-background-color-mouse-focus: var(--bs-gray-700);
129
+ }
130
+ }
131
+
132
+ &:not([resizable]) {
133
+ & > *:first-child {
134
+ width: 100%;
135
+ height: 100%;
136
+ }
137
+ & > *:last-child {
138
+ @include media-breakpoint-up(lg) {
139
+ display: none;
140
+ }
141
+ }
142
+ }
143
+ }
144
+ }
145
+
146
+ .blue-layout-inspector {
147
+ &:not([open]) {
148
+ & > .offcanvas {
149
+ --spacing: 0.5rem;
150
+ width: 100%;
151
+ height: calc(100% - var(--spacing));
152
+
153
+ & > .offcanvas-body {
154
+ padding-inline: var(--spacing);
155
+ }
156
+ }
157
+ }
158
+ }
package/package.json CHANGED
@@ -1,89 +1,64 @@
1
1
  {
2
- "name": "blue-web",
3
- "version": "1.30.3",
4
- "description": "UI components built on top of Bootstrap 5",
5
- "license": "LGPL-3.0-or-later",
6
- "type": "module",
7
- "homepage": "https://bruegmann.github.io/blue-web/v1",
8
- "repository": {
9
- "url": "https://github.com/bruegmann/blue-web"
10
- },
11
- "bugs": {
12
- "url": "https://github.com/bruegmann/blue-react/issues"
13
- },
14
- "scripts": {
15
- "start": "npm run dev",
16
- "build-docs": "npm run build-astro",
17
- "build-types": "tsc --declaration --emitDeclarationOnly --declarationDir ./dist/js --noEmit false --project tsconfig.build.json",
18
- "build": "babel ./src/js --out-dir ./dist/js --extensions \".tsx,.js,.ts\"",
19
- "build-bundles": "webpack",
20
- "build-css": "node ./setVersionToStyleScss.cjs && sass --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",
21
- "build-neu-css": "sass --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",
22
- "build-release": "npm run build-types && npm run build && npm run build-bundles && npm run build-css && node merge-scss.cjs dist/style.scss && npm run license-report",
23
- "predeploy": "npm run build-astro",
24
- "deploy": "gh-pages --dist site/dist --dest v1",
25
- "prepublishOnly": "npm i && npm run build-release",
26
- "release": "npm publish && npm run deploy",
27
- "prettier": "npx prettier --write .",
28
- "license-report": "npx license-report --prod --output=json > site/src/assets/license-report.json",
29
- "dev": "astro dev --root site",
30
- "build-astro": "astro build --root site",
31
- "preview-astro": "astro preview --root site",
32
- "version": "npm run build-release && git add -A",
33
- "postversion": "npm run deploy && git push --follow-tags"
34
- },
35
- "dependencies": {
36
- "@popperjs/core": "^2.11.5",
37
- "bootstrap": "~5.3.8"
38
- },
39
- "devDependencies": {
40
- "@astrojs/mdx": "^4.3.13",
41
- "@astrojs/react": "^4.4.2",
42
- "@babel/cli": "^7.10.4",
43
- "@babel/preset-env": "^7.10.4",
44
- "@babel/preset-typescript": "^7.9.0",
45
- "@radix-ui/react-slot": "^1.2.4",
46
- "@types/bootstrap": "^5.0.17",
47
- "@types/node": "^12.12.47",
48
- "@types/react": "^19.0.8",
49
- "@types/react-dom": "^19.0.3",
50
- "@types/react-syntax-highlighter": "^13.5.0",
51
- "astro": "^5.16.5",
52
- "autoprefixer": "^10.3.6",
53
- "babel-loader": "^8.4.1",
54
- "blue-react": "^11.3.2",
55
- "blue-themify": "^1.0.0",
56
- "colorjs.io": "^0.5.2",
57
- "gh-pages": "^3.1.0",
58
- "license-report": "^6.2.0",
59
- "lint-staged": "^11.1.2",
60
- "postcss-cli": "^9.0.1",
61
- "postcss-minify": "^1.1.0",
62
- "postcss-only-vars": "^1.0.0",
63
- "prettier": "^3.5.3",
64
- "react": "^19.0.0",
65
- "react-bootstrap-icons": "^1.11.5",
66
- "react-dom": "^19.0.0",
67
- "react-markdown": "^8.0.3",
68
- "react-syntax-highlighter": "^15.4.3",
69
- "sass": "^1.93.2",
70
- "typescript": "^4.3.5",
71
- "webpack": "^5.95.0",
72
- "webpack-cli": "^5.1.4"
73
- },
74
- "eslintConfig": {
75
- "extends": "react-app"
76
- },
77
- "browserslist": {
78
- "production": [
79
- ">0.2%",
80
- "not dead",
81
- "not op_mini all"
82
- ],
83
- "development": [
84
- "last 1 chrome version",
85
- "last 1 firefox version",
86
- "last 1 safari version"
87
- ]
88
- }
89
- }
2
+ "name": "blue-web",
3
+ "version": "1.31.0",
4
+ "description": "UI components built on top of Bootstrap 5",
5
+ "license": "LGPL-3.0-or-later",
6
+ "type": "module",
7
+ "homepage": "https://bruegmann.github.io/blue",
8
+ "repository": {
9
+ "url": "https://github.com/bruegmann/blue"
10
+ },
11
+ "bugs": {
12
+ "url": "https://github.com/bruegmann/blue/issues"
13
+ },
14
+ "dependencies": {
15
+ "@popperjs/core": "^2.11.5",
16
+ "bootstrap": "~5.3.8"
17
+ },
18
+ "peerDependencies": {
19
+ "@spectrum-web-components/split-view": "^1.12.2"
20
+ },
21
+ "devDependencies": {
22
+ "@babel/cli": "^7.10.4",
23
+ "@babel/preset-env": "^7.10.4",
24
+ "@babel/preset-typescript": "^7.9.0",
25
+ "@types/bootstrap": "^5.0.17",
26
+ "@types/node": "^12.12.47",
27
+ "autoprefixer": "^10.3.6",
28
+ "babel-loader": "^8.4.1",
29
+ "babel-watch": "^7.8.1",
30
+ "lint-staged": "^11.1.2",
31
+ "postcss-cli": "^9.0.1",
32
+ "postcss-minify": "^1.1.0",
33
+ "postcss-only-vars": "^1.0.0",
34
+ "sass": "^1.93.2",
35
+ "typescript": "^4.3.5",
36
+ "webpack": "^5.95.0",
37
+ "webpack-cli": "^5.1.4"
38
+ },
39
+ "browserslist": {
40
+ "production": [
41
+ ">0.2%",
42
+ "not dead",
43
+ "not op_mini all"
44
+ ],
45
+ "development": [
46
+ "last 1 chrome version",
47
+ "last 1 firefox version",
48
+ "last 1 safari version"
49
+ ]
50
+ },
51
+ "scripts": {
52
+ "start": "npm run dev",
53
+ "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",
56
+ "build-bundles": "webpack",
57
+ "build-css": "node ./setVersionToStyleScss.cjs && sass --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
+ "build-neu-css": "sass --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",
59
+ "build-release": "npm run build-types && npm run build && npm run build-bundles && npm run build-css && node merge-scss.cjs dist/style.scss",
60
+ "prettier": "npx prettier --write .",
61
+ "version": "npm run build-release && git add -A",
62
+ "postversion": "git push --follow-tags"
63
+ }
64
+ }