@threadlabs/looma 0.47.1 → 0.47.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.
Files changed (129) hide show
  1. package/components/ui-card/ui-card.html +39 -5
  2. package/components/ui-card-group/ui-card-group.html +29 -0
  3. package/components/ui-combobox/ui-combobox.html +24 -4
  4. package/components/ui-combobox/ui-combobox.js +6 -0
  5. package/components/ui-site-header/ui-site-header.html +7 -5
  6. package/components/ui-top-bar/ui-top-bar.html +32 -2
  7. package/components/ui-top-bar/ui-top-bar.js +60 -0
  8. package/dist/index.js +4 -3
  9. package/docs/catalog.json +190 -4
  10. package/package.json +1 -1
  11. package/styles/ui-card-group.css +41 -0
  12. package/styles/ui-card.css +19 -1
  13. package/styles/ui-combobox.css +42 -6
  14. package/styles/ui-site-header.css +14 -10
  15. package/styles/ui-top-bar.css +24 -1
  16. package/vanilla/UiCard.js +148 -36
  17. package/vanilla/UiCardGroup.d.ts +25 -0
  18. package/vanilla/UiCardGroup.js +59 -0
  19. package/vanilla/UiCombobox.d.ts +1 -0
  20. package/vanilla/UiCombobox.js +88 -82
  21. package/vanilla/UiTopBar.d.ts +1 -0
  22. package/vanilla/UiTopBar.js +50 -13
  23. package/vanilla/index.js +1 -0
  24. package/vue/UiCard.d.ts +20 -4
  25. package/vue/UiCard.vue +31 -5
  26. package/vue/UiCardGroup.d.ts +41 -0
  27. package/vue/UiCardGroup.js +2 -0
  28. package/vue/UiCardGroup.vue +168 -0
  29. package/vue/UiCombobox.d.ts +6 -0
  30. package/vue/UiCombobox.vue +78 -9
  31. package/vue/UiSiteHeader.vue +12 -8
  32. package/vue/UiTopBar.d.ts +17 -1
  33. package/vue/UiTopBar.vue +171 -3
  34. package/vue/chunks/UiAffordanceScope.js +1 -1
  35. package/vue/chunks/UiAvatar.js +1 -1
  36. package/vue/chunks/UiAvatarGroup.js +1 -1
  37. package/vue/chunks/UiBadge.js +1 -1
  38. package/vue/chunks/UiBreadcrumbItem.js +1 -1
  39. package/vue/chunks/UiBreadcrumbs.js +1 -1
  40. package/vue/chunks/UiButton.js +1 -1
  41. package/vue/chunks/UiCallout.js +1 -1
  42. package/vue/chunks/UiCard.js +74 -10
  43. package/vue/chunks/UiCardGroup.js +153 -0
  44. package/vue/chunks/UiCheckbox.js +1 -1
  45. package/vue/chunks/UiCluster.js +1 -1
  46. package/vue/chunks/UiColorPicker.js +1 -1
  47. package/vue/chunks/UiCombobox.js +74 -53
  48. package/vue/chunks/UiContainer.js +1 -1
  49. package/vue/chunks/UiContextMenu.js +1 -1
  50. package/vue/chunks/UiCover.js +1 -1
  51. package/vue/chunks/UiCurveEditor.js +1 -1
  52. package/vue/chunks/UiCycleButton.js +1 -1
  53. package/vue/chunks/UiDescriptionItem.js +1 -1
  54. package/vue/chunks/UiDescriptionList.js +1 -1
  55. package/vue/chunks/UiDialog.js +1 -1
  56. package/vue/chunks/UiDisclosure.js +1 -1
  57. package/vue/chunks/UiEditable.js +1 -1
  58. package/vue/chunks/UiEditorBlockActions.js +1 -1
  59. package/vue/chunks/UiEditorChipEditor.js +1 -1
  60. package/vue/chunks/UiEditorCodeLanguage.js +1 -1
  61. package/vue/chunks/UiEditorFootnoteEditor.js +1 -1
  62. package/vue/chunks/UiEditorImageToolbar.js +1 -1
  63. package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
  64. package/vue/chunks/UiEditorLinkCard.js +1 -1
  65. package/vue/chunks/UiEditorLinkForm.js +1 -1
  66. package/vue/chunks/UiEditorMentionMenu.js +1 -1
  67. package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
  68. package/vue/chunks/UiEditorSlashMenu.js +1 -1
  69. package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
  70. package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
  71. package/vue/chunks/UiEditorSurface.js +1 -1
  72. package/vue/chunks/UiEditorTableContextMenu.js +1 -1
  73. package/vue/chunks/UiEditorTableOverlay.js +1 -1
  74. package/vue/chunks/UiEditorTableToolbar.js +1 -1
  75. package/vue/chunks/UiEditorToolbar.js +1 -1
  76. package/vue/chunks/UiFloatingActionButton.js +1 -1
  77. package/vue/chunks/UiFormField.js +1 -1
  78. package/vue/chunks/UiGrid.js +1 -1
  79. package/vue/chunks/UiIcon.js +1 -1
  80. package/vue/chunks/UiIconButton.js +1 -1
  81. package/vue/chunks/UiImage.js +1 -1
  82. package/vue/chunks/UiInput.js +1 -1
  83. package/vue/chunks/UiInputGroup.js +1 -1
  84. package/vue/chunks/UiLightEditor.js +1 -1
  85. package/vue/chunks/UiList.js +1 -1
  86. package/vue/chunks/UiListItem.js +1 -1
  87. package/vue/chunks/UiListbox.js +1 -1
  88. package/vue/chunks/UiMenu.js +1 -1
  89. package/vue/chunks/UiMenuGroup.js +1 -1
  90. package/vue/chunks/UiMenuItem.js +1 -1
  91. package/vue/chunks/UiMeter.js +1 -1
  92. package/vue/chunks/UiNavItem.js +1 -1
  93. package/vue/chunks/UiNumberInput.js +1 -1
  94. package/vue/chunks/UiPageHeader.js +1 -1
  95. package/vue/chunks/UiPagination.js +1 -1
  96. package/vue/chunks/UiPopover.js +1 -1
  97. package/vue/chunks/UiRadio.js +1 -1
  98. package/vue/chunks/UiRadioGroup.js +1 -1
  99. package/vue/chunks/UiReel.js +1 -1
  100. package/vue/chunks/UiScrollArea.js +1 -1
  101. package/vue/chunks/UiSearchResultRow.js +1 -1
  102. package/vue/chunks/UiSearchShell.js +1 -1
  103. package/vue/chunks/UiSection.js +1 -1
  104. package/vue/chunks/UiSelect.js +1 -1
  105. package/vue/chunks/UiSeparator.js +1 -1
  106. package/vue/chunks/UiSidebar.js +1 -1
  107. package/vue/chunks/UiSiteHeader.js +2 -2
  108. package/vue/chunks/UiSkeleton.js +1 -1
  109. package/vue/chunks/UiSlider.js +1 -1
  110. package/vue/chunks/UiSpinner.js +1 -1
  111. package/vue/chunks/UiStack.js +1 -1
  112. package/vue/chunks/UiStatusMessage.js +1 -1
  113. package/vue/chunks/UiSwatch.js +1 -1
  114. package/vue/chunks/UiSwitch.js +1 -1
  115. package/vue/chunks/UiSwitcher.js +1 -1
  116. package/vue/chunks/UiTable.js +1 -1
  117. package/vue/chunks/UiTabs.js +1 -1
  118. package/vue/chunks/UiText.js +1 -1
  119. package/vue/chunks/UiTextarea.js +1 -1
  120. package/vue/chunks/UiToast.js +1 -1
  121. package/vue/chunks/UiToastRegion.js +1 -1
  122. package/vue/chunks/UiTooltip.js +1 -1
  123. package/vue/chunks/UiTopBar.js +105 -17
  124. package/vue/chunks/UiTree.js +1 -1
  125. package/vue/chunks/UiTreeItem.js +1 -1
  126. package/vue/chunks/props.js +1 -1
  127. package/vue/components.css +185 -77
  128. package/vue/index.d.ts +1 -0
  129. package/vue/index.js +3 -2
