@@ -38,7 +38,7 @@ const meta = {
38
38
title : 'Data Display / AnalyticalTable' ,
39
39
component : AnalyticalTable ,
40
40
parameters : {
41
- chromatic : { delay : 1000 , diffThreshold : 0.5 }
41
+ chromatic : { disableSnapshot : true }
42
42
} ,
43
43
args : {
44
44
data : dataLarge ,
@@ -156,9 +156,6 @@ export const Default: Story = {};
156
156
157
157
export const PluginDisableRowSelection : Story = {
158
158
name : 'Plugin: useRowDisableSelection' ,
159
- parameters : {
160
- chromatic : { disableSnapshot : true }
161
- } ,
162
159
args : {
163
160
data : dataLarge . map ( ( item ) => ( { ...item , disableSelection : Math . random ( ) < 0.5 } ) ) ,
164
161
selectionMode : AnalyticalTableSelectionMode . MultiSelect
@@ -233,9 +230,6 @@ export const PluginIndeterminateRowSelection: Story = {
233
230
234
231
export const PluginManualRowSelect : Story = {
235
232
name : 'Plugin: useManualRowSelect' ,
236
- parameters : {
237
- chromatic : { disableSnapshot : true }
238
- } ,
239
233
args : {
240
234
data : dataManualSelect
241
235
} ,
@@ -372,9 +366,6 @@ const orderedMultiSortData = [
372
366
] ;
373
367
374
368
export const PluginOrderedMultiSort = {
375
- parameters : {
376
- chromatic : { disableSnapshot : true }
377
- } ,
378
369
name : 'Plugin: useOrderedMultiSort' ,
379
370
args : { orderedIds : [ 'name' , 'name2' , 'age' , 'age2' ] } ,
380
371
argTypes : {
@@ -406,9 +397,6 @@ export const TreeTable: Story = {
406
397
} ;
407
398
408
399
export const InfiniteScrolling : Story = {
409
- parameters : {
410
- chromatic : { disableSnapshot : true }
411
- } ,
412
400
render : ( args ) => {
413
401
const [ data , setData ] = useState ( args . data . slice ( 0 , 50 ) ) ;
414
402
const [ loading , setLoading ] = useState ( false ) ;
@@ -507,9 +495,6 @@ export const DynamicRowCount = {
507
495
'Select an option to change the height of the surrounding container of the table (in `px`). <br /> __Note__: This is not an actual prop of the table.'
508
496
}
509
497
} ,
510
- parameters : {
511
- chromatic : { disableSnapshot : true }
512
- } ,
513
498
render : ( args ) => {
514
499
return (
515
500
< div style = { { height : `${ args . containerHeight } px` } } >
@@ -605,9 +590,6 @@ export const ResponsiveColumns: Story = {
605
590
606
591
export const NavigationIndicator : Story = {
607
592
args : { withNavigationHighlight : true , selectionMode : AnalyticalTableSelectionMode . MultiSelect , data : dataLarge } ,
608
- parameters : {
609
- chromatic : { disableSnapshot : true }
610
- } ,
611
593
render : ( args ) => {
612
594
const [ selectedRow , setSelectedRow ] = useState ( ) ;
613
595
const onRowSelect = ( e ) => {
0 commit comments