@slipstream-ui/core 0.11.2 → 0.11.3
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 +12 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.js +44 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +313 -273
- 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 +17 -5
- 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/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-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/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/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.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/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 +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/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 +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 +1 -1
- package/dist/manifests/tooltip.manifest.json +1 -1
- package/dist/src/components/badge/Badge.d.ts +12 -2
- package/dist/src/components/badge/Badge.js +44 -4
- package/dist/src/components/badge/Badge.js.map +1 -1
- package/dist/src/components/badge/Badge.mjs +46 -6
- package/dist/src/components/badge/Badge.mjs.map +1 -1
- package/dist/styles-full.css +1 -1
- package/dist/styles.css +1 -1
- package/package.json +3 -3
- package/src/components/badge/Badge.test.tsx +46 -0
- package/src/components/badge/Badge.tsx +58 -4
- 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 +17 -5
- 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/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-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/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/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.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/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 +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/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 +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 +1 -1
- package/src/manifests/tooltip.manifest.json +1 -1
|
@@ -107,3 +107,49 @@ describe('Badge semantic and alias variants', () => {
|
|
|
107
107
|
expect(screen.getByText('large')).toHaveClass('text-sm', 'px-3');
|
|
108
108
|
});
|
|
109
109
|
});
|
|
110
|
+
|
|
111
|
+
describe('Badge quiet outline tones and status dot', () => {
|
|
112
|
+
it('renders outline tone variants with ink text and tinted borders', () => {
|
|
113
|
+
render(
|
|
114
|
+
<>
|
|
115
|
+
<Badge variant="outline-success">live</Badge>
|
|
116
|
+
<Badge variant="outline-warning">degraded</Badge>
|
|
117
|
+
<Badge variant="outline-info">beta</Badge>
|
|
118
|
+
<Badge variant="outline-danger">down</Badge>
|
|
119
|
+
</>
|
|
120
|
+
);
|
|
121
|
+
expect(screen.getByText('live')).toHaveClass('border-success/50', 'text-success-ink');
|
|
122
|
+
expect(screen.getByText('degraded')).toHaveClass('border-warning/50', 'text-warning-ink');
|
|
123
|
+
expect(screen.getByText('beta')).toHaveClass('border-info/50', 'text-info-ink');
|
|
124
|
+
expect(screen.getByText('down')).toHaveClass('border-destructive/50', 'text-destructive');
|
|
125
|
+
});
|
|
126
|
+
|
|
127
|
+
it('renders a decorative dot colored to the variant', () => {
|
|
128
|
+
const { container } = render(
|
|
129
|
+
<>
|
|
130
|
+
<Badge variant="outline-success" dot>live</Badge>
|
|
131
|
+
<Badge variant="success" dot>ok</Badge>
|
|
132
|
+
</>
|
|
133
|
+
);
|
|
134
|
+
const dots = container.querySelectorAll('span[aria-hidden="true"]');
|
|
135
|
+
expect(dots).toHaveLength(2);
|
|
136
|
+
expect(dots[0]).toHaveClass('bg-success', 'rounded-full');
|
|
137
|
+
expect(dots[1]).toHaveClass('bg-success-foreground');
|
|
138
|
+
});
|
|
139
|
+
|
|
140
|
+
it('omits the dot by default', () => {
|
|
141
|
+
const { container } = render(<Badge>plain</Badge>);
|
|
142
|
+
expect(container.querySelector('span[aria-hidden="true"]')).not.toBeInTheDocument();
|
|
143
|
+
});
|
|
144
|
+
|
|
145
|
+
it('keeps asChild working with a dot', () => {
|
|
146
|
+
render(
|
|
147
|
+
<Badge asChild variant="outline-success" dot>
|
|
148
|
+
<a href="/status">live</a>
|
|
149
|
+
</Badge>
|
|
150
|
+
);
|
|
151
|
+
const link = screen.getByRole('link', { name: 'live' });
|
|
152
|
+
expect(link).toHaveClass('rounded-full');
|
|
153
|
+
expect(link.querySelector('span[aria-hidden="true"]')).toHaveClass('bg-success');
|
|
154
|
+
});
|
|
155
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { Slot } from '@radix-ui/react-slot';
|
|
2
|
+
import { Slot, Slottable } from '@radix-ui/react-slot';
|
|
3
3
|
import { cva, type VariantProps } from 'class-variance-authority';
|
|
4
4
|
import { cn } from '../../utils/cn';
|
|
5
5
|
|
|
@@ -22,6 +22,13 @@ const badgeVariants = cva(
|
|
|
22
22
|
secondary: 'border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80',
|
|
23
23
|
destructive: 'border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80',
|
|
24
24
|
outline: 'text-foreground',
|
|
25
|
+
// Quiet outline tones for status metadata (directory chips, filter
|
|
26
|
+
// tags): tinted border and ink text, subtle tint on hover. Follows the
|
|
27
|
+
// Alert/Button outline language.
|
|
28
|
+
'outline-success': 'border-success/50 bg-background text-success-ink hover:bg-success/10',
|
|
29
|
+
'outline-warning': 'border-warning/50 bg-background text-warning-ink hover:bg-warning/10',
|
|
30
|
+
'outline-info': 'border-info/50 bg-background text-info-ink hover:bg-info/10',
|
|
31
|
+
'outline-danger': 'border-destructive/50 bg-background text-destructive hover:bg-destructive/10',
|
|
25
32
|
},
|
|
26
33
|
size: {
|
|
27
34
|
sm: 'px-2 py-0 text-[11px]',
|
|
@@ -40,12 +47,59 @@ export type BadgeProps = React.HTMLAttributes<HTMLSpanElement> &
|
|
|
40
47
|
VariantProps<typeof badgeVariants> & {
|
|
41
48
|
/** Render the child element (e.g. a router Link) with badge styling. */
|
|
42
49
|
asChild?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Leading status dot, colored to match the variant. Decorative only —
|
|
52
|
+
* pair it with text that carries the meaning.
|
|
53
|
+
*/
|
|
54
|
+
dot?: boolean;
|
|
43
55
|
};
|
|
44
56
|
|
|
57
|
+
/** Dot fill per variant: foreground ink on solid fills, tone color on outlines. */
|
|
58
|
+
const dotVariants: Record<NonNullable<BadgeProps['variant']>, string> = {
|
|
59
|
+
default: 'bg-primary-foreground',
|
|
60
|
+
primary: 'bg-primary-foreground',
|
|
61
|
+
neutral: 'bg-muted-foreground',
|
|
62
|
+
accent: 'bg-accent-foreground',
|
|
63
|
+
danger: 'bg-destructive-foreground',
|
|
64
|
+
destructive: 'bg-destructive-foreground',
|
|
65
|
+
success: 'bg-success-foreground',
|
|
66
|
+
warning: 'bg-warning-foreground',
|
|
67
|
+
info: 'bg-info-foreground',
|
|
68
|
+
secondary: 'bg-secondary-foreground',
|
|
69
|
+
outline: 'bg-foreground',
|
|
70
|
+
'outline-success': 'bg-success',
|
|
71
|
+
'outline-warning': 'bg-warning',
|
|
72
|
+
'outline-info': 'bg-info',
|
|
73
|
+
'outline-danger': 'bg-destructive',
|
|
74
|
+
};
|
|
75
|
+
|
|
45
76
|
const Badge = React.forwardRef<HTMLSpanElement, BadgeProps>(
|
|
46
|
-
({ className, variant, size, asChild = false, ...props }, ref) => {
|
|
47
|
-
const
|
|
48
|
-
|
|
77
|
+
({ className, variant, size, asChild = false, dot = false, children, ...props }, ref) => {
|
|
78
|
+
const classNames = cn(badgeVariants({ variant, size }), dot && 'gap-1.5', className);
|
|
79
|
+
const dotEl = dot ? (
|
|
80
|
+
<span
|
|
81
|
+
aria-hidden="true"
|
|
82
|
+
className={cn('h-1.5 w-1.5 shrink-0 rounded-full', dotVariants[variant ?? 'default'])}
|
|
83
|
+
/>
|
|
84
|
+
) : null;
|
|
85
|
+
|
|
86
|
+
if (asChild) {
|
|
87
|
+
// Slot accepts one slottable child; Slottable keeps the dot as a
|
|
88
|
+
// sibling rendered inside the slotted element.
|
|
89
|
+
return (
|
|
90
|
+
<Slot ref={ref} className={classNames} {...props}>
|
|
91
|
+
{dotEl}
|
|
92
|
+
<Slottable>{children}</Slottable>
|
|
93
|
+
</Slot>
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
return (
|
|
98
|
+
<span ref={ref} className={classNames} {...props}>
|
|
99
|
+
{dotEl}
|
|
100
|
+
{children}
|
|
101
|
+
</span>
|
|
102
|
+
);
|
|
49
103
|
}
|
|
50
104
|
);
|
|
51
105
|
Badge.displayName = 'Badge';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "molecule",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.11.
|
|
7
|
+
"version": "0.11.3",
|
|
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.11.
|
|
7
|
+
"version": "0.11.3",
|
|
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.11.
|
|
7
|
+
"version": "0.11.3",
|
|
8
8
|
"sourceDir": "article-card",
|
|
9
9
|
"exportName": "ArticleCard",
|
|
10
10
|
"description": "Linked article or resource card with media, eyebrow, title, summary and metadata.",
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
"props": [
|
|
8
8
|
{
|
|
9
9
|
"name": "variant",
|
|
10
|
-
"type": "'default' | 'secondary' | 'destructive' | 'outline' | 'primary' | 'danger' | 'neutral' | 'accent' | 'success' | 'warning' | 'info'",
|
|
10
|
+
"type": "'default' | 'secondary' | 'destructive' | 'outline' | 'primary' | 'danger' | 'neutral' | 'accent' | 'success' | 'warning' | 'info' | 'outline-success' | 'outline-warning' | 'outline-info' | 'outline-danger'",
|
|
11
11
|
"defaultValue": "default",
|
|
12
12
|
"required": false,
|
|
13
|
-
"description": "Semantic surface; primary/danger are aliases for default/destructive, neutral is a muted metadata pill
|
|
13
|
+
"description": "Semantic surface; primary/danger are aliases for default/destructive, neutral is a muted metadata pill, accent is a tinted brand pill, and outline-* are quiet status tones for metadata chips.",
|
|
14
14
|
"enum": [
|
|
15
15
|
"default",
|
|
16
16
|
"secondary",
|
|
@@ -22,12 +22,17 @@
|
|
|
22
22
|
"accent",
|
|
23
23
|
"success",
|
|
24
24
|
"warning",
|
|
25
|
-
"info"
|
|
25
|
+
"info",
|
|
26
|
+
"outline-success",
|
|
27
|
+
"outline-warning",
|
|
28
|
+
"outline-info",
|
|
29
|
+
"outline-danger"
|
|
26
30
|
],
|
|
27
31
|
"examples": [
|
|
28
32
|
"default",
|
|
29
33
|
"destructive",
|
|
30
|
-
"outline"
|
|
34
|
+
"outline",
|
|
35
|
+
"outline-success"
|
|
31
36
|
]
|
|
32
37
|
},
|
|
33
38
|
{
|
|
@@ -55,6 +60,13 @@
|
|
|
55
60
|
"defaultValue": "false",
|
|
56
61
|
"description": "Render the child element with badge styling."
|
|
57
62
|
},
|
|
63
|
+
{
|
|
64
|
+
"name": "dot",
|
|
65
|
+
"type": "boolean",
|
|
66
|
+
"required": false,
|
|
67
|
+
"defaultValue": "false",
|
|
68
|
+
"description": "Leading status dot colored to match the variant. Decorative only; pair with text that carries the meaning."
|
|
69
|
+
},
|
|
58
70
|
{
|
|
59
71
|
"name": "size",
|
|
60
72
|
"type": "'sm' | 'md' | 'lg'",
|
|
@@ -205,7 +217,7 @@
|
|
|
205
217
|
],
|
|
206
218
|
"package": "@slipstream-ui/core",
|
|
207
219
|
"importPath": "@slipstream-ui/core",
|
|
208
|
-
"version": "0.11.
|
|
220
|
+
"version": "0.11.3",
|
|
209
221
|
"sourceDir": "badge",
|
|
210
222
|
"exportName": "Badge"
|
|
211
223
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "molecule",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.11.
|
|
7
|
+
"version": "0.11.3",
|
|
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.11.
|
|
7
|
+
"version": "0.11.3",
|
|
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.11.
|
|
7
|
+
"version": "0.11.3",
|
|
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.11.
|
|
7
|
+
"version": "0.11.3",
|
|
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.11.
|
|
7
|
+
"version": "0.11.3",
|
|
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.11.
|
|
7
|
+
"version": "0.11.3",
|
|
8
8
|
"sourceDir": "date-range-picker",
|
|
9
9
|
"exportName": "DateRangePicker",
|
|
10
10
|
"description": "Start/end date range with ISO strings and quick presets.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "organism",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.11.
|
|
7
|
+
"version": "0.11.3",
|
|
8
8
|
"sourceDir": "deal-card",
|
|
9
9
|
"exportName": "DealCard",
|
|
10
10
|
"description": "Deal opportunity card with sector, status, metrics, NDA/CIM badges and access actions.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "molecule",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.11.
|
|
7
|
+
"version": "0.11.3",
|
|
8
8
|
"sourceDir": "document-card",
|
|
9
9
|
"exportName": "DocumentCard",
|
|
10
10
|
"description": "Document row with file metadata, access status and an optional download action.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "organism",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.11.
|
|
7
|
+
"version": "0.11.3",
|
|
8
8
|
"sourceDir": "entity-card",
|
|
9
9
|
"exportName": "EntityCard",
|
|
10
10
|
"description": "Firm or member profile card with logo, type, location, stats, tags and actions.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "organism",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.11.
|
|
7
|
+
"version": "0.11.3",
|
|
8
8
|
"sourceDir": "feature-grid",
|
|
9
9
|
"exportName": "FeatureGrid",
|
|
10
10
|
"description": "Grid of feature or benefit cards with an icon, title, copy and optional link.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "organism",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.11.
|
|
7
|
+
"version": "0.11.3",
|
|
8
8
|
"sourceDir": "feature-row",
|
|
9
9
|
"exportName": "FeatureRow",
|
|
10
10
|
"description": "Alternating media and copy row for mid-page feature sections.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "molecule",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.11.
|
|
7
|
+
"version": "0.11.3",
|
|
8
8
|
"sourceDir": "filter-chips",
|
|
9
9
|
"exportName": "FilterChips",
|
|
10
10
|
"description": "Active-filter summary with removable chips and a clear-all action.",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"tier": "organism",
|
|
5
5
|
"package": "@slipstream-ui/core",
|
|
6
6
|
"importPath": "@slipstream-ui/core",
|
|
7
|
-
"version": "0.11.
|
|
7
|
+
"version": "0.11.3",
|
|
8
8
|
"sourceDir": "filter-panel",
|
|
9
9
|
"exportName": "FilterPanel",
|
|
10
10
|
"description": "Structured filter panel with collapsible sections and reset/apply actions.",
|