@stackoverflow/stacks 0.70.0 → 0.73.1
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/README.md +1 -1
- package/dist/css/stacks.css +1742 -681
- package/dist/css/stacks.min.css +1 -1
- package/dist/js/stacks.js +167 -92
- package/dist/js/stacks.min.js +1 -1
- package/lib/css/atomic/_stacks-borders.less +18 -0
- package/lib/css/atomic/_stacks-flex.less +2 -7
- package/lib/css/atomic/_stacks-grid.less +2 -0
- package/lib/css/atomic/_stacks-misc.less +6 -2
- package/lib/css/atomic/_stacks-typography.less +23 -8
- package/lib/css/base/_stacks-configuration-dynamic.less +5 -15
- package/lib/css/components/_stacks-activity-indicator.less +26 -2
- package/lib/css/components/_stacks-avatars.less +9 -0
- package/lib/css/components/_stacks-badges.less +18 -6
- package/lib/css/components/_stacks-breadcrumbs.less +2 -0
- package/lib/css/components/_stacks-button-groups.less +11 -0
- package/lib/css/components/_stacks-buttons.less +111 -10
- package/lib/css/components/_stacks-cards.less +9 -13
- package/lib/css/components/_stacks-code-blocks.less +1 -1
- package/lib/css/components/_stacks-inputs.less +78 -9
- package/lib/css/components/_stacks-link-previews.less +7 -3
- package/lib/css/components/_stacks-links.less +25 -2
- package/lib/css/components/_stacks-menu.less +4 -4
- package/lib/css/components/_stacks-modals.less +1 -1
- package/lib/css/components/_stacks-navigation.less +18 -0
- package/lib/css/components/_stacks-notices.less +40 -3
- package/lib/css/components/_stacks-page-titles.less +1 -1
- package/lib/css/components/_stacks-pagination.less +4 -2
- package/lib/css/components/_stacks-popovers.less +22 -2
- package/lib/css/components/_stacks-post-summary.less +134 -3
- package/lib/css/components/_stacks-progress-bars.less +29 -6
- package/lib/css/components/_stacks-prose.less +16 -2
- package/lib/css/components/_stacks-tables.less +10 -6
- package/lib/css/components/_stacks-tags.less +22 -19
- package/lib/css/components/_stacks-toggle-switches.less +12 -0
- package/lib/css/components/_stacks-topbar.less +440 -0
- package/lib/css/components/_stacks-uploader.less +22 -0
- package/lib/css/components/_stacks-widget-static.less +15 -3
- package/lib/css/exports/_stacks-constants-colors.less +443 -35
- package/lib/css/exports/_stacks-constants-helpers.less +1 -2
- package/lib/css/exports/_stacks-mixins.less +26 -0
- package/lib/css/stacks-dynamic.less +0 -1
- package/lib/css/stacks-static.less +15 -0
- package/lib/ts/controllers/s-tooltip.ts +4 -0
- package/package.json +15 -12
|
@@ -176,6 +176,8 @@ namespace Stacks {
|
|
|
176
176
|
|
|
177
177
|
this.referenceElement.addEventListener("mouseover", this.boundScheduleShow);
|
|
178
178
|
this.referenceElement.addEventListener("mouseout", this.boundHide);
|
|
179
|
+
this.referenceElement.addEventListener("focus", this.boundScheduleShow);
|
|
180
|
+
this.referenceElement.addEventListener("blur", this.boundHide);
|
|
179
181
|
}
|
|
180
182
|
|
|
181
183
|
/**
|
|
@@ -184,6 +186,8 @@ namespace Stacks {
|
|
|
184
186
|
private unbindMouseEvents() {
|
|
185
187
|
this.referenceElement.removeEventListener("mouseover", this.boundScheduleShow);
|
|
186
188
|
this.referenceElement.removeEventListener("mouseout", this.boundHide);
|
|
189
|
+
this.referenceElement.removeEventListener("focus", this.boundScheduleShow);
|
|
190
|
+
this.referenceElement.removeEventListener("blur", this.boundHide);
|
|
187
191
|
}
|
|
188
192
|
|
|
189
193
|
/**
|
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": "0.
|
|
8
|
+
"version": "0.73.1",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
11
|
"lib"
|
|
@@ -19,24 +19,24 @@
|
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@popperjs/core": "^2.
|
|
22
|
+
"@popperjs/core": "^2.11.0",
|
|
23
23
|
"stimulus": "^2.0.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@11ty/eleventy": "^0.12.1",
|
|
27
|
-
"@highlightjs/cdn-assets": "^11.
|
|
27
|
+
"@highlightjs/cdn-assets": "^11.3.1",
|
|
28
28
|
"@stackoverflow/stacks-editor": "^0.4.1",
|
|
29
|
-
"@stackoverflow/stacks-icons": "^2.
|
|
30
|
-
"backstopjs": "^
|
|
29
|
+
"@stackoverflow/stacks-icons": "^2.25.1",
|
|
30
|
+
"backstopjs": "^6.0.4",
|
|
31
31
|
"docsearch.js": "^2.6.3",
|
|
32
32
|
"eleventy-plugin-highlightjs": "^0.3.0",
|
|
33
33
|
"eleventy-plugin-markdown-shortcode": "^1.1.0",
|
|
34
|
-
"eleventy-plugin-nesting-toc": "^1.
|
|
35
|
-
"grunt": "^1.
|
|
36
|
-
"grunt-cli": "^1.4.
|
|
34
|
+
"eleventy-plugin-nesting-toc": "^1.3.0",
|
|
35
|
+
"grunt": "^1.4.1",
|
|
36
|
+
"grunt-cli": "^1.4.3",
|
|
37
37
|
"grunt-concurrent": "^3.0.0",
|
|
38
38
|
"grunt-contrib-clean": "^2.0.0",
|
|
39
|
-
"grunt-contrib-concat": "^
|
|
39
|
+
"grunt-contrib-concat": "^2.0.0",
|
|
40
40
|
"grunt-contrib-copy": "^1.0.0",
|
|
41
41
|
"grunt-contrib-cssmin": "^4.0.0",
|
|
42
42
|
"grunt-contrib-less": "^3.0.0",
|
|
@@ -46,9 +46,12 @@
|
|
|
46
46
|
"grunt-ts": "^6.0.0-beta.22",
|
|
47
47
|
"jquery": "^3.6.0",
|
|
48
48
|
"list.js": "^2.3.1",
|
|
49
|
-
"
|
|
50
|
-
"stylelint
|
|
51
|
-
"
|
|
49
|
+
"postcss-less": "^5.0.0",
|
|
50
|
+
"stylelint": "^14.2.0",
|
|
51
|
+
"stylelint-config-recommended-less": "^1.0.1",
|
|
52
|
+
"stylelint-config-standard": "^24.0.0",
|
|
53
|
+
"stylelint-less": "^1.0.1",
|
|
54
|
+
"typescript": "^4.5.4"
|
|
52
55
|
},
|
|
53
56
|
"browserslist": [
|
|
54
57
|
"last 2 versions",
|