@@ -218,7 +218,7 @@ List item component with similar structure to Card.
218218``` tsx
219219import { Listing } from ' @carletonuniversity/rds'
220220
221- <Listing >
221+ ; < Listing >
222222 <Listing.Figure >
223223 <img src = " /thumb.jpg" alt = " " />
224224 </Listing.Figure >
@@ -253,10 +253,7 @@ Descriptive text blocks, often used for definition lists.
253253``` tsx
254254import { Description } from ' @carletonuniversity/rds'
255255
256- <Description
257- title = " Term"
258- content = " Definition or explanation of the term."
259- />
256+ ;< Description title = " Term" content = " Definition or explanation of the term." / >
260257```
261258
262259---
@@ -268,7 +265,7 @@ Expandable/collapsible content section.
268265``` tsx
269266import { Details } from ' @carletonuniversity/rds'
270267
271- <Details summary = " Click to expand" >
268+ ; < Details summary = " Click to expand" >
272269 <p >Hidden content revealed when expanded.</p >
273270< / Details >
274271```
@@ -335,7 +332,7 @@ Data table with sorting support.
335332``` tsx
336333import { Table } from ' @carletonuniversity/rds'
337334
338- <Table >
335+ ; < Table >
339336 <Table.Header >
340337 <Table.Row >
341338 <Table.HeaderCell >Name</Table.HeaderCell >
@@ -362,11 +359,7 @@ Page navigation component.
362359``` tsx
363360import { Pagination } from ' @carletonuniversity/rds'
364361
365- <Pagination
366- currentPage = { 1 }
367- totalPages = { 10 }
368- onPageChange = { (page ) => setCurrentPage (page )}
369- />
362+ ;< Pagination currentPage = {1 } totalPages = {10 } onPageChange = {(page) => setCurrentPage(page )} / >
370363```
371364
372365---
@@ -378,10 +371,7 @@ Date selection calendar.
378371``` tsx
379372import { Calendar } from ' @carletonuniversity/rds'
380373
381- <Calendar
382- selectedDate = { selectedDate }
383- onDateSelect = { (date ) => setSelectedDate (date )}
384- />
374+ ;< Calendar selectedDate = {selectedDate } onDateSelect = {(date) => setSelectedDate(date )} / >
385375```
386376
387377---
@@ -395,7 +385,7 @@ Full-screen hero banner with video/image support.
395385``` tsx
396386import { Splash } from ' @carletonuniversity/rds'
397387
398- <Splash >
388+ ; < Splash >
399389 <Splash.Background >
400390 <Splash.Video src = " /hero-video.mp4" />
401391 { /* or */ }
@@ -449,11 +439,7 @@ Full-width image section.
449439``` tsx
450440import { WideImage } from ' @carletonuniversity/rds'
451441
452- <WideImage
453- src = " /wide-image.jpg"
454- alt = " Description"
455- caption = " Image caption"
456- />
442+ ;< WideImage src = " /wide-image.jpg" alt = " Description" caption = " Image caption" / >
457443```
458444
459445---
@@ -465,7 +451,7 @@ Page header with title and metadata.
465451``` tsx
466452import { PageHeader } from ' @carletonuniversity/rds'
467453
468- <PageHeader
454+ ; < PageHeader
469455 title = " Page Title"
470456 subtitle = " Page subtitle"
471457 breadcrumbs = {[
@@ -486,10 +472,7 @@ Minimal footer with copyright.
486472```tsx
487473import { FooterBasic } from '@carletonuniversity/rds'
488474
489- <FooterBasic
490- copyrightYear = { 2024 }
491- organization = " Carleton University"
492- />
475+ ;<FooterBasic copyrightYear={2024} organization="Carleton University" />
493476```
494477
495478### FooterStandard
@@ -499,10 +482,7 @@ Standard footer with navigation links.
499482```tsx
500483import { FooterStandard } from '@carletonuniversity/rds'
501484
502- <FooterStandard
503- links = { footerLinks }
504- socialLinks = { socialLinks }
505- />
485+ ;<FooterStandard links={footerLinks} socialLinks={socialLinks} />
506486```
507487
508488### FooterAthletics
@@ -528,7 +508,7 @@ Complex navigation component with responsive support.
528508```tsx
529509import { Nav } from '@carletonuniversity/rds'
530510
531- <Nav >
511+ ; <Nav>
532512 <Nav.Top>
533513 <Nav.Logo src="/logo.svg" alt="Logo" />
534514 <Nav.Buttons>
@@ -596,11 +576,7 @@ Styled blockquotes.
596576` ` ` tsx
597577import { Quote } from '@carletonuniversity/rds'
598578
599- <Quote
600- text = " This is a quoted statement."
601- author = " John Doe"
602- citation = " Source Publication"
603- />
579+ ;<Quote text="This is a quoted statement." author="John Doe" citation="Source Publication" />
604580` ` `
605581
606582-- -
@@ -612,12 +588,7 @@ Testimonial/review blocks.
612588` ` ` tsx
613589import { Testimonial } from '@carletonuniversity/rds'
614590
615- <Testimonial
616- quote = " Great experience working with RDS!"
617- author = " Jane Smith"
618- role = " Developer"
619- image = " /jane.jpg"
620- />
591+ ;<Testimonial quote="Great experience working with RDS!" author="Jane Smith" role="Developer" image="/jane.jpg" />
621592` ` `
622593
623594-- -
@@ -629,7 +600,7 @@ Event timeline visualization.
629600` ` ` tsx
630601import { Timeline } from '@carletonuniversity/rds'
631602
632- <Timeline
603+ ; <Timeline
633604 items={[
634605 { date: '2024-01', title: 'Project Started', description: '...' },
635606 { date: '2024-03', title: 'Beta Release', description: '...' },
@@ -647,7 +618,7 @@ Filter sidebar for search results.
647618` ` ` tsx
648619import { FilterPanel } from '@carletonuniversity/rds'
649620
650- <FilterPanel
621+ ; <FilterPanel
651622 filters={[
652623 {
653624 name: 'category',
@@ -673,7 +644,7 @@ Notification toasts.
673644` ` ` tsx
674645import { Toast } from '@carletonuniversity/rds'
675646
676- <Toast
647+ ; <Toast
677648 type="success"
678649 message="Action completed successfully!"
679650 isVisible={showToast}
@@ -690,7 +661,7 @@ Highlighted callout boxes.
690661` ` ` tsx
691662import { CallOut } from '@carletonuniversity/rds'
692663
693- <CallOut type = " info" title = " Note" >
664+ ; <CallOut type="info" title="Note">
694665 Important information for the user.
695666</CallOut>
696667` ` `
@@ -719,11 +690,7 @@ Images with captions.
719690` ` ` tsx
720691import { Figure } from '@carletonuniversity/rds'
721692
722- <Figure
723- src = " /image.jpg"
724- alt = " Image description"
725- caption = " Figure 1: Image caption"
726- />
693+ ;<Figure src="/image.jpg" alt="Image description" caption="Figure 1: Image caption" />
727694` ` `
728695
729696-- -
@@ -755,7 +722,7 @@ Grid layout for multiple images.
755722` ` ` tsx
756723import { ImageGrid } from '@carletonuniversity/rds'
757724
758- <ImageGrid
725+ ; <ImageGrid
759726 images={[
760727 { src: '/img1.jpg', alt: 'Image 1' },
761728 { src: '/img2.jpg', alt: 'Image 2' },
@@ -774,7 +741,7 @@ Image carousel/slider.
774741` ` ` tsx
775742import { ImageSlider } from '@carletonuniversity/rds'
776743
777- <ImageSlider
744+ ; <ImageSlider
778745 images={[
779746 { src: '/slide1.jpg', alt: 'Slide 1' },
780747 { src: '/slide2.jpg', alt: 'Slide 2' },
@@ -801,10 +768,13 @@ import {
801768} from '@carletonuniversity/rds'
802769
803770// Use while data is loading
804- {isLoading ? <CardNewsLoader /> : <Card >...</Card >}
771+ {
772+ isLoading ? <CardNewsLoader /> : <Card>...</Card>
773+ }
805774` ` `
806775
807776** Available Loaders :**
777+
808778- ` CardEventLoader ` , ` CardIconLoader ` , ` CardNewsLoader ` , ` CardPageLoader ` , ` CardPeopleLoader ` , ` CardVideoLoader `
809779- ` ListingEventLoader ` , ` ListingIconLoader ` , ` ListingNewsLoader ` , ` ListingPageLoader ` , ` ListingPeopleLoader ` , ` ListingDescriptionLoader `
810780- ` CalendarLoader ` , ` DescriptionLoader ` , ` DescriptionLoaderAccordion `
@@ -823,10 +793,7 @@ import {
823793` ` ` tsx
824794import { Forbidden403 } from '@carletonuniversity/rds'
825795
826- <Forbidden403
827- message = " You don't have permission to access this page."
828- homeLink = " /"
829- />
796+ ;<Forbidden403 message="You don't have permission to access this page." homeLink="/" />
830797` ` `
831798
832799### NotFound404
@@ -836,11 +803,7 @@ import { Forbidden403 } from '@carletonuniversity/rds'
836803` ` ` tsx
837804import { NotFound404 } from '@carletonuniversity/rds'
838805
839- <NotFound404
840- message = " The page you're looking for doesn't exist."
841- homeLink = " /"
842- searchLink = " /search"
843- />
806+ ;<NotFound404 message="The page you're looking for doesn't exist." homeLink="/" searchLink="/search" />
844807` ` `
845808
846809---
@@ -890,6 +853,7 @@ ComponentName/
890853### Testing Components
891854
892855Each component should have:
856+
8938571. Storybook stories covering all variants
8948582. Cypress tests for interactive behavior
8958593. Accessibility checks via Storybook a11y addon
0 commit comments