@slipstream-ui/core 0.12.1 → 0.14.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 +208 -4
- package/dist/index.d.ts +208 -4
- package/dist/index.js +471 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +463 -11
- 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/bottom-nav.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/calendar.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/consent-banner.manifest.json +1 -1
- package/dist/manifests/contact-strip.manifest.json +1 -1
- package/dist/manifests/container.manifest.json +1 -1
- package/dist/manifests/cover-image.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-popover.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 +1 -1
- package/dist/manifests/dialog.manifest.json +1 -1
- package/dist/manifests/document-card.manifest.json +1 -1
- package/dist/manifests/drawer.manifest.json +1 -1
- package/dist/manifests/empty-state.manifest.json +1 -1
- package/dist/manifests/entity-card.manifest.json +1 -1
- 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/figure.manifest.json +105 -0
- 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 +1 -1
- package/dist/manifests/icon-button.manifest.json +101 -0
- package/dist/manifests/icon-tile.manifest.json +107 -0
- package/dist/manifests/icon.manifest.json +119 -0
- package/dist/manifests/image.manifest.json +1 -1
- 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-toolbar.manifest.json +1 -1
- package/dist/manifests/list.manifest.json +1 -1
- package/dist/manifests/load-more.manifest.json +1 -1
- package/dist/manifests/logo-cloud.manifest.json +1 -1
- package/dist/manifests/media-card.manifest.json +1 -1
- package/dist/manifests/media.manifest.json +142 -0
- package/dist/manifests/menu.manifest.json +1 -1
- package/dist/manifests/metric-card.manifest.json +1 -1
- package/dist/manifests/month-schedule.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 +1 -1
- 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/social-links.manifest.json +120 -0
- package/dist/manifests/spinner.manifest.json +1 -1
- package/dist/manifests/stat-band.manifest.json +1 -1
- package/dist/manifests/stepper.manifest.json +1 -1
- 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 +1 -1
- 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 +49 -6
- package/dist/manifests/timeline.manifest.json +1 -1
- package/dist/manifests/toast.manifest.json +1 -1
- package/dist/manifests/tombstone-card.manifest.json +1 -1
- package/dist/manifests/tooltip.manifest.json +1 -1
- package/dist/src/components/figure/Figure.d.ts +23 -0
- package/dist/src/components/figure/Figure.js +60 -0
- package/dist/src/components/figure/Figure.js.map +1 -0
- package/dist/src/components/figure/Figure.mjs +26 -0
- package/dist/src/components/figure/Figure.mjs.map +1 -0
- package/dist/src/components/figure/index.d.ts +2 -0
- package/dist/src/components/figure/index.js +29 -0
- package/dist/src/components/figure/index.js.map +1 -0
- package/dist/src/components/figure/index.mjs +5 -0
- package/dist/src/components/figure/index.mjs.map +1 -0
- package/dist/src/components/icon/Icon.d.ts +33 -0
- package/dist/src/components/icon/Icon.js +82 -0
- package/dist/src/components/icon/Icon.js.map +1 -0
- package/dist/src/components/icon/Icon.mjs +47 -0
- package/dist/src/components/icon/Icon.mjs.map +1 -0
- package/dist/src/components/icon/index.d.ts +2 -0
- package/dist/src/components/icon/index.js +31 -0
- package/dist/src/components/icon/index.js.map +1 -0
- package/dist/src/components/icon/index.mjs +6 -0
- package/dist/src/components/icon/index.mjs.map +1 -0
- package/dist/src/components/icon-button/IconButton.d.ts +25 -0
- package/dist/src/components/icon-button/IconButton.js +60 -0
- package/dist/src/components/icon-button/IconButton.js.map +1 -0
- package/dist/src/components/icon-button/IconButton.mjs +26 -0
- package/dist/src/components/icon-button/IconButton.mjs.map +1 -0
- package/dist/src/components/icon-button/index.d.ts +2 -0
- package/dist/src/components/icon-button/index.js +29 -0
- package/dist/src/components/icon-button/index.js.map +1 -0
- package/dist/src/components/icon-button/index.mjs +5 -0
- package/dist/src/components/icon-button/index.mjs.map +1 -0
- package/dist/src/components/icon-tile/IconTile.d.ts +23 -0
- package/dist/src/components/icon-tile/IconTile.js +75 -0
- package/dist/src/components/icon-tile/IconTile.js.map +1 -0
- package/dist/src/components/icon-tile/IconTile.mjs +40 -0
- package/dist/src/components/icon-tile/IconTile.mjs.map +1 -0
- package/dist/src/components/icon-tile/index.d.ts +2 -0
- package/dist/src/components/icon-tile/index.js +31 -0
- package/dist/src/components/icon-tile/index.js.map +1 -0
- package/dist/src/components/icon-tile/index.mjs +6 -0
- package/dist/src/components/icon-tile/index.mjs.map +1 -0
- package/dist/src/components/media/Media.d.ts +48 -0
- package/dist/src/components/media/Media.js +97 -0
- package/dist/src/components/media/Media.js.map +1 -0
- package/dist/src/components/media/Media.mjs +63 -0
- package/dist/src/components/media/Media.mjs.map +1 -0
- package/dist/src/components/media/index.d.ts +2 -0
- package/dist/src/components/media/index.js +29 -0
- package/dist/src/components/media/index.js.map +1 -0
- package/dist/src/components/media/index.mjs +5 -0
- package/dist/src/components/media/index.mjs.map +1 -0
- package/dist/src/components/social-links/SocialLinks.d.ts +34 -0
- package/dist/src/components/social-links/SocialLinks.js +69 -0
- package/dist/src/components/social-links/SocialLinks.js.map +1 -0
- package/dist/src/components/social-links/SocialLinks.mjs +35 -0
- package/dist/src/components/social-links/SocialLinks.mjs.map +1 -0
- package/dist/src/components/social-links/index.d.ts +2 -0
- package/dist/src/components/social-links/index.js +29 -0
- package/dist/src/components/social-links/index.js.map +1 -0
- package/dist/src/components/social-links/index.mjs +5 -0
- package/dist/src/components/social-links/index.mjs.map +1 -0
- package/dist/src/components/time-picker/TimePicker.d.ts +31 -2
- package/dist/src/components/time-picker/TimePicker.js +244 -11
- package/dist/src/components/time-picker/TimePicker.js.map +1 -1
- package/dist/src/components/time-picker/TimePicker.mjs +244 -11
- package/dist/src/components/time-picker/TimePicker.mjs.map +1 -1
- package/dist/src/index.d.ts +6 -0
- package/dist/styles-full.css +1 -1
- package/dist/styles.css +1 -1
- package/package.json +4 -4
- package/src/components/figure/Figure.test.tsx +54 -0
- package/src/components/figure/Figure.tsx +38 -0
- package/src/components/figure/index.ts +2 -0
- package/src/components/icon/Icon.test.tsx +70 -0
- package/src/components/icon/Icon.tsx +61 -0
- package/src/components/icon/index.ts +2 -0
- package/src/components/icon-button/IconButton.test.tsx +76 -0
- package/src/components/icon-button/IconButton.tsx +38 -0
- package/src/components/icon-button/index.ts +2 -0
- package/src/components/icon-tile/IconTile.test.tsx +63 -0
- package/src/components/icon-tile/IconTile.tsx +55 -0
- package/src/components/icon-tile/index.ts +2 -0
- package/src/components/media/Media.test.tsx +53 -0
- package/src/components/media/Media.tsx +92 -0
- package/src/components/media/index.ts +2 -0
- package/src/components/social-links/SocialLinks.test.tsx +59 -0
- package/src/components/social-links/SocialLinks.tsx +73 -0
- package/src/components/social-links/index.ts +2 -0
- package/src/components/time-picker/TimePicker.test.tsx +77 -0
- package/src/components/time-picker/TimePicker.tsx +315 -12
- package/src/index.ts +6 -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/bottom-nav.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/calendar.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/consent-banner.manifest.json +1 -1
- package/src/manifests/contact-strip.manifest.json +1 -1
- package/src/manifests/container.manifest.json +1 -1
- package/src/manifests/cover-image.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-popover.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 +1 -1
- package/src/manifests/dialog.manifest.json +1 -1
- package/src/manifests/document-card.manifest.json +1 -1
- package/src/manifests/drawer.manifest.json +1 -1
- package/src/manifests/empty-state.manifest.json +1 -1
- package/src/manifests/entity-card.manifest.json +1 -1
- 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/figure.manifest.json +105 -0
- 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 +1 -1
- package/src/manifests/icon-button.manifest.json +101 -0
- package/src/manifests/icon-tile.manifest.json +107 -0
- package/src/manifests/icon.manifest.json +119 -0
- package/src/manifests/image.manifest.json +1 -1
- 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-toolbar.manifest.json +1 -1
- package/src/manifests/list.manifest.json +1 -1
- package/src/manifests/load-more.manifest.json +1 -1
- package/src/manifests/logo-cloud.manifest.json +1 -1
- package/src/manifests/media-card.manifest.json +1 -1
- package/src/manifests/media.manifest.json +142 -0
- package/src/manifests/menu.manifest.json +1 -1
- package/src/manifests/metric-card.manifest.json +1 -1
- package/src/manifests/month-schedule.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 +1 -1
- 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/social-links.manifest.json +120 -0
- package/src/manifests/spinner.manifest.json +1 -1
- package/src/manifests/stat-band.manifest.json +1 -1
- package/src/manifests/stepper.manifest.json +1 -1
- 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 +1 -1
- 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 +49 -6
- package/src/manifests/timeline.manifest.json +1 -1
- package/src/manifests/toast.manifest.json +1 -1
- package/src/manifests/tombstone-card.manifest.json +1 -1
- package/src/manifests/tooltip.manifest.json +1 -1
|
@@ -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.14.0",
|
|
8
8
|
"sourceDir": "process-steps",
|
|
9
9
|
"exportName": "ProcessSteps",
|
|
10
10
|
"description": "Ordered process cards with derived step numbers or custom icons.",
|
|
@@ -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.14.0",
|
|
8
8
|
"sourceDir": "prose",
|
|
9
9
|
"exportName": "Prose",
|
|
10
10
|
"description": "Self-contained long-form typography for rendered markdown/MDX: headings, links, lists, code, tables, quotes and figures.",
|
|
@@ -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.14.0",
|
|
8
8
|
"sourceDir": "range-slider",
|
|
9
9
|
"exportName": "RangeSlider",
|
|
10
10
|
"description": "Dual-thumb numeric range slider with labeled native inputs and formatted values.",
|
|
@@ -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.14.0",
|
|
8
8
|
"sourceDir": "section-heading",
|
|
9
9
|
"exportName": "SectionHeading",
|
|
10
10
|
"description": "Section heading block: eyebrow, title (level 2-4), description and actions, with left/center alignment and three sizes.",
|
|
@@ -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.14.0",
|
|
8
8
|
"sourceDir": "section",
|
|
9
9
|
"exportName": "Section",
|
|
10
10
|
"description": "Full-width page section with a surface tone, vertical rhythm and an optional centered container.",
|
|
@@ -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.14.0",
|
|
8
8
|
"sourceDir": "segmented-control",
|
|
9
9
|
"exportName": "SegmentedControl",
|
|
10
10
|
"description": "Single- or multi-select segmented control for view and filter switches.",
|
|
@@ -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.14.0",
|
|
8
8
|
"sourceDir": "select-menu",
|
|
9
9
|
"exportName": "SelectMenu",
|
|
10
10
|
"description": "Custom listbox select for rich options: descriptions, icons, groups, multi-select, custom rows and hidden inputs for forms.",
|
|
@@ -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.14.0",
|
|
8
8
|
"sourceDir": "site-footer",
|
|
9
9
|
"exportName": "SiteFooter",
|
|
10
10
|
"description": "Marketing footer: brand + tagline column, link columns and a legal bar; router-agnostic via linkComponent.",
|
|
@@ -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.14.0",
|
|
8
8
|
"sourceDir": "site-header",
|
|
9
9
|
"exportName": "SiteHeader",
|
|
10
10
|
"description": "Marketing/site header: sticky bar with brand, horizontal navigation with prefix-aware active states, right-aligned actions and a mobile drawer.",
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "social-links",
|
|
3
|
+
"name": "SocialLinks",
|
|
4
|
+
"tier": "molecule",
|
|
5
|
+
"description": "Accessible row of outbound social and profile links",
|
|
6
|
+
"designIntent": "SocialLinks standardizes outbound profile links: every destination is named, external links get safe rel attributes, and icon-only links stay keyboard and screen-reader accessible.",
|
|
7
|
+
"props": [
|
|
8
|
+
{
|
|
9
|
+
"name": "links",
|
|
10
|
+
"type": "SocialLink[]",
|
|
11
|
+
"required": true,
|
|
12
|
+
"description": "Destinations: { href, label, icon? } — icon may be an SVG element or component"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "label",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"defaultValue": "Social links",
|
|
18
|
+
"required": false,
|
|
19
|
+
"description": "Accessible name for the navigation landmark"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "iconSize",
|
|
23
|
+
"type": "IconProps['size']",
|
|
24
|
+
"defaultValue": "md",
|
|
25
|
+
"required": false,
|
|
26
|
+
"description": "Icon size passed through to Icon"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "iconTone",
|
|
30
|
+
"type": "IconProps['tone']",
|
|
31
|
+
"defaultValue": "muted",
|
|
32
|
+
"required": false,
|
|
33
|
+
"description": "Icon tone passed through to Icon"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "className",
|
|
37
|
+
"type": "string",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "Additional CSS classes to apply"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"examples": [
|
|
43
|
+
{
|
|
44
|
+
"title": "Footer social row",
|
|
45
|
+
"code": "<SocialLinks\n label=\"Follow us\"\n links={[\n { href: 'https://github.com/acme', label: 'GitHub', icon: GithubIcon },\n { href: 'https://x.com/acme', label: 'X', icon: XIcon },\n ]}\n/>",
|
|
46
|
+
"description": "Icon links named by their platform"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"title": "Text-only profile links",
|
|
50
|
+
"code": "<SocialLinks\n links={[{ href: 'https://example.com/team', label: 'Team page' }]}\n/>",
|
|
51
|
+
"description": "Links without icons render as labeled text"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"antiPatterns": [
|
|
55
|
+
{
|
|
56
|
+
"title": "Don't reuse the platform name as the only link text",
|
|
57
|
+
"explanation": "Each link is named via aria-label or visible text; identical unlabeled icons in a row are indistinguishable to screen readers.",
|
|
58
|
+
"example": "// Avoid\nlinks.map(l => <a href={l.href}><Icon icon={l.icon} /></a>)\n// Prefer\n<SocialLinks links={links} />"
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"accessibility": [
|
|
62
|
+
{
|
|
63
|
+
"feature": "Named destinations",
|
|
64
|
+
"implementation": "Icon-only links get aria-label={label}; text links use visible text",
|
|
65
|
+
"userRequirements": "Give every link a distinct, meaningful label"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"feature": "Safe external links",
|
|
69
|
+
"implementation": "Every link renders target=_blank rel=noopener noreferrer",
|
|
70
|
+
"userRequirements": "Only use for genuinely external destinations"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"feature": "Keyboard operation",
|
|
74
|
+
"implementation": "Native anchors with a visible focus-visible ring",
|
|
75
|
+
"userRequirements": "Icon hit area is h-9 w-9, above the 24px minimum"
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"contentGuidelines": [
|
|
79
|
+
{
|
|
80
|
+
"contentType": "Link labels",
|
|
81
|
+
"guidelines": [
|
|
82
|
+
"Name the platform or destination",
|
|
83
|
+
"Prefer \"GitHub\" over \"our GitHub\" for icon links",
|
|
84
|
+
"Keep text-link labels short"
|
|
85
|
+
],
|
|
86
|
+
"goodExamples": [
|
|
87
|
+
"GitHub",
|
|
88
|
+
"LinkedIn",
|
|
89
|
+
"Dribbble"
|
|
90
|
+
],
|
|
91
|
+
"badExamples": [
|
|
92
|
+
"Click here",
|
|
93
|
+
"Social",
|
|
94
|
+
"Follow"
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"compositionRules": [
|
|
99
|
+
{
|
|
100
|
+
"component": "SiteFooter",
|
|
101
|
+
"relationship": "SocialLinks is the standard outbound-link row for footers and contact strips",
|
|
102
|
+
"example": "<SiteFooter contact={...}><SocialLinks links={social}/></SiteFooter>"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"component": "Icon",
|
|
106
|
+
"relationship": "Each link icon renders through Icon with iconSize/iconTone props",
|
|
107
|
+
"example": "<SocialLinks iconSize=\"lg\" iconTone=\"default\" links={links}/>"
|
|
108
|
+
}
|
|
109
|
+
],
|
|
110
|
+
"relatedComponents": [
|
|
111
|
+
"Icon",
|
|
112
|
+
"SiteFooter",
|
|
113
|
+
"ContactStrip"
|
|
114
|
+
],
|
|
115
|
+
"package": "@slipstream-ui/core",
|
|
116
|
+
"importPath": "@slipstream-ui/core",
|
|
117
|
+
"version": "0.14.0",
|
|
118
|
+
"sourceDir": "social-links",
|
|
119
|
+
"exportName": "SocialLinks"
|
|
120
|
+
}
|
|
@@ -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.14.0",
|
|
8
8
|
"sourceDir": "stat-band",
|
|
9
9
|
"exportName": "StatBand",
|
|
10
10
|
"description": "Semantic description list of headline stats with labels, optional hints and column presets.",
|
|
@@ -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.14.0",
|
|
8
8
|
"sourceDir": "table-card",
|
|
9
9
|
"exportName": "TableCard",
|
|
10
10
|
"description": "Table shell with title/description, header actions, optional toolbar, edge-to-edge body and a footer row.",
|
|
@@ -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.14.0",
|
|
8
8
|
"sourceDir": "table-of-contents",
|
|
9
9
|
"exportName": "TableOfContents",
|
|
10
10
|
"description": "Sticky 'On this page' navigation with real anchor links, nested levels and aria-current, plus a useScrollSpy hook for the active heading.",
|
|
@@ -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.14.0",
|
|
8
8
|
"sourceDir": "testimonial",
|
|
9
9
|
"exportName": "Testimonial",
|
|
10
10
|
"description": "Semantic written testimonial with quote, person, role, company, avatar and logo slots.",
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
"id": "time-picker",
|
|
3
3
|
"name": "TimePicker",
|
|
4
4
|
"tier": "molecule",
|
|
5
|
-
"description": "
|
|
6
|
-
"designIntent": "Like DatePicker: the platform time control is already accessible and locale-aware.
|
|
5
|
+
"description": "Time field with an HH:MM contract: a native 24h input or a 12h hour/minute/AM-PM panel, plus minute steps and min/max bounds.",
|
|
6
|
+
"designIntent": "Like DatePicker: the platform time control is already accessible and locale-aware for 24h. The 12h format uses a Popover panel of native selects because input[type=time] cannot render AM/PM portably; both formats emit the same HH:MM string so state never changes shape.",
|
|
7
7
|
"props": [
|
|
8
8
|
{
|
|
9
9
|
"name": "value",
|
|
@@ -36,6 +36,39 @@
|
|
|
36
36
|
"required": false,
|
|
37
37
|
"defaultValue": "Clear time",
|
|
38
38
|
"description": "Accessible label for the clear button."
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "format",
|
|
42
|
+
"type": "'24h' | '12h'",
|
|
43
|
+
"required": false,
|
|
44
|
+
"defaultValue": "'24h'",
|
|
45
|
+
"description": "Display contract. '24h' renders input[type=time]; '12h' renders a button trigger with an hour/minute/AM-PM panel. Both emit HH:MM."
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "minuteStep",
|
|
49
|
+
"type": "number",
|
|
50
|
+
"required": false,
|
|
51
|
+
"defaultValue": "1",
|
|
52
|
+
"description": "Minute granularity: panel options and the native input step attribute."
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "min",
|
|
56
|
+
"type": "string",
|
|
57
|
+
"required": false,
|
|
58
|
+
"description": "Earliest selectable time, \"HH:MM\" inclusive."
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "max",
|
|
62
|
+
"type": "string",
|
|
63
|
+
"required": false,
|
|
64
|
+
"description": "Latest selectable time, \"HH:MM\" inclusive."
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "placeholder",
|
|
68
|
+
"type": "string",
|
|
69
|
+
"required": false,
|
|
70
|
+
"defaultValue": "'Pick a time' (12h only)",
|
|
71
|
+
"description": "Text shown on the 12h trigger before a time is chosen."
|
|
39
72
|
}
|
|
40
73
|
],
|
|
41
74
|
"examples": [
|
|
@@ -43,20 +76,30 @@
|
|
|
43
76
|
"title": "Time field",
|
|
44
77
|
"code": "<TimePicker aria-label=\"Starts at\" value={start} onValueChange={setStart} clearable />",
|
|
45
78
|
"description": "Controlled HH:MM value."
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"title": "12-hour with minute steps",
|
|
82
|
+
"code": "<TimePicker aria-label=\"Doors open\" format=\"12h\" minuteStep={15} min=\"09:00\" max=\"23:00\" value={doors} onValueChange={setDoors} />",
|
|
83
|
+
"description": "Button trigger + hour/minute/AM-PM panel; still emits HH:MM."
|
|
46
84
|
}
|
|
47
85
|
],
|
|
48
86
|
"antiPatterns": [
|
|
49
87
|
{
|
|
50
88
|
"title": "Don't mix 12h display with 24h state",
|
|
51
|
-
"explanation": "State stays HH:MM; format for display
|
|
52
|
-
"example": "// Avoid: '9:30 PM' in state\n// Prefer:
|
|
89
|
+
"explanation": "State stays HH:MM; use format=\"12h\" for AM/PM display — never store '9:30 PM' in value.",
|
|
90
|
+
"example": "// Avoid: '9:30 PM' in state\n// Prefer: format=\"12h\" with value=\"21:30\""
|
|
53
91
|
}
|
|
54
92
|
],
|
|
55
93
|
"accessibility": [
|
|
56
94
|
{
|
|
57
95
|
"feature": "Platform input",
|
|
58
|
-
"implementation": "
|
|
96
|
+
"implementation": "24h renders input[type=time]; 12h renders a labelled button trigger",
|
|
59
97
|
"userRequirements": "Provide a label describing the moment"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"feature": "12h panel",
|
|
101
|
+
"implementation": "Popover with three native selects (Hour, Minute, AM/PM) — platform keyboard and screen-reader behavior",
|
|
102
|
+
"userRequirements": "Out-of-range hours/periods are disabled rather than rejected after the fact"
|
|
60
103
|
}
|
|
61
104
|
],
|
|
62
105
|
"contentGuidelines": [
|
|
@@ -87,7 +130,7 @@
|
|
|
87
130
|
],
|
|
88
131
|
"package": "@slipstream-ui/core",
|
|
89
132
|
"importPath": "@slipstream-ui/core",
|
|
90
|
-
"version": "0.
|
|
133
|
+
"version": "0.14.0",
|
|
91
134
|
"sourceDir": "time-picker",
|
|
92
135
|
"exportName": "TimePicker"
|
|
93
136
|
}
|
|
@@ -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.14.0",
|
|
8
8
|
"sourceDir": "tombstone-card",
|
|
9
9
|
"exportName": "TombstoneCard",
|
|
10
10
|
"description": "Placeholder card for archived, closed or unavailable marketplace items.",
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type FigureProps = React.HTMLAttributes<HTMLElement> & {
|
|
3
|
+
/** Caption rendered in <figcaption> below the media. */
|
|
4
|
+
caption?: React.ReactNode;
|
|
5
|
+
/** Optional credit/source line appended to the caption. */
|
|
6
|
+
credit?: React.ReactNode;
|
|
7
|
+
/** Caption alignment (default 'left'). */
|
|
8
|
+
align?: 'left' | 'center';
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Semantic figure wrapper: media plus an optional caption and credit line.
|
|
12
|
+
* Use for any illustrated or media content that needs a <figcaption>;
|
|
13
|
+
* Media builds on this for aspect-ratio frames.
|
|
14
|
+
*/
|
|
15
|
+
declare const Figure: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
16
|
+
/** Caption rendered in <figcaption> below the media. */
|
|
17
|
+
caption?: React.ReactNode;
|
|
18
|
+
/** Optional credit/source line appended to the caption. */
|
|
19
|
+
credit?: React.ReactNode;
|
|
20
|
+
/** Caption alignment (default 'left'). */
|
|
21
|
+
align?: "left" | "center";
|
|
22
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
23
|
+
export { Figure };
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var Figure_exports = {};
|
|
30
|
+
__export(Figure_exports, {
|
|
31
|
+
Figure: () => Figure
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(Figure_exports);
|
|
34
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
35
|
+
var React = __toESM(require("react"));
|
|
36
|
+
var import_cn = require("../../utils/cn.js");
|
|
37
|
+
const Figure = React.forwardRef(
|
|
38
|
+
({ className, caption, credit, align = "left", children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("figure", { ref, className: (0, import_cn.cn)("m-0", className), ...props, children: [
|
|
39
|
+
children,
|
|
40
|
+
(caption || credit) && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
41
|
+
"figcaption",
|
|
42
|
+
{
|
|
43
|
+
className: (0, import_cn.cn)(
|
|
44
|
+
"mt-2 text-xs text-muted-foreground",
|
|
45
|
+
align === "center" && "text-center"
|
|
46
|
+
),
|
|
47
|
+
children: [
|
|
48
|
+
caption,
|
|
49
|
+
credit && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "mt-0.5 block text-muted-foreground/80", children: credit })
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
)
|
|
53
|
+
] })
|
|
54
|
+
);
|
|
55
|
+
Figure.displayName = "Figure";
|
|
56
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
57
|
+
0 && (module.exports = {
|
|
58
|
+
Figure
|
|
59
|
+
});
|
|
60
|
+
//# sourceMappingURL=Figure.js.map
|