package/vanilla/UiCard.js CHANGED
@@ -2,15 +2,23 @@
2
2
  import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, armElement, replaceRoot, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-card.css";
4
4
 
5
- const T0 = ["",[],4];
5
+ const T0 = ["",[],"\n ",["div",["class","header"],4],"\n ",["div",["class","content"],4],"\n ",["div",["class","actions"],4],"\n "];
6
6
  const T1 = ["",[]];
7
- const T2 = ["",[],4];
7
+ const T2 = ["",[]];
8
8
  const T3 = ["",[]];
9
- const T4 = ["",[],4];
9
+ const T4 = ["",[],"\n ",["div",["class","header"],4],"\n ",["div",["class","content"],4],"\n ",["div",["class","actions"],4],"\n "];
10
10
  const T5 = ["",[]];
11
- const T6 = ["",[],4];
11
+ const T6 = ["",[]];
12
12
  const T7 = ["",[]];
13
- let P0, P1, P2, P3, P4, P5, P6, P7;
13
+ const T8 = ["",[],"\n ",["div",["class","header"],4],"\n ",["div",["class","content"],4],"\n ",["div",["class","actions"],4],"\n "];
14
+ const T9 = ["",[]];
15
+ const T10 = ["",[]];
16
+ const T11 = ["",[]];
17
+ const T12 = ["",[],"\n ",["div",["class","header"],4],"\n ",["div",["class","content"],4],"\n ",["div",["class","actions"],4],"\n "];
18
+ const T13 = ["",[]];
19
+ const T14 = ["",[]];
20
+ const T15 = ["",[]];
21
+ let P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15;
14
22
  const S = { n: [], t: [], f: import.meta.url, g: "ui-card", b: generatedInputs };
