@sonic-equipment/ui 0.0.77 → 0.0.78

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.ts CHANGED
@@ -120,11 +120,14 @@ interface Request {
120
120
  }
121
121
  declare const request: Request;
122
122
 
123
- interface UseFeatureFlagsReturnType {
124
- pdpV2: boolean;
125
- plpV2: boolean;
126
- searchV2: boolean;
127
- }
123
+ declare const features: {
124
+ readonly pdp: "pdpV2";
125
+ readonly plp: "plpV2";
126
+ readonly search: "searchV2";
127
+ };
128
+ type FeatureKeys = keyof typeof features;
129
+ type FeatureValues = (typeof features)[FeatureKeys];
130
+ type UseFeatureFlagsReturnType = Record<FeatureValues, boolean>;
128
131
  declare function useFeatureFlags(): UseFeatureFlagsReturnType;
129
132
 
130
133
  interface BaseModel$1 {
@@ -4301,7 +4304,7 @@ interface LinkProps extends LinkProps$2, RefAttributes<HTMLAnchorElement> {
4301
4304
  onMouseMove?(event: MouseEvent): void;
4302
4305
  role?: 'option';
4303
4306
  }
4304
- declare function Link({ children, className, color, hasUnderline, onClick: _onClick, ...props }: LinkProps): react_jsx_runtime.JSX.Element;
4307
+ declare function Link({ children, className, color, hasUnderline, onClick: _onClick, ref, ...props }: LinkProps): react_jsx_runtime.JSX.Element;
4305
4308
 
4306
4309
  type AddToCartState = 'initial' | 'spinner' | 'manual-input';
4307
4310
  interface AddToCartButtonProps {