@superinterface/react 3.17.0 → 3.17.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/index.cjs +11 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19106,7 +19106,7 @@ var require_generated = __commonJS({
|
|
|
19106
19106
|
exports.isTSVoidKeyword = isTSVoidKeyword;
|
|
19107
19107
|
exports.isTaggedTemplateExpression = isTaggedTemplateExpression;
|
|
19108
19108
|
exports.isTemplateElement = isTemplateElement;
|
|
19109
|
-
exports.isTemplateLiteral =
|
|
19109
|
+
exports.isTemplateLiteral = isTemplateLiteral2;
|
|
19110
19110
|
exports.isTerminatorless = isTerminatorless;
|
|
19111
19111
|
exports.isThisExpression = isThisExpression;
|
|
19112
19112
|
exports.isThisTypeAnnotation = isThisTypeAnnotation;
|
|
@@ -19509,7 +19509,7 @@ var require_generated = __commonJS({
|
|
|
19509
19509
|
if (node.type !== "TemplateElement") return false;
|
|
19510
19510
|
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
19511
19511
|
}
|
|
19512
|
-
function
|
|
19512
|
+
function isTemplateLiteral2(node, opts) {
|
|
19513
19513
|
if (!node) return false;
|
|
19514
19514
|
if (node.type !== "TemplateLiteral") return false;
|
|
19515
19515
|
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
@@ -38286,6 +38286,9 @@ var ListItem = function(_ref) {
|
|
|
38286
38286
|
return /* @__PURE__ */ _jsx24(Box6, {
|
|
38287
38287
|
pb: "1",
|
|
38288
38288
|
children: /* @__PURE__ */ _jsx24("li", {
|
|
38289
|
+
style: {
|
|
38290
|
+
wordBreak: "break-word"
|
|
38291
|
+
},
|
|
38289
38292
|
children: children
|
|
38290
38293
|
})
|
|
38291
38294
|
});
|
|
@@ -41509,6 +41512,12 @@ var isNodePureLiteral = function(node) {
|
|
|
41509
41512
|
if (Babel.isNumericLiteral(node) || Babel.isStringLiteral(node) || Babel.isBooleanLiteral(node) || Babel.isNullLiteral(node)) {
|
|
41510
41513
|
return true;
|
|
41511
41514
|
}
|
|
41515
|
+
if (Babel.isTemplateLiteral(node)) {
|
|
41516
|
+
if (node.expressions.length === 0) {
|
|
41517
|
+
return true;
|
|
41518
|
+
}
|
|
41519
|
+
return false;
|
|
41520
|
+
}
|
|
41512
41521
|
if (Babel.isObjectExpression(node)) {
|
|
41513
41522
|
return node.properties.every(function(prop) {
|
|
41514
41523
|
return Babel.isObjectProperty(prop) && !prop.computed && (Babel.isIdentifier(prop.key) || Babel.isStringLiteral(prop.key) || Babel.isNumericLiteral(prop.key)) && isNodePureLiteral(prop.value);
|