@popsure/dirty-swan 0.56.2 → 0.56.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 +6 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/modal/genericModal/index.js +3 -3
- package/dist/esm/components/modal/genericModal/index.js.map +1 -1
- package/dist/esm/components/table/Table.js +3 -3
- package/dist/esm/components/table/Table.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/components/modal/genericModal/index.tsx +3 -3
- package/src/lib/components/table/Table.module.scss +6 -0
- package/src/lib/components/table/Table.tsx +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -11439,9 +11439,9 @@ var InnerModal = function (_a) {
|
|
|
11439
11439
|
_b[styles$u.overlayClose] = isClosing,
|
|
11440
11440
|
_b)), onAnimationEnd: handleOnCloseAnimationEnded, onClick: handleOnOverlayClick, children: jsxRuntime.jsx("div", { className: typeof (classNames === null || classNames === void 0 ? void 0 : classNames.wrapper) === 'string'
|
|
11441
11441
|
? classNames === null || classNames === void 0 ? void 0 : classNames.wrapper
|
|
11442
|
-
: (_c = classNames === null || classNames === void 0 ? void 0 : classNames.wrapper) === null || _c === void 0 ? void 0 : _c.call(classNames, { isClosing: isClosing }), children: jsxRuntime.jsx("div", { "aria-modal": "true", role: "dialog", className: typeof (classNames === null || classNames === void 0 ? void 0 : classNames.container) === 'string'
|
|
11443
|
-
|
|
11444
|
-
|
|
11442
|
+
: (_c = classNames === null || classNames === void 0 ? void 0 : classNames.wrapper) === null || _c === void 0 ? void 0 : _c.call(classNames, { isClosing: isClosing }), children: jsxRuntime.jsx(FocusLockCombination, { returnFocus: true, className: "m-auto", children: jsxRuntime.jsxs("div", { "aria-modal": "true", role: "dialog", className: typeof (classNames === null || classNames === void 0 ? void 0 : classNames.container) === 'string'
|
|
11443
|
+
? classNames === null || classNames === void 0 ? void 0 : classNames.container
|
|
11444
|
+
: (_d = classNames === null || classNames === void 0 ? void 0 : classNames.container) === null || _d === void 0 ? void 0 : _d.call(classNames, { isClosing: isClosing }), onClick: handleContainerClick, children: [jsxRuntime.jsxs("div", { className: classNames$1('bg-white d-flex ai-center w100 px24 pt24 pb16', styles$u.header, {
|
|
11445
11445
|
'jc-between': !!title,
|
|
11446
11446
|
'jc-end': !title,
|
|
11447
11447
|
}), children: [title && (jsxRuntime.jsx("div", { className: classNames$1(styles$u.title, titleSize === 'small' ? 'p-h4' : 'p-h2', classNames === null || classNames === void 0 ? void 0 : classNames.title), children: title })), dismissible && (jsxRuntime.jsx(Button, { hideLabel: true, leftIcon: jsxRuntime.jsx(XIcon, { color: "grey-700", className: classNames === null || classNames === void 0 ? void 0 : classNames.closeButtonIcon }), onClick: handleOnClose, type: "button", variant: "textColor", className: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.closeButton, 'p0', styles$u.closeButton), children: "Close modal" }))] }), jsxRuntime.jsx("div", { className: classNames$1('w100', classNames === null || classNames === void 0 ? void 0 : classNames.body, styles$u.body), ref: modalBodyRef, children: children }), footer && (jsxRuntime.jsx("div", { className: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.footer, 'w100 bg-white', styles$u.footer), children: jsxRuntime.jsx("div", { className: "p24 pt16", children: footer }) }))] }) }) }) }));
|
|
@@ -16250,8 +16250,8 @@ var TableCell = React__default['default'].memo(function (_a) {
|
|
|
16250
16250
|
: (_c = cellProps.fontVariant) !== null && _c !== void 0 ? _c : 'NORMAL' }))), cellProps.type === 'CTA' && jsxRuntime.jsx(CTACell, __assign({}, cellProps)), cellProps.type === 'BUTTON' && jsxRuntime.jsx(ButtonCell, __assign({}, cellProps)), cellProps.type === 'CARD' && jsxRuntime.jsx(CardCell, __assign({}, cellProps))] })));
|
|
16251
16251
|
});
|
|
16252
16252
|
|
|
16253
|
-
var css_248z$4 = ".Table-module_wrapper__2MMNq {\n position: relative;\n}\n\n.Table-module_container__3VFLP {\n overflow-x: auto;\n overflow-y: hidden;\n -ms-overflow-style: none;\n /* IE and Edge */\n scrollbar-width: none;\n /* Firefox */\n -webkit-overflow-scrolling: touch;\n scroll-snap-type: x mandatory;\n}\n.Table-module_container__3VFLP::-webkit-scrollbar {\n display: none;\n}\n@media (min-width: 34rem) {\n .Table-module_container__3VFLP {\n scroll-snap-type: unset;\n }\n}\n\n.Table-module_stickyHeader__2uEpP {\n display: flex;\n position: sticky;\n z-index: 9;\n}";
|
|
16254
|
-
var styles$4 = {"wrapper":"Table-module_wrapper__2MMNq","container":"Table-module_container__3VFLP","stickyHeader":"Table-module_stickyHeader__2uEpP"};
|
|
16253
|
+
var css_248z$4 = ".Table-module_wrapper__2MMNq {\n position: relative;\n}\n\n.Table-module_container__3VFLP {\n overflow-x: auto;\n overflow-y: hidden;\n -ms-overflow-style: none;\n /* IE and Edge */\n scrollbar-width: none;\n /* Firefox */\n -webkit-overflow-scrolling: touch;\n scroll-snap-type: x mandatory;\n}\n.Table-module_container__3VFLP::-webkit-scrollbar {\n display: none;\n}\n@media (min-width: 34rem) {\n .Table-module_container__3VFLP {\n scroll-snap-type: unset;\n }\n}\n\n.Table-module_stickyHeader__2uEpP {\n display: flex;\n position: sticky;\n z-index: 9;\n}\n\n@media (max-width: 34rem) {\n .Table-module_modalContent__1PNgv {\n min-width: initial;\n }\n}";
|
|
16254
|
+
var styles$4 = {"wrapper":"Table-module_wrapper__2MMNq","container":"Table-module_container__3VFLP","stickyHeader":"Table-module_stickyHeader__2uEpP","modalContent":"Table-module_modalContent__1PNgv"};
|
|
16255
16255
|
styleInject(css_248z$4);
|
|
16256
16256
|
|
|
16257
16257
|
var breakpointLookup = function (breakpoint) {
|
|
@@ -16579,7 +16579,7 @@ var Table = function (_a) {
|
|
|
16579
16579
|
wrapper: 'bg-grey-200',
|
|
16580
16580
|
}, title: jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [shouldHideDetails
|
|
16581
16581
|
? textOverrides.showDetails
|
|
16582
|
-
: textOverrides.hideDetails, shouldHideDetails ? (jsxRuntime.jsx(ChevronDownIcon, { size: 20 })) : (jsxRuntime.jsx(ChevronUpIcon, { size: 20 }))] }), actionIcon: null, dropShadow: false, titleVariant: "small", density: "compact", onClick: function () { return setShouldHideDetails(function (current) { return !current; }); } })), jsxRuntime.jsx(BottomOrRegularModal, { isOpen: (infoModalData === null || infoModalData === void 0 ? void 0 : infoModalData.body) ? true : false, title: infoModalData === null || infoModalData === void 0 ? void 0 : infoModalData.title, onClose: function () { return setInfoModalData(null); }, children: jsxRuntime.jsx("div", { className: "pt8 p24 wmn6", children: modalContentRenderer
|
|
16582
|
+
: textOverrides.hideDetails, shouldHideDetails ? (jsxRuntime.jsx(ChevronDownIcon, { size: 20 })) : (jsxRuntime.jsx(ChevronUpIcon, { size: 20 }))] }), actionIcon: null, dropShadow: false, titleVariant: "small", density: "compact", onClick: function () { return setShouldHideDetails(function (current) { return !current; }); } })), jsxRuntime.jsx(BottomOrRegularModal, { isOpen: (infoModalData === null || infoModalData === void 0 ? void 0 : infoModalData.body) ? true : false, title: infoModalData === null || infoModalData === void 0 ? void 0 : infoModalData.title, onClose: function () { return setInfoModalData(null); }, children: jsxRuntime.jsx("div", { className: classNames$1(styles$4.modalContent, "pt8 p24 wmn6"), children: modalContentRenderer
|
|
16583
16583
|
? modalContentRenderer(infoModalData === null || infoModalData === void 0 ? void 0 : infoModalData.body)
|
|
16584
16584
|
: infoModalData === null || infoModalData === void 0 ? void 0 : infoModalData.body }) })] }));
|
|
16585
16585
|
};
|