@texturehq/edges 1.22.0 → 1.22.1

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.cts CHANGED
@@ -3507,6 +3507,8 @@ declare const DialogHeader: React__default.FC<DialogHeaderProps>;
3507
3507
 
3508
3508
  type EmptyStateSize = "sm" | "md" | "lg";
3509
3509
  type EmptyStateAlignment = "center" | "start";
3510
+ type EmptyStateVariant = "default" | "spotlight";
3511
+ type EmptyStateSpotlightPattern = "mesh" | "top-fade" | "center" | "corners" | "bottom" | "asymmetric";
3510
3512
  interface EmptyStateAction {
3511
3513
  /** Label for the action button/link */
3512
3514
  label: string;
@@ -3536,6 +3538,10 @@ interface EmptyStateProps {
3536
3538
  size?: EmptyStateSize;
3537
3539
  /** Aligns the content horizontally. */
3538
3540
  alignment?: EmptyStateAlignment;
3541
+ /** Visual variant: 'default' for minimal style, 'spotlight' for branded marketing style. */
3542
+ variant?: EmptyStateVariant;
3543
+ /** Gradient pattern for spotlight variant. Only applies when variant="spotlight". */
3544
+ spotlightPattern?: EmptyStateSpotlightPattern;
3539
3545
  /** When true the component expands to fill the available height and vertically centers content. */
3540
3546
  fullHeight?: boolean;
3541
3547
  /** Additional className to merge with default styles. */
@@ -3549,8 +3555,12 @@ interface EmptyStateProps {
3549
3555
  *
3550
3556
  * Use `primaryAction` (button) and `secondaryAction` (text link) for consistent styling,
3551
3557
  * or use `actions` for complete control over the action area.
3558
+ *
3559
+ * The `spotlight` variant adds a subtle branded gradient background for marketing-focused
3560
+ * empty states that encourage user behavior. Choose from different gradient patterns
3561
+ * using the `spotlightPattern` prop.
3552
3562
  */
3553
- declare function EmptyState({ icon, title, description, primaryAction, secondaryAction, actions, size, alignment, fullHeight, className, }: EmptyStateProps): react_jsx_runtime.JSX.Element;
3563
+ declare function EmptyState({ icon, title, description, primaryAction, secondaryAction, actions, size, alignment, variant, spotlightPattern, fullHeight, className, }: EmptyStateProps): react_jsx_runtime.JSX.Element;
3554
3564
 
3555
3565
  type EnrollmentStatus = "enrolled" | "eligible" | "not_eligible" | "pending" | "opted_out";
3556
3566
  interface EnrollmentStatusBadgeProps extends Omit<BadgeProps, "variant" | "children"> {
package/dist/index.d.ts CHANGED
@@ -3507,6 +3507,8 @@ declare const DialogHeader: React__default.FC<DialogHeaderProps>;
3507
3507
 
3508
3508
  type EmptyStateSize = "sm" | "md" | "lg";
3509
3509
  type EmptyStateAlignment = "center" | "start";
3510
+ type EmptyStateVariant = "default" | "spotlight";
3511
+ type EmptyStateSpotlightPattern = "mesh" | "top-fade" | "center" | "corners" | "bottom" | "asymmetric";
3510
3512
  interface EmptyStateAction {
3511
3513
  /** Label for the action button/link */
3512
3514
  label: string;
@@ -3536,6 +3538,10 @@ interface EmptyStateProps {
3536
3538
  size?: EmptyStateSize;
3537
3539
  /** Aligns the content horizontally. */
3538
3540
  alignment?: EmptyStateAlignment;
3541
+ /** Visual variant: 'default' for minimal style, 'spotlight' for branded marketing style. */
3542
+ variant?: EmptyStateVariant;
3543
+ /** Gradient pattern for spotlight variant. Only applies when variant="spotlight". */
3544
+ spotlightPattern?: EmptyStateSpotlightPattern;
3539
3545
  /** When true the component expands to fill the available height and vertically centers content. */
3540
3546
  fullHeight?: boolean;
3541
3547
  /** Additional className to merge with default styles. */
@@ -3549,8 +3555,12 @@ interface EmptyStateProps {
3549
3555
  *
3550
3556
  * Use `primaryAction` (button) and `secondaryAction` (text link) for consistent styling,
3551
3557
  * or use `actions` for complete control over the action area.
3558
+ *
3559
+ * The `spotlight` variant adds a subtle branded gradient background for marketing-focused
3560
+ * empty states that encourage user behavior. Choose from different gradient patterns
3561
+ * using the `spotlightPattern` prop.
3552
3562
  */
3553
- declare function EmptyState({ icon, title, description, primaryAction, secondaryAction, actions, size, alignment, fullHeight, className, }: EmptyStateProps): react_jsx_runtime.JSX.Element;
3563
+ declare function EmptyState({ icon, title, description, primaryAction, secondaryAction, actions, size, alignment, variant, spotlightPattern, fullHeight, className, }: EmptyStateProps): react_jsx_runtime.JSX.Element;
3554
3564
 
3555
3565
  type EnrollmentStatus = "enrolled" | "eligible" | "not_eligible" | "pending" | "opted_out";
3556
3566
  interface EnrollmentStatusBadgeProps extends Omit<BadgeProps, "variant" | "children"> {