diff --git a/www/apps/resources/app/admin-widget-injection-zones/page.mdx b/www/apps/resources/app/admin-widget-injection-zones/page.mdx
index 759710429f..e01ba4306b 100644
--- a/www/apps/resources/app/admin-widget-injection-zones/page.mdx
+++ b/www/apps/resources/app/admin-widget-injection-zones/page.mdx
@@ -56,8 +56,6 @@ This documentation page includes the list of injection zones you can add Admin W
----
-
## Order Pages
@@ -118,7 +116,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Order object
}
@@ -141,7 +139,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Order object
}
@@ -164,7 +162,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Order object
}
@@ -187,7 +185,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Order object
}
@@ -198,8 +196,6 @@ This documentation page includes the list of injection zones you can add Admin W
----
-
## Customer Pages
@@ -260,7 +256,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Customer object
}
@@ -283,7 +279,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Customer object
}
@@ -340,7 +336,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // CustomerGroup object
}
@@ -363,7 +359,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // CustomerGroup object
}
@@ -374,8 +370,6 @@ This documentation page includes the list of injection zones you can add Admin W
----
-
## Product Pages
@@ -436,7 +430,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Product object
}
@@ -459,7 +453,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Product object
}
@@ -482,7 +476,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Product object
}
@@ -505,7 +499,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Product object
}
@@ -562,7 +556,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // ProductCollection object
}
@@ -585,7 +579,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // ProductCollection object
}
@@ -642,7 +636,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // ProductCategory object
}
@@ -665,7 +659,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // ProductCategory object
}
@@ -688,7 +682,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // ProductCategory object
}
@@ -711,7 +705,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // ProductCategory object
}
@@ -722,8 +716,6 @@ This documentation page includes the list of injection zones you can add Admin W
----
-
## Pricing Pages
@@ -784,7 +776,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // PriceList object
}
@@ -807,7 +799,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // PriceList object
}
@@ -830,7 +822,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // PriceList object
}
@@ -853,7 +845,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // PriceList object
}
@@ -864,8 +856,6 @@ This documentation page includes the list of injection zones you can add Admin W
----
-
## Promotion Pages
@@ -926,7 +916,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Promotion object
}
@@ -949,7 +939,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Promotion object
}
@@ -972,7 +962,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Promotion object
}
@@ -995,7 +985,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Promotion object
}
@@ -1052,7 +1042,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Campaign object
}
@@ -1075,7 +1065,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Campaign object
}
@@ -1098,7 +1088,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Campaign object
}
@@ -1121,7 +1111,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Campaign object
}
@@ -1132,8 +1122,6 @@ This documentation page includes the list of injection zones you can add Admin W
----
-
## Setting Pages
### User Pages
@@ -1196,7 +1184,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // User object
}
@@ -1219,7 +1207,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // User object
}
@@ -1256,7 +1244,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Store object
}
@@ -1279,7 +1267,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Store object
}
@@ -1316,7 +1304,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // User object
}
@@ -1339,7 +1327,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // User object
}
@@ -1410,7 +1398,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Region object
}
@@ -1433,7 +1421,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // Region object
}
@@ -1504,7 +1492,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // ShippingProfile object
}
@@ -1527,7 +1515,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // ShippingProfile object
}
@@ -1598,7 +1586,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // StockLocation object
}
@@ -1621,7 +1609,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // StockLocation object
}
@@ -1644,7 +1632,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // StockLocation object
}
@@ -1667,7 +1655,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // StockLocation object
}
@@ -1738,7 +1726,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // SalesChannel object
}
@@ -1761,7 +1749,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // SalesChannel object
}
@@ -1832,7 +1820,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // ReservationItem object
}
@@ -1855,7 +1843,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // ReservationItem object
}
@@ -1878,7 +1866,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // ReservationItem object
}
@@ -1901,7 +1889,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // ReservationItem object
}
@@ -1972,7 +1960,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // ApiKey object
}
@@ -1995,7 +1983,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // ApiKey object
}
@@ -2066,7 +2054,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // WorkflowExecution object
}
@@ -2089,7 +2077,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // WorkflowExecution object
}
@@ -2160,7 +2148,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // TaxRegion object
}
@@ -2183,7 +2171,7 @@ This documentation page includes the list of injection zones you can add Admin W
Type `DetailWidgetProps` imported from `@medusajs/types`
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
data, // TaxRegion object
}
diff --git a/www/apps/resources/app/architectural-modules/cache/redis/page.mdx b/www/apps/resources/app/architectural-modules/cache/redis/page.mdx
index b7a3aefce5..c1d03308ba 100644
--- a/www/apps/resources/app/architectural-modules/cache/redis/page.mdx
+++ b/www/apps/resources/app/architectural-modules/cache/redis/page.mdx
@@ -159,8 +159,6 @@ CACHE_REDIS_URL=
----
-
## Test the Module
To test the module, start the Medusa application:
diff --git a/www/apps/resources/app/architectural-modules/event/redis/page.mdx b/www/apps/resources/app/architectural-modules/event/redis/page.mdx
index dab64a38fd..c760abc32d 100644
--- a/www/apps/resources/app/architectural-modules/event/redis/page.mdx
+++ b/www/apps/resources/app/architectural-modules/event/redis/page.mdx
@@ -207,8 +207,6 @@ EVENTS_REDIS_URL=
----
-
## Test the Module
To test the module, start the Medusa application:
diff --git a/www/apps/resources/app/architectural-modules/file/s3/page.mdx b/www/apps/resources/app/architectural-modules/file/s3/page.mdx
index 87707e6d6e..c5b4179141 100644
--- a/www/apps/resources/app/architectural-modules/file/s3/page.mdx
+++ b/www/apps/resources/app/architectural-modules/file/s3/page.mdx
@@ -333,8 +333,6 @@ module.exports = {
----
-
## Troubleshooting
----
-
## SendGrid Templates
When you send a notification, you must specify the ID of the template to use in SendGrid.
diff --git a/www/apps/resources/app/architectural-modules/workflow-engine/redis/page.mdx b/www/apps/resources/app/architectural-modules/workflow-engine/redis/page.mdx
index a876db5042..75a78ad882 100644
--- a/www/apps/resources/app/architectural-modules/workflow-engine/redis/page.mdx
+++ b/www/apps/resources/app/architectural-modules/workflow-engine/redis/page.mdx
@@ -164,8 +164,6 @@ WE_REDIS_URL=
----
-
## Test the Module
To test the module, start the Medusa application:
diff --git a/www/apps/resources/app/commerce-modules/api-key/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/api-key/_events/_events-table/page.mdx
index 9b5ddf7f0e..55dd5283af 100644
--- a/www/apps/resources/app/commerce-modules/api-key/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/api-key/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted API key
id,
diff --git a/www/apps/resources/app/commerce-modules/auth/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/auth/_events/_events-table/page.mdx
index 4a817c77f8..32014b57b9 100644
--- a/www/apps/resources/app/commerce-modules/auth/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/auth/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted auth identity
id,
diff --git a/www/apps/resources/app/commerce-modules/auth/auth-providers/emailpass/page.mdx b/www/apps/resources/app/commerce-modules/auth/auth-providers/emailpass/page.mdx
index af2ccbb1e9..a62c363cbc 100644
--- a/www/apps/resources/app/commerce-modules/auth/auth-providers/emailpass/page.mdx
+++ b/www/apps/resources/app/commerce-modules/auth/auth-providers/emailpass/page.mdx
@@ -76,7 +76,7 @@ const modules = {
- ```ts noCopy noReport noLineNumbers
+ ```ts blockStyle="inline"
const hashConfig = {
logN: 15,
r: 8,
diff --git a/www/apps/resources/app/commerce-modules/cart/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/cart/_events/_events-table/page.mdx
index 7cd1ec77a2..49a9920cf3 100644
--- a/www/apps/resources/app/commerce-modules/cart/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/cart/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted cart
id,
@@ -44,7 +44,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted address
id,
@@ -66,7 +66,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted line item
id,
@@ -88,7 +88,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted line item adjustment
id,
@@ -110,7 +110,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted line item tax line
id,
@@ -132,7 +132,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted shipping method
id,
@@ -154,7 +154,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted shipping method adjustment
id,
@@ -176,7 +176,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted shipping method tax line
id,
diff --git a/www/apps/resources/app/commerce-modules/currency/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/currency/_events/_events-table/page.mdx
index 304c72e5b0..2690bc34e7 100644
--- a/www/apps/resources/app/commerce-modules/currency/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/currency/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted currency
id,
diff --git a/www/apps/resources/app/commerce-modules/customer/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/customer/_events/_events-table/page.mdx
index 07bbcbad99..c0f398fa30 100644
--- a/www/apps/resources/app/commerce-modules/customer/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/customer/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted customer
id,
@@ -44,7 +44,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted address
id,
@@ -66,7 +66,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted customer group
id,
@@ -88,7 +88,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted customer group customer
id,
diff --git a/www/apps/resources/app/commerce-modules/fulfillment/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/fulfillment/_events/_events-table/page.mdx
index d1da5f3fe5..01b2729346 100644
--- a/www/apps/resources/app/commerce-modules/fulfillment/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/fulfillment/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the fulfillment set
id,
@@ -44,7 +44,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted fulfillment set
id,
@@ -66,7 +66,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the service zone
id,
@@ -88,7 +88,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted service zone
id,
@@ -110,7 +110,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the geo zone
id,
@@ -132,7 +132,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted geo zone
id,
@@ -154,7 +154,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the shipping option
id,
@@ -176,7 +176,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the shipping profile
id,
@@ -198,7 +198,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the shipping option rule
id,
@@ -220,7 +220,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the shipping option type
id,
@@ -242,7 +242,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the fulfillment provider
id,
diff --git a/www/apps/resources/app/commerce-modules/inventory/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/inventory/_events/_events-table/page.mdx
index 52ccadc5d3..219a936373 100644
--- a/www/apps/resources/app/commerce-modules/inventory/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/inventory/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the inventory item
id,
@@ -44,7 +44,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the inventory item
id,
@@ -66,7 +66,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted inventory item
id,
@@ -88,7 +88,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the inventory level
id,
@@ -110,7 +110,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the inventory level
id,
@@ -132,7 +132,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted inventory level
id,
@@ -154,7 +154,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the reservation item
id,
@@ -176,7 +176,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the reservation item
id,
@@ -198,7 +198,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted reservation item
id,
diff --git a/www/apps/resources/app/commerce-modules/order/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/order/_events/_events-table/page.mdx
index 0db26d710f..e6d6f05582 100644
--- a/www/apps/resources/app/commerce-modules/order/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/order/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted order
id,
@@ -44,7 +44,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted address
id,
@@ -66,7 +66,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted line item
id,
@@ -88,7 +88,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted line item adjustment
id,
@@ -110,7 +110,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted line item tax line
id,
@@ -132,7 +132,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted shipping method
id,
@@ -154,7 +154,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted shipping method adjustment
id,
@@ -176,7 +176,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted shipping method tax line
id,
@@ -198,7 +198,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted transaction
id,
@@ -220,7 +220,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted order change
id,
@@ -242,7 +242,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted order change action
id,
@@ -264,7 +264,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted order item
id,
@@ -286,7 +286,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted order summary
id,
@@ -308,7 +308,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted order shipping method
id,
diff --git a/www/apps/resources/app/commerce-modules/order/transactions/page.mdx b/www/apps/resources/app/commerce-modules/order/transactions/page.mdx
index 755ba59d37..9a2fca7859 100644
--- a/www/apps/resources/app/commerce-modules/order/transactions/page.mdx
+++ b/www/apps/resources/app/commerce-modules/order/transactions/page.mdx
@@ -79,8 +79,6 @@ To check the outstanding amount of the order, its transaction amounts are summed
----
-
## Transaction Reference
The Order Module doesn’t provide payment processing functionalities, so it doesn’t store payments that can be processed. Payment functionalities are provided by the [Payment Module](../../payment/page.mdx).
diff --git a/www/apps/resources/app/commerce-modules/payment/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/payment/_events/_events-table/page.mdx
index a80eb468dd..6b2833bc3f 100644
--- a/www/apps/resources/app/commerce-modules/payment/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/payment/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted payment
id,
@@ -44,7 +44,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted payment collection
id,
@@ -66,7 +66,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted payment session
id,
@@ -88,7 +88,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted capture
id,
@@ -110,7 +110,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted refund
id,
diff --git a/www/apps/resources/app/commerce-modules/payment/module-options/page.mdx b/www/apps/resources/app/commerce-modules/payment/module-options/page.mdx
index 55bde78e30..f56f19835d 100644
--- a/www/apps/resources/app/commerce-modules/payment/module-options/page.mdx
+++ b/www/apps/resources/app/commerce-modules/payment/module-options/page.mdx
@@ -93,8 +93,6 @@ In this document, you'll learn about the options of the Payment Module.
----
-
## providers
The `providers` option is an array of payment module providers.
diff --git a/www/apps/resources/app/commerce-modules/payment/payment-provider/stripe/page.mdx b/www/apps/resources/app/commerce-modules/payment/payment-provider/stripe/page.mdx
index 4d77248ee3..c64d722152 100644
--- a/www/apps/resources/app/commerce-modules/payment/payment-provider/stripe/page.mdx
+++ b/www/apps/resources/app/commerce-modules/payment/payment-provider/stripe/page.mdx
@@ -197,8 +197,6 @@ STRIPE_API_KEY=
----
-
## Use Provider
To use the Stripe provider, create a payment session for the provider:
diff --git a/www/apps/resources/app/commerce-modules/pricing/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/pricing/_events/_events-table/page.mdx
index fac799f90a..328ced7184 100644
--- a/www/apps/resources/app/commerce-modules/pricing/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/pricing/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted price set
id,
@@ -44,7 +44,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted price list
id,
@@ -66,7 +66,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted price list rule
id,
@@ -88,7 +88,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted price list rule value
id,
@@ -110,7 +110,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted price rule
id,
@@ -132,7 +132,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted price
id,
@@ -154,7 +154,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted price set rule type
id,
@@ -176,7 +176,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted rule type
id,
diff --git a/www/apps/resources/app/commerce-modules/product/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/product/_events/_events-table/page.mdx
index 4c13fc8b56..aa53b73023 100644
--- a/www/apps/resources/app/commerce-modules/product/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/product/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the product
id,
@@ -44,7 +44,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the product
id,
@@ -66,7 +66,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted product
id,
@@ -88,7 +88,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the product collection
id,
@@ -110,7 +110,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the product collection
id,
@@ -132,7 +132,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted product collection
id,
@@ -154,7 +154,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the product category
id,
@@ -176,7 +176,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the product category
id,
@@ -198,7 +198,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted product category
id,
@@ -220,7 +220,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted product option
id,
@@ -242,7 +242,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted product tag
id,
@@ -264,7 +264,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted product type
id,
@@ -286,7 +286,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted product variant
id,
diff --git a/www/apps/resources/app/commerce-modules/promotion/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/promotion/_events/_events-table/page.mdx
index 14a2030910..4e22be1363 100644
--- a/www/apps/resources/app/commerce-modules/promotion/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/promotion/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted promotion
id,
@@ -44,7 +44,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted application method
id,
@@ -66,7 +66,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted campaign
id,
@@ -88,7 +88,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted campaign budget
id,
@@ -110,7 +110,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted promotion rule
id,
@@ -132,7 +132,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted promotion rule value
id,
diff --git a/www/apps/resources/app/commerce-modules/region/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/region/_events/_events-table/page.mdx
index 4fa1cf989d..3e732d659e 100644
--- a/www/apps/resources/app/commerce-modules/region/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/region/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted region
id,
@@ -44,7 +44,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted country
id,
diff --git a/www/apps/resources/app/commerce-modules/sales-channel/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/sales-channel/_events/_events-table/page.mdx
index b48781309e..de31406695 100644
--- a/www/apps/resources/app/commerce-modules/sales-channel/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/sales-channel/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted sales channel
id,
diff --git a/www/apps/resources/app/commerce-modules/stock-location/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/stock-location/_events/_events-table/page.mdx
index 8e62bffac5..af393f49ec 100644
--- a/www/apps/resources/app/commerce-modules/stock-location/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/stock-location/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted stock location
id,
@@ -44,7 +44,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted stock location address
id,
diff --git a/www/apps/resources/app/commerce-modules/store/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/store/_events/_events-table/page.mdx
index a85ea1ebac..d5b9c71344 100644
--- a/www/apps/resources/app/commerce-modules/store/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/store/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted store
id,
diff --git a/www/apps/resources/app/commerce-modules/tax/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/tax/_events/_events-table/page.mdx
index 4f56e9ef01..5c15a3fcec 100644
--- a/www/apps/resources/app/commerce-modules/tax/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/tax/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted tax rate
id,
@@ -44,7 +44,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted tax region
id,
@@ -66,7 +66,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted tax rate rule
id,
@@ -88,7 +88,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted tax provider
id,
diff --git a/www/apps/resources/app/commerce-modules/user/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/user/_events/_events-table/page.mdx
index 838d6a8d5c..782013f770 100644
--- a/www/apps/resources/app/commerce-modules/user/_events/_events-table/page.mdx
+++ b/www/apps/resources/app/commerce-modules/user/_events/_events-table/page.mdx
@@ -22,7 +22,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the user
id,
@@ -44,7 +44,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the user
id,
@@ -66,7 +66,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted user
id,
@@ -88,7 +88,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the invite
id,
@@ -110,7 +110,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the invite
id,
@@ -132,7 +132,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the deleted invite
id,
@@ -154,7 +154,7 @@ import { Table } from "docs-ui"
- ```ts noCopy noReport
+ ```ts blockStyle="inline"
{
// the ID of the invite
id,
diff --git a/www/apps/ui/src/components/hook-table.tsx b/www/apps/ui/src/components/hook-table.tsx
index 0902b92696..64e324dc29 100644
--- a/www/apps/ui/src/components/hook-table.tsx
+++ b/www/apps/ui/src/components/hook-table.tsx
@@ -1,13 +1,13 @@
import { InformationCircleSolid } from "@medusajs/icons"
-import { Table, Tooltip } from "@medusajs/ui"
+import { Tooltip } from "@medusajs/ui"
import { HookData, HookDataMap } from "@/types/hooks"
import { EnumType, FunctionType, ObjectType } from "@/types/props"
-import { InlineCode } from "docs-ui"
+import { InlineCode, Table } from "docs-ui"
const HookTable = ({ props }: { props: HookDataMap }) => {
return (
-
+
Value
diff --git a/www/apps/ui/src/components/props-table.tsx b/www/apps/ui/src/components/props-table.tsx
index cb65070685..d5ee72175e 100644
--- a/www/apps/ui/src/components/props-table.tsx
+++ b/www/apps/ui/src/components/props-table.tsx
@@ -1,11 +1,11 @@
"use client"
import { InformationCircleSolid } from "@medusajs/icons"
-import { Table, Tooltip } from "@medusajs/ui"
+import { Tooltip } from "@medusajs/ui"
import { PropData, PropDataMap, PropSpecType } from "@/types/props"
import { useCallback, useMemo } from "react"
-import { InlineCode, MarkdownContent } from "docs-ui"
+import { InlineCode, MarkdownContent, Table } from "docs-ui"
type PropTableProps = {
props: PropDataMap
@@ -13,12 +13,12 @@ type PropTableProps = {
const PropTable = ({ props }: PropTableProps) => {
return (
-
+
Prop
Type
- Default
+ Default
diff --git a/www/packages/docs-ui/src/components/CodeBlock/Inline/index.tsx b/www/packages/docs-ui/src/components/CodeBlock/Inline/index.tsx
new file mode 100644
index 0000000000..bb982aacab
--- /dev/null
+++ b/www/packages/docs-ui/src/components/CodeBlock/Inline/index.tsx
@@ -0,0 +1,20 @@
+import React from "react"
+import clsx from "clsx"
+import { CodeBlockProps } from "../../.."
+
+export const CodeBlockInline = ({ source }: CodeBlockProps) => {
+ return (
+
+
+ {source}
+
+
+ )
+}
diff --git a/www/packages/docs-ui/src/components/CodeBlock/index.tsx b/www/packages/docs-ui/src/components/CodeBlock/index.tsx
index 520fb42b35..8170404681 100644
--- a/www/packages/docs-ui/src/components/CodeBlock/index.tsx
+++ b/www/packages/docs-ui/src/components/CodeBlock/index.tsx
@@ -14,6 +14,7 @@ import { HighlightProps as CollapsibleHighlightProps } from "@/hooks"
import { CodeBlockActions, CodeBlockActionsProps } from "./Actions"
import { CodeBlockCollapsibleButton } from "./Collapsible/Button"
import { CodeBlockCollapsibleFade } from "./Collapsible/Fade"
+import { CodeBlockInline } from "./Inline"
export type Highlight = {
line: number
@@ -41,7 +42,7 @@ export type CodeBlockMetaFields = {
isTerminal?: boolean
} & CodeBlockHeaderMeta
-export type CodeBlockStyle = "loud" | "subtle"
+export type CodeBlockStyle = "loud" | "subtle" | "inline"
export type CodeBlockProps = {
source: string
@@ -75,6 +76,9 @@ export const CodeBlock = ({
if (!source && typeof children === "string") {
source = children
}
+ if (blockStyle === "inline") {
+ return
+ }
const { colorMode } = useColorMode()
const [showTesting, setShowTesting] = useState(false)
diff --git a/www/packages/docs-ui/src/components/Table/index.tsx b/www/packages/docs-ui/src/components/Table/index.tsx
index 284ed925bd..1fc3d7e4cf 100644
--- a/www/packages/docs-ui/src/components/Table/index.tsx
+++ b/www/packages/docs-ui/src/components/Table/index.tsx
@@ -11,7 +11,24 @@ const Root = ({ className, ...props }: RootProps) => {
className,
"table-fixed mb-docs_1",
"[&_pre_span]:!max-w-full [&_pre_span]:!break-words [&_pre_span]:!whitespace-break-spaces",
- "[&_pre>div]:mt-docs_1"
+ "[&_pre>div]:mt-docs_1",
+ "shadow-elevation-card-rest dark:shadow-elevation-card-rest-dark",
+ "rounded-docs_DEFAULT"
+ )}
+ {...props}
+ />
+ )
+}
+
+type HeaderProps = React.HTMLAttributes
+
+const Header = ({ className, ...props }: HeaderProps) => {
+ return (
+
@@ -23,20 +40,11 @@ type HeaderCellProps = React.HTMLAttributes
const HeaderCell = ({ className, ...props }: HeaderCellProps) => {
return (
- )
-}
-
-type RowProps = React.HTMLAttributes
-
-const Row = ({ className, ...props }: RowProps) => {
- return (
-
@@ -48,18 +56,32 @@ type CellProps = React.HTMLAttributes
const Cell = ({ className, ...props }: CellProps) => {
return (
+ )
+}
+
+type BodyProps = React.HTMLAttributes
+
+const Body = ({ className, ...props }: BodyProps) => {
+ return (
+
)
}
const Table = Object.assign(Root, {
- Row,
+ Row: UiTable.Row,
Cell,
- Header: UiTable.Header,
+ Header,
HeaderCell,
- Body: UiTable.Body,
+ Body,
})
export { Table }