@waggylabs/yumekit 0.5.1 → 0.5.3
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/CHANGELOG.md +24 -0
- package/README.md +54 -63
- package/dist/ai/llm.txt +14 -11
- package/dist/ai/skill/examples/nav-layout.html +5 -5
- package/dist/ai/skill/examples/themed-app.html +6 -6
- package/dist/ai/skill/patterns.md +7 -7
- package/dist/ai/skill/reference.md +21 -18
- package/dist/components/y-appbar.js +45 -16
- package/dist/components/y-banner.js +44 -15
- package/dist/components/y-button/y-button.d.ts +11 -4
- package/dist/components/y-button.d.ts +11 -4
- package/dist/components/y-button.js +43 -14
- package/dist/components/y-checkbox.js +7 -1
- package/dist/components/y-code.js +9 -2
- package/dist/components/y-color.js +12 -2
- package/dist/components/y-colorpicker.js +12 -2
- package/dist/components/y-data-grid.js +83 -35
- package/dist/components/y-date.js +72 -30
- package/dist/components/y-datepicker.js +72 -30
- package/dist/components/y-dialog.js +1 -1
- package/dist/components/y-help.js +46 -17
- package/dist/components/y-input.js +11 -1
- package/dist/components/y-paginator.js +46 -17
- package/dist/components/y-select.js +1 -1
- package/dist/components/y-sidebar.js +45 -16
- package/dist/components/y-tabs/y-tabs.d.ts +17 -0
- package/dist/components/y-tabs.d.ts +17 -0
- package/dist/components/y-tabs.js +193 -8
- package/dist/components/y-tag/y-tag.d.ts +9 -2
- package/dist/components/y-tag.d.ts +9 -2
- package/dist/components/y-tag.js +36 -8
- package/dist/components/y-textarea.js +11 -1
- package/dist/index.js +341 -63
- package/dist/react.d.ts +5 -0
- package/dist/yumekit.min.js +1 -1
- package/llm.txt +14 -11
- package/package.json +1 -1
- package/scripts/install-ai-docs.js +93 -72
|
@@ -125,7 +125,10 @@ class YumeTextarea extends HTMLElement {
|
|
|
125
125
|
: "default";
|
|
126
126
|
}
|
|
127
127
|
set variant(val) {
|
|
128
|
-
this.setAttribute(
|
|
128
|
+
this.setAttribute(
|
|
129
|
+
"variant",
|
|
130
|
+
val === "underline" ? "underline" : "default",
|
|
131
|
+
);
|
|
129
132
|
}
|
|
130
133
|
|
|
131
134
|
/** @type {string} The current textarea value. */
|
|
@@ -182,6 +185,13 @@ class YumeTextarea extends HTMLElement {
|
|
|
182
185
|
// -------------------------------------------------------------------------
|
|
183
186
|
|
|
184
187
|
_bindTextareaListeners() {
|
|
188
|
+
this.inputContainer.addEventListener("mousedown", (e) => {
|
|
189
|
+
if (e.target !== this.textarea) {
|
|
190
|
+
e.preventDefault();
|
|
191
|
+
this.textarea.focus();
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
|
|
185
195
|
this.textarea.addEventListener("input", (e) => {
|
|
186
196
|
this.setAttribute("value", e.target.value);
|
|
187
197
|
this._internals.setFormValue(
|