15
23
  const A = [["section",{},[],"",[],["data-ui-card-state","data-ui-card-prop-as","data-ui-card-prop-padding","data-ui-card-prop-size","data-ui-card-prop-tone","data-ui-card-prop-treatment","data-ui-card-prop-variant"]],["article",{},[],"",[],["data-ui-card-state","data-ui-card-prop-as","data-ui-card-prop-padding","data-ui-card-prop-size","data-ui-card-prop-tone","data-ui-card-prop-treatment","data-ui-card-prop-variant"]],["aside",{},[],"",[],["data-ui-card-state","data-ui-card-prop-as","data-ui-card-prop-padding","data-ui-card-prop-size","data-ui-card-prop-tone","data-ui-card-prop-treatment","data-ui-card-prop-variant"]],["div",{},[],"",[],["data-ui-card-state","data-ui-card-prop-as","data-ui-card-prop-padding","data-ui-card-prop-size","data-ui-card-prop-tone","data-ui-card-prop-treatment","data-ui-card-prop-variant"]]];
16
24
  const Q = [[],[],[],[]];
@@ -60,6 +68,14 @@ export function createUiCard(options = {}, html) {
60
68
  };
61
69
  const p1 = (r, c, d) => {
62
70
  };
71
+ const m2 = (d) => {
72
+ const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
73
+ const r = { n };
74
+ p2(r, -1, d);
75
+ return r;
76
+ };
77
+ const p2 = (r, c, d) => {
78
+ };
63
79
  const m3 = (d) => {
64
80
  const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
65
81
  const r = { n };
@@ -76,6 +92,14 @@ export function createUiCard(options = {}, html) {
76
92
  };
77
93
  const p5 = (r, c, d) => {
78
94
  };
95
+ const m6 = (d) => {
96
+ const n = (P6 ??= buildTemplate(T6)).cloneNode(true);
97
+ const r = { n };
98
+ p6(r, -1, d);
99
+ return r;
100
+ };
101
+ const p6 = (r, c, d) => {
102
+ };
79
103
  const m7 = (d) => {
80
104
  const n = (P7 ??= buildTemplate(T7)).cloneNode(true);
81
105
  const r = { n };
@@ -84,10 +108,62 @@ export function createUiCard(options = {}, html) {
84
108
  };
85
109
  const p7 = (r, c, d) => {
86
110
  };
111
+ const m9 = (d) => {
112
+ const n = (P9 ??= buildTemplate(T9)).cloneNode(true);
113
+ const r = { n };
114
+ p9(r, -1, d);
115
+ return r;
116
+ };
117
+ const p9 = (r, c, d) => {
118
+ };
119
+ const m10 = (d) => {
120
+ const n = (P10 ??= buildTemplate(T10)).cloneNode(true);
121
+ const r = { n };
122
+ p10(r, -1, d);
123
+ return r;
124
+ };
125
+ const p10 = (r, c, d) => {
126
+ };
127
+ const m11 = (d) => {
128
+ const n = (P11 ??= buildTemplate(T11)).cloneNode(true);
129
+ const r = { n };
130
+ p11(r, -1, d);
131
+ return r;
132
+ };
133
+ const p11 = (r, c, d) => {
134
+ };
135
+ const m13 = (d) => {
136
+ const n = (P13 ??= buildTemplate(T13)).cloneNode(true);
137
+ const r = { n };
138
+ p13(r, -1, d);
139
+ return r;
140
+ };
141
+ const p13 = (r, c, d) => {
142
+ };
143
+ const m14 = (d) => {
144
+ const n = (P14 ??= buildTemplate(T14)).cloneNode(true);
145
+ const r = { n };
146
+ p14(r, -1, d);
147
+ return r;
148
+ };
149
+ const p14 = (r, c, d) => {
150
+ };
151
+ const m15 = (d) => {
152
+ const n = (P15 ??= buildTemplate(T15)).cloneNode(true);
153
+ const r = { n };
154
+ p15(r, -1, d);
155
+ return r;
156
+ };
157
+ const p15 = (r, c, d) => {
158
+ };
87
159
  const m0 = (n, d) => {
88
160
  n.append((P0 ??= buildTemplate(T0)).cloneNode(true));
89
- const t0 = n.firstChild;
90
- const r = { n, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
161
+ const t0 = n.firstChild.nextSibling;
162
+ const t1 = t0.firstChild;
163
+ const t2 = t0.nextSibling.nextSibling;
164
+ const t3 = t2.firstChild;
165
+ const t4 = t2.nextSibling.nextSibling.firstChild;
166
+ const r = { n, v0: undefined, a0: t1, e0: t1.nextSibling, b0: undefined, f0: undefined, a1: t3, e1: t3.nextSibling, b1: undefined, f1: undefined, a2: t4, e2: t4.nextSibling, b2: undefined, f2: undefined };
91
167
  p0(r, -1, d);
92
168
  return r;
93
169
  };
@@ -97,62 +173,98 @@ export function createUiCard(options = {}, html) {
97
173
  const s0 = x0;
98
174
  if (s0 !== r.v0) writeAttribute(r.n, "data-ui-card-state", (r.v0 = s0) === "" ? null : s0);
99
175
  }
100
- if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "", J, false, undefined, d);
176
+ if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "header", J, false, undefined, d);
101
177
  if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m1(d); at.before(r.b0.n); } }
