@plastic-js/tsumiki 0.1.63 → 0.1.64
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.
|
@@ -360,13 +360,8 @@ var Item = (props) => {
|
|
|
360
360
|
};
|
|
361
361
|
var List = () => {
|
|
362
362
|
const ctx = useSelect();
|
|
363
|
-
let filterInputEl = null;
|
|
364
|
-
createEffect(() => {
|
|
365
|
-
if (ctx.open() && ctx.filter) queueMicrotask(() => filterInputEl?.focus());
|
|
366
|
-
});
|
|
367
363
|
const handleFilterClear = () => {
|
|
368
364
|
ctx.query("");
|
|
369
|
-
filterInputEl?.focus();
|
|
370
365
|
};
|
|
371
366
|
return jsx("div", mergeProps(() => part("list"), {
|
|
372
367
|
className: listClass,
|
|
@@ -377,9 +372,6 @@ var List = () => {
|
|
|
377
372
|
const _el3 = _el0.firstChild.nextSibling.nextSibling;
|
|
378
373
|
insert(_el1, () => jsx(Icon, mergeProps({ svg: searchSvg })));
|
|
379
374
|
setProp(_el1, "className", () => filterIconClass);
|
|
380
|
-
setProp(_el2, "ref", (el) => {
|
|
381
|
-
filterInputEl = el;
|
|
382
|
-
});
|
|
383
375
|
setProp(_el2, "className", () => `${filterInputClass} ${intentClasses[ctx.intent()] ?? intentClasses.default} ${ctx.invalid() ? errorClass : ""}`);
|
|
384
376
|
setProp(_el2, "value", () => ctx.query);
|
|
385
377
|
setProp(_el2, "onInput", (e) => ctx.query(e.target.value));
|
package/dist/components/Tabs.js
CHANGED
|
@@ -22,6 +22,8 @@ var triggerClass = css({
|
|
|
22
22
|
fontSize: "var(--tsu-comp-font-size-md)",
|
|
23
23
|
fontFamily: "inherit",
|
|
24
24
|
cursor: "pointer",
|
|
25
|
+
userSelect: "none",
|
|
26
|
+
WebkitUserSelect: "none",
|
|
25
27
|
whiteSpace: "nowrap",
|
|
26
28
|
"&[data-selected]": { color: "var(--tsu-accent-subtle-fg)" },
|
|
27
29
|
"&[data-disabled]": {
|