Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 | 177x 1x 1x 177x 1x 177x 177x | import React from 'react'; import LoadingSkeleton, { ILoadingSkeletonProps, IStandardSkeleton, } from './LoadingSkeleton'; import { cxBackgroundGray, cxBackgroundNeutral, } from './LoadingSkeletonsSvgUtil'; export const SmallDataTableSkeleton = ( props: IStandardSkeleton ): React.ReactElement => { const { width = 565, height = 130, className } = props; return ( <div data-test-id='loadingSkeleton-SmallDataTableSkeleton'> <svg data-test-id='loadingSkeleton-SmallDataTableSkeleton-svg' width={width} height={height} version='1.1' xmlns='http://www.w3.org/2000/svg' > <g id='SmallDataTableSkeleton-Details' stroke='none' strokeWidth='1' fill='none' fillRule='evenodd' > <g id='SmallDataTableSkeleton-Group-1' transform='translate(-598.000000, -2418.000000)' > <g id='SmallDataTableSkeleton-Group-2' transform='translate(30.000000, 2241.000000)' > <g id='SmallDataTableSkeleton-Group-3' transform='translate(568.000000, 177.000000)' > <g id='Table-Row-/-Default' transform='translate(0.000000, 30.000000)' > <rect className={cxBackgroundNeutral('&', className)} id='SmallDataTableSkeleton-BG' x='0' y='0' width='565' height='32' /> <rect className={cxBackgroundGray('&', className)} id='SmallDataTableSkeleton-Bottom-Line' x='0' y='31' width='565' height='1' /> </g> <g id='SmallDataTableSkeleton-Table-Row-/-Default' transform='translate(0.000000, 62.000000)' > <rect className={cxBackgroundNeutral('&', className)} id='SmallDataTableSkeleton-BG' x='0' y='0' width='565' height='32' /> <rect className={cxBackgroundGray('&', className)} id='SmallDataTableSkeleton-Bottom-Line' x='0' y='31' width='565' height='1' /> </g> <g id='SmallDataTableSkeleton-Table-Row-/-Default' transform='translate(0.000000, 94.000000)' > <rect className={cxBackgroundNeutral('&', className)} id='SmallDataTableSkeleton-BG' x='0' y='0' width='565' height='32' /> <rect className={cxBackgroundGray('&', className)} id='SmallDataTableSkeleton-Bottom-Line' x='0' y='31' width='565' height='1' /> </g> <g id='Table-Row-/-Header-White'> <rect className={cxBackgroundNeutral('&', className)} id='SmallDataTableSkeleton-BG' x='0' y='0' width='565' height='30' /> <rect className={cxBackgroundGray('&', className)} id='SmallDataTableSkeleton-Bottom-Line' x='0' y='29' width='565' height='1' /> </g> <path className={cxBackgroundGray('&', className)} d='M111,104 L111,114 L11,114 L11,104 L111,104 Z M289,104 L289,114 L189,114 L189,104 L289,104 Z M477, 104 L477,114 L377,114 L377,104 L477,104 Z M131,72 L131,82 L11,82 L11,72 L131,72 Z M309,72 L309,82 L189, 82 L189,72 L309,72 Z M497,72 L497,82 L377,82 L377,72 L497,72 Z M111,40 L111,50 L11,50 L11,40 L111,40 Z M289, 40 L289,50 L189,50 L189,40 L289,40 Z M477,40 L477,50 L377,50 L377,40 L477,40 Z M131,10 L131,20 L11, 20 L11,10 L131,10 Z M309,10 L309,20 L189,20 L189,10 L309,10 Z M497,10 L497,20 L377,20 L377,10 L497,10 Z' id='SmallDataTableSkeleton-Combined-Shape' /> </g> </g> </g> </g> </svg> </div> ); }; const SmallDataTableLoadingSkeleton = ( props: ILoadingSkeletonProps ): React.ReactElement => { return ( <LoadingSkeleton data-test-id='loadingSkeleton-SmallDataTableLoadingSkeleton' Skeleton={SmallDataTableSkeleton} {...props} /> ); }; SmallDataTableLoadingSkeleton.displayName = 'SmallDataTableLoadingSkeleton'; SmallDataTableLoadingSkeleton.peek = { description: ` A loading indicator wrapper with optional overlay. `, notes: { overview: ` A visual indication that a section or component of the interface is loading. Designed to indicate loading data `, intendedUse: ` - Use in places where data takes time to load. SmallDataTableLoadingSkeleton lets users know that the information they expect to see will appear shortly. `, technicalRecommendations: ` If a page is displaying a lot of data coming from multiple sources, try as best as possible to load the individual parts of the UI, so as not to disrupt the user and block them from interacting with the entire page until all data is loaded. `, }, categories: ['Loading Indicator'], }; export default SmallDataTableLoadingSkeleton; |