diff --git a/.storybook/pages/CoursePlannerEdit/CoursePlannerEdit.tsx b/.storybook/pages/CoursePlannerEdit/CoursePlannerEdit.tsx index 7a8041c93..784bfd81b 100644 --- a/.storybook/pages/CoursePlannerEdit/CoursePlannerEdit.tsx +++ b/.storybook/pages/CoursePlannerEdit/CoursePlannerEdit.tsx @@ -32,8 +32,6 @@ import { TableHeaderCell, TableRow, Text, - Toolbar, - ToolbarItem, } from '../../../src'; import type { NewState } from '../../../src/components/DragDrop/DragDrop'; @@ -431,19 +429,17 @@ export const CoursePlannerEdit = () => { emptyContent: container1EmptyContent(), header: ( - - - - Available projects - - - +
+ + Available projects + +
- - +
+
), }, @@ -452,19 +448,17 @@ export const CoursePlannerEdit = () => { emptyContent: container2EmptyContent(), header: ( - - - - Planned projects - - - +
+ + Planned projects + +
- - +
+
), }, diff --git a/.storybook/pages/FeedbackOverview/FeedbackOverview.module.css b/.storybook/pages/FeedbackOverview/FeedbackOverview.module.css index 9d7ce57f7..133f69f59 100644 --- a/.storybook/pages/FeedbackOverview/FeedbackOverview.module.css +++ b/.storybook/pages/FeedbackOverview/FeedbackOverview.module.css @@ -1,9 +1,5 @@ @import '../../../src/design-tokens/mixins.css'; -.feedback-overview__toolbar { - padding-bottom: var(--eds-size-2); -} - .feedback-overview__card-header { margin-bottom: var(--eds-size-1); font: var(--eds-theme-typography-title-md); diff --git a/.storybook/pages/FeedbackOverview/FeedbackOverview.tsx b/.storybook/pages/FeedbackOverview/FeedbackOverview.tsx index 8c42567a3..046e8a223 100644 --- a/.storybook/pages/FeedbackOverview/FeedbackOverview.tsx +++ b/.storybook/pages/FeedbackOverview/FeedbackOverview.tsx @@ -14,8 +14,6 @@ import { Table, Text, TimelineNav, - Toolbar, - ToolbarItem, } from '../../../src'; import breakpoint from '../../../src/design-tokens/tier-1-definitions/breakpoints'; @@ -208,16 +206,11 @@ export const FeedbackOverview = ({ activeIndex = 0 }: Props) => { - - - - Feedback Overview - - - +
+ + Feedback Overview + +
- - +
+
{isTable && ( @@ -405,16 +398,11 @@ export const FeedbackOverview = ({ activeIndex = 0 }: Props) => { } variant="number" > - - - - Checkpoint Progress - - - +
+ + Checkpoint Progress + +
- - +
+
{isTable && (
diff --git a/src/components/DragDrop/DragDrop.stories.tsx b/src/components/DragDrop/DragDrop.stories.tsx index f40d1e2d9..666036a94 100644 --- a/src/components/DragDrop/DragDrop.stories.tsx +++ b/src/components/DragDrop/DragDrop.stories.tsx @@ -10,7 +10,6 @@ import { Heading, Icon, Text, - Toolbar, } from '../..'; import styles from './DragDrop.stories.module.css'; @@ -91,11 +90,11 @@ export const Default: StoryObj = { itemIds: ['item-1', 'item-2', 'item-3', 'item-4', 'item-5'], header: ( - +
Available Projects - +
), }, @@ -298,11 +297,11 @@ export const Default: StoryObj = { ), header: ( - +
Selected Projects - +
), }, @@ -365,11 +364,11 @@ export const HoveredHandle: StoryObj = { itemIds: ['item-1', 'item-2', 'item-3', 'item-4', 'item-5'], header: ( - +
Available Projects - +
), }, @@ -492,11 +491,11 @@ export const HoveredHandle: StoryObj = { ), header: ( - +
Selected Projects - +
), }, @@ -520,19 +519,17 @@ const InteractiveDragDrop = () => { itemIds: ['item-1', 'item-2', 'item-3', 'item-4', 'item-5'], header: ( - - - - Available projects - - - +
+ + Available projects + +
- - +
+
), }, @@ -543,19 +540,17 @@ const InteractiveDragDrop = () => { itemIds: [], header: ( - - - - Planned projects - - - +
+ + Planned projects + +
- - +
+
), }, @@ -566,19 +561,17 @@ const InteractiveDragDrop = () => { itemIds: [], header: ( - - - - Planned projects - - - +
+ + Planned projects + +
- - +
+
), }, @@ -589,19 +582,17 @@ const InteractiveDragDrop = () => { itemIds: [], header: ( - - - - Planned projects - - - +
+ + Planned projects + +
- - +
+
), }, diff --git a/src/components/DragDrop/__snapshots__/DragDrop.test.ts.snap b/src/components/DragDrop/__snapshots__/DragDrop.test.ts.snap index 14b236126..7f8fb1d7e 100644 --- a/src/components/DragDrop/__snapshots__/DragDrop.test.ts.snap +++ b/src/components/DragDrop/__snapshots__/DragDrop.test.ts.snap @@ -17,7 +17,7 @@ exports[` Default story renders snapshot 1`] = ` >
Default story renders snapshot 1`] = ` >
HoveredHandle story renders snapshot 1`] = ` >
HoveredHandle story renders snapshot 1`] = ` >
Interactive story renders snapshot 1`] = ` >
-
-

- Available projects -

-
+ Available projects +