@stackoverflow/stacks 1.9.5 → 1.10.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.
Files changed (38) hide show
  1. package/README.md +4 -3
  2. package/dist/css/stacks.css +81 -102
  3. package/dist/css/stacks.min.css +1 -1
  4. package/dist/js/stacks.js +33 -69
  5. package/lib/atomic/border.less +3 -3
  6. package/lib/atomic/misc.less +4 -4
  7. package/lib/atomic/typography.less +1 -1
  8. package/lib/base/body.less +1 -1
  9. package/lib/base/reset-normalize.less +3 -3
  10. package/lib/components/anchor/anchor.a11y.test.ts +42 -0
  11. package/lib/components/anchor/anchor.less +5 -2
  12. package/lib/components/anchor/anchor.visual.test.ts +53 -0
  13. package/lib/components/avatar/avatar.less +1 -1
  14. package/lib/components/banner/banner.less +10 -17
  15. package/lib/components/block-link/block-link.a11y.test.ts +7 -6
  16. package/lib/components/block-link/block-link.less +1 -1
  17. package/lib/components/block-link/block-link.visual.test.ts +7 -6
  18. package/lib/components/button/button.less +31 -46
  19. package/lib/components/card/card.visual.test.ts +7 -6
  20. package/lib/components/input-fill/input-fill.less +2 -2
  21. package/lib/components/input-icon/input-icon.less +1 -1
  22. package/lib/components/input_textarea/input_textarea.less +2 -2
  23. package/lib/components/link/link.a11y.test.ts +36 -0
  24. package/lib/components/link/link.less +1 -0
  25. package/lib/components/link/link.visual.test.ts +32 -0
  26. package/lib/components/navigation/navigation.less +1 -1
  27. package/lib/components/notice/notice.less +1 -1
  28. package/lib/components/page-title/page-title.less +1 -1
  29. package/lib/components/select/select.less +2 -2
  30. package/lib/components/sidebar-widget/sidebar-widget.less +3 -3
  31. package/lib/components/spinner/spinner.less +1 -1
  32. package/lib/components/table/table.less +3 -3
  33. package/lib/components/toast/toast.test.ts +24 -23
  34. package/lib/components/topbar/topbar.less +6 -6
  35. package/lib/exports/constants-colors.less +1 -1
  36. package/lib/exports/constants-helpers.less +3 -3
  37. package/lib/exports/constants-type.less +5 -3
  38. 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.9.5",
8
+ "version": "1.10.0",
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": "web-test-runner",
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.7"
41
+ "@popperjs/core": "^2.11.8"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@11ty/eleventy": "^2.0.1",
45
- "@highlightjs/cdn-assets": "^11.7.0",
46
- "@open-wc/testing": "^3.1.8",
47
- "@rollup/plugin-commonjs": "^24.1.0",
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.3.1",
51
- "@testing-library/dom": "^9.2.0",
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.59.6",
54
- "@typescript-eslint/parser": "^5.59.6",
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.0",
58
+ "@web/test-runner-playwright": "^0.10.1",
59
59
  "@web/test-runner-visual-regression": "^0.8.0",
60
- "concurrently": "^8.0.1",
61
- "css-loader": "^6.7.4",
62
- "cssnano": "^6.0.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.41.0",
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.0",
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.5",
73
+ "mini-css-extract-plugin": "^2.7.6",
74
74
  "postcss-less": "^6.0.0",
75
- "postcss-loader": "^7.2.4",
76
- "prettier": "^2.8.8",
75
+ "postcss-loader": "^7.3.3",
76
+ "prettier": "^3.0.0",
77
77
  "rollup-plugin-postcss": "^4.0.2",
78
- "stylelint": "^15.6.2",
78
+ "stylelint": "^15.10.1",
79
79
  "stylelint-config-recommended": "^12.0.0",
80
- "stylelint-config-standard": "^33.0.0",
80
+ "stylelint-config-standard": "^34.0.0",
81
81
  "terser-webpack-plugin": "^5.3.9",
82
- "ts-loader": "^9.4.2",
83
- "typescript": "^5.0.4",
84
- "webpack": "^5.82.0",
85
- "webpack-cli": "^5.1.1",
86
- "webpack-merge": "^5.8.0"
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",