@smg-automotive/components 25.4.1 → 25.4.2
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/components/filterPatterns/modal/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/filterPatterns/modal/index.d.ts.map +1 -1
- package/dist/esm/components/filterPatterns/modal/index.js +1 -1
- package/dist/esm/components/filterPatterns/modal/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/filterPatterns/modal/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAelC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAG3C,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/filterPatterns/modal/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAelC,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAG3C,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA4F5C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -7001,7 +7001,7 @@ var ModalFilter = function (_a) {
|
|
|
7001
7001
|
return (React.createElement(TranslationProvider, { language: language, scopes: ['filterSelectButton'] },
|
|
7002
7002
|
React.createElement(React.Fragment, null,
|
|
7003
7003
|
React.createElement(OpenFilterButton, { displayValue: displayValue, Icon: Icon, isApplied: isApplied, label: label, onClick: onOpen, isDisabled: isDisabled, paddingX: paddingX, backgroundColor: backgroundColor }),
|
|
7004
|
-
React.createElement(react$1.Modal, { isOpen: isOpen, onClose: onClose, size: "full", motionPreset: "slideInBottom", trapFocus: trapFocus },
|
|
7004
|
+
React.createElement(react$1.Modal, { key: "modal-filter-".concat(label, "-").concat(isOpen ? 'open' : 'closed'), isOpen: isOpen, onClose: onClose, size: "full", motionPreset: "slideInBottom", trapFocus: trapFocus },
|
|
7005
7005
|
React.createElement(react$1.ModalContent, { h: "full", w: "full", paddingY: "2xl", paddingX: "0" },
|
|
7006
7006
|
React.createElement(react$1.ModalHeader, { display: "flex", flexDirection: "column", alignItems: "flex-start", paddingY: "0", paddingX: "2xl" }, header ? (header) : (React.createElement(FilterHeading, { language: language, Icon: Icon, isApplied: isApplied, label: label, numberOfAppliedFilters: numberOfAppliedFilters, onClose: onClose, onResetFilter: function () { return onResetFilter('filter'); } }))),
|
|
7007
7007
|
React.createElement(react$1.ModalBody, { overflowY: "auto", marginTop: "2xl", marginBottom: showCallToActionButton ? '2xl' : '0', paddingY: "0", paddingX: "2xl" }, children),
|