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/js/layout.bundle.js +1 -1
- package/dist/js/layout.d.ts +31 -1
- package/dist/js/layout.js +155 -5
- package/dist/merged.scss +55 -1
- package/dist/style.css +45 -2
- package/dist/style.css.map +1 -1
- package/dist/style.min.css +3 -3
- package/dist/style.scss +1 -1
- package/dist/styles/_layout.scss +54 -0
- package/package.json +63 -88
package/dist/style.scss
CHANGED
package/dist/styles/_layout.scss
CHANGED
|
@@ -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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
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
|
+
}
|