@stackoverflow/stacks 2.0.0-rc.1 → 2.0.0-rc.3

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 (55) hide show
  1. package/README.md +5 -0
  2. package/dist/css/stacks.css +631 -581
  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 +21 -29
  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/description/description.less +1 -1
  20. package/lib/components/expandable/expandable.a11y.test.ts +27 -0
  21. package/lib/components/expandable/expandable.visual.test.ts +27 -0
  22. package/lib/components/input-icon/input-icon.less +1 -1
  23. package/lib/components/input-message/input-message.less +4 -3
  24. package/lib/components/input_textarea/input_textarea.less +1 -1
  25. package/lib/components/label/label.less +4 -14
  26. package/lib/components/link-preview/link-preview.a11y.test.ts +48 -0
  27. package/lib/components/link-preview/link-preview.less +13 -4
  28. package/lib/components/link-preview/link-preview.visual.test.ts +52 -0
  29. package/lib/components/notice/notice.a11y.test.ts +17 -0
  30. package/lib/components/notice/notice.less +45 -82
  31. package/lib/components/notice/notice.visual.test.ts +26 -0
  32. package/lib/components/page-title/page-title.less +1 -1
  33. package/lib/components/pagination/pagination.a11y.test.ts +20 -0
  34. package/lib/components/pagination/pagination.less +2 -2
  35. package/lib/components/pagination/pagination.visual.test.ts +26 -0
  36. package/lib/components/post-summary/post-summary.less +7 -7
  37. package/lib/components/progress-bar/progress-bar.less +2 -2
  38. package/lib/components/prose/prose.less +1 -1
  39. package/lib/components/sidebar-widget/sidebar-widget.less +3 -3
  40. package/lib/components/spinner/spinner.a11y.test.ts +15 -0
  41. package/lib/components/spinner/spinner.visual.test.ts +43 -0
  42. package/lib/components/tag/tag.less +23 -23
  43. package/lib/components/toast/toast.a11y.test.ts +30 -0
  44. package/lib/components/toast/toast.visual.test.ts +10 -6
  45. package/lib/components/toggle-switch/toggle-switch.less +2 -5
  46. package/lib/components/uploader/uploader.less +19 -13
  47. package/lib/components/user-card/user-card.less +1 -1
  48. package/lib/exports/color-sets.less +127 -78
  49. package/lib/exports/theme.less +7 -7
  50. package/lib/input-utils.less +1 -1
  51. package/lib/test/axe-apca/README.md +19 -0
  52. package/lib/test/axe-apca/src/axe-apca.test.ts +77 -1
  53. package/lib/test/axe-apca/src/axe-apca.ts +16 -8
  54. package/lib/test/test-utils.ts +7 -3
  55. package/package.json +12 -12
package/README.md CHANGED
@@ -21,6 +21,7 @@ Stacks documentation can be found at https://stackoverflow.design/
21
21
  ## Table of contents
22
22
 
23
23
  - [Using Stacks](#using-stacks)
24
+ - [Migrating from v1 to v2](#migrating-from-v1-to-v2)
24
25
  - [Building Stacks](#building-stacks)
25
26
  - [Format Stacks](#format-stacks)
26
27
  - [Linting Stacks](#linting-stacks)
@@ -33,6 +34,10 @@ Stacks documentation can be found at https://stackoverflow.design/
33
34
  ## Using Stacks
34
35
  Using Stacks is outlined in our [usage guidelines](https://stackoverflow.design/product/guidelines/using-stacks).
35
36
 
37
+ ## Migrating from v1 to v2
38
+
39
+ To migrate from Stacks v1 to v2, see our [migration guide](/MIGRATION_GUIDE.md).
40
+
36
41
  ## Building Stacks
37
42
  To contribute to Stacks documentation or its CSS library, you’ll need to build Stacks locally. View our [building guidelines](https://stackoverflow.design/product/guidelines/building).
38
43