krl-alfred 2.17.55 → 2.17.56

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.
@@ -23,6 +23,6 @@ var Tooltip_1 = __importDefault(require("../Tooltip"));
23
23
  var Loader_1 = __importDefault(require("../Loader"));
24
24
  var InsuranceBox = function (_a) {
25
25
  var _b = _a.width, width = _b === void 0 ? props_1.InsuranceBoxDefault.width : _b, _c = _a.priceText, priceText = _c === void 0 ? props_1.InsuranceBoxDefault.priceText : _c, _d = _a.height, height = _d === void 0 ? props_1.InsuranceBoxDefault.height : _d, _e = _a.popupWidth, popupWidth = _e === void 0 ? props_1.InsuranceBoxDefault.popupWidth : _e, _f = _a.popupRight, popupRight = _f === void 0 ? props_1.InsuranceBoxDefault.popupRight : _f, _g = _a.tooltipTitle, tooltipTitle = _g === void 0 ? props_1.InsuranceBoxDefault.tooltipTitle : _g, _h = _a.popupSize, popupSize = _h === void 0 ? props_1.InsuranceBoxDefault.popupSize : _h, _j = _a.tooltipDescription, tooltipDescription = _j === void 0 ? props_1.InsuranceBoxDefault.tooltipDescription : _j, _k = _a.onChange, onChange = _k === void 0 ? props_1.InsuranceBoxDefault.onChange : _k, _l = _a.hasBgColor, hasBgColor = _l === void 0 ? props_1.InsuranceBoxDefault.hasBgColor : _l, _m = _a.hasCloseOnOutsideClick, hasCloseOnOutsideClick = _m === void 0 ? props_1.InsuranceBoxDefault.hasCloseOnOutsideClick : _m, _o = _a.hasBorder, hasBorder = _o === void 0 ? props_1.InsuranceBoxDefault.hasBorder : _o, _p = _a.checked, checked = _p === void 0 ? props_1.InsuranceBoxDefault.checked : _p, _q = _a.disabled, disabled = _q === void 0 ? props_1.InsuranceBoxDefault.disabled : _q, _r = _a.isTitleWrap, isTitleWrap = _r === void 0 ? props_1.InsuranceBoxDefault.isTitleWrap : _r, _s = _a.hasClickAction, hasClickAction = _s === void 0 ? props_1.InsuranceBoxDefault.hasClickAction : _s, _t = _a.isLoading, isLoading = _t === void 0 ? props_1.InsuranceBoxDefault.isLoading : _t, _u = _a.tooltipPosition, tooltipPosition = _u === void 0 ? props_1.InsuranceBoxDefault.tooltipPosition : _u, _v = _a.size, size = _v === void 0 ? props_1.InsuranceBoxDefault.size : _v, _w = _a.insuranceText, insuranceText = _w === void 0 ? props_1.InsuranceBoxDefault.insuranceText : _w;
26
- return ((0, jsx_runtime_1.jsxs)(InsuranceBox_styled_1.InsuranceBoxStyled, __assign({ htmlFor: "insuranceCheckbox", "$hasBorder": hasBorder, "$hasBgColor": hasBgColor, "$width": width, "$height": height, "$size": size }, { children: [(0, jsx_runtime_1.jsx)(InsuranceBox_styled_1.CheckboxWrapper, __assign({ "$size": size }, { children: (0, jsx_runtime_1.jsx)(Checkbox_1.default, { id: "insuranceCheckbox", disabled: disabled, onChange: onChange, checked: checked, size: "large" }) })), (0, jsx_runtime_1.jsxs)(InsuranceBox_styled_1.InnerWrapper, __assign({ "$size": size }, { children: [(0, jsx_runtime_1.jsx)(InsuranceBox_styled_1.Logo, __assign({ htmlFor: "insuranceCheckbox", "$size": size }, { children: (0, jsx_runtime_1.jsx)(Icon_1.default, { color: "var(--primary)", name: "Tamamlarsin" }) })), (0, jsx_runtime_1.jsxs)(InsuranceBox_styled_1.DescriptionWrapper, __assign({ "$size": size }, { children: [(0, jsx_runtime_1.jsx)(InsuranceBox_styled_1.Description, __assign({ "$size": size, htmlFor: "insuranceCheckbox" }, { children: isLoading ? (0, jsx_runtime_1.jsx)(Loader_1.default, { type: "wave" }) : (0, jsx_runtime_1.jsx)("div", { dangerouslySetInnerHTML: { __html: "Hasar g\u00FCvenceni %100\u2019e ".concat(isTitleWrap ? "<br/>" : '', "tamamlars\u0131n! <b>").concat(priceText, "</b>") } }) })), (0, jsx_runtime_1.jsx)("label", __assign({ htmlFor: "nothing" }, { children: (0, jsx_runtime_1.jsx)(Tooltip_1.default, __assign({ popupSize: popupSize, title: tooltipTitle, position: tooltipPosition, hasCloseOnOutsideClick: hasCloseOnOutsideClick, hasClickAction: hasClickAction, popupWidth: popupWidth, popupRight: popupRight, iconWidth: "24px", iconHeight: "24px" }, { children: tooltipDescription || ((0, jsx_runtime_1.jsx)(InsuranceBox_styled_1.TooltipDescription, { children: insuranceText })) })) }))] }))] }))] })));
26
+ return ((0, jsx_runtime_1.jsxs)(InsuranceBox_styled_1.InsuranceBoxStyled, __assign({ htmlFor: "insuranceCheckbox", "$hasBorder": hasBorder, "$hasBgColor": hasBgColor, "$width": width, "$height": height, "$size": size }, { children: [(0, jsx_runtime_1.jsx)(InsuranceBox_styled_1.CheckboxWrapper, __assign({ "$size": size }, { children: (0, jsx_runtime_1.jsx)(Checkbox_1.default, { id: "insuranceCheckbox", disabled: disabled, onChange: onChange, checked: checked, size: "large" }) })), (0, jsx_runtime_1.jsxs)(InsuranceBox_styled_1.InnerWrapper, __assign({ "$size": size }, { children: [(0, jsx_runtime_1.jsx)(InsuranceBox_styled_1.Logo, __assign({ htmlFor: "insuranceCheckbox", "$size": size }, { children: (0, jsx_runtime_1.jsx)(Icon_1.default, { color: "var(--primary)", name: "Tamamlarsin" }) })), (0, jsx_runtime_1.jsxs)(InsuranceBox_styled_1.DescriptionWrapper, __assign({ "$size": size }, { children: [(0, jsx_runtime_1.jsx)(InsuranceBox_styled_1.Description, __assign({ "$size": size, htmlFor: "insuranceCheckbox" }, { children: isLoading ? (0, jsx_runtime_1.jsx)(Loader_1.default, { type: "wave" }) : (0, jsx_runtime_1.jsx)("div", { dangerouslySetInnerHTML: { __html: "Hasar g\u00FCvenceni %100\u2019e ".concat(isTitleWrap ? "<br/>" : '', "tamamlars\u0131n! <b>").concat(priceText, "</b>") } }) })), (0, jsx_runtime_1.jsx)("label", __assign({ htmlFor: "nothing" }, { children: (0, jsx_runtime_1.jsx)(Tooltip_1.default, __assign({ popupSize: popupSize, title: tooltipTitle, position: tooltipPosition, hasCloseOnOutsideClick: hasCloseOnOutsideClick, hasClickAction: true, popupWidth: popupWidth, popupRight: popupRight, iconWidth: "24px", iconHeight: "24px" }, { children: tooltipDescription || ((0, jsx_runtime_1.jsx)(InsuranceBox_styled_1.TooltipDescription, { children: insuranceText })) })) }))] }))] }))] })));
27
27
  };
28
28
  exports.default = InsuranceBox;
@@ -59,5 +59,5 @@ exports.Popup = styled_components_1.default.div(templateObject_6 || (templateObj
59
59
  return "\n left: 50%;\n bottom: calc(100% + 10px);\n transform: translateX(-50%);\n ";
60
60
  }
61
61
  }, devices_1.devices.xl, function (props) { return props.$popupRight || props.$popupRightSm || "-1.5rem"; });
62
- exports.PopupWrapper = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n width: ", ";\n height: 100%;\n"], ["\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n width: ", ";\n height: 100%;\n"])), function (props) { return props.$iconWidth ? props.$iconWidth : "16px"; });
62
+ exports.PopupWrapper = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n width: ", ";\n height: 100%;\n user-select: none;\n pointer-events: none;\n"], ["\n position: absolute;\n left: 0;\n top: 50%;\n transform: translateY(-50%);\n width: ", ";\n height: 100%;\n user-select: none;\n pointer-events: none;\n"])), function (props) { return props.$iconWidth ? props.$iconWidth : "16px"; });
63
63
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "krl-alfred",
3
- "version": "2.17.55",
3
+ "version": "2.17.56",
4
4
  "files": [
5
5
  "dist"
6
6
  ],