@razorpay/blade 12.15.0 → 12.16.0

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.
@@ -14511,6 +14511,7 @@ type TableNode<Item> = Item & {
14511
14511
  type TableData<Item> = {
14512
14512
  nodes: TableNode<Item>[];
14513
14513
  };
14514
+ type TableBackgroundColors = `surface.background.gray.${DotNotationToken<Theme['colors']['surface']['background']['gray']>}`;
14514
14515
  type TableHeaderProps = {
14515
14516
  /**
14516
14517
  * The children of TableHeader should be TableHeaderRow
@@ -14681,6 +14682,10 @@ type TableProps<Item> = {
14681
14682
  * An array of default selected row ids. This will be used to set the initial selected rows.
14682
14683
  */
14683
14684
  defaultSelectedIds?: Identifier[];
14685
+ /**
14686
+ * The backgroundColor prop determines the background color of the table.
14687
+ **/
14688
+ backgroundColor?: TableBackgroundColors | 'transparent';
14684
14689
  } & DataAnalyticsAttribute & StyledPropsBlade;
14685
14690
  type Identifier = string | number;
14686
14691
  type TableBodyProps<Item> = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@razorpay/blade",
3
3
  "description": "The Design System that powers Razorpay",
4
- "version": "12.15.0",
4
+ "version": "12.16.0",
5
5
  "license": "MIT",
6
6
  "engines": {
7
7
  "node": ">=18.12.1"