102
178
  else if (r.b0 !== undefined) p1(r.b0, c, d);
179
+ if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a1, r.e1, "", J, false, undefined, d);
180
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b1 = m2(d); at.before(r.b1.n); } }
181
+ else if (r.b1 !== undefined) p2(r.b1, c, d);
182
+ if (r.f2 === undefined) { r.f2 = 1; const at = fillSlot(r.a2, r.e2, "actions", J, false, undefined, d);
183
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b2 = m3(d); at.before(r.b2.n); } }
184
+ else if (r.b2 !== undefined) p3(r.b2, c, d);
103
185
  };
104
- const m2 = (n, d) => {
105
- n.append((P2 ??= buildTemplate(T2)).cloneNode(true));
106
- const t0 = n.firstChild;
107
- const r = { n, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
108
- p2(r, -1, d);
186
+ const m4 = (n, d) => {
187
+ n.append((P4 ??= buildTemplate(T4)).cloneNode(true));
188
+ const t0 = n.firstChild.nextSibling;
189
+ const t1 = t0.firstChild;
190
+ const t2 = t0.nextSibling.nextSibling;
191
+ const t3 = t2.firstChild;
192
+ const t4 = t2.nextSibling.nextSibling.firstChild;
193
+ const r = { n, v0: undefined, a0: t1, e0: t1.nextSibling, b0: undefined, f0: undefined, a1: t3, e1: t3.nextSibling, b1: undefined, f1: undefined, a2: t4, e2: t4.nextSibling, b2: undefined, f2: undefined };
194
+ p4(r, -1, d);
109
195
  return r;
110
196
  };
111
- const p2 = (r, c, d) => {
197
+ const p4 = (r, c, d) => {
112
198
  if (c & 62) {
113
199
  const x0 = hostState(["padding","variant","treatment","tone","size"], [v[1], v[5], v[4], v[3], v[2]]);
114
200
  const s0 = x0;
115
201
  if (s0 !== r.v0) writeAttribute(r.n, "data-ui-card-state", (r.v0 = s0) === "" ? null : s0);
116
202
  }
117
- if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "", J, false, undefined, d);
118
- if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m3(d); at.before(r.b0.n); } }
119
- else if (r.b0 !== undefined) p3(r.b0, c, d);
203
+ if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "header", J, false, undefined, d);
204
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m5(d); at.before(r.b0.n); } }
205
+ else if (r.b0 !== undefined) p5(r.b0, c, d);
206
+ if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a1, r.e1, "", J, false, undefined, d);
207
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b1 = m6(d); at.before(r.b1.n); } }
208
+ else if (r.b1 !== undefined) p6(r.b1, c, d);
209
+ if (r.f2 === undefined) { r.f2 = 1; const at = fillSlot(r.a2, r.e2, "actions", J, false, undefined, d);
210
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b2 = m7(d); at.before(r.b2.n); } }
211
+ else if (r.b2 !== undefined) p7(r.b2, c, d);
120
212
  };
