synthesisui 0.16.45 → 0.16.46
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.
|
@@ -53,8 +53,13 @@ function looksLikeType(source, at) {
|
|
|
53
53
|
* string, which the drift scanner already reads value by value, and listing it
|
|
54
54
|
* here buries the one prop that matters (`variant`, `tone`, `size`) under forty
|
|
55
55
|
* utility classes. The rest are plumbing or accessibility, never a variant axis.
|
|
56
|
+
*
|
|
57
|
+
* CONTENT PROPS joined them after a real dashboard was read (dono, 30/07):
|
|
58
|
+
* `title(One-Click Opt-In|Domain Setup|Subscribers Page - Home)` is four pieces
|
|
59
|
+
* of copy wearing the shape of a variant axis. An axis is a closed set somebody
|
|
60
|
+
* designed; a title is whatever that screen happens to say.
|
|
56
61
|
*/
|
|
57
|
-
const NOT_A_DECISION = /^(class|className|style|key|ref|id|href|src|alt|type|name|value|placeholder|children|on[A-Z]|data-|aria-)/;
|
|
62
|
+
const NOT_A_DECISION = /^(class|className|style|key|ref|id|href|src|alt|type|name|value|placeholder|children|on[A-Z]|data-|aria-|title|label|text|heading|subtitle|caption|description|message|content|tooltip|hint|error|helper)$|^(class|className|on[A-Z]|data-|aria-)/;
|
|
58
63
|
/** `import X, { A, B as C } from "spec"` - who owns each local name. */
|
|
59
64
|
const IMPORT = /import\s+(?:type\s+)?([\s\S]*?)\s+from\s+["']([^"']+)["']/g;
|
|
60
65
|
function importedNames(source, internal = []) {
|
package/package.json
CHANGED