@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.
- package/build/lib/native/components/Table/TableContext.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/Calendar.web.js +17 -4
- package/build/lib/web/development/components/DatePicker/Calendar.web.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/DatePicker.web.js +2 -1
- package/build/lib/web/development/components/DatePicker/DatePicker.web.js.map +1 -1
- package/build/lib/web/development/components/Table/Table.web.js +3 -2
- package/build/lib/web/development/components/Table/Table.web.js.map +1 -1
- package/build/lib/web/development/components/Table/TableContext.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/Calendar.web.js +17 -4
- package/build/lib/web/production/components/DatePicker/Calendar.web.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/DatePicker.web.js +2 -1
- package/build/lib/web/production/components/DatePicker/DatePicker.web.js.map +1 -1
- package/build/lib/web/production/components/Table/Table.web.js +3 -2
- package/build/lib/web/production/components/Table/Table.web.js.map +1 -1
- package/build/lib/web/production/components/Table/TableContext.js.map +1 -1
- package/build/types/components/index.d.ts +6 -1
- package/build/types/components/index.native.d.ts +5 -0
- package/package.json +1 -1
|
@@ -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> = {
|