121
- const m4 = (n, d) => {
122
- n.append((P4 ??= buildTemplate(T4)).cloneNode(true));
123
- const t0 = n.firstChild;
124
- const r = { n, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
125
- p4(r, -1, d);
213
+ const m8 = (n, d) => {
214
+ n.append((P8 ??= buildTemplate(T8)).cloneNode(true));
215
+ const t0 = n.firstChild.nextSibling;
216
+ const t1 = t0.firstChild;
217
+ const t2 = t0.nextSibling.nextSibling;
218
+ const t3 = t2.firstChild;
219
+ const t4 = t2.nextSibling.nextSibling.firstChild;
220
+ const r = { n, v0: undefined, a0: t1, e0: t1.nextSibling, b0: undefined, f0: undefined, a1: t3, e1: t3.nextSibling, b1: undefined, f1: undefined, a2: t4, e2: t4.nextSibling, b2: undefined, f2: undefined };
221
+ p8(r, -1, d);
126
222
  return r;
127
223
  };
128
- const p4 = (r, c, d) => {
224
+ const p8 = (r, c, d) => {
129
225
  if (c & 62) {
130
226
  const x0 = hostState(["padding","variant","treatment","tone","size"], [v[1], v[5], v[4], v[3], v[2]]);
131
227
  const s0 = x0;
132
228
  if (s0 !== r.v0) writeAttribute(r.n, "data-ui-card-state", (r.v0 = s0) === "" ? null : s0);
133
229
  }
134
- if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "", J, false, undefined, d);
135
- if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m5(d); at.before(r.b0.n); } }
136
- else if (r.b0 !== undefined) p5(r.b0, c, d);
230
+ if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "header", J, false, undefined, d);
231
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m9(d); at.before(r.b0.n); } }
232
+ else if (r.b0 !== undefined) p9(r.b0, c, d);
233
+ if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a1, r.e1, "", J, false, undefined, d);
234
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b1 = m10(d); at.before(r.b1.n); } }
235
+ else if (r.b1 !== undefined) p10(r.b1, c, d);
236
+ if (r.f2 === undefined) { r.f2 = 1; const at = fillSlot(r.a2, r.e2, "actions", J, false, undefined, d);
237
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b2 = m11(d); at.before(r.b2.n); } }
238
+ else if (r.b2 !== undefined) p11(r.b2, c, d);
137
239
  };
