PluginProbe
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO / 1.4.22
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO v1.4.22
1.4.22 1.4.21 1.4.20 1.4.19 1.4.18 1.4.17 1.4.16 1.4.15 1.4.14 1.4.13 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.54 1.3.53 All 185 releases
← All changes | backend/views/components/ProPlan/components/Badge.jsx +4 -4 1.4.4 → 1.4.22 View file →
@@ -1,13 +1,13 @@
1 1 const Badge = ({ children, color = 'green' }) => {
2 2 const colors = {
3 - green: 'disco-bg-emerald-100 disco-text-emerald-700',
4 - orange: 'disco-bg-orange-100 disco-text-orange-600',
5 - blue: 'disco-bg-blue-100 disco-text-blue-600',
3 + green: 'disco:bg-emerald-100 disco:text-emerald-700',
4 + orange: 'disco:bg-orange-100 disco:text-orange-600',
5 + blue: 'disco:bg-blue-100 disco:text-blue-600',
6 6 };
7 7 return (
8 8 <span
9 - className={`disco-inline-block disco-text-xs disco-font-semibold disco-px-2 disco-py-0.5 disco-rounded-full ${colors[color]}`}
9 + className={`disco:inline-block disco:text-xs disco:font-semibold disco:px-2 disco:py-0.5 disco:rounded-full ${colors[color]}`}
10 10 >
11 11 {children}
12 12 </span>
13 13 );