@popsure/dirty-swan 0.27.26 → 0.27.27
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/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/components/comparisonTable/components/TableArrows/index.tsx +1 -1
- package/src/lib/components/comparisonTable/components/TableArrows/style.module.scss +2 -0
- package/src/lib/components/comparisonTable/index.tsx +31 -27
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@ const TableArrows = (props: TableArrowsProps) => {
|
|
|
16
16
|
const handleButtonClick = (value: ArrowValues) => () => onClick(value);
|
|
17
17
|
|
|
18
18
|
return (
|
|
19
|
-
<div className={
|
|
19
|
+
<div className={styles.container}>
|
|
20
20
|
<button
|
|
21
21
|
onClick={handleButtonClick('prev')}
|
|
22
22
|
className={classNames(
|
|
@@ -186,39 +186,43 @@ const ComparisonTable = <T extends { id: number }>(
|
|
|
186
186
|
</ScrollSyncPane>
|
|
187
187
|
</AccordionItem>
|
|
188
188
|
) : (
|
|
189
|
-
<
|
|
190
|
-
<
|
|
191
|
-
className={classNames(
|
|
192
|
-
baseStyles.container,
|
|
193
|
-
styles?.container,
|
|
194
|
-
{
|
|
195
|
-
[baseStyles.noScrollBars]: hideScrollBars,
|
|
196
|
-
}
|
|
197
|
-
)}
|
|
198
|
-
>
|
|
189
|
+
<div key={idString}>
|
|
190
|
+
<ScrollSyncPane>
|
|
199
191
|
<div
|
|
200
192
|
className={classNames(
|
|
201
|
-
baseStyles
|
|
202
|
-
|
|
203
|
-
>
|
|
204
|
-
<div className={baseStyles['group-container']}>
|
|
193
|
+
baseStyles.container,
|
|
194
|
+
styles?.container,
|
|
205
195
|
{
|
|
206
|
-
|
|
207
|
-
* Print a table subheader if the `label` value is present
|
|
208
|
-
*/
|
|
209
|
-
headerGroup.label && !collapsibleSections && (
|
|
210
|
-
<div className={baseStyles['group-title']}>
|
|
211
|
-
<h4 className={`p-h4 ${baseStyles.sticky}`}>
|
|
212
|
-
{headerGroup.label}
|
|
213
|
-
</h4>
|
|
214
|
-
</div>
|
|
215
|
-
)
|
|
196
|
+
[baseStyles.noScrollBars]: hideScrollBars,
|
|
216
197
|
}
|
|
217
|
-
|
|
198
|
+
)}
|
|
199
|
+
>
|
|
200
|
+
<div
|
|
201
|
+
className={classNames(
|
|
202
|
+
baseStyles['overflow-container']
|
|
203
|
+
)}
|
|
204
|
+
>
|
|
205
|
+
<div className={baseStyles['group-container']}>
|
|
206
|
+
{
|
|
207
|
+
/**
|
|
208
|
+
* Print a table subheader if the `label` value is present
|
|
209
|
+
*/
|
|
210
|
+
headerGroup.label && !collapsibleSections && (
|
|
211
|
+
<div className={baseStyles['group-title']}>
|
|
212
|
+
<h4
|
|
213
|
+
className={`p-h4 ${baseStyles.sticky}`}
|
|
214
|
+
>
|
|
215
|
+
{headerGroup.label}
|
|
216
|
+
</h4>
|
|
217
|
+
</div>
|
|
218
|
+
)
|
|
219
|
+
}
|
|
220
|
+
{content}
|
|
221
|
+
</div>
|
|
218
222
|
</div>
|
|
219
223
|
</div>
|
|
220
|
-
</
|
|
221
|
-
</
|
|
224
|
+
</ScrollSyncPane>
|
|
225
|
+
</div>
|
|
222
226
|
)}
|
|
223
227
|
</>
|
|
224
228
|
);
|