@stackoverflow/stacks 2.5.2 → 2.5.4
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.
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
--_po-arrow-after-r: unset;
|
|
18
18
|
--_po-arrow-after-t: unset;
|
|
19
19
|
--_po-arrow-after-bs: unset;
|
|
20
|
+
// content
|
|
21
|
+
// --_po-topbar-height assumes the topbar height based on topbar styles
|
|
22
|
+
--_po-topbar-height: var(--theme-topbar-height, calc(var(--su-static48) + var(--su-static8)));
|
|
23
|
+
--_po-content-mxh: calc(100vh - var(--_po-topbar-height) - var(--su48));
|
|
20
24
|
|
|
21
25
|
// CONTEXTUAL STYLES
|
|
22
26
|
.dark-mode({
|
|
@@ -130,6 +134,13 @@
|
|
|
130
134
|
padding: var(--su8) !important;
|
|
131
135
|
}
|
|
132
136
|
|
|
137
|
+
& &--content {
|
|
138
|
+
max-height: var(--_po-content-mxh);
|
|
139
|
+
overflow-y: auto;
|
|
140
|
+
margin: calc(var(--su12) * -1);
|
|
141
|
+
padding: var(--su12);
|
|
142
|
+
}
|
|
143
|
+
|
|
133
144
|
background-color: var(--_po-bg);
|
|
134
145
|
border: 1px solid var(--_po-bc);
|
|
135
146
|
box-shadow: var(--_po-bs);
|
|
@@ -31,6 +31,8 @@
|
|
|
31
31
|
--_tb-searchbar-p: 0 var(--su8);
|
|
32
32
|
--_tb-searchbar-open-d: unset;
|
|
33
33
|
--_tb-searchbar-open-mxw: 0;
|
|
34
|
+
--_tb-searchbar-popover-wmn: calc(var(--s-step) * 4);
|
|
35
|
+
--_tb-searchbar-popover-content-mxh: calc(100vh - var(--_tb-h) - var(--su16));
|
|
34
36
|
|
|
35
37
|
// CONTEXTUAL STYLES
|
|
36
38
|
.dark-mode({
|
|
@@ -97,6 +99,8 @@
|
|
|
97
99
|
--_tb-searchbar-open-d: flex;
|
|
98
100
|
--_tb-searchbar-open-mxw: none;
|
|
99
101
|
--_tb-searchbar-select-w: 25%;
|
|
102
|
+
--_tb-searchbar-popover-wmn: initial;
|
|
103
|
+
--_tb-searchbar-popover-content-mxh: calc(100vh - var(--_tb-h) - var(--su48) - var(--su12));
|
|
100
104
|
});
|
|
101
105
|
|
|
102
106
|
// VARIANTS
|
|
@@ -367,6 +371,16 @@
|
|
|
367
371
|
position: relative;
|
|
368
372
|
}
|
|
369
373
|
|
|
374
|
+
.s-popover {
|
|
375
|
+
max-width: 100%;
|
|
376
|
+
min-width: var(--_tb-searchbar-popover-wmn);
|
|
377
|
+
padding: 0;
|
|
378
|
+
|
|
379
|
+
.s-popover--content {
|
|
380
|
+
max-height: var(--_tb-searchbar-popover-content-mxh);
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|
|
370
384
|
.s-select {
|
|
371
385
|
#stacks-internals #screen-sm({
|
|
372
386
|
width: 25% !important;
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/StackExchange/Stacks.git"
|
|
7
7
|
},
|
|
8
|
-
"version": "2.5.
|
|
8
|
+
"version": "2.5.4",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
11
|
"lib",
|
|
@@ -46,28 +46,28 @@
|
|
|
46
46
|
"@11ty/eleventy": "^2.0.1",
|
|
47
47
|
"@highlightjs/cdn-assets": "^11.9.0",
|
|
48
48
|
"@open-wc/testing": "^4.0.0",
|
|
49
|
-
"@rollup/plugin-commonjs": "^
|
|
50
|
-
"@rollup/plugin-replace": "^5.0.
|
|
49
|
+
"@rollup/plugin-commonjs": "^26.0.1",
|
|
50
|
+
"@rollup/plugin-replace": "^5.0.7",
|
|
51
51
|
"@stackoverflow/stacks-editor": "^0.10.6",
|
|
52
52
|
"@stackoverflow/stacks-icons": "^6.0.2",
|
|
53
|
-
"@testing-library/dom": "^10.1
|
|
53
|
+
"@testing-library/dom": "^10.3.1",
|
|
54
54
|
"@testing-library/user-event": "^14.5.2",
|
|
55
55
|
"@types/cssbeautify": "^0.3.5",
|
|
56
56
|
"@types/less": "^3.0.6",
|
|
57
|
-
"@types/mocha": "^10.0.
|
|
58
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
59
|
-
"@typescript-eslint/parser": "^7.
|
|
57
|
+
"@types/mocha": "^10.0.7",
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
59
|
+
"@typescript-eslint/parser": "^7.13.0",
|
|
60
60
|
"@web/dev-server-esbuild": "^1.0.2",
|
|
61
|
-
"@web/dev-server-rollup": "^0.6.
|
|
61
|
+
"@web/dev-server-rollup": "^0.6.4",
|
|
62
62
|
"@web/test-runner": "^0.18.2",
|
|
63
63
|
"@web/test-runner-playwright": "^0.11.0",
|
|
64
64
|
"@web/test-runner-visual-regression": "^0.9.0",
|
|
65
65
|
"apca-check": "^0.1.0",
|
|
66
|
-
"colorjs.io": "^0.5.
|
|
66
|
+
"colorjs.io": "^0.5.2",
|
|
67
67
|
"concurrently": "^8.2.2",
|
|
68
|
-
"css-loader": "^7.1.
|
|
68
|
+
"css-loader": "^7.1.2",
|
|
69
69
|
"cssbeautify": "^0.3.1",
|
|
70
|
-
"cssnano": "^7.0.
|
|
70
|
+
"cssnano": "^7.0.2",
|
|
71
71
|
"docsearch.js": "^2.6.3",
|
|
72
72
|
"eleventy-plugin-highlightjs": "^1.1.0",
|
|
73
73
|
"eleventy-plugin-nesting-toc": "^1.3.0",
|
|
@@ -81,16 +81,16 @@
|
|
|
81
81
|
"mini-css-extract-plugin": "^2.9.0",
|
|
82
82
|
"postcss-less": "^6.0.0",
|
|
83
83
|
"postcss-loader": "^8.1.1",
|
|
84
|
-
"prettier": "^3.2
|
|
84
|
+
"prettier": "^3.3.2",
|
|
85
85
|
"rollup-plugin-postcss": "^4.0.2",
|
|
86
|
-
"stylelint": "^16.
|
|
87
|
-
"stylelint-config-recommended": "^14.0.
|
|
88
|
-
"stylelint-config-standard": "^36.0.
|
|
86
|
+
"stylelint": "^16.6.1",
|
|
87
|
+
"stylelint-config-recommended": "^14.0.1",
|
|
88
|
+
"stylelint-config-standard": "^36.0.1",
|
|
89
89
|
"terser-webpack-plugin": "^5.3.10",
|
|
90
90
|
"ts-loader": "^9.5.1",
|
|
91
|
-
"typescript": "^5.
|
|
91
|
+
"typescript": "^5.5.2",
|
|
92
92
|
"vitest": "^1.6.0",
|
|
93
|
-
"webpack": "^5.
|
|
93
|
+
"webpack": "^5.92.1",
|
|
94
94
|
"webpack-cli": "^5.1.4",
|
|
95
95
|
"webpack-merge": "^5.10.0"
|
|
96
96
|
},
|