@threadlabs/looma 0.47.1 → 0.47.2
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/components/ui-combobox/ui-combobox.html +23 -4
- package/components/ui-combobox/ui-combobox.js +6 -0
- package/components/ui-top-bar/ui-top-bar.html +32 -2
- package/components/ui-top-bar/ui-top-bar.js +60 -0
- package/dist/index.js +4 -3
- package/docs/catalog.json +66 -3
- package/package.json +1 -1
- package/styles/ui-combobox.css +40 -6
- package/styles/ui-top-bar.css +24 -1
- package/vanilla/UiCombobox.d.ts +1 -0
- package/vanilla/UiCombobox.js +88 -82
- package/vanilla/UiTopBar.d.ts +1 -0
- package/vanilla/UiTopBar.js +50 -13
- package/vue/UiCombobox.d.ts +6 -0
- package/vue/UiCombobox.vue +76 -9
- package/vue/UiTopBar.d.ts +17 -1
- package/vue/UiTopBar.vue +171 -3
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +1 -1
- package/vue/chunks/UiBadge.js +1 -1
- package/vue/chunks/UiBreadcrumbItem.js +1 -1
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +1 -1
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiColorPicker.js +1 -1
- package/vue/chunks/UiCombobox.js +74 -53
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiCurveEditor.js +1 -1
- package/vue/chunks/UiCycleButton.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditable.js +1 -1
- package/vue/chunks/UiEditorBlockActions.js +1 -1
- package/vue/chunks/UiEditorChipEditor.js +1 -1
- package/vue/chunks/UiEditorCodeLanguage.js +1 -1
- package/vue/chunks/UiEditorFootnoteEditor.js +1 -1
- package/vue/chunks/UiEditorImageToolbar.js +1 -1
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorLinkCard.js +1 -1
- package/vue/chunks/UiEditorLinkForm.js +1 -1
- package/vue/chunks/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorSurface.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +1 -1
- package/vue/chunks/UiEditorTableToolbar.js +1 -1
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +1 -1
- package/vue/chunks/UiImage.js +1 -1
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiLightEditor.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +1 -1
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +1 -1
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiNumberInput.js +1 -1
- package/vue/chunks/UiPageHeader.js +1 -1
- package/vue/chunks/UiPagination.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +1 -1
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +1 -1
- package/vue/chunks/UiScrollArea.js +1 -1
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSiteHeader.js +1 -1
- package/vue/chunks/UiSkeleton.js +1 -1
- package/vue/chunks/UiSlider.js +1 -1
- package/vue/chunks/UiSpinner.js +1 -1
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +1 -1
- package/vue/chunks/UiSwatch.js +1 -1
- package/vue/chunks/UiSwitch.js +1 -1
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +1 -1
- package/vue/chunks/UiText.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +1 -1
- package/vue/chunks/UiTopBar.js +105 -17
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +1 -1
- package/vue/chunks/props.js +1 -1
- package/vue/components.css +65 -8
package/vue/chunks/UiTopBar.js
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { _ as nativeAttrs, a as checkHydratedRoot, t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import {
|
|
1
|
+
import { C as useReflectedProp, S as useComponentHost, _ as nativeAttrs, a as checkHydratedRoot, c as cycleCheckedComputed, s as createDispatch, t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
+
import { a as checkPropInput, d as inputRead, f as propValidityState, g as vuePropInputs, h as vPropValidity, i as acceptsControllerWrite, l as inputComputed, n as READY_INPUT, r as UNRESOLVED_INPUT, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
|
+
import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, normalizeClass, openBlock, provide, ref, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
3
4
|
//#region .build/vue/UiTopBar.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var _hoisted_1 =
|
|
5
|
-
class: "leading",
|
|
6
|
-
"data-hn-ui-top-bar": ""
|
|
7
|
-
};
|
|
5
|
+
var _hoisted_1 = ["data-ui-top-bar-prop-title-for"];
|
|
8
6
|
var _hoisted_2 = {
|
|
9
|
-
class: "
|
|
7
|
+
class: "leading",
|
|
10
8
|
"data-hn-ui-top-bar": ""
|
|
11
9
|
};
|
|
12
|
-
var _hoisted_3 =
|
|
10
|
+
var _hoisted_3 = ["aria-hidden", "inert"];
|
|
11
|
+
var _hoisted_4 = {
|
|
13
12
|
class: "search",
|
|
14
13
|
"data-hn-ui-top-bar": ""
|
|
15
14
|
};
|
|
16
|
-
var
|
|
15
|
+
var _hoisted_5 = {
|
|
17
16
|
class: "actions",
|
|
18
17
|
"data-hn-ui-top-bar": ""
|
|
19
18
|
};
|
|
@@ -22,20 +21,109 @@ var _hoisted_4 = {
|
|
|
22
21
|
var UiTopBar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
23
22
|
inheritAttrs: false,
|
|
24
23
|
__name: "UiTopBar",
|
|
24
|
+
props: {
|
|
25
|
+
titleFor: { type: null },
|
|
26
|
+
[BINDING_INPUTS_PROP]: { type: null }
|
|
27
|
+
},
|
|
25
28
|
setup(__props) {
|
|
29
|
+
const propValidityContract = { props: { titleFor: {
|
|
30
|
+
type: {
|
|
31
|
+
kind: "terminal",
|
|
32
|
+
name: "string"
|
|
33
|
+
},
|
|
34
|
+
required: false,
|
|
35
|
+
target: { attribute: "titlefor" },
|
|
36
|
+
description: "The ID of the page heading represented by the default title slot. While that heading is visible below the sticky bar, its duplicate title is concealed.\n After the heading scrolls above the bar, the single-line title slides up and fades in. Leading and action slots stay available, and the bar keeps its\n size. Omit it for an always-visible title. Reduced motion removes the transition.",
|
|
37
|
+
default: ""
|
|
38
|
+
} } };
|
|
39
|
+
const props = __props;
|
|
40
|
+
const inputTracking = vuePropInputs({ titleFor: "" }, { titleFor: "" }, (name, value, source, values) => {
|
|
41
|
+
switch (name) {
|
|
42
|
+
case "titleFor": return checkPropInput(value, {
|
|
43
|
+
kind: "terminal",
|
|
44
|
+
name: "string"
|
|
45
|
+
}, true, true);
|
|
46
|
+
default: return { ok: false };
|
|
47
|
+
}
|
|
48
|
+
}, () => {
|
|
49
|
+
checkedProps.value;
|
|
50
|
+
});
|
|
51
|
+
const propInputs = inputTracking.inputs;
|
|
52
|
+
const checkedProps = computed(() => {
|
|
53
|
+
inputTracking.version.value;
|
|
54
|
+
return { titleFor: propInputs.value("titleFor", props["titleFor"], props[BINDING_INPUTS_PROP]) };
|
|
55
|
+
});
|
|
56
|
+
checkedProps.value;
|
|
57
|
+
watchSyncEffect(() => {
|
|
58
|
+
checkedProps.value;
|
|
59
|
+
});
|
|
60
|
+
const reflectedProp = useReflectedProp();
|
|
61
|
+
const hydrationInstance = getCurrentInstance();
|
|
62
|
+
const root = ref(null);
|
|
63
|
+
const titleOutOfView = ref(false);
|
|
64
|
+
const titleHidden = inputComputed(() => inputRead(checkedProps.value.titleFor, propInputs.status("titleFor")) !== "" && !inputRead(titleOutOfView.value, titleOutOfView.value === void 0 ? UNRESOLVED_INPUT : READY_INPUT), (read) => {
|
|
65
|
+
const value = cycleCheckedComputed(read);
|
|
66
|
+
return { get: () => value.value };
|
|
67
|
+
});
|
|
68
|
+
provide("html-next:ui-top-bar:titleOutOfView", titleOutOfView);
|
|
26
69
|
checkHydratedRoot("header", "ui-top-bar");
|
|
70
|
+
const dispatch = createDispatch(root);
|
|
71
|
+
useComponentHost(() => import("@threadlabs/looma/components/ui-top-bar/ui-top-bar.js"), {
|
|
72
|
+
root,
|
|
73
|
+
module: true,
|
|
74
|
+
dispatch,
|
|
75
|
+
acceptsState: (name, keys, value) => acceptsControllerWrite(value, { titleOutOfView: {
|
|
76
|
+
kind: "terminal",
|
|
77
|
+
name: "boolean"
|
|
78
|
+
} }[name], keys),
|
|
79
|
+
initials: { titleOutOfView: false },
|
|
80
|
+
controllerSource: {
|
|
81
|
+
specifier: "../components/ui-top-bar/ui-top-bar.js",
|
|
82
|
+
definition: "./components/ui-top-bar/ui-top-bar.html"
|
|
83
|
+
},
|
|
84
|
+
props: checkedProps,
|
|
85
|
+
inputs: propInputs,
|
|
86
|
+
inputTracking,
|
|
87
|
+
propInputs: (name) => {
|
|
88
|
+
const incoming = hydrationInstance?.vnode.props;
|
|
89
|
+
const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
|
|
90
|
+
return incoming !== null && incoming !== void 0 ? incoming[name] ?? incoming[kebab] ?? null : null;
|
|
91
|
+
},
|
|
92
|
+
propNames: ["titleFor"],
|
|
93
|
+
propValidity: (name) => propValidityState({
|
|
94
|
+
contract: propValidityContract,
|
|
95
|
+
values: { ...props }
|
|
96
|
+
}, name),
|
|
97
|
+
state: { titleOutOfView },
|
|
98
|
+
computed: { titleHidden },
|
|
99
|
+
availability: { titleHidden: () => titleHidden.status() }
|
|
100
|
+
});
|
|
27
101
|
return (_ctx, _cache) => {
|
|
28
|
-
return openBlock(), createElementBlock("header", mergeProps({ class: "ui-top-bar" }, unref(nativeAttrs)(_ctx.$attrs), {
|
|
102
|
+
return withDirectives((openBlock(), createElementBlock("header", mergeProps({ class: "ui-top-bar" }, unref(nativeAttrs)(_ctx.$attrs), {
|
|
29
103
|
"data-hn": "",
|
|
30
|
-
"data-hn-ui-top-bar": ""
|
|
104
|
+
"data-hn-ui-top-bar": "",
|
|
105
|
+
"data-ui-top-bar-prop-title-for": unref(reflectedProp)("titleFor", "title-for", checkedProps.value.titleFor, void 0, false),
|
|
106
|
+
ref_key: "root",
|
|
107
|
+
ref: root
|
|
31
108
|
}), [
|
|
32
|
-
createElementVNode("div",
|
|
33
|
-
createElementVNode("div",
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
109
|
+
createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "leading", {}, void 0, true)]),
|
|
110
|
+
createElementVNode("div", {
|
|
111
|
+
class: normalizeClass(["title", {
|
|
112
|
+
"scroll-title": checkedProps.value.titleFor !== "",
|
|
113
|
+
concealed: unref(titleHidden).get()
|
|
114
|
+
}]),
|
|
115
|
+
"data-hn-ui-top-bar": "",
|
|
116
|
+
"aria-hidden": unref(titleHidden).get() ?? void 0,
|
|
117
|
+
inert: unref(titleHidden).get() ?? void 0
|
|
118
|
+
}, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 10, _hoisted_3),
|
|
119
|
+
createElementVNode("div", _hoisted_4, [renderSlot(_ctx.$slots, "search", {}, void 0, true)]),
|
|
120
|
+
createElementVNode("div", _hoisted_5, [renderSlot(_ctx.$slots, "actions", {}, void 0, true)])
|
|
121
|
+
], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
122
|
+
contract: propValidityContract,
|
|
123
|
+
values: { ...props }
|
|
124
|
+
}]]);
|
|
37
125
|
};
|
|
38
126
|
}
|
|
39
|
-
}), [["__scopeId", "data-v-
|
|
127
|
+
}), [["__scopeId", "data-v-9784238d"]]);
|
|
40
128
|
//#endregion
|
|
41
129
|
export { UiTopBar_default as t };
|
package/vue/chunks/UiTree.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as useReflectedProp, S as useComponentHost, _ as nativeAttrs, a as checkHydratedRoot, s as createDispatch, t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a as checkPropInput, f as propValidityState, g as vuePropInputs, h as vPropValidity, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
3
|
import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiTree.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
package/vue/chunks/UiTreeItem.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as useReflectedProp, S as useComponentHost, _ as nativeAttrs, a as checkHydratedRoot, i as attribute, o as concat, s as createDispatch, t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a as checkPropInput, f as propValidityState, g as vuePropInputs, h as vPropValidity, i as acceptsControllerWrite, t as BINDING_INPUTS_PROP } from "./props.js";
|
|
3
3
|
import { t as UiButton_default } from "./UiButton.js";
|
|
4
4
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withCtx, withDirectives } from "vue";
|
|
5
5
|
//#region .build/vue/UiTreeItem.vue?vue&type=script&setup=true&lang.ts
|
package/vue/chunks/props.js
CHANGED
|
@@ -1225,4 +1225,4 @@ function vuePropInputs(values, defaults, check, prepare) {
|
|
|
1225
1225
|
};
|
|
1226
1226
|
}
|
|
1227
1227
|
//#endregion
|
|
1228
|
-
export {
|
|
1228
|
+
export { checkPropInput as a, evaluateInput as c, inputRead as d, propValidityState as f, vuePropInputs as g, vPropValidity as h, acceptsControllerWrite as i, inputComputed as l, selectedPropNode as m, READY_INPUT as n, checkedProp as o, requireInputStatus as p, UNRESOLVED_INPUT as r, copyStateSeed as s, BINDING_INPUTS_PROP as t, inputDefault as u };
|
package/vue/components.css
CHANGED
|
@@ -2812,6 +2812,8 @@ input[type="range"]:where(:scope, :scope *) {
|
|
|
2812
2812
|
while the clear and disclosure controls remain fixed at the end of the field. */
|
|
2813
2813
|
/* Size variants keep their control height as selections are added. */
|
|
2814
2814
|
/* A large multiple field starts at the large control height, as sm starts at the small one. */
|
|
2815
|
+
/* Grow through the requested rows, then keep the typing row in a bounded field.
|
|
2816
|
+
The entry owns its scroll; clear/disclosure actions remain outside it. */
|
|
2815
2817
|
|
|
2816
2818
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2817
2819
|
@scope (.ui-combobox) to ([data-hn]) {
|
|
@@ -3097,6 +3099,7 @@ input:disabled:where([data-hn-ui-combobox]),button:disabled:where([data-hn-ui-co
|
|
|
3097
3099
|
}
|
|
3098
3100
|
}
|
|
3099
3101
|
:scope[data-ui-combobox-state~="multiple"] .field:where([data-hn-ui-combobox]) {
|
|
3102
|
+
--_item-row: 1.75rem;
|
|
3100
3103
|
align-items: center !important;
|
|
3101
3104
|
min-block-size: var(--_ui-combobox-item-min-block-size, var(--_row));
|
|
3102
3105
|
padding: var(--ui-space-1) !important;
|
|
@@ -3115,28 +3118,44 @@ input:disabled:where([data-hn-ui-combobox]),button:disabled:where([data-hn-ui-co
|
|
|
3115
3118
|
max-block-size: none;
|
|
3116
3119
|
flex: 1 0 var(--_ui-combobox-item-input-min-inline-size, 5rem);
|
|
3117
3120
|
width: auto;
|
|
3118
|
-
min-block-size:
|
|
3121
|
+
min-block-size: var(--_item-row);
|
|
3119
3122
|
padding: var(--ui-space-0-5) var(--ui-space-1) !important;
|
|
3120
3123
|
}
|
|
3121
3124
|
:scope[data-ui-combobox-state~="multiple"]:scope[data-ui-combobox-state~="size=sm"]
|
|
3122
3125
|
.field:where([data-hn-ui-combobox]) {
|
|
3126
|
+
--_item-row: calc(var(--_row) - 2 * var(--ui-border-width) - 2 * var(--ui-space-0-5));
|
|
3123
3127
|
min-block-size: 0;
|
|
3124
3128
|
padding: var(--ui-space-0-5) !important;
|
|
3125
3129
|
}
|
|
3126
3130
|
:scope[data-ui-combobox-state~="multiple"]:scope[data-ui-combobox-state~="size=sm"]
|
|
3127
3131
|
input:where([data-hn-ui-combobox]) {
|
|
3128
|
-
min-block-size:
|
|
3132
|
+
min-block-size: var(--_item-row);
|
|
3129
3133
|
padding: 0 var(--ui-space-1) !important;
|
|
3130
3134
|
}
|
|
3131
3135
|
:scope[data-ui-combobox-state~="multiple"]:scope[data-ui-combobox-state~="size=lg"]
|
|
3132
3136
|
.field:where([data-hn-ui-combobox]) {
|
|
3137
|
+
--_item-row: calc(
|
|
3138
|
+
var(--ui-control-size-lg) - 2 * var(--ui-border-width) - 2 * var(--ui-space-1)
|
|
3139
|
+
);
|
|
3133
3140
|
min-block-size: 0;
|
|
3134
3141
|
}
|
|
3135
3142
|
:scope[data-ui-combobox-state~="multiple"]:scope[data-ui-combobox-state~="size=lg"]
|
|
3136
3143
|
input:where([data-hn-ui-combobox]) {
|
|
3137
|
-
min-block-size:
|
|
3138
|
-
|
|
3144
|
+
min-block-size: var(--_item-row);
|
|
3145
|
+
}
|
|
3146
|
+
:scope[data-ui-combobox-state~="multiple"]
|
|
3147
|
+
.entry.multiline:where([data-hn-ui-combobox]) {
|
|
3148
|
+
--_entry-row: max(var(--ui-badge-min-block-size, 1.5rem), var(--_item-row));
|
|
3149
|
+
flex-wrap: wrap !important;
|
|
3150
|
+
align-content: flex-start !important;
|
|
3151
|
+
max-block-size: calc(
|
|
3152
|
+
var(--_max-rows) * var(--_entry-row) + (var(--_max-rows) - 1) * var(--ui-space-1)
|
|
3139
3153
|
);
|
|
3154
|
+
overflow-x: hidden;
|
|
3155
|
+
overflow-y: auto;
|
|
3156
|
+
}
|
|
3157
|
+
.entry.multiline .item:where([data-hn-ui-combobox]) {
|
|
3158
|
+
min-block-size: var(--_entry-row);
|
|
3140
3159
|
}
|
|
3141
3160
|
.item:where([data-hn-ui-combobox]) {
|
|
3142
3161
|
appearance: none;
|
|
@@ -3457,6 +3476,7 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
|
|
|
3457
3476
|
}
|
|
3458
3477
|
:where(.ui-combobox)[data-ui-combobox-state~="multiple"]
|
|
3459
3478
|
.field:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-combobox"]))):where([data-hn-ui-combobox]) {
|
|
3479
|
+
--_item-row: 1.75rem;
|
|
3460
3480
|
align-items: center !important;
|
|
3461
3481
|
min-block-size: var(--_ui-combobox-item-min-block-size, var(--_row));
|
|
3462
3482
|
padding: var(--ui-space-1) !important;
|
|
@@ -3477,28 +3497,44 @@ input:disabled:where(:scope, :scope *):where([data-hn-ui-combobox]),button:disab
|
|
|
3477
3497
|
max-block-size: none;
|
|
3478
3498
|
flex: 1 0 var(--_ui-combobox-item-input-min-inline-size, 5rem);
|
|
3479
3499
|
width: auto;
|
|
3480
|
-
min-block-size:
|
|
3500
|
+
min-block-size: var(--_item-row);
|
|
3481
3501
|
padding: var(--ui-space-0-5) var(--ui-space-1) !important;
|
|
3482
3502
|
}
|
|
3483
3503
|
:where(.ui-combobox)[data-ui-combobox-state~="multiple"]:where(.ui-combobox)[data-ui-combobox-state~="size=sm"]
|
|
3484
3504
|
.field:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-combobox"]))):where([data-hn-ui-combobox]) {
|
|
3505
|
+
--_item-row: calc(var(--_row) - 2 * var(--ui-border-width) - 2 * var(--ui-space-0-5));
|
|
3485
3506
|
min-block-size: 0;
|
|
3486
3507
|
padding: var(--ui-space-0-5) !important;
|
|
3487
3508
|
}
|
|
3488
3509
|
:where(.ui-combobox)[data-ui-combobox-state~="multiple"]:where(.ui-combobox)[data-ui-combobox-state~="size=sm"]
|
|
3489
3510
|
input:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-combobox"]))):where([data-hn-ui-combobox]) {
|
|
3490
|
-
min-block-size:
|
|
3511
|
+
min-block-size: var(--_item-row);
|
|
3491
3512
|
padding: 0 var(--ui-space-1) !important;
|
|
3492
3513
|
}
|
|
3493
3514
|
:where(.ui-combobox)[data-ui-combobox-state~="multiple"]:where(.ui-combobox)[data-ui-combobox-state~="size=lg"]
|
|
3494
3515
|
.field:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-combobox"]))):where([data-hn-ui-combobox]) {
|
|
3516
|
+
--_item-row: calc(
|
|
3517
|
+
var(--ui-control-size-lg) - 2 * var(--ui-border-width) - 2 * var(--ui-space-1)
|
|
3518
|
+
);
|
|
3495
3519
|
min-block-size: 0;
|
|
3496
3520
|
}
|
|
3497
3521
|
:where(.ui-combobox)[data-ui-combobox-state~="multiple"]:where(.ui-combobox)[data-ui-combobox-state~="size=lg"]
|
|
3498
3522
|
input:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-combobox"]))):where([data-hn-ui-combobox]) {
|
|
3499
|
-
min-block-size:
|
|
3500
|
-
|
|
3523
|
+
min-block-size: var(--_item-row);
|
|
3524
|
+
}
|
|
3525
|
+
:where(.ui-combobox)[data-ui-combobox-state~="multiple"]
|
|
3526
|
+
.entry.multiline:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-combobox"]))):where([data-hn-ui-combobox]) {
|
|
3527
|
+
--_entry-row: max(var(--ui-badge-min-block-size, 1.5rem), var(--_item-row));
|
|
3528
|
+
flex-wrap: wrap !important;
|
|
3529
|
+
align-content: flex-start !important;
|
|
3530
|
+
max-block-size: calc(
|
|
3531
|
+
var(--_max-rows) * var(--_entry-row) + (var(--_max-rows) - 1) * var(--ui-space-1)
|
|
3501
3532
|
);
|
|
3533
|
+
overflow-x: hidden;
|
|
3534
|
+
overflow-y: auto;
|
|
3535
|
+
}
|
|
3536
|
+
.entry.multiline:where(:scope, :scope *) .item:where([data-hn-ui-combobox]) {
|
|
3537
|
+
min-block-size: var(--_entry-row);
|
|
3502
3538
|
}
|
|
3503
3539
|
.item:where(:scope, :scope *):where([data-hn-ui-combobox]) {
|
|
3504
3540
|
appearance: none;
|
|
@@ -11859,6 +11895,27 @@ to {
|
|
|
11859
11895
|
min-inline-size: 0;
|
|
11860
11896
|
flex: 1;
|
|
11861
11897
|
}
|
|
11898
|
+
.title.scroll-title:where([data-hn-ui-top-bar]) {
|
|
11899
|
+
overflow: hidden;
|
|
11900
|
+
white-space: nowrap;
|
|
11901
|
+
text-overflow: ellipsis;
|
|
11902
|
+
opacity: 1;
|
|
11903
|
+
transform: translateY(0);
|
|
11904
|
+
transition:
|
|
11905
|
+
opacity var(--ui-motion-fast) var(--ui-motion-ease),
|
|
11906
|
+
transform var(--ui-motion-fast) var(--ui-motion-ease);
|
|
11907
|
+
}
|
|
11908
|
+
.title.scroll-title.concealed:where([data-hn-ui-top-bar]) {
|
|
11909
|
+
opacity: 0;
|
|
11910
|
+
transform: translateY(var(--ui-space-2));
|
|
11911
|
+
pointer-events: none;
|
|
11912
|
+
}
|
|
11913
|
+
@media (prefers-reduced-motion: reduce) {
|
|
11914
|
+
.title.scroll-title:where([data-hn-ui-top-bar]),.title.scroll-title.concealed:where([data-hn-ui-top-bar]) {
|
|
11915
|
+
transition: none;
|
|
11916
|
+
transform: none;
|
|
11917
|
+
}
|
|
11918
|
+
}
|
|
11862
11919
|
.leading:empty:where([data-hn-ui-top-bar]),.search:empty:where([data-hn-ui-top-bar]),.actions:empty:where([data-hn-ui-top-bar]) {
|
|
11863
11920
|
display: none !important;
|
|
11864
11921
|
}
|