@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 +9 -6
- package/dist/index.js +825 -223
- package/dist/src/buttons/link/link.d.ts +1 -1
- package/dist/src/carousel/usp-carousel/usp-carousel.d.ts +8 -0
- package/dist/src/pages/product-listing-page/product-listing-page-category-carousel/product-listing-page-category-carousel.d.ts +3 -0
- package/dist/src/pages/search-result-page/search-results-page-category-carousel/search-results-page-category-carousel.d.ts +1 -0
- package/dist/src/shared/api/bff/model/bff.model.d.ts +8 -0
- package/dist/src/shared/feature-flags/feature-flags.stories.d.ts +9 -0
- package/dist/src/shared/feature-flags/use-feature-flags.d.ts +8 -5
- package/dist/src/shared/model/category.d.ts +12 -0
- package/dist/src/usp/product-usp.d.ts +5 -0
- package/dist/styles.css +482 -127
- package/package.json +1 -1
- package/dist/src/carousel/category-carousel/connected-category-carousel.d.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -120,11 +120,14 @@ interface Request {
|
|
|
120
120
|
}
|
|
121
121
|
declare const request: Request;
|
|
122
122
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
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 {
|