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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. 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", "error", "helperText", "ariaLabel", "ariaDescribedBy"];
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myoperator-ui",
3
- "version": "0.0.61",
3
+ "version": "0.0.62",
4
4
  "description": "CLI for adding myOperator UI components to your project",
5
5
  "type": "module",
6
6
  "exports": "./dist/index.js",