138
- const m6 = (n, d) => {
139
- n.append((P6 ??= buildTemplate(T6)).cloneNode(true));
140
- const t0 = n.firstChild;
141
- const r = { n, v0: undefined, a0: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
142
- p6(r, -1, d);
240
+ const m12 = (n, d) => {
241
+ n.append((P12 ??= buildTemplate(T12)).cloneNode(true));
242
+ const t0 = n.firstChild.nextSibling;
243
+ const t1 = t0.firstChild;
244
+ const t2 = t0.nextSibling.nextSibling;
245
+ const t3 = t2.firstChild;
246
+ const t4 = t2.nextSibling.nextSibling.firstChild;
247
+ const r = { n, v0: undefined, a0: t1, e0: t1.nextSibling, b0: undefined, f0: undefined, a1: t3, e1: t3.nextSibling, b1: undefined, f1: undefined, a2: t4, e2: t4.nextSibling, b2: undefined, f2: undefined };
248
+ p12(r, -1, d);
143
249
  return r;
144
250
  };
145
- const p6 = (r, c, d) => {
251
+ const p12 = (r, c, d) => {
146
252
  if (c & 62) {
147
253
  const x0 = hostState(["padding","variant","treatment","tone","size"], [v[1], v[5], v[4], v[3], v[2]]);
148
254
  const s0 = x0;
149
255
  if (s0 !== r.v0) writeAttribute(r.n, "data-ui-card-state", (r.v0 = s0) === "" ? null : s0);
150
256
  }
151
- if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "", J, false, undefined, d);
152
- if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m7(d); at.before(r.b0.n); } }
153
- else if (r.b0 !== undefined) p7(r.b0, c, d);
257
+ if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "header", J, false, undefined, d);
258
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m13(d); at.before(r.b0.n); } }
259
+ else if (r.b0 !== undefined) p13(r.b0, c, d);
260
+ if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a1, r.e1, "", J, false, undefined, d);
261
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b1 = m14(d); at.before(r.b1.n); } }
262
+ else if (r.b1 !== undefined) p14(r.b1, c, d);
263
+ if (r.f2 === undefined) { r.f2 = 1; const at = fillSlot(r.a2, r.e2, "actions", J, false, undefined, d);
264
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b2 = m15(d); at.before(r.b2.n); } }
265
+ else if (r.b2 !== undefined) p15(r.b2, c, d);
154
266
  };
155
- const M = [m0, m2, m4, m6], N = [p0, p2, p4, p6];
267
+ const M = [m0, m4, m8, m12], N = [p0, p4, p8, p12];
156
268
  let R;
