@trycourier/react-preferences
Advanced tools
Comparing version 0.1.10-internal.9798bde.0 to 0.1.11-internal.24c218d.0
@@ -27,3 +27,3 @@ "use strict"; | ||
componentId: "e8mhi3-0" | ||
})(["border-bottom:1px solid #dadce0;padding:12px 18px;margin-top:8px;background:#f9fafb;border-radius:4px;color:#333;h4{font-size:14px;white-space:nowrap;text-overflow:ellipsis;width:100%;margin-bottom:6px;}"]); | ||
})(["border-bottom:1px solid #dadce0;padding:12px 18px;margin-top:8px;background:#f9fafb;border-radius:4px;color:#333;.template-name{font-size:14px;white-space:nowrap;text-overflow:ellipsis;width:100%;margin-bottom:6px;font-weight:bold;}"]); | ||
@@ -49,3 +49,5 @@ var PreferenceTemplate = function PreferenceTemplate(_ref) { | ||
return /*#__PURE__*/_react["default"].createElement(StyledItem, null, /*#__PURE__*/_react["default"].createElement("h4", null, preferenceTemplate.templateName), /*#__PURE__*/_react["default"].createElement(_Status.StatusPreference, { | ||
return /*#__PURE__*/_react["default"].createElement(StyledItem, null, /*#__PURE__*/_react["default"].createElement("div", { | ||
className: "template-name" | ||
}, preferenceTemplate.templateName), /*#__PURE__*/_react["default"].createElement(_Status.StatusPreference, { | ||
value: (preferenceTemplate === null || preferenceTemplate === void 0 ? void 0 : preferenceTemplate.defaultStatus) === "REQUIRED" ? "REQUIRED" : (_recipientPreference$ = recipientPreference === null || recipientPreference === void 0 ? void 0 : recipientPreference.status) !== null && _recipientPreference$ !== void 0 ? _recipientPreference$ : preferenceTemplate === null || preferenceTemplate === void 0 ? void 0 : preferenceTemplate.defaultStatus, | ||
@@ -52,0 +54,0 @@ onPreferenceChange: handleOnPreferenceChange |
@@ -15,3 +15,3 @@ "use strict"; | ||
componentId: "sc-10qmboz-0" | ||
})(["display:flex;height:16px;label{margin:0;}.react-toggle{touch-action:pan-x;display:inline-block;position:relative;cursor:pointer;background-color:transparent;border:0;padding:0;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent;}.react-toggle-screenreader-only{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;}.react-toggle--disabled{cursor:not-allowed;opacity:0.5;transition:opacity 0.25s;}.react-toggle-track{width:40px;height:12px;padding:0;border-radius:30px;background-color:#eae7eb;transition:all 0.2s ease;}.react-toggle-thumb{height:30px;}.react-toggle--checked .react-toggle-track{opacity:0.5;background-color:", ";}.react-toggle-track-check{position:absolute;width:14px;height:10px;top:0px;bottom:0px;margin-top:auto;margin-bottom:auto;line-height:0;left:8px;opacity:0;transition:opacity 0.25s ease;}.react-toggle--checked .react-toggle-track-check{opacity:1;transition:opacity 0.25s ease;}.react-toggle-track-x{display:none;}.react-toggle-thumb{transition:all 0.5s cubic-bezier(0.23,1,0.32,1) 0ms;position:absolute;top:-10px;left:-12px;width:30px;height:30px;border-radius:50%;background-color:#fafafa;box-sizing:border-box;transition:all 0.25s ease;box-shadow:0px 1.5px 4.5px rgba(44,19,56,0.25);}.react-toggle--checked .react-toggle-thumb{left:18px;background-color:", ";}.react-toggle--focus .react-toggle-thumb{box-shadow:0px 0px 2px 3px #0099e0;}.react-toggle:active:not(.react-toggle--disabled) .react-toggle-thumb{box-shadow:0px 0px 5px 5px #0099e0;}label{display:flex;width:Calc(100% - 48px);font-size:12px;color:#73819b;span{width:80%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}}"], function (_ref) { | ||
})(["display:flex;height:16px;label{margin:0;}.react-toggle{touch-action:pan-x;display:inline-block;position:relative;cursor:pointer;background-color:transparent;border:0;padding:0;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-tap-highlight-color:transparent;}.react-toggle-screenreader-only{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;}.react-toggle--disabled{cursor:not-allowed;opacity:0.5;transition:opacity 0.25s;}.react-toggle-track{width:35px;height:15px;padding:0;border-radius:30px;background-color:#eae7eb;transition:all 0.2s ease;}.react-toggle--checked .react-toggle-track{opacity:0.5;background-color:", ";}.react-toggle-track-check{position:absolute;width:14px;height:10px;top:0px;bottom:0px;margin-top:auto;margin-bottom:auto;line-height:0;left:8px;opacity:0;transition:opacity 0.25s ease;}.react-toggle--checked .react-toggle-track-check{opacity:1;transition:opacity 0.25s ease;}.react-toggle-track-x{display:none;}.react-toggle-thumb{transition:all 0.5s cubic-bezier(0.23,1,0.32,1) 0ms;position:absolute;top:-3px;left:0px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;box-sizing:border-box;transition:all 0.25s ease;box-shadow:0px 1.5px 4.5px rgba(44,19,56,0.25);}.react-toggle--checked .react-toggle-thumb{left:18px;background-color:", ";}.react-toggle--focus .react-toggle-thumb{box-shadow:0px 0px 2px 3px #0099e0;}.react-toggle:active:not(.react-toggle--disabled) .react-toggle-thumb{box-shadow:0px 0px 5px 5px #0099e0;}label{display:flex;width:Calc(100% - 48px);font-size:12px;color:#73819b;span{width:80%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;}}"], function (_ref) { | ||
var _theme$brand$colors$p, _theme$brand, _theme$brand$colors; | ||
@@ -18,0 +18,0 @@ |
{ | ||
"name": "@trycourier/react-preferences", | ||
"version": "0.1.10-internal.9798bde.0+9798bde", | ||
"version": "0.1.11-internal.24c218d.0+24c218d", | ||
"main": "dist/index.js", | ||
@@ -28,3 +28,3 @@ "types": "typings/index.d.ts", | ||
}, | ||
"gitHead": "9798bde1c9c37d5db34c11f89e1202aae9223798" | ||
"gitHead": "24c218dfca304b3c89638dcf45ea10974d8945da" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
31464
463