@slipstream-ui/core 0.6.0 → 0.7.0
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.
- package/dist/index.d.mts +337 -17
- package/dist/index.d.ts +337 -17
- package/dist/index.js +719 -226
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +713 -226
- package/dist/index.mjs.map +1 -1
- package/dist/manifests/accordion.manifest.json +1 -1
- package/dist/manifests/alert.manifest.json +1 -1
- package/dist/manifests/announcement-bar.manifest.json +1 -1
- package/dist/manifests/app-shell.manifest.json +1 -1
- package/dist/manifests/applied-filters.manifest.json +1 -1
- package/dist/manifests/article-card.manifest.json +1 -1
- package/dist/manifests/auth-layout.manifest.json +1 -1
- package/dist/manifests/autocomplete.manifest.json +1 -1
- package/dist/manifests/avatar.manifest.json +1 -1
- package/dist/manifests/badge.manifest.json +1 -1
- package/dist/manifests/block.manifest.json +1 -1
- package/dist/manifests/breadcrumb.manifest.json +1 -1
- package/dist/manifests/button-group.manifest.json +1 -1
- package/dist/manifests/button.manifest.json +1 -1
- package/dist/manifests/card.manifest.json +1 -1
- package/dist/manifests/checkbox.manifest.json +1 -1
- package/dist/manifests/comparison-table.manifest.json +1 -1
- package/dist/manifests/confirm-dialog.manifest.json +1 -1
- package/dist/manifests/contact-strip.manifest.json +1 -1
- package/dist/manifests/container.manifest.json +1 -1
- package/dist/manifests/cta-section.manifest.json +1 -1
- package/dist/manifests/data-table.manifest.json +1 -1
- package/dist/manifests/date-picker.manifest.json +1 -1
- package/dist/manifests/date-range-picker.manifest.json +1 -1
- package/dist/manifests/deal-card.manifest.json +158 -0
- package/dist/manifests/dialog.manifest.json +1 -1
- package/dist/manifests/document-card.manifest.json +108 -0
- package/dist/manifests/drawer.manifest.json +1 -1
- package/dist/manifests/empty-state.manifest.json +1 -1
- package/dist/manifests/entity-card.manifest.json +114 -0
- package/dist/manifests/feature-grid.manifest.json +1 -1
- package/dist/manifests/feature-row.manifest.json +1 -1
- package/dist/manifests/fieldset.manifest.json +1 -1
- package/dist/manifests/file-upload.manifest.json +1 -1
- package/dist/manifests/filter-bar.manifest.json +1 -1
- package/dist/manifests/filter-chips.manifest.json +1 -1
- package/dist/manifests/filter-panel.manifest.json +1 -1
- package/dist/manifests/flex.manifest.json +1 -1
- package/dist/manifests/form-field.manifest.json +1 -1
- package/dist/manifests/form-layout.manifest.json +1 -1
- package/dist/manifests/form.manifest.json +1 -1
- package/dist/manifests/grid.manifest.json +1 -1
- package/dist/manifests/heading.manifest.json +1 -1
- package/dist/manifests/hero.manifest.json +40 -8
- package/dist/manifests/input-group.manifest.json +1 -1
- package/dist/manifests/input.manifest.json +1 -1
- package/dist/manifests/label.manifest.json +1 -1
- package/dist/manifests/link-tabs.manifest.json +1 -1
- package/dist/manifests/link.manifest.json +1 -1
- package/dist/manifests/list.manifest.json +1 -1
- package/dist/manifests/load-more.manifest.json +88 -0
- package/dist/manifests/logo-cloud.manifest.json +1 -1
- package/dist/manifests/menu.manifest.json +1 -1
- package/dist/manifests/metric-card.manifest.json +1 -1
- package/dist/manifests/multi-select.manifest.json +1 -1
- package/dist/manifests/newsletter.manifest.json +1 -1
- package/dist/manifests/page-header.manifest.json +1 -1
- package/dist/manifests/pagination.manifest.json +1 -1
- package/dist/manifests/password-input.manifest.json +1 -1
- package/dist/manifests/popover.manifest.json +1 -1
- package/dist/manifests/process-steps.manifest.json +1 -1
- package/dist/manifests/progress.manifest.json +1 -1
- package/dist/manifests/prose.manifest.json +1 -1
- package/dist/manifests/radio.manifest.json +1 -1
- package/dist/manifests/range-slider.manifest.json +1 -1
- package/dist/manifests/search.manifest.json +1 -1
- package/dist/manifests/section-heading.manifest.json +1 -1
- package/dist/manifests/section.manifest.json +1 -1
- package/dist/manifests/segmented-control.manifest.json +1 -1
- package/dist/manifests/select-menu.manifest.json +2 -2
- package/dist/manifests/select.manifest.json +1 -1
- package/dist/manifests/separator.manifest.json +1 -1
- package/dist/manifests/site-footer.manifest.json +1 -1
- package/dist/manifests/site-header.manifest.json +1 -1
- package/dist/manifests/skeleton.manifest.json +1 -1
- package/dist/manifests/spinner.manifest.json +1 -1
- package/dist/manifests/stat-band.manifest.json +1 -1
- package/dist/manifests/stepper.manifest.json +69 -5
- package/dist/manifests/switch.manifest.json +1 -1
- package/dist/manifests/table-card.manifest.json +1 -1
- package/dist/manifests/table-of-contents.manifest.json +26 -5
- package/dist/manifests/table.manifest.json +1 -1
- package/dist/manifests/tabs.manifest.json +1 -1
- package/dist/manifests/testimonial.manifest.json +1 -1
- package/dist/manifests/text.manifest.json +1 -1
- package/dist/manifests/textarea.manifest.json +1 -1
- package/dist/manifests/theme-toggle.manifest.json +1 -1
- package/dist/manifests/time-picker.manifest.json +1 -1
- package/dist/manifests/timeline.manifest.json +1 -1
- package/dist/manifests/toast.manifest.json +1 -1
- package/dist/manifests/tombstone-card.manifest.json +97 -0
- package/dist/manifests/tooltip.manifest.json +1 -1
- package/dist/src/components/date-picker/DatePicker.js +1 -1
- package/dist/src/components/date-picker/DatePicker.js.map +1 -1
- package/dist/src/components/date-picker/DatePicker.mjs +1 -1
- package/dist/src/components/date-picker/DatePicker.mjs.map +1 -1
- package/dist/src/components/deal-card/DealCard.d.ts +72 -0
- package/dist/src/components/deal-card/DealCard.js +108 -0
- package/dist/src/components/deal-card/DealCard.js.map +1 -0
- package/dist/src/components/deal-card/DealCard.mjs +74 -0
- package/dist/src/components/deal-card/DealCard.mjs.map +1 -0
- package/dist/src/components/deal-card/index.d.ts +2 -0
- package/dist/src/components/deal-card/index.js +29 -0
- package/dist/src/components/deal-card/index.js.map +1 -0
- package/dist/src/components/deal-card/index.mjs +5 -0
- package/dist/src/components/deal-card/index.mjs.map +1 -0
- package/dist/src/components/document-card/DocumentCard.d.ts +42 -0
- package/dist/src/components/document-card/DocumentCard.js +84 -0
- package/dist/src/components/document-card/DocumentCard.js.map +1 -0
- package/dist/src/components/document-card/DocumentCard.mjs +50 -0
- package/dist/src/components/document-card/DocumentCard.mjs.map +1 -0
- package/dist/src/components/document-card/index.d.ts +2 -0
- package/dist/src/components/document-card/index.js +29 -0
- package/dist/src/components/document-card/index.js.map +1 -0
- package/dist/src/components/document-card/index.mjs +5 -0
- package/dist/src/components/document-card/index.mjs.map +1 -0
- package/dist/src/components/entity-card/EntityCard.d.ts +78 -0
- package/dist/src/components/entity-card/EntityCard.js +95 -0
- package/dist/src/components/entity-card/EntityCard.js.map +1 -0
- package/dist/src/components/entity-card/EntityCard.mjs +60 -0
- package/dist/src/components/entity-card/EntityCard.mjs.map +1 -0
- package/dist/src/components/entity-card/index.d.ts +2 -0
- package/dist/src/components/entity-card/index.js +31 -0
- package/dist/src/components/entity-card/index.js.map +1 -0
- package/dist/src/components/entity-card/index.mjs +6 -0
- package/dist/src/components/entity-card/index.mjs.map +1 -0
- package/dist/src/components/hero/Hero.d.ts +25 -13
- package/dist/src/components/hero/Hero.js +116 -12
- package/dist/src/components/hero/Hero.js.map +1 -1
- package/dist/src/components/hero/Hero.mjs +116 -12
- package/dist/src/components/hero/Hero.mjs.map +1 -1
- package/dist/src/components/load-more/LoadMore.d.ts +34 -0
- package/dist/src/components/load-more/LoadMore.js +55 -0
- package/dist/src/components/load-more/LoadMore.js.map +1 -0
- package/dist/src/components/load-more/LoadMore.mjs +21 -0
- package/dist/src/components/load-more/LoadMore.mjs.map +1 -0
- package/dist/src/components/load-more/index.d.ts +2 -0
- package/dist/src/components/load-more/index.js +29 -0
- package/dist/src/components/load-more/index.js.map +1 -0
- package/dist/src/components/load-more/index.mjs +5 -0
- package/dist/src/components/load-more/index.mjs.map +1 -0
- package/dist/src/components/range-slider/RangeSlider.js +6 -6
- package/dist/src/components/range-slider/RangeSlider.js.map +1 -1
- package/dist/src/components/range-slider/RangeSlider.mjs +6 -6
- package/dist/src/components/range-slider/RangeSlider.mjs.map +1 -1
- package/dist/src/components/select-menu/SelectMenu.js +2 -0
- package/dist/src/components/select-menu/SelectMenu.js.map +1 -1
- package/dist/src/components/select-menu/SelectMenu.mjs +2 -0
- package/dist/src/components/select-menu/SelectMenu.mjs.map +1 -1
- package/dist/src/components/separator/Separator.js +1 -1
- package/dist/src/components/separator/Separator.js.map +1 -1
- package/dist/src/components/separator/Separator.mjs +1 -1
- package/dist/src/components/separator/Separator.mjs.map +1 -1
- package/dist/src/components/stepper/Stepper.d.ts +35 -0
- package/dist/src/components/stepper/Stepper.js +118 -25
- package/dist/src/components/stepper/Stepper.js.map +1 -1
- package/dist/src/components/stepper/Stepper.mjs +118 -25
- package/dist/src/components/stepper/Stepper.mjs.map +1 -1
- package/dist/src/components/table-of-contents/TableOfContents.d.ts +10 -2
- package/dist/src/components/table-of-contents/TableOfContents.js +13 -0
- package/dist/src/components/table-of-contents/TableOfContents.js.map +1 -1
- package/dist/src/components/table-of-contents/TableOfContents.mjs +13 -0
- package/dist/src/components/table-of-contents/TableOfContents.mjs.map +1 -1
- package/dist/src/components/tabs/Tabs.js +43 -3
- package/dist/src/components/tabs/Tabs.js.map +1 -1
- package/dist/src/components/tabs/Tabs.mjs +43 -3
- package/dist/src/components/tabs/Tabs.mjs.map +1 -1
- package/dist/src/components/time-picker/TimePicker.js +1 -1
- package/dist/src/components/time-picker/TimePicker.js.map +1 -1
- package/dist/src/components/time-picker/TimePicker.mjs +1 -1
- package/dist/src/components/time-picker/TimePicker.mjs.map +1 -1
- package/dist/src/components/timeline/Timeline.js +2 -2
- package/dist/src/components/timeline/Timeline.js.map +1 -1
- package/dist/src/components/timeline/Timeline.mjs +2 -2
- package/dist/src/components/timeline/Timeline.mjs.map +1 -1
- package/dist/src/components/tombstone-card/TombstoneCard.d.ts +39 -0
- package/dist/src/components/tombstone-card/TombstoneCard.js +86 -0
- package/dist/src/components/tombstone-card/TombstoneCard.js.map +1 -0
- package/dist/src/components/tombstone-card/TombstoneCard.mjs +52 -0
- package/dist/src/components/tombstone-card/TombstoneCard.mjs.map +1 -0
- package/dist/src/components/tombstone-card/index.d.ts +2 -0
- package/dist/src/components/tombstone-card/index.js +29 -0
- package/dist/src/components/tombstone-card/index.js.map +1 -0
- package/dist/src/components/tombstone-card/index.mjs +5 -0
- package/dist/src/components/tombstone-card/index.mjs.map +1 -0
- package/dist/src/index.d.ts +5 -0
- package/dist/src/utils/modal-layer.js +3 -2
- package/dist/src/utils/modal-layer.js.map +1 -1
- package/dist/src/utils/modal-layer.mjs +3 -2
- package/dist/src/utils/modal-layer.mjs.map +1 -1
- package/dist/styles-full.css +1 -1
- package/dist/styles.css +1 -1
- package/package.json +4 -4
- package/src/components/date-picker/DatePicker.tsx +1 -1
- package/src/components/deal-card/DealCard.test.tsx +54 -0
- package/src/components/deal-card/DealCard.tsx +138 -0
- package/src/components/deal-card/index.ts +2 -0
- package/src/components/document-card/DocumentCard.test.tsx +41 -0
- package/src/components/document-card/DocumentCard.tsx +82 -0
- package/src/components/document-card/index.ts +2 -0
- package/src/components/entity-card/EntityCard.test.tsx +38 -0
- package/src/components/entity-card/EntityCard.tsx +133 -0
- package/src/components/entity-card/index.ts +2 -0
- package/src/components/hero/Hero.test.tsx +14 -0
- package/src/components/hero/Hero.tsx +111 -19
- package/src/components/load-more/LoadMore.test.tsx +28 -0
- package/src/components/load-more/LoadMore.tsx +53 -0
- package/src/components/load-more/index.ts +2 -0
- package/src/components/range-slider/RangeSlider.test.tsx +8 -0
- package/src/components/range-slider/RangeSlider.tsx +10 -6
- package/src/components/select-menu/SelectMenu.test.tsx +20 -10
- package/src/components/select-menu/SelectMenu.tsx +2 -0
- package/src/components/separator/Separator.test.tsx +9 -1
- package/src/components/separator/Separator.tsx +1 -1
- package/src/components/stepper/Stepper.test.tsx +19 -0
- package/src/components/stepper/Stepper.tsx +169 -37
- package/src/components/table-of-contents/TableOfContents.test.tsx +12 -1
- package/src/components/table-of-contents/TableOfContents.tsx +25 -1
- package/src/components/tabs/Tabs.test.tsx +12 -0
- package/src/components/tabs/Tabs.tsx +48 -4
- package/src/components/time-picker/TimePicker.tsx +1 -1
- package/src/components/timeline/Timeline.tsx +2 -2
- package/src/components/tombstone-card/TombstoneCard.test.tsx +26 -0
- package/src/components/tombstone-card/TombstoneCard.tsx +77 -0
- package/src/components/tombstone-card/index.ts +2 -0
- package/src/index.ts +5 -0
- package/src/manifests/accordion.manifest.json +1 -1
- package/src/manifests/alert.manifest.json +1 -1
- package/src/manifests/announcement-bar.manifest.json +1 -1
- package/src/manifests/app-shell.manifest.json +1 -1
- package/src/manifests/applied-filters.manifest.json +1 -1
- package/src/manifests/article-card.manifest.json +1 -1
- package/src/manifests/auth-layout.manifest.json +1 -1
- package/src/manifests/autocomplete.manifest.json +1 -1
- package/src/manifests/avatar.manifest.json +1 -1
- package/src/manifests/badge.manifest.json +1 -1
- package/src/manifests/block.manifest.json +1 -1
- package/src/manifests/breadcrumb.manifest.json +1 -1
- package/src/manifests/button-group.manifest.json +1 -1
- package/src/manifests/button.manifest.json +1 -1
- package/src/manifests/card.manifest.json +1 -1
- package/src/manifests/checkbox.manifest.json +1 -1
- package/src/manifests/comparison-table.manifest.json +1 -1
- package/src/manifests/confirm-dialog.manifest.json +1 -1
- package/src/manifests/contact-strip.manifest.json +1 -1
- package/src/manifests/container.manifest.json +1 -1
- package/src/manifests/cta-section.manifest.json +1 -1
- package/src/manifests/data-table.manifest.json +1 -1
- package/src/manifests/date-picker.manifest.json +1 -1
- package/src/manifests/date-range-picker.manifest.json +1 -1
- package/src/manifests/deal-card.manifest.json +158 -0
- package/src/manifests/dialog.manifest.json +1 -1
- package/src/manifests/document-card.manifest.json +108 -0
- package/src/manifests/drawer.manifest.json +1 -1
- package/src/manifests/empty-state.manifest.json +1 -1
- package/src/manifests/entity-card.manifest.json +114 -0
- package/src/manifests/feature-grid.manifest.json +1 -1
- package/src/manifests/feature-row.manifest.json +1 -1
- package/src/manifests/fieldset.manifest.json +1 -1
- package/src/manifests/file-upload.manifest.json +1 -1
- package/src/manifests/filter-bar.manifest.json +1 -1
- package/src/manifests/filter-chips.manifest.json +1 -1
- package/src/manifests/filter-panel.manifest.json +1 -1
- package/src/manifests/flex.manifest.json +1 -1
- package/src/manifests/form-field.manifest.json +1 -1
- package/src/manifests/form-layout.manifest.json +1 -1
- package/src/manifests/form.manifest.json +1 -1
- package/src/manifests/grid.manifest.json +1 -1
- package/src/manifests/heading.manifest.json +1 -1
- package/src/manifests/hero.manifest.json +40 -8
- package/src/manifests/input-group.manifest.json +1 -1
- package/src/manifests/input.manifest.json +1 -1
- package/src/manifests/label.manifest.json +1 -1
- package/src/manifests/link-tabs.manifest.json +1 -1
- package/src/manifests/link.manifest.json +1 -1
- package/src/manifests/list.manifest.json +1 -1
- package/src/manifests/load-more.manifest.json +88 -0
- package/src/manifests/logo-cloud.manifest.json +1 -1
- package/src/manifests/menu.manifest.json +1 -1
- package/src/manifests/metric-card.manifest.json +1 -1
- package/src/manifests/multi-select.manifest.json +1 -1
- package/src/manifests/newsletter.manifest.json +1 -1
- package/src/manifests/page-header.manifest.json +1 -1
- package/src/manifests/pagination.manifest.json +1 -1
- package/src/manifests/password-input.manifest.json +1 -1
- package/src/manifests/popover.manifest.json +1 -1
- package/src/manifests/process-steps.manifest.json +1 -1
- package/src/manifests/progress.manifest.json +1 -1
- package/src/manifests/prose.manifest.json +1 -1
- package/src/manifests/radio.manifest.json +1 -1
- package/src/manifests/range-slider.manifest.json +1 -1
- package/src/manifests/search.manifest.json +1 -1
- package/src/manifests/section-heading.manifest.json +1 -1
- package/src/manifests/section.manifest.json +1 -1
- package/src/manifests/segmented-control.manifest.json +1 -1
- package/src/manifests/select-menu.manifest.json +2 -2
- package/src/manifests/select.manifest.json +1 -1
- package/src/manifests/separator.manifest.json +1 -1
- package/src/manifests/site-footer.manifest.json +1 -1
- package/src/manifests/site-header.manifest.json +1 -1
- package/src/manifests/skeleton.manifest.json +1 -1
- package/src/manifests/spinner.manifest.json +1 -1
- package/src/manifests/stat-band.manifest.json +1 -1
- package/src/manifests/stepper.manifest.json +69 -5
- package/src/manifests/switch.manifest.json +1 -1
- package/src/manifests/table-card.manifest.json +1 -1
- package/src/manifests/table-of-contents.manifest.json +26 -5
- package/src/manifests/table.manifest.json +1 -1
- package/src/manifests/tabs.manifest.json +1 -1
- package/src/manifests/testimonial.manifest.json +1 -1
- package/src/manifests/text.manifest.json +1 -1
- package/src/manifests/textarea.manifest.json +1 -1
- package/src/manifests/theme-toggle.manifest.json +1 -1
- package/src/manifests/time-picker.manifest.json +1 -1
- package/src/manifests/timeline.manifest.json +1 -1
- package/src/manifests/toast.manifest.json +1 -1
- package/src/manifests/tombstone-card.manifest.json +97 -0
- package/src/manifests/tooltip.manifest.json +1 -1
- package/src/test/jest-axe.d.ts +6 -1
- package/src/utils/modal-layer.ts +3 -2
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "molecule",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.7.0",
|
|
8
8
|
"sourceDir": "announcement-bar",
|
|
9
9
|
"exportName": "AnnouncementBar",
|
|
10
10
|
"description": "Dismissible announcement bar with optional action, tone and sticky positioning.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "molecule",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.7.0",
|
|
8
8
|
"sourceDir": "applied-filters",
|
|
9
9
|
"exportName": "AppliedFilters",
|
|
10
10
|
"description": "Applied-filter summary with a live count, removable chips and an edit action.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "molecule",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.7.0",
|
|
8
8
|
"sourceDir": "article-card",
|
|
9
9
|
"exportName": "ArticleCard",
|
|
10
10
|
"description": "Linked article or resource card with media, eyebrow, title, summary and metadata.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "molecule",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.7.0",
|
|
8
8
|
"sourceDir": "comparison-table",
|
|
9
9
|
"exportName": "ComparisonTable",
|
|
10
10
|
"description": "Marketing comparison table with check/dash boolean cells, a highlighted column and responsive overflow.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "molecule",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.7.0",
|
|
8
8
|
"sourceDir": "confirm-dialog",
|
|
9
9
|
"exportName": "ConfirmDialog",
|
|
10
10
|
"description": "Accessible confirmation dialog with async pending state, destructive variant and cancellable actions, built on Dialog.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "molecule",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.7.0",
|
|
8
8
|
"sourceDir": "contact-strip",
|
|
9
9
|
"exportName": "ContactStrip",
|
|
10
10
|
"description": "Compact labelled contact rows with optional icons and links.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "atom",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.7.0",
|
|
8
8
|
"sourceDir": "container",
|
|
9
9
|
"exportName": "Container",
|
|
10
10
|
"description": "Centered, width-constrained page container with shared gutters and four width presets.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "organism",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.7.0",
|
|
8
8
|
"sourceDir": "cta-section",
|
|
9
9
|
"exportName": "CTASection",
|
|
10
10
|
"description": "Full-width conversion band with eyebrow, headline, supporting copy and actions.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "molecule",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.7.0",
|
|
8
8
|
"sourceDir": "date-range-picker",
|
|
9
9
|
"exportName": "DateRangePicker",
|
|
10
10
|
"description": "Start/end date range with ISO strings and quick presets.",
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "deal-card",
|
|
3
|
+
"name": "DealCard",
|
|
4
|
+
"tier": "organism",
|
|
5
|
+
"package": "@slipstream-ui/core",
|
|
6
|
+
"importPath": "@slipstream-ui/core",
|
|
7
|
+
"version": "0.7.0",
|
|
8
|
+
"sourceDir": "deal-card",
|
|
9
|
+
"exportName": "DealCard",
|
|
10
|
+
"description": "Deal opportunity card with sector, status, metrics, NDA/CIM badges and access actions.",
|
|
11
|
+
"designIntent": "Deal lists repeat the same card across trends, search and saved views. DealCard keeps the metrics and access state consistent and never implies NDA or CIM access without an explicit badge.",
|
|
12
|
+
"props": [
|
|
13
|
+
{
|
|
14
|
+
"name": "title",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"required": true,
|
|
17
|
+
"description": "Deal headline."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "sector",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"required": true,
|
|
23
|
+
"description": "Sector or industry label."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "location",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "Region or location."
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "description",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"required": false,
|
|
35
|
+
"description": "Optional short summary."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "metrics",
|
|
39
|
+
"type": "DealMetric[]",
|
|
40
|
+
"required": true,
|
|
41
|
+
"description": "Three headline metrics such as revenue, EBITDA and margin."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "status",
|
|
45
|
+
"type": "'available' | 'under-nda' | 'closed' | 'draft'",
|
|
46
|
+
"required": false,
|
|
47
|
+
"defaultValue": "available",
|
|
48
|
+
"enum": [
|
|
49
|
+
"available",
|
|
50
|
+
"under-nda",
|
|
51
|
+
"closed",
|
|
52
|
+
"draft"
|
|
53
|
+
],
|
|
54
|
+
"description": "Availability state."
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "ndaAvailable",
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"required": false,
|
|
60
|
+
"description": "Show the NDA badge."
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "cimAvailable",
|
|
64
|
+
"type": "boolean",
|
|
65
|
+
"required": false,
|
|
66
|
+
"description": "Show the CIM badge."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "href",
|
|
70
|
+
"type": "string",
|
|
71
|
+
"required": false,
|
|
72
|
+
"description": "Optional deal detail link."
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "linkComponent",
|
|
76
|
+
"type": "React.ElementType",
|
|
77
|
+
"required": false,
|
|
78
|
+
"description": "Custom link element for routers."
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "saved",
|
|
82
|
+
"type": "boolean",
|
|
83
|
+
"required": false,
|
|
84
|
+
"defaultValue": "false",
|
|
85
|
+
"description": "Save toggle state."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "onSave",
|
|
89
|
+
"type": "() => void",
|
|
90
|
+
"required": false,
|
|
91
|
+
"description": "Save toggle handler."
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "saveLabel",
|
|
95
|
+
"type": "string",
|
|
96
|
+
"required": false,
|
|
97
|
+
"defaultValue": "Save",
|
|
98
|
+
"description": "Save button label."
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "onRequestAccess",
|
|
102
|
+
"type": "() => void",
|
|
103
|
+
"required": false,
|
|
104
|
+
"description": "Request access handler."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "requestLabel",
|
|
108
|
+
"type": "string",
|
|
109
|
+
"required": false,
|
|
110
|
+
"defaultValue": "Request access",
|
|
111
|
+
"description": "Request access label."
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"examples": [
|
|
115
|
+
{
|
|
116
|
+
"title": "Deal opportunity",
|
|
117
|
+
"code": "<DealCard\n title=\"Fleet services platform\"\n sector=\"Transportation\"\n location=\"South Atlantic\"\n metrics={[\n { label: 'Revenue', value: '$20.4M' },\n { label: 'EBITDA', value: '$4.2M' },\n { label: 'Margin', value: '21%' },\n ]}\n ndaAvailable\n cimAvailable\n onRequestAccess={requestAccess}\n/>",
|
|
118
|
+
"description": "A deal card with access badges and one action."
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"antiPatterns": [
|
|
122
|
+
{
|
|
123
|
+
"title": "Don't imply access with color",
|
|
124
|
+
"explanation": "NDA and CIM access are stated as text badges. Do not use color or a lock icon alone.",
|
|
125
|
+
"example": "<DealCard ndaAvailable cimAvailable />"
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"accessibility": [
|
|
129
|
+
{
|
|
130
|
+
"feature": "Action labels",
|
|
131
|
+
"implementation": "Request access and Save are real buttons; Save exposes aria-pressed",
|
|
132
|
+
"userRequirements": "Keep the labels explicit"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"feature": "Metric pairs",
|
|
136
|
+
"implementation": "Metrics render as a description list",
|
|
137
|
+
"userRequirements": "Use short labels and consistent units"
|
|
138
|
+
}
|
|
139
|
+
],
|
|
140
|
+
"compositionRules": [
|
|
141
|
+
{
|
|
142
|
+
"component": "Grid",
|
|
143
|
+
"relationship": "Place cards in a responsive Grid",
|
|
144
|
+
"example": "<Grid mdCols={2} gap=\"lg\"><DealCard ... /></Grid>"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"component": "LoadMore",
|
|
148
|
+
"relationship": "Pair a deal grid with LoadMore for paginated results",
|
|
149
|
+
"example": "<DealCard ... /><LoadMore hasMore={hasMore} onLoadMore={load} />"
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"relatedComponents": [
|
|
153
|
+
"Card",
|
|
154
|
+
"Badge",
|
|
155
|
+
"EntityCard",
|
|
156
|
+
"LoadMore"
|
|
157
|
+
]
|
|
158
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "document-card",
|
|
3
|
+
"name": "DocumentCard",
|
|
4
|
+
"tier": "molecule",
|
|
5
|
+
"package": "@slipstream-ui/core",
|
|
6
|
+
"importPath": "@slipstream-ui/core",
|
|
7
|
+
"version": "0.7.0",
|
|
8
|
+
"sourceDir": "document-card",
|
|
9
|
+
"exportName": "DocumentCard",
|
|
10
|
+
"description": "Document row with file metadata, access status and an optional download action.",
|
|
11
|
+
"designIntent": "Deal rooms repeat the same document row. DocumentCard keeps the file type, size, updated date, access state and download action in one consistent row.",
|
|
12
|
+
"props": [
|
|
13
|
+
{
|
|
14
|
+
"name": "name",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"required": true,
|
|
17
|
+
"description": "File name."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "fileType",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"required": true,
|
|
23
|
+
"description": "Short file type label, such as PDF or XLSX."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "size",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "Human-readable file size."
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "updatedAt",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"required": false,
|
|
35
|
+
"description": "Updated date or relative time."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "status",
|
|
39
|
+
"type": "'available' | 'restricted' | 'pending'",
|
|
40
|
+
"required": false,
|
|
41
|
+
"defaultValue": "available",
|
|
42
|
+
"enum": [
|
|
43
|
+
"available",
|
|
44
|
+
"restricted",
|
|
45
|
+
"pending"
|
|
46
|
+
],
|
|
47
|
+
"description": "Access state."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "onDownload",
|
|
51
|
+
"type": "() => void",
|
|
52
|
+
"required": false,
|
|
53
|
+
"description": "Download handler. Omit to render a display-only row."
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "downloadLabel",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"required": false,
|
|
59
|
+
"defaultValue": "Download",
|
|
60
|
+
"description": "Download button label."
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "icon",
|
|
64
|
+
"type": "ReactNode",
|
|
65
|
+
"required": false,
|
|
66
|
+
"description": "Custom file icon slot."
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"examples": [
|
|
70
|
+
{
|
|
71
|
+
"title": "Deal room document",
|
|
72
|
+
"code": "<DocumentCard\n name=\"Q3-financials.pdf\"\n fileType=\"PDF\"\n size=\"2.4 MB\"\n updatedAt=\"Nov 1, 2026\"\n onDownload={download}\n/>",
|
|
73
|
+
"description": "A downloadable document with metadata."
|
|
74
|
+
}
|
|
75
|
+
],
|
|
76
|
+
"antiPatterns": [
|
|
77
|
+
{
|
|
78
|
+
"title": "Don't enable download for restricted files",
|
|
79
|
+
"explanation": "The button is disabled unless status is available; access is never implied.",
|
|
80
|
+
"example": "<DocumentCard status=\"restricted\" onDownload={download} />"
|
|
81
|
+
}
|
|
82
|
+
],
|
|
83
|
+
"accessibility": [
|
|
84
|
+
{
|
|
85
|
+
"feature": "Named download",
|
|
86
|
+
"implementation": "The download button is named Download <file name>",
|
|
87
|
+
"userRequirements": "Keep file names descriptive"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"feature": "Access state",
|
|
91
|
+
"implementation": "Status is a text badge and the disabled button communicates restriction",
|
|
92
|
+
"userRequirements": "Provide a way to request access outside the row"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"compositionRules": [
|
|
96
|
+
{
|
|
97
|
+
"component": "Card",
|
|
98
|
+
"relationship": "DocumentCard is a compact Card row",
|
|
99
|
+
"example": "<DocumentCard name=\".\" fileType=\"PDF\" />"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"relatedComponents": [
|
|
103
|
+
"Card",
|
|
104
|
+
"Badge",
|
|
105
|
+
"Button",
|
|
106
|
+
"FileUpload"
|
|
107
|
+
]
|
|
108
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "entity-card",
|
|
3
|
+
"name": "EntityCard",
|
|
4
|
+
"tier": "organism",
|
|
5
|
+
"package": "@slipstream-ui/core",
|
|
6
|
+
"importPath": "@slipstream-ui/core",
|
|
7
|
+
"version": "0.7.0",
|
|
8
|
+
"sourceDir": "entity-card",
|
|
9
|
+
"exportName": "EntityCard",
|
|
10
|
+
"description": "Firm or member profile card with logo, type, location, stats, tags and actions.",
|
|
11
|
+
"designIntent": "Directory and profile lists repeat the same firm card. EntityCard keeps the identity, stats and sector tags consistent and falls back to initials when no logo exists.",
|
|
12
|
+
"props": [
|
|
13
|
+
{
|
|
14
|
+
"name": "name",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"required": true,
|
|
17
|
+
"description": "Firm or member name."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "entityType",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"required": true,
|
|
23
|
+
"description": "Firm type, role or member category."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "location",
|
|
27
|
+
"type": "string",
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "Region or office location."
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "description",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"required": false,
|
|
35
|
+
"description": "Short firm description."
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "logo",
|
|
39
|
+
"type": "ReactNode",
|
|
40
|
+
"required": false,
|
|
41
|
+
"description": "Logo slot. Falls back to initials when omitted."
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "stats",
|
|
45
|
+
"type": "EntityStat[]",
|
|
46
|
+
"required": false,
|
|
47
|
+
"description": "Small stats such as closed deals or active mandates."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "tags",
|
|
51
|
+
"type": "string[]",
|
|
52
|
+
"required": false,
|
|
53
|
+
"description": "Sector or service tags."
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "href",
|
|
57
|
+
"type": "string",
|
|
58
|
+
"required": false,
|
|
59
|
+
"description": "Profile destination."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "linkComponent",
|
|
63
|
+
"type": "React.ElementType",
|
|
64
|
+
"required": false,
|
|
65
|
+
"description": "Custom link element for routers."
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "actions",
|
|
69
|
+
"type": "ReactNode",
|
|
70
|
+
"required": false,
|
|
71
|
+
"description": "Extra footer actions."
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"examples": [
|
|
75
|
+
{
|
|
76
|
+
"title": "Directory profile",
|
|
77
|
+
"code": "<EntityCard\n name=\"Peakstone Group\"\n entityType=\"Investment bank\"\n location=\"New York, NY\"\n stats={[\n { label: 'Closed deals', value: '60' },\n { label: 'Via Axial', value: '3' },\n ]}\n tags={['Industrials', 'Healthcare']}\n href=\"/members/peakstone\"\n/>",
|
|
78
|
+
"description": "A firm card with stats, tags and a profile link."
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"antiPatterns": [
|
|
82
|
+
{
|
|
83
|
+
"title": "Don't make the whole card a link with nested actions",
|
|
84
|
+
"explanation": "The title and footer link are the destinations; actions stay separate so controls never nest.",
|
|
85
|
+
"example": "// Use href for the title and footer link; put actions in the actions slot."
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"accessibility": [
|
|
89
|
+
{
|
|
90
|
+
"feature": "Identity fallback",
|
|
91
|
+
"implementation": "The avatar fallback derives initials from the name",
|
|
92
|
+
"userRequirements": "Provide a name even when a logo is available"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"feature": "Stats",
|
|
96
|
+
"implementation": "Stats render as a description list",
|
|
97
|
+
"userRequirements": "Use short labels and consistent units"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"compositionRules": [
|
|
101
|
+
{
|
|
102
|
+
"component": "Grid",
|
|
103
|
+
"relationship": "Place entity cards in a directory Grid",
|
|
104
|
+
"example": "<Grid mdCols={3} gap=\"lg\"><EntityCard ... /></Grid>"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"relatedComponents": [
|
|
108
|
+
"Avatar",
|
|
109
|
+
"Badge",
|
|
110
|
+
"Card",
|
|
111
|
+
"DealCard",
|
|
112
|
+
"DocumentCard"
|
|
113
|
+
]
|
|
114
|
+
}
|