157
269
  const p = (c, d) => {
158
270
  if (R === null) return;
@@ -0,0 +1,25 @@
1
+ // Generated by HTML Next 1.0.0-alpha.69 for Vanilla DOM. Do not edit.
2
+ export interface UiCardGroupEventMap {
3
+ }
4
+ export interface UiCardGroupElement extends HTMLDivElement {
5
+ addEventListener<K extends keyof UiCardGroupEventMap>(type: K, listener: (this: UiCardGroupElement, event: UiCardGroupEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
6
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiCardGroupElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
8
+ removeEventListener<K extends keyof UiCardGroupEventMap>(type: K, listener: (this: UiCardGroupElement, event: UiCardGroupEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
9
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiCardGroupElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
11
+ }
12
+ export interface UiCardGroupProps {
13
+ columns?: number | null;
14
+ gap?: "xs" | "s" | "m" | "l" | "xl" | null;
15
+ min?: "sm" | "md" | "lg" | null;
16
+ attributes?: Readonly<Record<string, string | number | boolean | null | undefined>>;
17
+ children?: readonly (string | Node)[];
18
+ slots?: Readonly<Record<string, readonly (string | Node)[]>>;
19
+ }
20
+ export declare function createUiCardGroup(props?: UiCardGroupProps): UiCardGroupElement;
21
+ declare global {
22
+ interface ComponentTagMap {
23
+ "ui-card-group": { element: UiCardGroupElement; props: Omit<UiCardGroupProps, "attributes" | "children" | "slots"> };
24
+ }
25
+ }
@@ -0,0 +1,59 @@
1
+ // Generated by HTML Next 1.0.0-alpha.69 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispose, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, checkInteger, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
+ import "../styles/ui-card-group.css";
4
+
5
+ const T0 = ["",[],"\n ",["ui-grid",[],4],"\n "];
6
+ const T1 = ["",[]];
7
+ let P0, P1;
8
+ const S = { n: [], t: [], f: import.meta.url, g: "ui-card-group", b: generatedInputs };
9
+ const D = { g: "ui-card-group", props: { "columns": { "required":false, c: checkInteger, t: "integer", j: 0, m: "i" }, "gap": { "required":false,"values":["xs","s","m","l","xl"],"default":"l", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "min": { "required":false,"values":["sm","md","lg"],"default":"lg", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
10
+
11
+ export function createUiCardGroup(options = {}, html) {
12
+ const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
13
+ const element = document.createElement("div");
14
+ for (const [name, value] of Object.entries(attributes)) {
15
+ if (value === null || value === undefined || value === false) continue;
16
+ element.setAttribute(name, value === true ? "" : String(value));
17
+ }
18
+ element.setAttribute("data-component", "ui-card-group");
19
+ element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
20
+ const v = [null, null, null];
21
+ const B = acceptProps(element, D, S.n, v, componentProps, [], html);
22
+ const m1 = (d) => {
23
+ const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
24
+ const r = { n };
25
+ p1(r, -1, d);
26
+ return r;
27
+ };
28
+ const p1 = (r, c, d) => {
29
+ };
30
+ const p0 = (r, c, d) => {
31
+ if (c & 1073741826) {
32
+ const x0 = v[1];
33
+ const s0 = toAttribute(x0, "gap");
34
+ if (s0 !== r.v0) writeAttribute(r.a0, "gap", r.v0 = s0);
35
+ }
36
+ if (c & 1073741828) {
37
+ const x1 = v[2];
38
+ const s1 = toAttribute(x1, "min");
39
+ if (s1 !== r.v1) writeAttribute(r.a0, "min", r.v1 = s1);
40
+ }
41
+ if (c & 1) {
42
+ const x2 = v[0];
43
+ const s2 = toAttribute(x2, "columns");
44
+ if (s2 !== r.v2) writeAttribute(r.a0, "columns", r.v2 = s2);
45
+ }
46
+ if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a1, r.e0, "", J, false, undefined, d);
47
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m1(d); at.before(r.b0.n); } }
48
+ else if (r.b0 !== undefined) p1(r.b0, c, d);
49
+ };
50
+ const t0 = element.firstChild.nextSibling;
51
+ const t1 = t0.firstChild;
52
+ const R = { a0: t0, v0: null, v1: null, v2: null, a1: t1, e0: t1.nextSibling, b0: undefined, f0: undefined };
53
+ const I = { B };
54
+ const J = project(I, children, slots);
55
+ attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
56
+ manageProps(I);
57
+ return element;
58
+ }
59
+ defineComponent("ui-card-group", createUiCardGroup, ["columns","gap","min"]);
@@ -35,6 +35,7 @@ export interface UiComboboxProps {
35
35
  label?: string | null;
36
36
  labelVisibility?: "visible" | "sr-only" | null;
37
37
  loading?: boolean | null;
38
+ maxRows?: number | null;
38
39
  multiple?: boolean | null;
39
40
  muted?: boolean | null;
40
41
  name?: string | null;