@stackoverflow/stacks 2.0.0-rc.0 → 2.0.0-rc.2

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 (47) hide show
  1. package/README.md +5 -0
  2. package/dist/css/stacks.css +582 -532
  3. package/dist/css/stacks.min.css +1 -1
  4. package/dist/js/stacks.js +265 -110
  5. package/dist/js/stacks.min.js +1 -1
  6. package/lib/atomic/typography.less +4 -0
  7. package/lib/components/activity-indicator/activity-indicator.a11y.test.ts +1 -1
  8. package/lib/components/activity-indicator/activity-indicator.less +17 -4
  9. package/lib/components/anchor/anchor.visual.test.ts +1 -5
  10. package/lib/components/avatar/avatar.visual.test.ts +1 -4
  11. package/lib/components/badge/badge.a11y.test.ts +2 -2
  12. package/lib/components/badge/badge.less +15 -23
  13. package/lib/components/block-link/block-link.less +5 -4
  14. package/lib/components/button/button.a11y.test.ts +2 -5
  15. package/lib/components/button/button.less +28 -58
  16. package/lib/components/button/button.visual.test.ts +2 -5
  17. package/lib/components/card/card.less +8 -0
  18. package/lib/components/description/description.a11y.test.ts +1 -0
  19. package/lib/components/expandable/expandable.a11y.test.ts +27 -0
  20. package/lib/components/expandable/expandable.visual.test.ts +27 -0
  21. package/lib/components/input-icon/input-icon.less +1 -1
  22. package/lib/components/input-message/input-message.less +4 -3
  23. package/lib/components/label/label.less +3 -13
  24. package/lib/components/link-preview/link-preview.a11y.test.ts +48 -0
  25. package/lib/components/link-preview/link-preview.less +13 -4
  26. package/lib/components/link-preview/link-preview.visual.test.ts +52 -0
  27. package/lib/components/notice/notice.a11y.test.ts +17 -0
  28. package/lib/components/notice/notice.less +44 -81
  29. package/lib/components/notice/notice.visual.test.ts +26 -0
  30. package/lib/components/pagination/pagination.a11y.test.ts +20 -0
  31. package/lib/components/pagination/pagination.visual.test.ts +26 -0
  32. package/lib/components/post-summary/post-summary.less +3 -3
  33. package/lib/components/sidebar-widget/sidebar-widget.less +2 -2
  34. package/lib/components/spinner/spinner.a11y.test.ts +15 -0
  35. package/lib/components/spinner/spinner.visual.test.ts +43 -0
  36. package/lib/components/toast/toast.a11y.test.ts +30 -0
  37. package/lib/components/toast/toast.visual.test.ts +10 -6
  38. package/lib/components/toggle-switch/toggle-switch.less +2 -5
  39. package/lib/components/uploader/uploader.less +19 -13
  40. package/lib/exports/color-sets.less +127 -78
  41. package/lib/exports/theme.less +3 -3
  42. package/lib/input-utils.less +1 -1
  43. package/lib/test/axe-apca/README.md +19 -0
  44. package/lib/test/axe-apca/src/axe-apca.test.ts +77 -1
  45. package/lib/test/axe-apca/src/axe-apca.ts +16 -8
  46. package/lib/test/test-utils.ts +7 -3
  47. package/package.json +12 -12
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.0.0-rc.0",
8
+ "version": "2.0.0-rc.2",
9
9
  "files": [
10
10
  "dist",
11
11
  "lib"
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "license": "MIT",
41
41
  "dependencies": {
42
- "@hotwired/stimulus": "^3.2.1",
42
+ "@hotwired/stimulus": "^3.2.2",
43
43
  "@popperjs/core": "^2.11.8"
44
44
  },
45
45
  "devDependencies": {
@@ -54,39 +54,39 @@
54
54
  "@testing-library/user-event": "^14.4.3",
55
55
  "@types/cssbeautify": "^0.3.2",
56
56
  "@types/less": "^3.0.3",
57
- "@typescript-eslint/eslint-plugin": "^6.4.0",
58
- "@typescript-eslint/parser": "^6.4.0",
57
+ "@typescript-eslint/eslint-plugin": "^6.5.0",
58
+ "@typescript-eslint/parser": "^6.6.0",
59
59
  "@web/dev-server-esbuild": "^0.4.1",
60
60
  "@web/dev-server-rollup": "^0.5.2",
61
- "@web/test-runner": "^0.17.0",
61
+ "@web/test-runner": "^0.17.1",
62
62
  "@web/test-runner-playwright": "^0.10.1",
63
63
  "@web/test-runner-visual-regression": "^0.8.2",
64
64
  "apca-w3": "^0.1.9",
65
- "concurrently": "^8.2.0",
65
+ "concurrently": "^8.2.1",
66
66
  "css-loader": "^6.8.1",
67
67
  "cssbeautify": "^0.3.1",
68
68
  "cssnano": "^6.0.1",
69
69
  "docsearch.js": "^2.6.3",
70
70
  "eleventy-plugin-highlightjs": "^1.1.0",
71
71
  "eleventy-plugin-nesting-toc": "^1.3.0",
72
- "eslint": "^8.45.0",
73
- "eslint-config-prettier": "^8.9.0",
72
+ "eslint": "^8.48.0",
73
+ "eslint-config-prettier": "^9.0.0",
74
74
  "eslint-plugin-no-unsanitized": "^4.0.2",
75
- "jquery": "^3.7.0",
75
+ "jquery": "^3.7.1",
76
76
  "less-loader": "^11.1.3",
77
77
  "list.js": "^2.3.1",
78
78
  "markdown-it": "^13.0.1",
79
79
  "mini-css-extract-plugin": "^2.7.6",
80
80
  "postcss-less": "^6.0.0",
81
81
  "postcss-loader": "^7.3.3",
82
- "prettier": "^3.0.1",
82
+ "prettier": "^3.0.3",
83
83
  "rollup-plugin-postcss": "^4.0.2",
84
- "stylelint": "^15.10.2",
84
+ "stylelint": "^15.10.3",
85
85
  "stylelint-config-recommended": "^13.0.0",
86
86
  "stylelint-config-standard": "^34.0.0",
87
87
  "terser-webpack-plugin": "^5.3.9",
88
88
  "ts-loader": "^9.4.4",
89
- "typescript": "^5.1.6",
89
+ "typescript": "^5.2.2",
90
90
  "vitest": "^0.33.0",
91
91
  "webpack": "^5.88.2",
92
92
  "webpack-cli": "^5.1.4",