@akinon/pz-similar-products 1.92.0-snapshot-ZERO-3457-20250627111231 → 1.92.0-snapshot-ZERO-3457-20250627121541
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/CHANGELOG.md +1 -1
- package/README.md +5 -2
- package/package.json +1 -1
- package/src/types/index.ts +2 -0
- package/src/views/filters.tsx +664 -646
- package/src/views/image-search.tsx +98 -86
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -266,6 +266,7 @@ interface SimilarProductsSettings {
|
|
|
266
266
|
imageSearchTipsTitle?: string; // NEW: Tips title
|
|
267
267
|
imageSearchTipsList?: string; // NEW: Tips list
|
|
268
268
|
imageSearchTipsItem?: string; // NEW: Individual tip
|
|
269
|
+
imageSearchModalOverlay?: string; // NEW: Image search modal overlay
|
|
269
270
|
|
|
270
271
|
// Mobile active filters
|
|
271
272
|
mobileActiveFilters?: string;
|
|
@@ -915,7 +916,8 @@ export function SiteHeader() {
|
|
|
915
916
|
settings: {
|
|
916
917
|
maxFileSize: 5,
|
|
917
918
|
customStyles: {
|
|
918
|
-
imageSearchModal: 'max-w-lg rounded-xl'
|
|
919
|
+
imageSearchModal: 'max-w-lg rounded-xl',
|
|
920
|
+
imageSearchModalOverlay: 'bg-black/70 backdrop-blur-sm' // Custom overlay
|
|
919
921
|
}
|
|
920
922
|
}
|
|
921
923
|
}}
|
|
@@ -1430,7 +1432,8 @@ const advancedStylingSettings = {
|
|
|
1430
1432
|
imageSearchTipsSection: 'bg-yellow-50 border-l-4 border-yellow-400',
|
|
1431
1433
|
imageSearchTipsTitle: 'text-yellow-800 font-bold',
|
|
1432
1434
|
imageSearchTipsList: 'text-yellow-700',
|
|
1433
|
-
imageSearchTipsItem: 'hover:text-yellow-900 transition-colors'
|
|
1435
|
+
imageSearchTipsItem: 'hover:text-yellow-900 transition-colors',
|
|
1436
|
+
imageSearchModalOverlay: 'bg-black/60 backdrop-blur-md' // NEW: Custom overlay
|
|
1434
1437
|
}
|
|
1435
1438
|
};
|
|
1436
1439
|
```
|
package/package.json
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -395,10 +395,12 @@ export interface SimilarProductsSettings {
|
|
|
395
395
|
imageSearchTipsTitle?: string;
|
|
396
396
|
imageSearchTipsList?: string;
|
|
397
397
|
imageSearchTipsItem?: string;
|
|
398
|
+
imageSearchModalOverlay?: string;
|
|
398
399
|
|
|
399
400
|
mobileActiveFilters?: string;
|
|
400
401
|
mobileActiveFilterTag?: string;
|
|
401
402
|
mobileClearAllButton?: string;
|
|
403
|
+
filterSidebarMobileOverlay?: string;
|
|
402
404
|
};
|
|
403
405
|
customRenderers?: {
|
|
404
406
|
Modal?: React.ComponentType<SimilarProductsModalProps>;
|