Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+13
-3
@@ -1,10 +1,20 @@
|
||||
"use client";
|
||||
import { EmptyState as EmptyStateComponent } from "./EmptyState";
|
||||
import React from "react";
|
||||
import { EmptyState as EmptyStateComponent, type EmptyStateRootProps } from "./EmptyState";
|
||||
import * as SubframeUtils from "../../utils";
|
||||
|
||||
/**
|
||||
* Add wrapper components and business logic here.
|
||||
* If you modify this file, disable Subframe sync for it to prevent overwrites.
|
||||
* Learn more: https://docs.subframe.com/concepts/syncing-components#wrapping-components
|
||||
*
|
||||
* Wrapper rationale (2026-07-07, R-P5 verification): the synced Subframe
|
||||
* component always renders a hardcoded, non-wired english CTA ("Create
|
||||
* project" / "Try again" / "Clear filters") - no onClick, no i18n (violates
|
||||
* DoD B10/E23). Until the design-system component gets a proper action slot
|
||||
* (design-nachzug), the wrapper hides that dead internal button; screens render
|
||||
* their own translated action next to the EmptyState.
|
||||
*/
|
||||
|
||||
export const EmptyState = EmptyStateComponent;
|
||||
export const EmptyState = React.forwardRef<HTMLDivElement, EmptyStateRootProps>(function EmptyState({ className, ...props }, ref) {
|
||||
return <EmptyStateComponent ref={ref} className={SubframeUtils.twClassNames("[&_button]:hidden", className)} {...props} />;
|
||||
});
|
||||
Reference in new issue
Block a user