← All changes
|
backend/views/components/Analytics/components/orders/OrdersTable.jsx
+9
-9
1.4.13
→
1.4.19
View file →
| @@ -15,26 +15,26 @@ | ||
| 15 | 15 | |
| 16 | 16 | const renderRow = (order) => ( |
| 17 | 17 | <tr |
| 18 | 18 | key={order.id} |
| 19 | - className="disco-border-b disco-border-[#f3f4f6] last:disco-border-0 hover:disco-bg-[#f9fafb] disco-cursor-pointer disco-transition-colors" | |
| 19 | + className="disco:border-b disco:border-[#f3f4f6] disco:last:border-0 disco:hover:bg-[#f9fafb] disco:cursor-pointer disco:transition-colors" | |
| 20 | 20 | > |
| 21 | - <td className="disco-px-4 disco-py-3 disco-font-mono disco-text-[#9ca3af]"> | |
| 21 | + <td className="disco:px-4 disco:py-3 disco:font-mono disco:text-[#9ca3af]"> | |
| 22 | 22 | {order.id} |
| 23 | 23 | </td> |
| 24 | - <td className="disco-px-4 disco-py-3 disco-font-medium disco-text-[#111827] disco-whitespace-nowrap"> | |
| 24 | + <td className="disco:px-4 disco:py-3 disco:font-medium disco:text-[#111827] disco:whitespace-nowrap"> | |
| 25 | 25 | {order.customer} |
| 26 | 26 | </td> |
| 27 | - <td className="disco-px-4 disco-py-3 disco-font-semibold disco-text-[#111827]"> | |
| 27 | + <td className="disco:px-4 disco:py-3 disco:font-semibold disco:text-[#111827]"> | |
| 28 | 28 | {order.total_spent} |
| 29 | 29 | </td> |
| 30 | - <td className="disco-px-4 disco-py-3 disco-font-medium disco-text-[#2fa86d] disco-whitespace-nowrap"> | |
| 30 | + <td className="disco:px-4 disco:py-3 disco:font-medium disco:text-[#2fa86d] disco:whitespace-nowrap"> | |
| 31 | 31 | {truncate(order.campaign, 30)} |
| 32 | 32 | </td> |
| 33 | - <td className="disco-px-4 disco-py-3 disco-text-[#6b7280]"> | |
| 33 | + <td className="disco:px-4 disco:py-3 disco:text-[#6b7280]"> | |
| 34 | 34 | <ProductsMoreDialog title="Products" items={order.products} /> |
| 35 | 35 | </td> |
| 36 | - <td className="disco-px-4 disco-py-3 disco-text-[#9ca3af] disco-whitespace-nowrap"> | |
| 36 | + <td className="disco:px-4 disco:py-3 disco:text-[#9ca3af] disco:whitespace-nowrap"> | |
| 37 | 37 | {order.date} |
| 38 | 38 | </td> |
| 39 | 39 | </tr> |
| 40 | 40 | ); |
| @@ -75,12 +75,12 @@ | ||
| 75 | 75 | lockOverlay={{ |
| 76 | 76 | size: 'lg', |
| 77 | 77 | label: __('Upgrade to pro', 'disco'), |
| 78 | 78 | titleClassName: |
| 79 | - 'disco-max-w-md disco-text-base disco-font-normal disco-text-[#111827] disco-leading-snug', | |
| 79 | + 'disco:max-w-md disco:text-base disco:font-normal disco:text-[#111827] disco:leading-snug', | |
| 80 | 80 | title: ( |
| 81 | 81 | <> |
| 82 | - <strong className="disco-font-semibold"> | |
| 82 | + <strong className="disco:font-semibold"> | |
| 83 | 83 | {__('Upgrade to Disco Pro', 'disco')} |
| 84 | 84 | </strong>{' '} |
| 85 | 85 | {__( |
| 86 | 86 | 'to access your complete order history — every order that used a discount campaign, with full revenue and attribution data.', |