@popsure/dirty-swan 0.30.4 → 0.30.5

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.
@@ -1,8 +1,8 @@
1
1
  import { b as __awaiter, c as __generator, _ as __assign } from '../../tslib.es6-5bc94358.js';
2
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
+ import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { c as classnames } from '../../index-e9e37a34.js';
4
+ import React__default, { useState, useRef, useCallback, useEffect, Fragment } from 'react';
4
5
  import { c as commonjsGlobal } from '../../_commonjsHelpers-e7f67fd8.js';
5
- import React__default, { useState, useRef, useCallback, useEffect } from 'react';
6
6
  import ReactDOM from 'react-dom';
7
7
  import Chevron from './components/Chevron.js';
8
8
  import Row from './components/Row/index.js';
@@ -1571,13 +1571,13 @@ var ComparisonTable = function (props) {
1571
1571
  var idString = "headerGroup-" + headerGroup.id;
1572
1572
  return (jsx(Fragment, { children: headerGroup.label && collapsibleSections ? (jsx(AccordionItem, __assign({ className: "mt8", label: headerGroup.label, headerClassName: "p24 br8", isOpen: selectedSection === idString, onOpen: function () { return setSelectedSection(idString); }, onClose: function () { return setSelectedSection(''); } }, { children: jsx(dist.exports.ScrollSyncPane, { children: jsx("div", __assign({ className: classnames(baseStyles.container, styles === null || styles === void 0 ? void 0 : styles.container, (_a = {},
1573
1573
  _a[baseStyles.noScrollBars] = hideScrollBars,
1574
- _a)) }, { children: jsx("div", __assign({ className: classnames(baseStyles['overflow-container']) }, { children: jsx("div", __assign({ className: baseStyles['group-container'] }, { children: content }), void 0) }), void 0) }), void 0) }, void 0) }), idString)) : (jsx("div", { children: jsx(dist.exports.ScrollSyncPane, { children: jsx("div", __assign({ className: classnames(baseStyles.container, styles === null || styles === void 0 ? void 0 : styles.container, (_b = {},
1574
+ _a)) }, { children: jsx("div", __assign({ className: classnames(baseStyles['overflow-container']) }, { children: jsx("div", __assign({ className: baseStyles['group-container'] }, { children: content }), void 0) }), void 0) }), void 0) }, void 0) }), void 0)) : (jsx("div", { children: jsx(dist.exports.ScrollSyncPane, { children: jsx("div", __assign({ className: classnames(baseStyles.container, styles === null || styles === void 0 ? void 0 : styles.container, (_b = {},
1575
1575
  _b[baseStyles.noScrollBars] = hideScrollBars,
1576
1576
  _b)) }, { children: jsx("div", __assign({ className: classnames(baseStyles['overflow-container']) }, { children: jsxs("div", __assign({ className: baseStyles['group-container'] }, { children: [
1577
1577
  /**
1578
1578
  * Print a table subheader if the `label` value is present
1579
1579
  */
1580
- headerGroup.label && !collapsibleSections && (jsx("div", __assign({ className: baseStyles['group-title'] }, { children: jsx("h4", __assign({ className: "p-h4 " + baseStyles.sticky }, { children: headerGroup.label }), void 0) }), void 0)), content] }), void 0) }), void 0) }), void 0) }, void 0) }, idString)) }, void 0));
1580
+ headerGroup.label && !collapsibleSections && (jsx("div", __assign({ className: baseStyles['group-title'] }, { children: jsx("h4", __assign({ className: "p-h4 " + baseStyles.sticky }, { children: headerGroup.label }), void 0) }), void 0)), content] }), void 0) }), void 0) }), void 0) }, void 0) }, idString)) }, idString));
1581
1581
  }),
1582
1582
  hideDetails && (jsx("div", __assign({ className: classnames(baseStyles['show-details-container'], baseStyles.sticky, 'mt48') }, { children: jsx("div", { children: jsxs("button", __assign({ className: "w100 d-flex p-a p-h4 c-pointer " + baseStyles['show-details-button'], onClick: toggleMoreRows, type: "button" }, { children: [showMore ? 'Hide details' : 'Show details', jsx(Chevron, { className: showMore ? '' : baseStyles['icon-inverted'] }, void 0)] }), void 0) }, void 0) }), void 0))] }), void 0)] }), void 0) }, void 0));
1583
1583
  };