@threadlabs/looma 0.13.1 → 0.13.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 (343) hide show
  1. package/components/ui-affordance-scope/ui-affordance-scope.html +9 -0
  2. package/components/ui-button/ui-button.html +18 -14
  3. package/components/ui-card/ui-card.html +8 -1
  4. package/components/ui-combobox/ui-combobox.html +1 -1
  5. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +2 -2
  6. package/components/ui-icon-button/ui-icon-button.html +1 -1
  7. package/components/ui-nav-item/ui-nav-item.html +28 -18
  8. package/components/ui-sidebar/ui-sidebar.html +1 -1
  9. package/components/ui-text/ui-text.html +11 -1
  10. package/dist/index.js +1 -1
  11. package/package.json +2 -2
  12. package/styles/ui-action-bar.css +1 -1
  13. package/styles/ui-affordance-scope.css +10 -2
  14. package/styles/ui-avatar-group.css +1 -1
  15. package/styles/ui-avatar.css +1 -1
  16. package/styles/ui-badge.css +1 -1
  17. package/styles/ui-breadcrumb-item.css +1 -1
  18. package/styles/ui-breadcrumbs.css +1 -1
  19. package/styles/ui-button.css +1 -1
  20. package/styles/ui-callout.css +1 -1
  21. package/styles/ui-card.css +1 -1
  22. package/styles/ui-checkbox.css +1 -1
  23. package/styles/ui-cluster.css +1 -1
  24. package/styles/ui-combobox.css +1 -1
  25. package/styles/ui-container.css +1 -1
  26. package/styles/ui-context-menu.css +1 -1
  27. package/styles/ui-cover.css +1 -1
  28. package/styles/ui-description-item.css +1 -1
  29. package/styles/ui-description-list.css +1 -1
  30. package/styles/ui-dialog.css +1 -1
  31. package/styles/ui-disclosure.css +1 -1
  32. package/styles/ui-editable.css +1 -1
  33. package/styles/ui-editor-insert-table-grid.css +1 -1
  34. package/styles/ui-editor-mention-menu.css +1 -1
  35. package/styles/ui-editor-slash-menu.css +1 -1
  36. package/styles/ui-editor-table-context-menu.css +1 -1
  37. package/styles/ui-editor-table-overlay.css +3 -3
  38. package/styles/ui-editor-table-toolbar.css +1 -1
  39. package/styles/ui-editor-toolbar.css +1 -1
  40. package/styles/ui-floating-action-button.css +1 -1
  41. package/styles/ui-form-field.css +1 -1
  42. package/styles/ui-grid.css +1 -1
  43. package/styles/ui-icon-button.css +2 -2
  44. package/styles/ui-icon.css +1 -1
  45. package/styles/ui-input-group.css +1 -1
  46. package/styles/ui-input.css +1 -1
  47. package/styles/ui-list-item.css +1 -1
  48. package/styles/ui-list.css +1 -1
  49. package/styles/ui-menu-item.css +1 -1
  50. package/styles/ui-menu.css +1 -1
  51. package/styles/ui-nav-item.css +1 -1
  52. package/styles/ui-page-header.css +1 -1
  53. package/styles/ui-popover.css +1 -1
  54. package/styles/ui-radio-group.css +1 -1
  55. package/styles/ui-radio.css +1 -1
  56. package/styles/ui-reel.css +1 -1
  57. package/styles/ui-scroll-area.css +1 -1
  58. package/styles/ui-search-result-row.css +1 -1
  59. package/styles/ui-search-shell.css +1 -1
  60. package/styles/ui-section.css +1 -1
  61. package/styles/ui-select.css +1 -1
  62. package/styles/ui-separator.css +1 -1
  63. package/styles/ui-sidebar.css +2 -2
  64. package/styles/ui-spinner.css +1 -1
  65. package/styles/ui-stack.css +1 -1
  66. package/styles/ui-status-message.css +1 -1
  67. package/styles/ui-switch.css +1 -1
  68. package/styles/ui-switcher.css +1 -1
  69. package/styles/ui-tabs.css +1 -1
  70. package/styles/ui-text.css +1 -1
  71. package/styles/ui-textarea.css +1 -1
  72. package/styles/ui-toast-region.css +1 -1
  73. package/styles/ui-tooltip.css +1 -1
  74. package/styles/ui-top-bar.css +1 -1
  75. package/styles/ui-tree-item.css +1 -1
  76. package/styles/ui-tree.css +1 -1
  77. package/vanilla/UiActionBar.d.ts +1 -1
  78. package/vanilla/UiActionBar.js +2 -2
  79. package/vanilla/UiAffordanceScope.d.ts +2 -1
  80. package/vanilla/UiAffordanceScope.js +3 -3
  81. package/vanilla/UiAvatar.d.ts +1 -1
  82. package/vanilla/UiAvatar.js +2 -2
  83. package/vanilla/UiAvatarGroup.d.ts +1 -1
  84. package/vanilla/UiAvatarGroup.js +2 -2
  85. package/vanilla/UiBadge.d.ts +1 -1
  86. package/vanilla/UiBadge.js +2 -2
  87. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  88. package/vanilla/UiBreadcrumbItem.js +2 -2
  89. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  90. package/vanilla/UiBreadcrumbs.js +2 -2
  91. package/vanilla/UiButton.d.ts +3 -3
  92. package/vanilla/UiButton.js +46 -21
  93. package/vanilla/UiCallout.d.ts +1 -1
  94. package/vanilla/UiCallout.js +2 -2
  95. package/vanilla/UiCard.d.ts +3 -3
  96. package/vanilla/UiCard.js +67 -22
  97. package/vanilla/UiCheckbox.d.ts +1 -1
  98. package/vanilla/UiCheckbox.js +2 -2
  99. package/vanilla/UiCluster.d.ts +1 -1
  100. package/vanilla/UiCluster.js +2 -2
  101. package/vanilla/UiCombobox.d.ts +1 -1
  102. package/vanilla/UiCombobox.js +3 -3
  103. package/vanilla/UiContainer.d.ts +1 -1
  104. package/vanilla/UiContainer.js +2 -2
  105. package/vanilla/UiContextMenu.d.ts +1 -1
  106. package/vanilla/UiContextMenu.js +2 -2
  107. package/vanilla/UiCover.d.ts +1 -1
  108. package/vanilla/UiCover.js +2 -2
  109. package/vanilla/UiDescriptionItem.d.ts +1 -1
  110. package/vanilla/UiDescriptionItem.js +2 -2
  111. package/vanilla/UiDescriptionList.d.ts +1 -1
  112. package/vanilla/UiDescriptionList.js +2 -2
  113. package/vanilla/UiDialog.d.ts +1 -1
  114. package/vanilla/UiDialog.js +2 -2
  115. package/vanilla/UiDisclosure.d.ts +1 -1
  116. package/vanilla/UiDisclosure.js +2 -2
  117. package/vanilla/UiEditable.d.ts +1 -1
  118. package/vanilla/UiEditable.js +2 -2
  119. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  120. package/vanilla/UiEditorInsertTableGrid.js +2 -2
  121. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  122. package/vanilla/UiEditorMentionMenu.js +2 -2
  123. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  124. package/vanilla/UiEditorSlashMenu.js +2 -2
  125. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  126. package/vanilla/UiEditorTableContextMenu.js +2 -2
  127. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  128. package/vanilla/UiEditorTableOverlay.js +2 -2
  129. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  130. package/vanilla/UiEditorTableToolbar.js +2 -2
  131. package/vanilla/UiEditorToolbar.d.ts +1 -1
  132. package/vanilla/UiEditorToolbar.js +2 -2
  133. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  134. package/vanilla/UiFloatingActionButton.js +2 -2
  135. package/vanilla/UiFormField.d.ts +1 -1
  136. package/vanilla/UiFormField.js +2 -2
  137. package/vanilla/UiGrid.d.ts +1 -1
  138. package/vanilla/UiGrid.js +2 -2
  139. package/vanilla/UiIcon.d.ts +1 -1
  140. package/vanilla/UiIcon.js +2 -2
  141. package/vanilla/UiIconButton.d.ts +1 -1
  142. package/vanilla/UiIconButton.js +2 -2
  143. package/vanilla/UiInput.d.ts +1 -1
  144. package/vanilla/UiInput.js +2 -2
  145. package/vanilla/UiInputGroup.d.ts +1 -1
  146. package/vanilla/UiInputGroup.js +2 -2
  147. package/vanilla/UiList.d.ts +1 -1
  148. package/vanilla/UiList.js +2 -2
  149. package/vanilla/UiListItem.d.ts +1 -1
  150. package/vanilla/UiListItem.js +2 -2
  151. package/vanilla/UiMenu.d.ts +1 -1
  152. package/vanilla/UiMenu.js +2 -2
  153. package/vanilla/UiMenuItem.d.ts +1 -1
  154. package/vanilla/UiMenuItem.js +2 -2
  155. package/vanilla/UiNavItem.d.ts +3 -3
  156. package/vanilla/UiNavItem.js +106 -54
  157. package/vanilla/UiPageHeader.d.ts +1 -1
  158. package/vanilla/UiPageHeader.js +2 -2
  159. package/vanilla/UiPopover.d.ts +1 -1
  160. package/vanilla/UiPopover.js +2 -2
  161. package/vanilla/UiRadio.d.ts +1 -1
  162. package/vanilla/UiRadio.js +2 -2
  163. package/vanilla/UiRadioGroup.d.ts +1 -1
  164. package/vanilla/UiRadioGroup.js +2 -2
  165. package/vanilla/UiReel.d.ts +1 -1
  166. package/vanilla/UiReel.js +2 -2
  167. package/vanilla/UiScrollArea.d.ts +1 -1
  168. package/vanilla/UiScrollArea.js +2 -2
  169. package/vanilla/UiSearchResultRow.d.ts +1 -1
  170. package/vanilla/UiSearchResultRow.js +2 -2
  171. package/vanilla/UiSearchShell.d.ts +1 -1
  172. package/vanilla/UiSearchShell.js +2 -2
  173. package/vanilla/UiSection.d.ts +1 -1
  174. package/vanilla/UiSection.js +2 -2
  175. package/vanilla/UiSelect.d.ts +1 -1
  176. package/vanilla/UiSelect.js +2 -2
  177. package/vanilla/UiSeparator.d.ts +1 -1
  178. package/vanilla/UiSeparator.js +2 -2
  179. package/vanilla/UiSidebar.d.ts +1 -1
  180. package/vanilla/UiSidebar.js +2 -2
  181. package/vanilla/UiSpinner.d.ts +1 -1
  182. package/vanilla/UiSpinner.js +2 -2
  183. package/vanilla/UiStack.d.ts +1 -1
  184. package/vanilla/UiStack.js +2 -2
  185. package/vanilla/UiStatusMessage.d.ts +1 -1
  186. package/vanilla/UiStatusMessage.js +2 -2
  187. package/vanilla/UiSwitch.d.ts +1 -1
  188. package/vanilla/UiSwitch.js +2 -2
  189. package/vanilla/UiSwitcher.d.ts +1 -1
  190. package/vanilla/UiSwitcher.js +2 -2
  191. package/vanilla/UiTabs.d.ts +1 -1
  192. package/vanilla/UiTabs.js +2 -2
  193. package/vanilla/UiText.d.ts +3 -3
  194. package/vanilla/UiText.js +97 -28
  195. package/vanilla/UiTextarea.d.ts +1 -1
  196. package/vanilla/UiTextarea.js +2 -2
  197. package/vanilla/UiToastRegion.d.ts +1 -1
  198. package/vanilla/UiToastRegion.js +2 -2
  199. package/vanilla/UiTooltip.d.ts +1 -1
  200. package/vanilla/UiTooltip.js +2 -2
  201. package/vanilla/UiTopBar.d.ts +1 -1
  202. package/vanilla/UiTopBar.js +2 -2
  203. package/vanilla/UiTree.d.ts +1 -1
  204. package/vanilla/UiTree.js +2 -2
  205. package/vanilla/UiTreeItem.d.ts +1 -1
  206. package/vanilla/UiTreeItem.js +2 -2
  207. package/vue/UiActionBar.vue +1 -1
  208. package/vue/UiAffordanceScope.d.ts +2 -0
  209. package/vue/UiAffordanceScope.vue +10 -1
  210. package/vue/UiAvatar.vue +1 -1
  211. package/vue/UiAvatarGroup.vue +1 -1
  212. package/vue/UiBadge.vue +1 -1
  213. package/vue/UiBreadcrumbItem.vue +1 -1
  214. package/vue/UiBreadcrumbs.vue +1 -1
  215. package/vue/UiButton.d.ts +6 -4
  216. package/vue/UiButton.vue +14 -8
  217. package/vue/UiCallout.vue +1 -1
  218. package/vue/UiCard.d.ts +8 -2
  219. package/vue/UiCard.vue +27 -4
  220. package/vue/UiCheckbox.vue +1 -1
  221. package/vue/UiCluster.vue +1 -1
  222. package/vue/UiCombobox.vue +2 -2
  223. package/vue/UiContainer.vue +1 -1
  224. package/vue/UiContextMenu.vue +1 -1
  225. package/vue/UiCover.vue +1 -1
  226. package/vue/UiDescriptionItem.vue +1 -1
  227. package/vue/UiDescriptionList.vue +1 -1
  228. package/vue/UiDialog.vue +1 -1
  229. package/vue/UiDisclosure.vue +1 -1
  230. package/vue/UiEditable.vue +1 -1
  231. package/vue/UiEditorInsertTableGrid.vue +1 -1
  232. package/vue/UiEditorMentionMenu.vue +1 -1
  233. package/vue/UiEditorSlashMenu.vue +1 -1
  234. package/vue/UiEditorTableContextMenu.vue +1 -1
  235. package/vue/UiEditorTableOverlay.vue +3 -3
  236. package/vue/UiEditorTableToolbar.vue +1 -1
  237. package/vue/UiEditorToolbar.vue +1 -1
  238. package/vue/UiFloatingActionButton.vue +1 -1
  239. package/vue/UiFormField.vue +1 -1
  240. package/vue/UiGrid.vue +1 -1
  241. package/vue/UiIcon.vue +1 -1
  242. package/vue/UiIconButton.vue +2 -2
  243. package/vue/UiInput.vue +1 -1
  244. package/vue/UiInputGroup.vue +1 -1
  245. package/vue/UiList.vue +1 -1
  246. package/vue/UiListItem.vue +1 -1
  247. package/vue/UiMenu.vue +1 -1
  248. package/vue/UiMenuItem.vue +1 -1
  249. package/vue/UiNavItem.d.ts +10 -4
  250. package/vue/UiNavItem.vue +22 -5
  251. package/vue/UiPageHeader.vue +1 -1
  252. package/vue/UiPopover.vue +1 -1
  253. package/vue/UiRadio.vue +1 -1
  254. package/vue/UiRadioGroup.vue +1 -1
  255. package/vue/UiReel.vue +1 -1
  256. package/vue/UiScrollArea.vue +1 -1
  257. package/vue/UiSearchResultRow.vue +1 -1
  258. package/vue/UiSearchShell.vue +1 -1
  259. package/vue/UiSection.vue +1 -1
  260. package/vue/UiSelect.vue +1 -1
  261. package/vue/UiSeparator.vue +1 -1
  262. package/vue/UiSidebar.vue +2 -2
  263. package/vue/UiSpinner.vue +1 -1
  264. package/vue/UiStack.vue +1 -1
  265. package/vue/UiStatusMessage.vue +1 -1
  266. package/vue/UiSwitch.vue +1 -1
  267. package/vue/UiSwitcher.vue +1 -1
  268. package/vue/UiTabs.vue +1 -1
  269. package/vue/UiText.d.ts +14 -4
  270. package/vue/UiText.vue +37 -6
  271. package/vue/UiTextarea.vue +1 -1
  272. package/vue/UiToastRegion.vue +1 -1
  273. package/vue/UiTooltip.vue +1 -1
  274. package/vue/UiTopBar.vue +1 -1
  275. package/vue/UiTree.vue +1 -1
  276. package/vue/UiTreeItem.vue +1 -1
  277. package/vue/chunks/UiActionBar.js +1 -1
  278. package/vue/chunks/UiAffordanceScope.js +6 -3
  279. package/vue/chunks/UiAvatar.js +1 -1
  280. package/vue/chunks/UiAvatarGroup.js +1 -1
  281. package/vue/chunks/UiBadge.js +1 -1
  282. package/vue/chunks/UiBreadcrumbItem.js +1 -1
  283. package/vue/chunks/UiBreadcrumbs.js +1 -1
  284. package/vue/chunks/UiButton.js +28 -24
  285. package/vue/chunks/UiCallout.js +1 -1
  286. package/vue/chunks/UiCard.js +20 -6
  287. package/vue/chunks/UiCheckbox.js +1 -1
  288. package/vue/chunks/UiCluster.js +1 -1
  289. package/vue/chunks/UiCombobox.js +2 -2
  290. package/vue/chunks/UiContainer.js +1 -1
  291. package/vue/chunks/UiContextMenu.js +1 -1
  292. package/vue/chunks/UiCover.js +1 -1
  293. package/vue/chunks/UiDescriptionItem.js +1 -1
  294. package/vue/chunks/UiDescriptionList.js +1 -1
  295. package/vue/chunks/UiDialog.js +1 -1
  296. package/vue/chunks/UiDisclosure.js +1 -1
  297. package/vue/chunks/UiEditable.js +1 -1
  298. package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
  299. package/vue/chunks/UiEditorMentionMenu.js +1 -1
  300. package/vue/chunks/UiEditorSlashMenu.js +1 -1
  301. package/vue/chunks/UiEditorTableContextMenu.js +1 -1
  302. package/vue/chunks/UiEditorTableOverlay.js +1 -1
  303. package/vue/chunks/UiEditorTableToolbar.js +1 -1
  304. package/vue/chunks/UiEditorToolbar.js +1 -1
  305. package/vue/chunks/UiFloatingActionButton.js +1 -1
  306. package/vue/chunks/UiFormField.js +1 -1
  307. package/vue/chunks/UiGrid.js +1 -1
  308. package/vue/chunks/UiIcon.js +1 -1
  309. package/vue/chunks/UiIconButton.js +1 -1
  310. package/vue/chunks/UiInput.js +1 -1
  311. package/vue/chunks/UiInputGroup.js +1 -1
  312. package/vue/chunks/UiList.js +1 -1
  313. package/vue/chunks/UiListItem.js +1 -1
  314. package/vue/chunks/UiMenu.js +1 -1
  315. package/vue/chunks/UiMenuItem.js +1 -1
  316. package/vue/chunks/UiNavItem.js +58 -28
  317. package/vue/chunks/UiPageHeader.js +1 -1
  318. package/vue/chunks/UiPopover.js +1 -1
  319. package/vue/chunks/UiRadio.js +1 -1
  320. package/vue/chunks/UiRadioGroup.js +1 -1
  321. package/vue/chunks/UiReel.js +1 -1
  322. package/vue/chunks/UiScrollArea.js +1 -1
  323. package/vue/chunks/UiSearchResultRow.js +1 -1
  324. package/vue/chunks/UiSearchShell.js +1 -1
  325. package/vue/chunks/UiSection.js +1 -1
  326. package/vue/chunks/UiSelect.js +1 -1
  327. package/vue/chunks/UiSeparator.js +1 -1
  328. package/vue/chunks/UiSidebar.js +1 -1
  329. package/vue/chunks/UiSpinner.js +1 -1
  330. package/vue/chunks/UiStack.js +1 -1
  331. package/vue/chunks/UiStatusMessage.js +1 -1
  332. package/vue/chunks/UiSwitch.js +1 -1
  333. package/vue/chunks/UiSwitcher.js +1 -1
  334. package/vue/chunks/UiTabs.js +1 -1
  335. package/vue/chunks/UiText.js +29 -7
  336. package/vue/chunks/UiTextarea.js +1 -1
  337. package/vue/chunks/UiToastRegion.js +1 -1
  338. package/vue/chunks/UiTooltip.js +1 -1
  339. package/vue/chunks/UiTopBar.js +1 -1
  340. package/vue/chunks/UiTree.js +1 -1
  341. package/vue/chunks/UiTreeItem.js +1 -1
  342. package/vue/components.css +918 -912
  343. package/vue/host.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threadlabs/looma",
