@stackoverflow/stacks 1.9.5 → 1.10.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 +4 -3
- package/dist/css/stacks.css +77 -98
- package/dist/css/stacks.min.css +1 -1
- package/dist/js/stacks.js +33 -69
- package/lib/atomic/border.less +3 -3
- package/lib/atomic/misc.less +4 -4
- package/lib/atomic/typography.less +1 -1
- package/lib/base/reset-normalize.less +3 -3
- package/lib/components/anchor/anchor.a11y.test.ts +42 -0
- package/lib/components/anchor/anchor.less +5 -2
- package/lib/components/anchor/anchor.visual.test.ts +53 -0
- package/lib/components/avatar/avatar.less +1 -1
- package/lib/components/banner/banner.less +10 -17
- package/lib/components/block-link/block-link.a11y.test.ts +7 -6
- package/lib/components/block-link/block-link.less +1 -1
- package/lib/components/block-link/block-link.visual.test.ts +7 -6
- package/lib/components/button/button.less +31 -46
- package/lib/components/card/card.visual.test.ts +7 -6
- package/lib/components/input-fill/input-fill.less +2 -2
- package/lib/components/input-icon/input-icon.less +1 -1
- package/lib/components/input_textarea/input_textarea.less +2 -2
- package/lib/components/link/link.a11y.test.ts +36 -0
- package/lib/components/link/link.less +1 -0
- package/lib/components/link/link.visual.test.ts +32 -0
- package/lib/components/navigation/navigation.less +1 -1
- package/lib/components/notice/notice.less +1 -1
- package/lib/components/page-title/page-title.less +1 -1
- package/lib/components/select/select.less +2 -2
- package/lib/components/sidebar-widget/sidebar-widget.less +3 -3
- package/lib/components/spinner/spinner.less +1 -1
- package/lib/components/table/table.less +3 -3
- package/lib/components/toast/toast.test.ts +24 -23
- package/lib/components/topbar/topbar.less +6 -6
- package/lib/exports/constants-colors.less +1 -1
- package/lib/exports/constants-helpers.less +3 -3
- package/lib/exports/constants-type.less +2 -0
- package/package.json +28 -28
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": "1.
|
|
8
|
+
"version": "1.10.1",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
11
|
"lib"
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"build:docs": "webpack --mode=production --config ./docs/webpack.config.js && cd ./docs && eleventy",
|
|
23
23
|
"start:webpack": "webpack --watch --config ./docs/webpack.config.js",
|
|
24
24
|
"start:eleventy": "cd ./docs && eleventy --serve",
|
|
25
|
-
"test": "
|
|
25
|
+
"test": "npm run test:unit && npm run test:a11y && npm run test:visual",
|
|
26
26
|
"test:a11y": "web-test-runner --group=a11y",
|
|
27
27
|
"test:unit": "web-test-runner --group=unit",
|
|
28
28
|
"test:unit:watch": "web-test-runner --group=unit --watch",
|
|
29
|
-
"test:visual": "web-test-runner --group=visual",
|
|
30
|
-
"test:visual:update": "web-test-runner --group=visual --update-visual-baseline",
|
|
29
|
+
"test:visual": "pwsh run-test-visual.ps1 npx web-test-runner --group=visual",
|
|
30
|
+
"test:visual:update": "pwsh run-test-visual.ps1 npx web-test-runner --group=visual --update-visual-baseline",
|
|
31
31
|
"prepublishOnly": "npm run build",
|
|
32
32
|
"format": "prettier --write ./lib",
|
|
33
33
|
"lint": "concurrently -n w: npm:lint:*",
|
|
@@ -38,52 +38,52 @@
|
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@hotwired/stimulus": "^3.2.1",
|
|
41
|
-
"@popperjs/core": "^2.11.
|
|
41
|
+
"@popperjs/core": "^2.11.8"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@11ty/eleventy": "^2.0.1",
|
|
45
|
-
"@highlightjs/cdn-assets": "^11.
|
|
46
|
-
"@open-wc/testing": "^3.
|
|
47
|
-
"@rollup/plugin-commonjs": "^
|
|
45
|
+
"@highlightjs/cdn-assets": "^11.8.0",
|
|
46
|
+
"@open-wc/testing": "^3.2.0",
|
|
47
|
+
"@rollup/plugin-commonjs": "^25.0.3",
|
|
48
48
|
"@rollup/plugin-replace": "^5.0.2",
|
|
49
49
|
"@stackoverflow/stacks-editor": "^0.8.7",
|
|
50
|
-
"@stackoverflow/stacks-icons": "^5.
|
|
51
|
-
"@testing-library/dom": "^9.
|
|
50
|
+
"@stackoverflow/stacks-icons": "^5.4.0",
|
|
51
|
+
"@testing-library/dom": "^9.3.1",
|
|
52
52
|
"@testing-library/user-event": "^14.4.3",
|
|
53
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
54
|
-
"@typescript-eslint/parser": "^5.
|
|
53
|
+
"@typescript-eslint/eslint-plugin": "^5.60.1",
|
|
54
|
+
"@typescript-eslint/parser": "^5.61.0",
|
|
55
55
|
"@web/dev-server-esbuild": "^0.4.1",
|
|
56
56
|
"@web/dev-server-rollup": "^0.4.0",
|
|
57
57
|
"@web/test-runner": "^0.16.1",
|
|
58
|
-
"@web/test-runner-playwright": "^0.10.
|
|
58
|
+
"@web/test-runner-playwright": "^0.10.1",
|
|
59
59
|
"@web/test-runner-visual-regression": "^0.8.0",
|
|
60
|
-
"concurrently": "^8.0
|
|
61
|
-
"css-loader": "^6.
|
|
62
|
-
"cssnano": "^6.0.
|
|
60
|
+
"concurrently": "^8.2.0",
|
|
61
|
+
"css-loader": "^6.8.1",
|
|
62
|
+
"cssnano": "^6.0.1",
|
|
63
63
|
"docsearch.js": "^2.6.3",
|
|
64
64
|
"eleventy-plugin-highlightjs": "^1.1.0",
|
|
65
65
|
"eleventy-plugin-nesting-toc": "^1.3.0",
|
|
66
|
-
"eslint": "^8.
|
|
66
|
+
"eslint": "^8.45.0",
|
|
67
67
|
"eslint-config-prettier": "^8.8.0",
|
|
68
68
|
"eslint-plugin-no-unsanitized": "^4.0.2",
|
|
69
69
|
"jquery": "^3.7.0",
|
|
70
|
-
"less-loader": "^11.1.
|
|
70
|
+
"less-loader": "^11.1.3",
|
|
71
71
|
"list.js": "^2.3.1",
|
|
72
72
|
"markdown-it": "^13.0.1",
|
|
73
|
-
"mini-css-extract-plugin": "^2.7.
|
|
73
|
+
"mini-css-extract-plugin": "^2.7.6",
|
|
74
74
|
"postcss-less": "^6.0.0",
|
|
75
|
-
"postcss-loader": "^7.
|
|
76
|
-
"prettier": "^
|
|
75
|
+
"postcss-loader": "^7.3.3",
|
|
76
|
+
"prettier": "^3.0.0",
|
|
77
77
|
"rollup-plugin-postcss": "^4.0.2",
|
|
78
|
-
"stylelint": "^15.
|
|
78
|
+
"stylelint": "^15.10.1",
|
|
79
79
|
"stylelint-config-recommended": "^12.0.0",
|
|
80
|
-
"stylelint-config-standard": "^
|
|
80
|
+
"stylelint-config-standard": "^34.0.0",
|
|
81
81
|
"terser-webpack-plugin": "^5.3.9",
|
|
82
|
-
"ts-loader": "^9.4.
|
|
83
|
-
"typescript": "^5.
|
|
84
|
-
"webpack": "^5.
|
|
85
|
-
"webpack-cli": "^5.1.
|
|
86
|
-
"webpack-merge": "^5.
|
|
82
|
+
"ts-loader": "^9.4.3",
|
|
83
|
+
"typescript": "^5.1.6",
|
|
84
|
+
"webpack": "^5.88.1",
|
|
85
|
+
"webpack-cli": "^5.1.4",
|
|
86
|
+
"webpack-merge": "^5.9.0"
|
|
87
87
|
},
|
|
88
88
|
"browserslist": [
|
|
89
89
|
"last 2 versions",
|