Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .changeset/violet-keys-burn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@stackoverflow/stacks": minor
"@stackoverflow/stacks-svelte": minor
---

Update Post Summary to SHINE styles
3 changes: 3 additions & 0 deletions MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ The menu component has been updated to use new class names and structure. The fo
#### Pagination
- The next and previous button now uses an `ArrowRight` and `ArrowLeft` icon instead of text. To apply the new styling, use the class `.s-pagination--item__nav`. Since these buttons use icons to represent their behavior, make sure to include descriptive text for screen readers.

#### Post Summary
The Post Summary component has changed dramatically. Please see refer to the docs for complete guidance.

#### Popover
- The new popovers no longer include an arrow element. The `s-popover--arrow` css class has been removed, and any markup using it (e.g. `<div class="s-popover--arrow"></div>`) should be deleted from the codebases as part of the migration.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,26 +1,7 @@
// TODO SPARK reinstate accessibility tests once component styles are updated
// import { runA11yTests } from "../../test/a11y-test-utils";
// import testArgs from "./post-summary.test.setup";
// import "../../index";
import { runA11yTests } from "../../test/a11y-test-utils";
import testArgs from "./post-summary.test.setup";
import "../../index";

// describe("post-summary", () => {
// // Base, sparce
// runA11yTests({
// ...testArgs.base,
// // TODO resolve test failures
// skippedTestids: [
// /-deleted/,
// /-ignored/,
// /-highcontrast-(light|dark)-watched/,
// ],
// });

// // Truncated description sizes
// runA11yTests(testArgs.sizes);

// // Stats - answers, view hotness
// runA11yTests(testArgs.stats);

// // Badges
// runA11yTests(testArgs.badges);
// });
describe("post-summary", () => {
runA11yTests(testArgs);
});
Loading
Loading