@slipstream-ui/core 0.10.2 → 0.11.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 +12 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.js +18 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -4
- 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/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 +2 -2
- package/dist/manifests/logo-cloud.manifest.json +8 -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 +8 -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/load-more/LoadMore.d.ts +2 -2
- package/dist/src/components/load-more/LoadMore.js +1 -1
- package/dist/src/components/load-more/LoadMore.js.map +1 -1
- package/dist/src/components/load-more/LoadMore.mjs +1 -1
- package/dist/src/components/load-more/LoadMore.mjs.map +1 -1
- package/dist/src/components/logo-cloud/LogoCloud.d.ts +4 -0
- package/dist/src/components/logo-cloud/LogoCloud.js +2 -1
- package/dist/src/components/logo-cloud/LogoCloud.js.map +1 -1
- package/dist/src/components/logo-cloud/LogoCloud.mjs +2 -1
- package/dist/src/components/logo-cloud/LogoCloud.mjs.map +1 -1
- package/dist/src/components/menu/Menu.js +12 -0
- package/dist/src/components/menu/Menu.js.map +1 -1
- package/dist/src/components/menu/Menu.mjs +12 -0
- package/dist/src/components/menu/Menu.mjs.map +1 -1
- package/dist/src/components/process-steps/ProcessSteps.d.ts +6 -0
- package/dist/src/components/process-steps/ProcessSteps.js +3 -2
- package/dist/src/components/process-steps/ProcessSteps.js.map +1 -1
- package/dist/src/components/process-steps/ProcessSteps.mjs +3 -2
- package/dist/src/components/process-steps/ProcessSteps.mjs.map +1 -1
- package/package.json +6 -4
- package/src/components/grid/Grid.test.tsx +3 -1
- package/src/components/input/Input.ssr.test.tsx +1 -1
- package/src/components/load-more/LoadMore.tsx +2 -2
- package/src/components/logo-cloud/LogoCloud.tsx +4 -1
- package/src/components/menu/Menu.test.tsx +15 -0
- package/src/components/menu/Menu.tsx +19 -0
- package/src/components/process-steps/ProcessSteps.tsx +6 -2
- package/src/components/section/Section.test.tsx +1 -1
- 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/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 +2 -2
- package/src/manifests/logo-cloud.manifest.json +8 -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 +8 -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
package/dist/index.d.mts
CHANGED
|
@@ -3114,6 +3114,8 @@ type LogoCloudProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
3114
3114
|
align?: 'left' | 'center';
|
|
3115
3115
|
/** Custom link element for routers. */
|
|
3116
3116
|
linkComponent?: React.ElementType;
|
|
3117
|
+
/** Prop used to pass the destination to linkComponent ('to' for react-router). */
|
|
3118
|
+
linkHrefProp?: 'href' | 'to';
|
|
3117
3119
|
};
|
|
3118
3120
|
/**
|
|
3119
3121
|
* Trust strip for member, customer or partner logos. Logos are decorative
|
|
@@ -3135,6 +3137,8 @@ declare const LogoCloud: React.ForwardRefExoticComponent<React.HTMLAttributes<HT
|
|
|
3135
3137
|
align?: "left" | "center";
|
|
3136
3138
|
/** Custom link element for routers. */
|
|
3137
3139
|
linkComponent?: React.ElementType;
|
|
3140
|
+
/** Prop used to pass the destination to linkComponent ('to' for react-router). */
|
|
3141
|
+
linkHrefProp?: "href" | "to";
|
|
3138
3142
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
3139
3143
|
|
|
3140
3144
|
type FeatureItem = {
|
|
@@ -3272,6 +3276,9 @@ type ProcessStepsProps = React.HTMLAttributes<HTMLOListElement> & {
|
|
|
3272
3276
|
numbered?: boolean;
|
|
3273
3277
|
/** Content alignment. Default 'left'. */
|
|
3274
3278
|
align?: 'left' | 'center';
|
|
3279
|
+
/** Heading level for step titles (h2-h4). Default 3 — pick the level that
|
|
3280
|
+
* continues your page's outline without skipping a rank. */
|
|
3281
|
+
headingLevel?: 2 | 3 | 4;
|
|
3275
3282
|
};
|
|
3276
3283
|
/**
|
|
3277
3284
|
* Ordered process or onboarding steps. Numbers are derived from the list
|
|
@@ -3287,6 +3294,9 @@ declare const ProcessSteps: React.ForwardRefExoticComponent<React.HTMLAttributes
|
|
|
3287
3294
|
numbered?: boolean;
|
|
3288
3295
|
/** Content alignment. Default 'left'. */
|
|
3289
3296
|
align?: "left" | "center";
|
|
3297
|
+
/** Heading level for step titles (h2-h4). Default 3 — pick the level that
|
|
3298
|
+
* continues your page's outline without skipping a rank. */
|
|
3299
|
+
headingLevel?: 2 | 3 | 4;
|
|
3290
3300
|
} & React.RefAttributes<HTMLOListElement>>;
|
|
3291
3301
|
|
|
3292
3302
|
type ArticleCardProps = Omit<React.HTMLAttributes<HTMLElement>, 'title'> & {
|
|
@@ -3697,7 +3707,7 @@ type LoadMoreProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
3697
3707
|
loading?: boolean;
|
|
3698
3708
|
/** Button label. Default "Load more". */
|
|
3699
3709
|
loadLabel?: string;
|
|
3700
|
-
/** Loading label. Default "Loading
|
|
3710
|
+
/** Loading label. Default "Loading…". */
|
|
3701
3711
|
loadingLabel?: string;
|
|
3702
3712
|
/** End-of-list message. Default "You're all caught up." */
|
|
3703
3713
|
endLabel?: string;
|
|
@@ -3716,7 +3726,7 @@ declare const LoadMore: React.ForwardRefExoticComponent<React.HTMLAttributes<HTM
|
|
|
3716
3726
|
loading?: boolean;
|
|
3717
3727
|
/** Button label. Default "Load more". */
|
|
3718
3728
|
loadLabel?: string;
|
|
3719
|
-
/** Loading label. Default "Loading
|
|
3729
|
+
/** Loading label. Default "Loading…". */
|
|
3720
3730
|
loadingLabel?: string;
|
|
3721
3731
|
/** End-of-list message. Default "You're all caught up." */
|
|
3722
3732
|
endLabel?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -3114,6 +3114,8 @@ type LogoCloudProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
3114
3114
|
align?: 'left' | 'center';
|
|
3115
3115
|
/** Custom link element for routers. */
|
|
3116
3116
|
linkComponent?: React.ElementType;
|
|
3117
|
+
/** Prop used to pass the destination to linkComponent ('to' for react-router). */
|
|
3118
|
+
linkHrefProp?: 'href' | 'to';
|
|
3117
3119
|
};
|
|
3118
3120
|
/**
|
|
3119
3121
|
* Trust strip for member, customer or partner logos. Logos are decorative
|
|
@@ -3135,6 +3137,8 @@ declare const LogoCloud: React.ForwardRefExoticComponent<React.HTMLAttributes<HT
|
|
|
3135
3137
|
align?: "left" | "center";
|
|
3136
3138
|
/** Custom link element for routers. */
|
|
3137
3139
|
linkComponent?: React.ElementType;
|
|
3140
|
+
/** Prop used to pass the destination to linkComponent ('to' for react-router). */
|
|
3141
|
+
linkHrefProp?: "href" | "to";
|
|
3138
3142
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
3139
3143
|
|
|
3140
3144
|
type FeatureItem = {
|
|
@@ -3272,6 +3276,9 @@ type ProcessStepsProps = React.HTMLAttributes<HTMLOListElement> & {
|
|
|
3272
3276
|
numbered?: boolean;
|
|
3273
3277
|
/** Content alignment. Default 'left'. */
|
|
3274
3278
|
align?: 'left' | 'center';
|
|
3279
|
+
/** Heading level for step titles (h2-h4). Default 3 — pick the level that
|
|
3280
|
+
* continues your page's outline without skipping a rank. */
|
|
3281
|
+
headingLevel?: 2 | 3 | 4;
|
|
3275
3282
|
};
|
|
3276
3283
|
/**
|
|
3277
3284
|
* Ordered process or onboarding steps. Numbers are derived from the list
|
|
@@ -3287,6 +3294,9 @@ declare const ProcessSteps: React.ForwardRefExoticComponent<React.HTMLAttributes
|
|
|
3287
3294
|
numbered?: boolean;
|
|
3288
3295
|
/** Content alignment. Default 'left'. */
|
|
3289
3296
|
align?: "left" | "center";
|
|
3297
|
+
/** Heading level for step titles (h2-h4). Default 3 — pick the level that
|
|
3298
|
+
* continues your page's outline without skipping a rank. */
|
|
3299
|
+
headingLevel?: 2 | 3 | 4;
|
|
3290
3300
|
} & React.RefAttributes<HTMLOListElement>>;
|
|
3291
3301
|
|
|
3292
3302
|
type ArticleCardProps = Omit<React.HTMLAttributes<HTMLElement>, 'title'> & {
|
|
@@ -3697,7 +3707,7 @@ type LoadMoreProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
3697
3707
|
loading?: boolean;
|
|
3698
3708
|
/** Button label. Default "Load more". */
|
|
3699
3709
|
loadLabel?: string;
|
|
3700
|
-
/** Loading label. Default "Loading
|
|
3710
|
+
/** Loading label. Default "Loading…". */
|
|
3701
3711
|
loadingLabel?: string;
|
|
3702
3712
|
/** End-of-list message. Default "You're all caught up." */
|
|
3703
3713
|
endLabel?: string;
|
|
@@ -3716,7 +3726,7 @@ declare const LoadMore: React.ForwardRefExoticComponent<React.HTMLAttributes<HTM
|
|
|
3716
3726
|
loading?: boolean;
|
|
3717
3727
|
/** Button label. Default "Load more". */
|
|
3718
3728
|
loadLabel?: string;
|
|
3719
|
-
/** Loading label. Default "Loading
|
|
3729
|
+
/** Loading label. Default "Loading…". */
|
|
3720
3730
|
loadingLabel?: string;
|
|
3721
3731
|
/** End-of-list message. Default "You're all caught up." */
|
|
3722
3732
|
endLabel?: string;
|
package/dist/index.js
CHANGED
|
@@ -6735,6 +6735,7 @@ var LogoCloud = React76.forwardRef(function LogoCloud2({
|
|
|
6735
6735
|
size = "md",
|
|
6736
6736
|
align = "center",
|
|
6737
6737
|
linkComponent,
|
|
6738
|
+
linkHrefProp = "href",
|
|
6738
6739
|
className,
|
|
6739
6740
|
...props
|
|
6740
6741
|
}, ref) {
|
|
@@ -6763,7 +6764,7 @@ var LogoCloud = React76.forwardRef(function LogoCloud2({
|
|
|
6763
6764
|
return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("li", { className: cn("min-w-0", align === "center" ? "justify-self-center" : "justify-self-start"), children: item.href ? /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
6764
6765
|
Link3,
|
|
6765
6766
|
{
|
|
6766
|
-
href: item.href,
|
|
6767
|
+
...linkHrefProp === "to" ? { to: item.href } : { href: item.href },
|
|
6767
6768
|
className: "rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
6768
6769
|
children: content
|
|
6769
6770
|
}
|
|
@@ -6885,7 +6886,8 @@ var columnClasses4 = {
|
|
|
6885
6886
|
3: "sm:grid-cols-2 lg:grid-cols-3",
|
|
6886
6887
|
4: "sm:grid-cols-2 lg:grid-cols-4"
|
|
6887
6888
|
};
|
|
6888
|
-
var ProcessSteps = React80.forwardRef(function ProcessSteps2({ steps, columns = 3, numbered = true, align = "left", className, ...props }, ref) {
|
|
6889
|
+
var ProcessSteps = React80.forwardRef(function ProcessSteps2({ steps, columns = 3, numbered = true, align = "left", headingLevel = 3, className, ...props }, ref) {
|
|
6890
|
+
const HeadingTag = { 2: "h2", 3: "h3", 4: "h4" }[headingLevel];
|
|
6889
6891
|
return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("ol", { ref, className: cn("grid gap-8", columnClasses4[columns], className), ...props, children: steps.map((step, index) => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
|
|
6890
6892
|
"li",
|
|
6891
6893
|
{
|
|
@@ -6893,7 +6895,7 @@ var ProcessSteps = React80.forwardRef(function ProcessSteps2({ steps, columns =
|
|
|
6893
6895
|
children: [
|
|
6894
6896
|
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-primary/10 text-sm font-semibold text-primary-ink [&_svg]:size-5", children: step.icon ?? (numbered ? String(index + 1).padStart(2, "0") : null) }),
|
|
6895
6897
|
/* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "min-w-0", children: [
|
|
6896
|
-
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
|
|
6898
|
+
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(HeadingTag, { className: "text-base font-semibold tracking-tight", children: step.title }),
|
|
6897
6899
|
step.description && /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("p", { className: "mt-1 text-sm leading-relaxed text-muted-foreground", children: step.description })
|
|
6898
6900
|
] })
|
|
6899
6901
|
]
|
|
@@ -7311,7 +7313,7 @@ var LoadMore = React89.forwardRef(function LoadMore2({
|
|
|
7311
7313
|
onLoadMore,
|
|
7312
7314
|
loading = false,
|
|
7313
7315
|
loadLabel = "Load more",
|
|
7314
|
-
loadingLabel = "Loading
|
|
7316
|
+
loadingLabel = "Loading\u2026",
|
|
7315
7317
|
endLabel = "You're all caught up.",
|
|
7316
7318
|
className,
|
|
7317
7319
|
...props
|
|
@@ -8116,6 +8118,18 @@ var MenuContent = React97.forwardRef(
|
|
|
8116
8118
|
event.preventDefault();
|
|
8117
8119
|
setActiveIndex(items.length - 1);
|
|
8118
8120
|
items[items.length - 1]?.focus();
|
|
8121
|
+
} else if (event.key.length === 1 && !event.ctrlKey && !event.metaKey && !event.altKey) {
|
|
8122
|
+
const char = event.key.toLowerCase();
|
|
8123
|
+
for (let i = 1; i <= items.length; i++) {
|
|
8124
|
+
const next = (activeIndex + i + items.length) % items.length;
|
|
8125
|
+
const label = items[next]?.textContent?.trim().toLowerCase() ?? "";
|
|
8126
|
+
if (label.startsWith(char)) {
|
|
8127
|
+
event.preventDefault();
|
|
8128
|
+
setActiveIndex(next);
|
|
8129
|
+
items[next]?.focus();
|
|
8130
|
+
break;
|
|
8131
|
+
}
|
|
8132
|
+
}
|
|
8119
8133
|
}
|
|
8120
8134
|
};
|
|
8121
8135
|
if (!open || !pos || typeof document === "undefined") return null;
|