3
- "version": "0.13.1",
3
+ "version": "0.13.3",
4
4
  "type": "module",
5
5
  "description": "Looma components as HTML, Vue, and plain DOM, with design tokens.",
6
6
  "license": "MIT",
@@ -77,7 +77,7 @@
77
77
  "./*.css"
78
78
  ],
79
79
  "dependencies": {
80
- "@nextwebwg/html-next": "1.0.0-alpha.5",
80
+ "@nextwebwg/html-next": "1.0.0-alpha.7",
81
81
  "lowlight": "^3.3.0",
82
82
  "markdown-it": "14.3.1",
83
83
  "lucide": "~0.554.0"
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-action-bar-gap {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,19 +1,27 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-affordance-scope"]) to ([data-component], [data-slotted]) {
3
3
  :scope {
4
4
  display: contents;
5
5
  --ui-affordance-scope-engaged: 0;
6
+ --ui-affordance-scope-guide: 1;
6
7
  }
7
8
 
8
9
  :scope[data-ui-affordance-scope-state~="engaged"] {
9
10
  --ui-affordance-scope-engaged: 1;
10
11
  }
11
12
 
13
+ /* Published to descendants: each guide multiplies its opacity by it, so none reaches them all. */
14
+ :scope[data-ui-affordance-scope-state~="guide=none"] {
15
+ --ui-affordance-scope-guide: 0;
16
+ }
17
+
12
18
  /* A component that sets its display still honours the hidden attribute on its root. */
13
19
  :scope[hidden] {
14
20
  display: none;
15
21
  }
16
22
  }
17
23
  @scope ([data-component~="ui-affordance-scope"]) to ([data-component]) {
18
- /* A component that sets its display still honours the hidden attribute on its root. */
24
+ /* Published to descendants: each guide multiplies its opacity by it, so none reaches them all. */
25
+
26
+ /* A component that sets its display still honours the hidden attribute on its root. */
19
27
  }
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-avatar-group-edge-ring {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-avatar-border {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-badge-border {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-breadcrumb-item"]) to ([data-component], [data-slotted]) {
3
3
  /* One step in a ui-breadcrumbs trail: a link up to that place, or the current view. A chevron leads
4
4
  every step but the first. An icon slotted before the name sits with it. */
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-breadcrumbs"]) to ([data-component], [data-slotted]) {
3
3
  /* Where a view sits: a trail of ui-breadcrumb-item, from the top down to the current view. It wraps
4
4
  rather than scrolls, so every step stays reachable. */
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-button-active-surface {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-callout-border {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-card"]) to ([data-component], [data-slotted]) {
3
3
  /* A surface that groups content. Its children stack with even space between them, so a card
4
4
  needs no layout of its own. */
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-checkbox-gap {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-cluster-gap {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-combobox-affordance-text {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-container-gutters {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-context-menu-z-index {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-cover"]) to ([data-component], [data-slotted]) {
3
3
  /* A layout primitive that centres its content in the space, both ways, with room around it: the
4
4
  frame for a view that is one card or one message. */
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-description-item"]) to ([data-component], [data-slotted]) {
3
3
  /* One term and its value in a ui-description-list, laid out by the list's layout. */
4
4
  :scope {
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-description-list"]) to ([data-component], [data-slotted]) {
3
3
  /* Named values: a term and what it is, for each item (ui-description-item). */
4
4
  /* Rows line every term up in one column and every value in the next, through subgrid. */
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-dialog-duration {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-disclosure-trigger-min-block-size {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-editable"]) to ([data-component], [data-slotted]) {
3
3
  :scope {
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-editor-insert-table-grid"]) to ([data-component], [data-slotted]) {
3
3
  :scope {
4
4
  padding: var(--ui-space-3);
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-editor-mention-menu"]) to ([data-component], [data-slotted]) {
3
3
  :scope {
4
4
  user-select: none;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-editor-slash-menu"]) to ([data-component], [data-slotted]) {
3
3
  :scope {
4
4
  user-select: none;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-editor-table-context-menu"]) to ([data-component], [data-slotted]) {
3
3
  :scope {
4
4
  /* The max-width is a promise about the menu's footprint, so it counts padding and border. */
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-editor-table-overlay"]) to ([data-component], [data-slotted]) {
3
3
  :scope {
4
4
  display: block;
@@ -142,7 +142,7 @@
142
142
  height: var(--ui-affordance-guide-size);
143
143
  border-radius: var(--ui-radius-round);
144
144
  background: var(--ui-affordance-guide-color, var(--ui-border-strong));
145
- opacity: var(--ui-affordance-guide-opacity);
145
+ opacity: calc(var(--ui-affordance-guide-opacity) * var(--ui-affordance-scope-guide, 1));
146
146
  transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
147
147
  }
148
148
 
@@ -231,7 +231,7 @@
231
231
  inset: 50% auto auto 50%;
232
232
  border-radius: var(--ui-radius-round);
233
233
  background: var(--ui-affordance-guide-color, var(--ui-border-strong));
234
- opacity: var(--ui-affordance-guide-opacity);
234
+ opacity: calc(var(--ui-affordance-guide-opacity) * var(--ui-affordance-scope-guide, 1));
235
235
  transform: translate(-50%, -50%);
236
236
  transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
237
237
  pointer-events: none;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-editor-table-toolbar"]) to ([data-component], [data-slotted]) {
3
3
  .looma-editor__mobile-toolbar-shell :scope {
4
4
  min-width: max-content;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-editor-toolbar"]) to ([data-component], [data-slotted]) {
3
3
  :scope {
4
4
  position: sticky;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-floating-action-button-inset-block-end {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-form-field-help-min-block-size {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-grid-gap {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-icon-button-active-scale {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -96,7 +96,7 @@
96
96
  block-size: var(--ui-affordance-guide-size);
97
97
  border-radius: var(--ui-radius-round);
98
98
  background: var(--ui-affordance-guide-color, var(--ui-border-strong));
99
- opacity: var(--ui-affordance-guide-opacity);
99
+ opacity: calc(var(--ui-affordance-guide-opacity) * var(--ui-affordance-scope-guide, 1));
100
100
  transform: translate(-50%, -50%);
101
101
  transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
102
102
  pointer-events: none;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-icon-size {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-input-group"]) to ([data-component], [data-slotted]) {
3
3
  /* An input with fixed text before or after it, such as a domain after a site's name
4
4
  ("acme" + ".example.com") or slashes around a path. The group draws the field's border and
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-input-border {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-list-item-gap {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-list-gap {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-menu-item-font-size {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-menu-viewport-gap {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-nav-item-current-surface {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-page-header"]) to ([data-component], [data-slotted]) {
3
3
  /* The top of a view: its title (the page's one h1), with an optional icon or mark before it, a
4
4
  short eyebrow above it, a line or two of description under it, and the view's own actions at
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-popover-viewport-gap {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-radio-group"]) to ([data-component], [data-slotted]) {
3
3
  :scope {
4
4
  display: inline-flex;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-radio-gap {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-reel-gap {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-scroll-area"]) to ([data-component], [data-slotted]) {
3
3
  /* A region that scrolls when its content outgrows it. Each edge that hides content fades, growing
4
4
  in as the content leaves that edge (the scroll fade in tokens.css), so the reader can tell there
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-search-result-row-border {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-search-shell-border {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-section"]) to ([data-component], [data-slotted]) {
3
3
  /* A part of a view: a heading, an optional line under it, actions for the whole section at its
4
4
  end, and the content. Sections space themselves out through the Stack around them. */
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-select-focus-shadow {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-separator-color {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-sidebar-backdrop {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -99,7 +99,7 @@
99
99
  inset-inline-start: 3px;
100
100
  inline-size: 2px;
101
101
  background: color-mix(in srgb, var(--ui-affordance-guide-color, var(--ui-border-strong)) 45%, transparent);
102
- opacity: var(--ui-affordance-guide-opacity);
102
+ opacity: calc(var(--ui-affordance-guide-opacity) * var(--ui-affordance-scope-guide, 1));
103
103
  transition:
104
104
  background-color var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
105
105
  opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @keyframes ui-spinner-turn {
3
3
  to {
4
4
  transform: rotate(1turn);
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-stack-gap {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-status-message"]) to ([data-component], [data-slotted]) {
3
3
  /* The one way a view says it is loading, has nothing yet, or failed, with an optional next step.
4
4
  Every view says it the same way, in the same place, at the same size. */
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-switch-gap {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-switcher-gap {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-tabs-tab-min-block-size {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @scope ([data-component~="ui-text"]) to ([data-component], [data-slotted]) {
3
3
  /* Running text, set on the type scale and in a tone that says what it is, so a view never styles
4
4
  text of its own. The root is a paragraph unless as= names a span, div, small, strong, or label. */
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-textarea-focus-shadow {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-toast-region-enter-duration {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-tooltip-arrow-size {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-top-bar-actions-gap {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-tree-item-depth {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- /* Generated by HTML Next 1.0.0-alpha.5. Do not edit. */
1
+ /* Generated by HTML Next 1.0.0-alpha.7. Do not edit. */
2
2
  @property --ui-tree-drop-color {
3
3
  syntax: "*";
4
4
  inherits: false;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.5 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.7 for Vanilla DOM. Do not edit.
2
2
  export interface UiActionBarEventMap {
3
3
  }
4
4
  export interface UiActionBarElement extends HTMLDivElement {
@@ -1,8 +1,8 @@
1
- // Generated by HTML Next 1.0.0-alpha.5 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.7 for Vanilla DOM. Do not edit.
2
2
  import "../styles/ui-action-bar.css";
3
3
 
4
4
  export function createUiActionBar(options = {}) {
5
- const { attributes = {}, children = [], slots = {}, as } = options;
5
+ const { attributes = {}, children = [], slots = {} } = options;
6
6
  const projected = [];
7
7
  const element = document.createElement("div");
8
8
  for (const [name, value] of Object.entries(attributes)) {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.5 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.7 for Vanilla DOM. Do not edit.
2
2
  export interface UiAffordanceScopeEventMap {
3
3
  }
4
4
  export interface UiAffordanceScopeElement extends HTMLSpanElement {
@@ -6,6 +6,7 @@ export interface UiAffordanceScopeElement extends HTMLSpanElement {
6
6
  removeEventListener<K extends keyof UiAffordanceScopeEventMap>(type: K, listener: (this: UiAffordanceScopeElement, event: UiAffordanceScopeEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
7
7
  }
8
8
  export interface UiAffordanceScopeProps {
9
+ guide?: "dot" | "none" | null;
9
10
  nearRadius?: number | null;
10
11
  attributes?: Readonly<Record<string, string | number | boolean | null | undefined>>;
11
12
  children?: readonly (string | Node)[];
@@ -1,12 +1,12 @@
1
- // Generated by HTML Next 1.0.0-alpha.5 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.7 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import * as controller from "../components/ui-affordance-scope/ui-affordance-scope.js";
4
4
  import "../styles/ui-affordance-scope.css";
5
5
 
6
- const definition = {...{"contract":{"tag":"ui-affordance-scope","props":{"nearRadius":{"type":"number","required":false,"target":{"attribute":"nearradius"},"default":16}}},"template":{"kind":"element","name":"span","attributes":[],"children":[{"kind":"slot"}]},"declarations":[{"kind":"state","name":"engaged","expression":{"source":"false","ast":{"kind":"literal","value":false},"dependencies":[]}}],"root":{"kind":"native","element":"span","choices":["span"]}},source:{file:import.meta.url},css:""};
6
+ const definition = {...{"contract":{"tag":"ui-affordance-scope","props":{"guide":{"type":{"enum":["dot","none"]},"required":false,"target":{"attribute":"guide"},"default":"dot"},"nearRadius":{"type":"number","required":false,"target":{"attribute":"nearradius"},"default":16}}},"template":{"kind":"element","name":"span","attributes":[],"children":[{"kind":"slot"}]},"declarations":[{"kind":"state","name":"engaged","expression":{"source":"false","ast":{"kind":"literal","value":false},"dependencies":[]}}],"root":{"kind":"native","element":"span","choices":["span"]}},source:{file:import.meta.url},css:""};
7
7
 
8
8
  export function createUiAffordanceScope(options = {}) {
9
- const { attributes = {}, children = [], slots = {}, as, ...componentProps } = options;
9
+ const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
10
10
  const projected = [];
11
11
  const element = document.createElement("span");
12
12
  for (const [name, value] of Object.entries(attributes)) {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.5 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.7 for Vanilla DOM. Do not edit.
2
2
  export interface UiAvatarEventMap {
3
3
  }
4
4
  export interface UiAvatarElement extends HTMLSpanElement {