myoperator-ui 0.0.61 → 0.0.62
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.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -168,7 +168,7 @@ function prefixTailwindClasses(content, prefix) {
|
|
|
168
168
|
content = content.replace(
|
|
169
169
|
/(\w+):\s*"([^"]+)"/g,
|
|
170
170
|
(match, key, value) => {
|
|
171
|
-
const nonClassKeys = ["name", "description", "displayName", "type", "role", "id", "htmlFor", "for", "placeholder", "title", "alt", "src", "href", "target", "rel", "method", "action", "enctype", "accept", "pattern", "autocomplete", "value", "defaultValue", "label", "text", "message", "
|
|
171
|
+
const nonClassKeys = ["name", "description", "displayName", "type", "role", "id", "htmlFor", "for", "placeholder", "title", "alt", "src", "href", "target", "rel", "method", "action", "enctype", "accept", "pattern", "autocomplete", "value", "defaultValue", "label", "text", "message", "helperText", "ariaLabel", "ariaDescribedBy"];
|
|
172
172
|
if (nonClassKeys.includes(key)) return match;
|
|
173
173
|
if (!looksLikeTailwindClasses(value)) return match;
|
|
174
174
|
const prefixed = prefixClassString(value, prefix);
|