@popsure/dirty-swan 0.53.3 → 0.53.4

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/cjs/index.js CHANGED
@@ -13715,8 +13715,8 @@ styleInject(css_248z$4);
13715
13715
 
13716
13716
  var ComparisonTable = function (props) {
13717
13717
  var _a;
13718
- var headers = props.headers, data = props.data, hideDetails = props.hideDetails, _b = props.hideDetailsCaption, hideDetailsCaption = _b === void 0 ? 'Hide details' : _b, _c = props.showDetailsCaption, showDetailsCaption = _c === void 0 ? 'Show details' : _c, classNameOverrides = props.classNameOverrides, hideScrollBars = props.hideScrollBars, hideScrollBarsMobile = props.hideScrollBarsMobile, collapsibleSections = props.collapsibleSections, cellWidth = props.cellWidth, firstColumnWidth = props.firstColumnWidth, stickyHeaderTopOffset = props.stickyHeaderTopOffset, growContent = props.growContent, onSelectionChanged = props.onSelectionChanged;
13719
- var _d = useComparisonTable({ onSelectionChanged: onSelectionChanged }), headerWidth = _d.headerWidth, headerId = _d.headerId, contentContainerRef = _d.contentContainerRef, selectedSection = _d.selectedSection, setSelectedSection = _d.setSelectedSection, selectedTabIndex = _d.selectedTabIndex, headerRefCallbackRef = _d.headerRefCallbackRef, handleArrowsClick = _d.handleArrowsClick, toggleMoreRows = _d.toggleMoreRows, showMore = _d.showMore;
13718
+ var headers = props.headers, data = props.data, hideDetails = props.hideDetails, _b = props.hideDetailsCaption, hideDetailsCaption = _b === void 0 ? 'Hide details' : _b, _c = props.showDetailsCaption, showDetailsCaption = _c === void 0 ? 'Show details' : _c, classNameOverrides = props.classNameOverrides, hideScrollBars = props.hideScrollBars, _d = props.hideScrollBarsMobile, hideScrollBarsMobile = _d === void 0 ? true : _d, collapsibleSections = props.collapsibleSections, cellWidth = props.cellWidth, firstColumnWidth = props.firstColumnWidth, stickyHeaderTopOffset = props.stickyHeaderTopOffset, growContent = props.growContent, onSelectionChanged = props.onSelectionChanged;
13719
+ var _e = useComparisonTable({ onSelectionChanged: onSelectionChanged }), headerWidth = _e.headerWidth, headerId = _e.headerId, contentContainerRef = _e.contentContainerRef, selectedSection = _e.selectedSection, setSelectedSection = _e.setSelectedSection, selectedTabIndex = _e.selectedTabIndex, headerRefCallbackRef = _e.headerRefCallbackRef, handleArrowsClick = _e.handleArrowsClick, toggleMoreRows = _e.toggleMoreRows, showMore = _e.showMore;
13720
13720
  var cssVariablesStyle = __assign(__assign(__assign(__assign({ '--tableWidth': "".concat(headerWidth, "px") }, (cellWidth ? { '--cellWidth': "".concat(cellWidth, "px") } : {})), (firstColumnWidth
13721
13721
  ? { '--firstColumnWidth': "".concat(firstColumnWidth, "px") }
13722
13722
  : {})), (stickyHeaderTopOffset
@@ -14213,8 +14213,8 @@ var toast = function (title, _a) {
14213
14213
  return (dist.toast(function (t) { return (jsxRuntime.jsx(Toast, __assign({ title: title, onDismiss: function () { return dist.toast.dismiss(t.id); } }, toastOptions))); }, { duration: duration }));
14214
14214
  };
14215
14215
 
14216
- var css_248z = ".style-module_wrapperBordered__1BsXF {\n border: 1px solid #ededf2;\n}\n\n.style-module_container__37ni0 {\n border-bottom: 1px solid #ededf2;\n}\n.style-module_containerBordered__2IHWI:last-of-type {\n border-bottom: 0;\n}\n\n.style-module_question__2bC30 {\n color: #4c4c53;\n}\n\n.style-module_chevron__2nixo {\n color: #4c4c53;\n transition: transform 0.3s ease-in-out;\n}\n.style-module_chevronOpen__1nFZj {\n transform: rotate(180deg);\n}\n\n.style-module_answerIcon__Pugpz {\n padding-left: 20px;\n}\n.style-module_answerIconDefault__2myqw {\n padding-left: 4px;\n}\n\n.style-module_buttonWrapper__2A5FG {\n background-color: transparent !important;\n color: #8e8cee;\n outline-offset: -4px;\n}\n.style-module_buttonWrapperDefault__2DCgb {\n outline-offset: 0;\n}\n.style-module_buttonWrapperOpen__1cunM {\n margin-bottom: 4px !important;\n}\n.style-module_buttonWrapper__2A5FG:hover, .style-module_buttonWrapper__2A5FG:focus-visible {\n background: #f7f7ff;\n}\n.style-module_buttonWrapper__2A5FG:hover .style-module_icon__jyQp0, .style-module_buttonWrapper__2A5FG:focus-visible .style-module_icon__jyQp0 {\n color: #8e8cee !important;\n}\n.style-module_buttonWrapper__2A5FG:hover .style-module_question__2bC30,\n.style-module_buttonWrapper__2A5FG:hover .style-module_chevron__2nixo, .style-module_buttonWrapper__2A5FG:focus-visible .style-module_question__2bC30,\n.style-module_buttonWrapper__2A5FG:focus-visible .style-module_chevron__2nixo {\n color: #8e8cee;\n}\n.style-module_buttonWrapper__2A5FG:hover {\n outline: 0 solid transparent !important;\n}\n.style-module_buttonWrapper__2A5FG:focus-visible {\n outline: 2px solid #8e8cee !important;\n}";
14217
- var styles = {"wrapperBordered":"style-module_wrapperBordered__1BsXF","container":"style-module_container__37ni0","containerBordered":"style-module_containerBordered__2IHWI","question":"style-module_question__2bC30","chevron":"style-module_chevron__2nixo","chevronOpen":"style-module_chevronOpen__1nFZj","answerIcon":"style-module_answerIcon__Pugpz","answerIconDefault":"style-module_answerIconDefault__2myqw","buttonWrapper":"style-module_buttonWrapper__2A5FG","buttonWrapperDefault":"style-module_buttonWrapperDefault__2DCgb","buttonWrapperOpen":"style-module_buttonWrapperOpen__1cunM","icon":"style-module_icon__jyQp0"};
14216
+ var css_248z = ".style-module_wrapperBordered__1BsXF {\n border: 1px solid #ededf2;\n}\n\n.style-module_container__37ni0 {\n border-bottom: 1px solid #ededf2;\n}\n.style-module_containerBordered__2IHWI:last-of-type {\n border-bottom: 0;\n}\n\n.style-module_question__2bC30 {\n color: #4c4c53;\n}\n\n.style-module_chevron__2nixo {\n color: #4c4c53;\n transition: transform 0.3s ease-in-out;\n}\n.style-module_chevronOpen__1nFZj {\n transform: rotate(180deg);\n}\n\n.style-module_answerIcon__Pugpz {\n padding-left: 20px;\n}\n.style-module_answerIconDefault__2myqw {\n padding-left: 4px;\n}\n\n.style-module_buttonWrapper__2A5FG {\n background-color: transparent !important;\n color: #8e8cee;\n outline-offset: -4px;\n}\n.style-module_buttonWrapperDefault__2DCgb {\n outline-offset: 0;\n}\n.style-module_buttonWrapper__2A5FG:hover, .style-module_buttonWrapper__2A5FG:focus-visible {\n background: #f7f7ff;\n}\n.style-module_buttonWrapper__2A5FG:hover .style-module_icon__jyQp0, .style-module_buttonWrapper__2A5FG:focus-visible .style-module_icon__jyQp0 {\n color: #8e8cee !important;\n}\n.style-module_buttonWrapper__2A5FG:hover .style-module_question__2bC30,\n.style-module_buttonWrapper__2A5FG:hover .style-module_chevron__2nixo, .style-module_buttonWrapper__2A5FG:focus-visible .style-module_question__2bC30,\n.style-module_buttonWrapper__2A5FG:focus-visible .style-module_chevron__2nixo {\n color: #8e8cee;\n}\n.style-module_buttonWrapper__2A5FG:hover {\n outline: 0 solid transparent !important;\n}\n.style-module_buttonWrapper__2A5FG:focus-visible {\n outline: 2px solid #8e8cee !important;\n}";
14217
+ var styles = {"wrapperBordered":"style-module_wrapperBordered__1BsXF","container":"style-module_container__37ni0","containerBordered":"style-module_containerBordered__2IHWI","question":"style-module_question__2bC30","chevron":"style-module_chevron__2nixo","chevronOpen":"style-module_chevronOpen__1nFZj","answerIcon":"style-module_answerIcon__Pugpz","answerIconDefault":"style-module_answerIconDefault__2myqw","buttonWrapper":"style-module_buttonWrapper__2A5FG","buttonWrapperDefault":"style-module_buttonWrapperDefault__2DCgb","icon":"style-module_icon__jyQp0"};
14218
14218
  styleInject(css_248z);
14219
14219
 
14220
14220
  var Accordion = function (_a) {
@@ -14250,7 +14250,6 @@ var Accordion = function (_a) {
14250
14250
  var isOpen = selectedQuestionId.includes(id);
14251
14251
  return (jsxRuntime.jsxs("div", { className: classnamesUtil(classNames === null || classNames === void 0 ? void 0 : classNames.questionWrapper, styles.container, (_a = {}, _a[styles.containerBordered] = !isDefaultVariant, _a)), children: [jsxRuntime.jsx(Card, { title: question, titleVariant: "small", density: 'compact', icon: icon, classNames: __assign({ icon: classnamesUtil(classNames === null || classNames === void 0 ? void 0 : classNames.icon, styles.icon, 'tc-grey-700'), buttonWrapper: classnamesUtil('py8 my8', classNames === null || classNames === void 0 ? void 0 : classNames.buttonWrapper, styles.buttonWrapper, (_b = {},
14252
14252
  _b[styles.buttonWrapperDefault] = isDefaultVariant,
14253
- _b[styles.buttonWrapperOpen] = isOpen,
14254
14253
  _b)), wrapper: classnamesUtil(classNames === null || classNames === void 0 ? void 0 : classNames.wrapper, 'bg-transparent br0 py0', { 'pl0': isDefaultVariant }), title: classnamesUtil(classNames === null || classNames === void 0 ? void 0 : classNames.question, styles.question, 'fw-bold', (_c = {}, _c[styles.questionOpen] = isOpen, _c)) }, classNames), dropShadow: false, onClick: function () { return handleClick(questionData); }, "aria-expanded": isOpen, actionIcon: jsxRuntime.jsx(ChevronDownIcon, { className: classnamesUtil(styles.chevron, (_d = {},
14255
14254
  _d[styles.chevronOpen] = isOpen,
14256
14255
  _d)), size: 20, noMargin: true }) }), jsxRuntime.jsx(AnimateHeight, { duration: 300, height: isOpen ? 'auto' : 0, children: jsxRuntime.jsx("div", { className: classnamesUtil(classNames === null || classNames === void 0 ? void 0 : classNames.answer, 'tc-grey-600 pr16 pb24', (_e = {