@threadlabs/looma 0.32.0 → 0.33.0

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 (337) hide show
  1. package/components/shared/icons.js +1 -0
  2. package/components/shared/overlay.js +1 -1
  3. package/components/ui-action-bar/ui-action-bar.html +11 -11
  4. package/components/ui-affordance-scope/ui-affordance-scope.html +2 -2
  5. package/components/ui-avatar/ui-avatar.html +8 -8
  6. package/components/ui-avatar-group/ui-avatar-group.html +14 -14
  7. package/components/ui-avatar-group/ui-avatar-group.js +3 -2
  8. package/components/ui-badge/ui-badge.html +43 -43
  9. package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +13 -13
  10. package/components/ui-breadcrumbs/ui-breadcrumbs.html +8 -8
  11. package/components/ui-button/ui-button.html +32 -29
  12. package/components/ui-callout/ui-callout.html +9 -9
  13. package/components/ui-card/ui-card.html +11 -11
  14. package/components/ui-checkbox/ui-checkbox.html +52 -33
  15. package/components/ui-cluster/ui-cluster.html +21 -21
  16. package/components/ui-color-picker/ui-color-picker.html +135 -0
  17. package/components/ui-color-picker/ui-color-picker.js +76 -0
  18. package/components/ui-combobox/ui-combobox.html +43 -43
  19. package/components/ui-container/ui-container.html +7 -7
  20. package/components/ui-context-menu/ui-context-menu.html +9 -9
  21. package/components/ui-cover/ui-cover.html +8 -8
  22. package/components/ui-description-item/ui-description-item.html +7 -7
  23. package/components/ui-description-list/ui-description-list.html +4 -4
  24. package/components/ui-dialog/ui-dialog.html +26 -26
  25. package/components/ui-disclosure/ui-disclosure.html +23 -23
  26. package/components/ui-editable/ui-editable.html +16 -16
  27. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +9 -9
  28. package/components/ui-editor-link-form/ui-editor-link-form.html +1 -2
  29. package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +23 -23
  30. package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +10 -10
  31. package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +29 -29
  32. package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +5 -5
  33. package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +11 -11
  34. package/components/ui-editor-surface/ui-editor-surface.html +2 -2
  35. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +25 -25
  36. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +13 -13
  37. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +31 -31
  38. package/components/ui-editor-toolbar/ui-editor-toolbar.html +13 -13
  39. package/components/ui-floating-action-button/ui-floating-action-button.html +8 -8
  40. package/components/ui-form-field/ui-form-field.html +15 -15
  41. package/components/ui-form-field/ui-form-field.js +12 -4
  42. package/components/ui-grid/ui-grid.html +4 -4
  43. package/components/ui-icon/ui-icon.html +3 -2
  44. package/components/ui-icon-button/ui-icon-button.html +15 -14
  45. package/components/ui-image/ui-image.html +14 -14
  46. package/components/ui-input/ui-input.html +8 -8
  47. package/components/ui-input-group/ui-input-group.html +18 -18
  48. package/components/ui-list/ui-list.html +11 -11
  49. package/components/ui-list-item/ui-list-item.html +18 -18
  50. package/components/ui-listbox/ui-listbox.html +10 -10
  51. package/components/ui-menu/ui-menu.html +18 -17
  52. package/components/ui-menu-group/ui-menu-group.html +4 -4
  53. package/components/ui-menu-item/ui-menu-item.html +20 -20
  54. package/components/ui-meter/ui-meter.html +5 -5
  55. package/components/ui-nav-item/ui-nav-item.html +20 -20
  56. package/components/ui-page-header/ui-page-header.html +18 -17
  57. package/components/ui-popover/ui-popover.html +8 -8
  58. package/components/ui-radio/ui-radio.html +25 -17
  59. package/components/ui-radio-group/ui-radio-group.html +10 -10
  60. package/components/ui-reel/ui-reel.html +5 -5
  61. package/components/ui-scroll-area/ui-scroll-area.html +10 -10
  62. package/components/ui-search-result-row/ui-search-result-row.html +19 -19
  63. package/components/ui-search-shell/ui-search-shell.html +22 -22
  64. package/components/ui-section/ui-section.html +24 -23
  65. package/components/ui-select/ui-select.html +10 -10
  66. package/components/ui-separator/ui-separator.html +2 -2
  67. package/components/ui-sidebar/ui-sidebar.html +8 -8
  68. package/components/ui-spinner/ui-spinner.html +6 -6
  69. package/components/ui-stack/ui-stack.html +12 -12
  70. package/components/ui-status-message/ui-status-message.html +17 -17
  71. package/components/ui-swatch/ui-swatch.html +2 -2
  72. package/components/ui-switch/ui-switch.html +36 -26
  73. package/components/ui-switcher/ui-switcher.html +7 -7
  74. package/components/ui-table/ui-table.html +6 -6
  75. package/components/ui-tabs/ui-tabs.html +16 -15
  76. package/components/ui-text/ui-text.html +3 -2
  77. package/components/ui-textarea/ui-textarea.html +10 -10
  78. package/components/ui-toast/ui-toast.html +9 -9
  79. package/components/ui-toast-region/ui-toast-region.html +12 -12
  80. package/components/ui-tooltip/ui-tooltip.html +15 -15
  81. package/components/ui-top-bar/ui-top-bar.html +11 -11
  82. package/components/ui-tree/ui-tree.html +5 -5
  83. package/components/ui-tree-item/ui-tree-item.html +36 -36
  84. package/dist/index.js +46 -45
  85. package/editor/chunks/extensions.js +17 -1
  86. package/editor/extensions/slash-command.d.ts +1 -1
  87. package/editor/file-uploads.d.ts +31 -0
  88. package/editor/icons.d.ts +1 -0
  89. package/editor/index.js +2 -1
  90. package/package.json +3 -2
  91. package/styles/ui-action-bar.css +11 -11
  92. package/styles/ui-affordance-scope.css +2 -2
  93. package/styles/ui-avatar-group.css +14 -14
  94. package/styles/ui-avatar.css +8 -8
  95. package/styles/ui-badge.css +41 -41
  96. package/styles/ui-breadcrumb-item.css +13 -13
  97. package/styles/ui-breadcrumbs.css +8 -8
  98. package/styles/ui-button.css +30 -28
  99. package/styles/ui-callout.css +9 -9
  100. package/styles/ui-card.css +11 -11
  101. package/styles/ui-checkbox.css +52 -33
  102. package/styles/ui-cluster.css +21 -21
  103. package/styles/ui-color-picker.css +120 -0
  104. package/styles/ui-combobox.css +86 -86
  105. package/styles/ui-container.css +7 -7
  106. package/styles/ui-context-menu.css +9 -9
  107. package/styles/ui-cover.css +8 -8
  108. package/styles/ui-description-item.css +7 -7
  109. package/styles/ui-description-list.css +4 -4
  110. package/styles/ui-dialog.css +52 -52
  111. package/styles/ui-disclosure.css +23 -23
  112. package/styles/ui-editable.css +16 -16
  113. package/styles/ui-editor-insert-table-grid.css +9 -9
  114. package/styles/ui-editor-mention-menu-item.css +10 -10
  115. package/styles/ui-editor-mention-menu.css +23 -23
  116. package/styles/ui-editor-slash-menu-group.css +5 -5
  117. package/styles/ui-editor-slash-menu-item.css +11 -11
  118. package/styles/ui-editor-slash-menu.css +29 -29
  119. package/styles/ui-editor-surface.css +2 -2
  120. package/styles/ui-editor-table-context-menu.css +25 -25
  121. package/styles/ui-editor-table-overlay.css +13 -13
  122. package/styles/ui-editor-table-toolbar.css +31 -31
  123. package/styles/ui-editor-toolbar.css +13 -13
  124. package/styles/ui-floating-action-button.css +8 -8
  125. package/styles/ui-form-field.css +13 -13
  126. package/styles/ui-grid.css +4 -4
  127. package/styles/ui-icon-button.css +13 -13
  128. package/styles/ui-icon.css +2 -2
  129. package/styles/ui-image.css +14 -14
  130. package/styles/ui-input-group.css +18 -18
  131. package/styles/ui-input.css +8 -8
  132. package/styles/ui-list-item.css +18 -18
  133. package/styles/ui-list.css +11 -11
  134. package/styles/ui-listbox.css +20 -20
  135. package/styles/ui-menu-group.css +4 -4
  136. package/styles/ui-menu-item.css +20 -20
  137. package/styles/ui-menu.css +16 -16
  138. package/styles/ui-meter.css +5 -5
  139. package/styles/ui-nav-item.css +20 -20
  140. package/styles/ui-page-header.css +18 -17
  141. package/styles/ui-popover.css +8 -8
  142. package/styles/ui-radio-group.css +10 -10
  143. package/styles/ui-radio.css +26 -18
  144. package/styles/ui-reel.css +5 -5
  145. package/styles/ui-scroll-area.css +10 -10
  146. package/styles/ui-search-result-row.css +19 -19
  147. package/styles/ui-search-shell.css +22 -22
  148. package/styles/ui-section.css +24 -23
  149. package/styles/ui-select.css +10 -10
  150. package/styles/ui-separator.css +2 -2
  151. package/styles/ui-sidebar.css +8 -8
  152. package/styles/ui-spinner.css +6 -6
  153. package/styles/ui-stack.css +12 -12
  154. package/styles/ui-status-message.css +17 -17
  155. package/styles/ui-swatch.css +2 -2
  156. package/styles/ui-switch.css +36 -28
  157. package/styles/ui-switcher.css +7 -7
  158. package/styles/ui-table.css +6 -6
  159. package/styles/ui-tabs.css +11 -11
  160. package/styles/ui-text.css +3 -2
  161. package/styles/ui-textarea.css +10 -10
  162. package/styles/ui-toast-region.css +24 -24
  163. package/styles/ui-toast.css +18 -18
  164. package/styles/ui-tooltip.css +15 -15
  165. package/styles/ui-top-bar.css +11 -11
  166. package/styles/ui-tree-item.css +71 -71
  167. package/styles/ui-tree.css +5 -5
  168. package/theme-system.css +80 -0
  169. package/tokens.css +14 -3
  170. package/vanilla/UiColorPicker.d.ts +30 -0
  171. package/vanilla/UiColorPicker.js +77 -0
  172. package/vanilla/UiIcon.js +1 -1
  173. package/vanilla/index.js +1 -0
  174. package/vue/UiActionBar.vue +11 -11
  175. package/vue/UiAffordanceScope.vue +2 -2
  176. package/vue/UiAvatar.vue +8 -8
  177. package/vue/UiAvatarGroup.vue +14 -14
  178. package/vue/UiBadge.vue +43 -42
  179. package/vue/UiBreadcrumbItem.vue +13 -13
  180. package/vue/UiBreadcrumbs.vue +8 -8
  181. package/vue/UiButton.vue +34 -29
  182. package/vue/UiCallout.vue +9 -9
  183. package/vue/UiCard.vue +11 -11
  184. package/vue/UiCheckbox.vue +57 -34
  185. package/vue/UiCluster.vue +21 -21
  186. package/vue/UiColorPicker.d.ts +65 -0
  187. package/vue/UiColorPicker.js +2 -0
  188. package/vue/UiColorPicker.vue +422 -0
  189. package/vue/UiCombobox.vue +86 -86
  190. package/vue/UiContainer.vue +7 -7
  191. package/vue/UiContextMenu.vue +9 -9
  192. package/vue/UiCover.vue +8 -8
  193. package/vue/UiDescriptionItem.vue +7 -7
  194. package/vue/UiDescriptionList.vue +4 -4
  195. package/vue/UiDialog.vue +52 -52
  196. package/vue/UiDisclosure.vue +23 -23
  197. package/vue/UiEditable.vue +16 -16
  198. package/vue/UiEditorInsertTableGrid.vue +9 -9
  199. package/vue/UiEditorMentionMenu.vue +23 -23
  200. package/vue/UiEditorMentionMenuItem.vue +10 -10
  201. package/vue/UiEditorSlashMenu.vue +29 -29
  202. package/vue/UiEditorSlashMenuGroup.vue +5 -5
  203. package/vue/UiEditorSlashMenuItem.vue +11 -11
  204. package/vue/UiEditorSurface.vue +2 -2
  205. package/vue/UiEditorTableContextMenu.vue +25 -25
  206. package/vue/UiEditorTableOverlay.vue +13 -13
  207. package/vue/UiEditorTableToolbar.vue +31 -31
  208. package/vue/UiEditorToolbar.vue +13 -13
  209. package/vue/UiFloatingActionButton.vue +8 -8
  210. package/vue/UiFormField.vue +14 -14
  211. package/vue/UiGrid.vue +4 -4
  212. package/vue/UiIcon.vue +6 -2
  213. package/vue/UiIconButton.vue +14 -14
  214. package/vue/UiImage.vue +14 -14
  215. package/vue/UiInput.vue +9 -8
  216. package/vue/UiInputGroup.vue +18 -18
  217. package/vue/UiList.vue +11 -11
  218. package/vue/UiListItem.vue +18 -18
  219. package/vue/UiListbox.vue +20 -20
  220. package/vue/UiMenu.vue +16 -16
  221. package/vue/UiMenuGroup.vue +4 -4
  222. package/vue/UiMenuItem.vue +20 -20
  223. package/vue/UiMeter.vue +5 -5
  224. package/vue/UiNavItem.vue +20 -20
  225. package/vue/UiPageHeader.vue +18 -17
  226. package/vue/UiPopover.vue +8 -8
  227. package/vue/UiRadio.vue +28 -17
  228. package/vue/UiRadioGroup.vue +10 -10
  229. package/vue/UiReel.vue +5 -5
  230. package/vue/UiScrollArea.vue +10 -10
  231. package/vue/UiSearchResultRow.vue +19 -19
  232. package/vue/UiSearchShell.vue +22 -22
  233. package/vue/UiSection.vue +24 -23
  234. package/vue/UiSelect.vue +11 -10
  235. package/vue/UiSeparator.vue +2 -2
  236. package/vue/UiSidebar.vue +8 -8
  237. package/vue/UiSpinner.vue +6 -6
  238. package/vue/UiStack.vue +12 -12
  239. package/vue/UiStatusMessage.vue +17 -17
  240. package/vue/UiSwatch.vue +2 -2
  241. package/vue/UiSwitch.vue +38 -25
  242. package/vue/UiSwitcher.vue +7 -7
  243. package/vue/UiTable.vue +6 -6
  244. package/vue/UiTabs.vue +13 -13
  245. package/vue/UiText.vue +3 -2
  246. package/vue/UiTextarea.vue +10 -10
  247. package/vue/UiToast.vue +18 -18
  248. package/vue/UiToastRegion.vue +24 -24
  249. package/vue/UiTooltip.vue +15 -15
  250. package/vue/UiTopBar.vue +11 -11
  251. package/vue/UiTree.vue +5 -5
  252. package/vue/UiTreeItem.vue +73 -71
  253. package/vue/chunks/UiActionBar.js +1 -1
  254. package/vue/chunks/UiAffordanceScope.js +1 -1
  255. package/vue/chunks/UiAvatar.js +1 -1
  256. package/vue/chunks/UiAvatarGroup.js +1 -1
  257. package/vue/chunks/UiBadge.js +2 -2
  258. package/vue/chunks/UiBreadcrumbItem.js +1 -1
  259. package/vue/chunks/UiBreadcrumbs.js +1 -1
  260. package/vue/chunks/UiButton.js +2 -2
  261. package/vue/chunks/UiCallout.js +1 -1
  262. package/vue/chunks/UiCard.js +1 -1
  263. package/vue/chunks/UiCheckbox.js +1 -1
  264. package/vue/chunks/UiCluster.js +1 -1
  265. package/vue/chunks/UiColorPicker.js +326 -0
  266. package/vue/chunks/UiCombobox.js +1 -1
  267. package/vue/chunks/UiContainer.js +1 -1
  268. package/vue/chunks/UiContextMenu.js +1 -1
  269. package/vue/chunks/UiCover.js +1 -1
  270. package/vue/chunks/UiDescriptionItem.js +1 -1
  271. package/vue/chunks/UiDescriptionList.js +1 -1
  272. package/vue/chunks/UiDialog.js +1 -1
  273. package/vue/chunks/UiDisclosure.js +1 -1
  274. package/vue/chunks/UiEditable.js +1 -1
  275. package/vue/chunks/UiEditorImageToolbar.js +1 -1
  276. package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
  277. package/vue/chunks/UiEditorLinkForm.js +1 -1
  278. package/vue/chunks/UiEditorMentionMenu.js +1 -1
  279. package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
  280. package/vue/chunks/UiEditorSlashMenu.js +1 -1
  281. package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
  282. package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
  283. package/vue/chunks/UiEditorSurface.js +1 -1
  284. package/vue/chunks/UiEditorTableContextMenu.js +1 -1
  285. package/vue/chunks/UiEditorTableOverlay.js +1 -1
  286. package/vue/chunks/UiEditorTableToolbar.js +1 -1
  287. package/vue/chunks/UiEditorToolbar.js +1 -1
  288. package/vue/chunks/UiFloatingActionButton.js +1 -1
  289. package/vue/chunks/UiFormField.js +2 -2
  290. package/vue/chunks/UiGrid.js +1 -1
  291. package/vue/chunks/UiIcon.js +5 -1
  292. package/vue/chunks/UiIconButton.js +2 -2
  293. package/vue/chunks/UiImage.js +1 -1
  294. package/vue/chunks/UiInput.js +1 -1
  295. package/vue/chunks/UiInputGroup.js +1 -1
  296. package/vue/chunks/UiList.js +1 -1
  297. package/vue/chunks/UiListItem.js +1 -1
  298. package/vue/chunks/UiListbox.js +1 -1
  299. package/vue/chunks/UiMenu.js +1 -1
  300. package/vue/chunks/UiMenuGroup.js +1 -1
  301. package/vue/chunks/UiMenuItem.js +1 -1
  302. package/vue/chunks/UiMeter.js +1 -1
  303. package/vue/chunks/UiNavItem.js +1 -1
  304. package/vue/chunks/UiPageHeader.js +1 -1
  305. package/vue/chunks/UiPopover.js +1 -1
  306. package/vue/chunks/UiRadio.js +1 -1
  307. package/vue/chunks/UiRadioGroup.js +1 -1
  308. package/vue/chunks/UiReel.js +1 -1
  309. package/vue/chunks/UiScrollArea.js +1 -1
  310. package/vue/chunks/UiSearchResultRow.js +1 -1
  311. package/vue/chunks/UiSearchShell.js +1 -1
  312. package/vue/chunks/UiSection.js +1 -1
  313. package/vue/chunks/UiSelect.js +1 -1
  314. package/vue/chunks/UiSeparator.js +1 -1
  315. package/vue/chunks/UiSidebar.js +1 -1
  316. package/vue/chunks/UiSpinner.js +1 -1
  317. package/vue/chunks/UiStack.js +1 -1
  318. package/vue/chunks/UiStatusMessage.js +1 -1
  319. package/vue/chunks/UiSwatch.js +1 -1
  320. package/vue/chunks/UiSwitch.js +1 -1
  321. package/vue/chunks/UiSwitcher.js +1 -1
  322. package/vue/chunks/UiTable.js +1 -1
  323. package/vue/chunks/UiTabs.js +3 -3
  324. package/vue/chunks/UiText.js +1 -1
  325. package/vue/chunks/UiTextarea.js +1 -1
  326. package/vue/chunks/UiToast.js +1 -1
  327. package/vue/chunks/UiToastRegion.js +1 -1
  328. package/vue/chunks/UiTooltip.js +1 -1
  329. package/vue/chunks/UiTopBar.js +1 -1
  330. package/vue/chunks/UiTree.js +1 -1
  331. package/vue/chunks/UiTreeItem.js +1 -1
  332. package/vue/components.css +1857 -1654
  333. package/vue/editor/LoomaEditor.d.ts +18 -2
  334. package/vue/editor/index.d.ts +2 -1
  335. package/vue/editor/index.js +147 -16
  336. package/vue/index.d.ts +1 -0
  337. package/vue/index.js +3 -2
package/vue/UiSpinner.vue CHANGED
@@ -279,11 +279,11 @@ const hostState = computed(() =>
279
279
 
280
280
  @scope (.ui-spinner) to ([data-hn]) {
281
281
  :global(:scope) {
282
- display: inline-flex;
282
+ display: inline-flex !important;
283
283
  flex: none;
284
- align-items: center;
285
- justify-content: center;
286
- box-sizing: border-box;
284
+ align-items: center !important;
285
+ justify-content: center !important;
286
+ box-sizing: border-box !important;
287
287
  inline-size: 1em;
288
288
  block-size: 1em;
289
289
  color: currentColor;
@@ -296,7 +296,7 @@ const hostState = computed(() =>
296
296
  }
297
297
 
298
298
  :global(svg) {
299
- display: block;
299
+ display: block !important;
300
300
  inline-size: 100%;
301
301
  block-size: 100%;
302
302
  animation: ui-spinner-rotate 2s linear infinite;
@@ -324,7 +324,7 @@ const hostState = computed(() =>
324
324
  }
325
325
  }
326
326
  :global(:scope[hidden]) {
327
- display: none;
327
+ display: none !important;
328
328
  }
329
329
  }
330
330
  </style>
package/vue/UiStack.vue CHANGED
@@ -191,13 +191,13 @@ const hostState = computed(() =>
191
191
  @scope (.ui-stack) to ([data-hn]) {
192
192
  :global(:scope:where([data-hn-ui-stack])) {
193
193
  --_layout-gap: var(--ui-space-4);
194
- display: flex;
195
- flex-direction: column;
196
- align-items: stretch;
197
- gap: var(--ui-stack-gap, var(--_layout-gap));
194
+ display: flex !important;
195
+ flex-direction: column !important;
196
+ align-items: stretch !important;
197
+ gap: var(--ui-stack-gap, var(--_layout-gap)) !important;
198
198
  min-inline-size: 0;
199
199
  max-inline-size: 100%;
200
- margin: 0;
200
+ margin: 0 !important;
201
201
  }
202
202
 
203
203
  :global(:scope[data-ui-stack-state~="fill"]:where([data-hn-ui-stack])) {
@@ -228,25 +228,25 @@ const hostState = computed(() =>
228
228
  --_layout-gap: var(--ui-space-6);
229
229
  }
230
230
  :global(:scope[data-ui-stack-state~="align=start"]:where([data-hn-ui-stack])) {
231
- align-items: flex-start;
231
+ align-items: flex-start !important;
232
232
  }
233
233
  :global(:scope[data-ui-stack-state~="align=center"]:where([data-hn-ui-stack])) {
234
- align-items: center;
234
+ align-items: center !important;
235
235
  }
236
236
  :global(:scope[data-ui-stack-state~="align=end"]:where([data-hn-ui-stack])) {
237
- align-items: flex-end;
237
+ align-items: flex-end !important;
238
238
  }
239
239
  :global(:scope[data-ui-stack-state~="justify=center"]:where([data-hn-ui-stack])) {
240
- justify-content: center;
240
+ justify-content: center !important;
241
241
  }
242
242
  :global(:scope[data-ui-stack-state~="justify=end"]:where([data-hn-ui-stack])) {
243
- justify-content: flex-end;
243
+ justify-content: flex-end !important;
244
244
  }
245
245
  :global(:scope[data-ui-stack-state~="justify=between"]:where([data-hn-ui-stack])) {
246
- justify-content: space-between;
246
+ justify-content: space-between !important;
247
247
  }
248
248
  :global(:scope[hidden]:where([data-hn-ui-stack])) {
249
- display: none;
249
+ display: none !important;
250
250
  }
251
251
  }
252
252
  </style>
@@ -176,11 +176,11 @@ const hostState = computed(() =>
176
176
 
177
177
  @scope (.ui-status-message) to ([data-hn]) {
178
178
  :global(:scope:where([data-hn-ui-status-message])) {
179
- display: flex;
180
- flex-wrap: wrap;
181
- align-items: center;
182
- gap: var(--ui-space-2) var(--ui-space-4);
183
- padding-block: var(--ui-space-4);
179
+ display: flex !important;
180
+ flex-wrap: wrap !important;
181
+ align-items: center !important;
182
+ gap: var(--ui-space-2) var(--ui-space-4) !important;
183
+ padding-block: var(--ui-space-4) !important;
184
184
  color: var(--ui-text-muted);
185
185
  font-size: var(--ui-font-size-md);
186
186
  line-height: var(--ui-line-height);
@@ -191,31 +191,31 @@ const hostState = computed(() =>
191
191
  }
192
192
 
193
193
  :global(:scope[data-ui-status-message-state~="layout=panel"]:where([data-hn-ui-status-message])) {
194
- padding: var(--ui-space-6);
194
+ padding: var(--ui-space-6) !important;
195
195
  border: var(--ui-border-width) dashed var(--ui-border-strong);
196
196
  border-radius: var(--ui-radius-lg);
197
197
  }
198
198
 
199
199
  :global(:scope[data-ui-status-message-state~="layout=fill"]:where([data-hn-ui-status-message])) {
200
200
  flex: 1;
201
- flex-direction: column;
202
- justify-content: center;
201
+ flex-direction: column !important;
202
+ justify-content: center !important;
203
203
  min-block-size: 50vh;
204
204
  text-align: center;
205
205
  }
206
206
 
207
207
  :global(.copy:where([data-hn-ui-status-message])) {
208
- display: flex;
208
+ display: flex !important;
209
209
  flex: 1 1 12rem;
210
- flex-direction: column;
211
- gap: var(--ui-space-1);
210
+ flex-direction: column !important;
211
+ gap: var(--ui-space-1) !important;
212
212
  min-inline-size: 0;
213
213
  }
214
214
 
215
215
  :global(:scope[data-ui-status-message-state~="layout=fill"]
216
216
  .copy:where([data-hn-ui-status-message])) {
217
217
  flex: none;
218
- align-items: center;
218
+ align-items: center !important;
219
219
  }
220
220
 
221
221
  :global(.heading:where([data-hn-ui-status-message])) {
@@ -224,16 +224,16 @@ const hostState = computed(() =>
224
224
  }
225
225
 
226
226
  :global(.action:where([data-hn-ui-status-message])) {
227
- display: inline-flex;
228
- flex-wrap: wrap;
229
- gap: var(--ui-space-2);
227
+ display: inline-flex !important;
228
+ flex-wrap: wrap !important;
229
+ gap: var(--ui-space-2) !important;
230
230
  }
231
231
 
232
232
  :global(.action:empty:where([data-hn-ui-status-message])) {
233
- display: none;
233
+ display: none !important;
234
234
  }
235
235
  :global(:scope[hidden]:where([data-hn-ui-status-message])) {
236
- display: none;
236
+ display: none !important;
237
237
  }
238
238
  }
239
239
  </style>
package/vue/UiSwatch.vue CHANGED
@@ -145,11 +145,11 @@ const hostState = computed(() =>
145
145
  --_text: var(--ui-text-secondary);
146
146
 
147
147
  appearance: none;
148
- box-sizing: border-box;
148
+ box-sizing: border-box !important;
149
149
  flex: 0 0 auto;
150
150
  inline-size: var(--ui-swatch-size, 1.65rem);
151
151
  block-size: var(--ui-swatch-size, 1.65rem);
152
- margin: 0;
152
+ margin: 0 !important;
153
153
  border: var(--ui-border-width) solid color-mix(in srgb, var(--_surface) 75%, var(--_text) 25%);
154
154
  border-radius: 50%;
155
155
  background: var(--_surface);
package/vue/UiSwitch.vue CHANGED
@@ -311,33 +311,44 @@ useComponentHost(() => import('../components/ui-switch/ui-switch.js'), {
311
311
  and the first line centres in that control height, so the label shares a row's baseline.
312
312
  Multi-line labels and descriptions still grow downward from that first line. */
313
313
 
314
- /* The label centres on the track. */
315
-
316
314
  /* A component that sets its display still honours the hidden attribute on its root. */
317
315
 
318
316
  @scope (.ui-switch) to ([data-hn]) {
319
317
  :global(:scope:where([data-hn-ui-switch])) {
320
318
  /* Hooks do not inherit, so the parts below read them from the root. */
321
- --_ui-switch-track-width: var(--ui-switch-track-width);
322
- --_ui-switch-track-height: var(--ui-switch-track-height);
319
+ --_ui-switch-track-width: var(--ui-switch-track-width, var(--ui-choice-track-width));
320
+ --_ui-switch-track-height: var(--ui-switch-track-height, var(--ui-choice-track-height));
321
+
322
+ --_thumb: calc(var(--_ui-switch-track-height) * 2 / 3);
323
+ --_inset: calc((var(--_ui-switch-track-height) - var(--_thumb)) / 2 - var(--ui-border-width));
323
324
 
324
- display: inline-flex;
325
- align-items: flex-start;
326
- gap: var(--ui-switch-gap, var(--ui-space-2));
325
+ display: inline-flex !important;
326
+ align-items: flex-start !important;
327
+ flex-direction: row !important;
328
+ flex-wrap: nowrap !important;
329
+ padding: 0 !important;
330
+ line-height: var(--ui-line-height-md) !important;
331
+ gap: var(--ui-switch-gap, var(--ui-space-2)) !important;
327
332
  max-inline-size: 100%;
328
333
  color: var(--ui-text-primary);
329
334
  cursor: pointer;
330
335
  }
331
336
  :global(.text:where([data-hn-ui-switch])) {
332
- display: flex;
333
- flex-direction: column;
334
- gap: var(--ui-space-1);
337
+ font: inherit !important;
338
+ align-self: auto !important;
339
+ margin: 0 !important;
340
+ padding: 0 !important;
341
+ display: flex !important;
342
+ flex-direction: column !important;
343
+ gap: var(--ui-space-1) !important;
335
344
  min-inline-size: 0;
336
345
  }
337
346
 
338
347
  :global(.label:where([data-hn-ui-switch])) {
339
348
  min-inline-size: 0;
340
- line-height: var(--ui-line-height-md);
349
+ font: inherit !important;
350
+ line-height: var(--ui-line-height-md) !important;
351
+ padding-block: max(0px, calc((var(--_ui-switch-track-height, 1.5rem) - 1lh) / 2)) !important;
341
352
  }
342
353
 
343
354
  :global(.description:where([data-hn-ui-switch])) {
@@ -347,17 +358,20 @@ useComponentHost(() => import('../components/ui-switch/ui-switch.js'), {
347
358
  }
348
359
 
349
360
  :global(.description:empty:where([data-hn-ui-switch])) {
350
- display: none;
361
+ display: none !important;
351
362
  }
352
363
 
353
364
  :global(input:where([data-hn-ui-switch])) {
365
+ font: inherit !important;
366
+ box-sizing: border-box !important;
367
+ align-self: auto !important;
354
368
  appearance: none;
355
369
  -webkit-appearance: none;
356
370
  position: relative;
357
371
  flex: 0 0 auto;
358
372
  width: var(--_ui-switch-track-width, 2.5rem);
359
373
  height: var(--_ui-switch-track-height, 1.5rem);
360
- padding: 0;
374
+ padding: 0 !important;
361
375
  border: var(--ui-border-width) solid var(--ui-control-border, var(--ui-border-strong));
362
376
  border-radius: var(--ui-radius-round);
363
377
  background-color: var(--ui-control-surface, var(--ui-surface-default));
@@ -366,16 +380,16 @@ useComponentHost(() => import('../components/ui-switch/ui-switch.js'), {
366
380
  transition:
367
381
  background-color var(--ui-motion-base) var(--ui-motion-ease),
368
382
  border-color var(--ui-motion-base) var(--ui-motion-ease);
369
- margin: 0;
383
+ margin: max(0px, calc((1lh - var(--_ui-switch-track-height, 1.5rem)) / 2)) 0 0 !important;
370
384
  }
371
385
 
372
386
  :global(input:where([data-hn-ui-switch])::after) {
373
387
  content: "";
374
388
  position: absolute;
375
- top: 3px;
376
- left: 3px;
377
- width: 1rem;
378
- height: 1rem;
389
+ top: var(--_inset);
390
+ left: var(--_inset);
391
+ width: var(--_thumb);
392
+ height: var(--_thumb);
379
393
  border-radius: var(--ui-radius-round);
380
394
  background: var(--ui-text-secondary);
381
395
  box-shadow: var(--ui-shadow-xs);
@@ -390,7 +404,7 @@ useComponentHost(() => import('../components/ui-switch/ui-switch.js'), {
390
404
  }
391
405
 
392
406
  :global(input:checked:where([data-hn-ui-switch])::after) {
393
- transform: translateX(1rem);
407
+ transform: translateX(calc(var(--_ui-switch-track-width) - var(--_ui-switch-track-height)));
394
408
  background: var(--ui-text-on-accent);
395
409
  }
396
410
 
@@ -437,11 +451,10 @@ useComponentHost(() => import('../components/ui-switch/ui-switch.js'), {
437
451
  :global(:scope[data-ui-switch-state~="size=lg"]:where([data-hn-ui-switch])) {
438
452
  --_line: calc(var(--_font) * var(--ui-line-height-md));
439
453
  font-size: var(--_font);
440
- padding-block: calc((var(--_row) - var(--ui-switch-track-height, 1.5rem)) / 2);
441
- }
442
- :global(:scope[data-ui-switch-state~="size=sm"] .text:where([data-hn-ui-switch])),
443
- :global(:scope[data-ui-switch-state~="size=lg"] .text:where([data-hn-ui-switch])) {
444
- margin-top: calc((var(--_ui-switch-track-height, 1.5rem) - var(--_line)) / 2);
454
+ padding-block: max(
455
+ 0px,
456
+ calc((var(--_row) - max(var(--_line), var(--_ui-switch-track-height, 1.5rem))) / 2)
457
+ ) !important;
445
458
  }
446
459
 
447
460
  @media (pointer: coarse) {
@@ -450,7 +463,7 @@ useComponentHost(() => import('../components/ui-switch/ui-switch.js'), {
450
463
  }
451
464
  }
452
465
  :global(:scope[hidden]:where([data-hn-ui-switch])) {
453
- display: none;
466
+ display: none !important;
454
467
  }
455
468
  }
456
469
  </style>
@@ -219,12 +219,12 @@ useComponentHost(() => import('../components/ui-switcher/ui-switcher.js'), {
219
219
  /* Lays its children out from its own box: below the threshold each track takes the full width;
220
220
  at or above it, tracks shrink to 1px so every child fits one row and empty tracks collapse.
221
221
  The large multiplier makes the whole row flip at once. */
222
- display: grid;
222
+ display: grid !important;
223
223
  grid-template-columns: repeat(auto-fit, minmax(var(--_switcher-track), 1fr));
224
- gap: var(--ui-switcher-gap, var(--_switcher-gap));
224
+ gap: var(--ui-switcher-gap, var(--_switcher-gap)) !important;
225
225
  min-inline-size: 0;
226
226
  max-inline-size: 100%;
227
- margin: 0;
227
+ margin: 0 !important;
228
228
  }
229
229
 
230
230
  :global(:scope[data-ui-switcher-state~="overLimit"]:where([data-hn-ui-switcher])) {
@@ -256,16 +256,16 @@ useComponentHost(() => import('../components/ui-switcher/ui-switcher.js'), {
256
256
  --_switcher-threshold: 60rem;
257
257
  }
258
258
  :global(:scope[data-ui-switcher-state~="align=start"]:where([data-hn-ui-switcher])) {
259
- align-items: start;
259
+ align-items: start !important;
260
260
  }
261
261
  :global(:scope[data-ui-switcher-state~="align=center"]:where([data-hn-ui-switcher])) {
262
- align-items: center;
262
+ align-items: center !important;
263
263
  }
264
264
  :global(:scope[data-ui-switcher-state~="align=end"]:where([data-hn-ui-switcher])) {
265
- align-items: end;
265
+ align-items: end !important;
266
266
  }
267
267
  :global(:scope[hidden]:where([data-hn-ui-switcher])) {
268
- display: none;
268
+ display: none !important;
269
269
  }
270
270
  }
271
271
  </style>
package/vue/UiTable.vue CHANGED
@@ -170,8 +170,8 @@ useComponentHost(() => import('../components/ui-table/ui-table.js'), {
170
170
  --_pad-block: var(--ui-space-1);
171
171
  --_pad-inline: var(--ui-space-3);
172
172
  --_row-size: var(--ui-control-size);
173
- display: block;
174
- box-sizing: border-box;
173
+ display: block !important;
174
+ box-sizing: border-box !important;
175
175
  max-inline-size: 100%;
176
176
  min-inline-size: 0;
177
177
  min-block-size: 0;
@@ -226,7 +226,7 @@ useComponentHost(() => import('../components/ui-table/ui-table.js'), {
226
226
  }
227
227
 
228
228
  :global(:where(:not([data-hn-ui-table])):is(caption)) {
229
- padding-block-end: var(--ui-space-2);
229
+ padding-block-end: var(--ui-space-2) !important;
230
230
  color: var(--ui-text-secondary);
231
231
  font-weight: var(--ui-font-medium);
232
232
  text-align: start;
@@ -234,7 +234,7 @@ useComponentHost(() => import('../components/ui-table/ui-table.js'), {
234
234
  :global(:where(:not([data-hn-ui-table])):is(th)),
235
235
  :global(:where(:not([data-hn-ui-table])):is(td)) {
236
236
  block-size: var(--_row-size);
237
- padding: var(--_pad-block) var(--_pad-inline);
237
+ padding: var(--_pad-block) var(--_pad-inline) !important;
238
238
  border-block-end: var(--ui-border-width) solid var(--ui-border-subtle);
239
239
  text-align: start;
240
240
  vertical-align: middle;
@@ -242,7 +242,7 @@ useComponentHost(() => import('../components/ui-table/ui-table.js'), {
242
242
 
243
243
  :global(:where(:not([data-hn-ui-table])):is(thead th)) {
244
244
  block-size: auto;
245
- padding-block: var(--ui-space-2);
245
+ padding-block: var(--ui-space-2) !important;
246
246
  border-block-end-color: var(--ui-border-divider);
247
247
  background: var(--ui-surface);
248
248
  color: var(--ui-text-muted);
@@ -274,7 +274,7 @@ useComponentHost(() => import('../components/ui-table/ui-table.js'), {
274
274
  z-index: 1;
275
275
  }
276
276
  :global(:scope[hidden]:where([data-hn-ui-table])) {
277
- display: none;
277
+ display: none !important;
278
278
  }
279
279
  }
280
280
  </style>
package/vue/UiTabs.vue CHANGED
@@ -52,7 +52,7 @@ const propValidityContract = {
52
52
  required: false,
53
53
  target: { attribute: 'group' },
54
54
  description:
55
- 'Tabs with the same nonempty group share one selection: choosing a tab selects the tab with the same data-value (or label when no value is authored) in every other Tabs of that group in the\n document, and the choice is remembered for the next visit. Use it for alternatives a reader picks once, such as a package manager or language.',
55
+ 'Tabs with the same nonempty group share one selection: choosing a tab selects the tab with the same data-value (or label when no value is authored) in\n every other Tabs of that group in the document, and the choice is remembered for the next visit. Use it for alternatives a reader picks once, such as a\n package manager or language.',
56
56
  default: '',
57
57
  },
58
58
  label: {
@@ -85,7 +85,7 @@ const propValidityContract = {
85
85
  required: false,
86
86
  target: { attribute: 'value' },
87
87
  description:
88
- 'The id or authored data-value of the selected panel, initially or when set externally; empty selects the first panel. Choosing a tab updates it from there and reports a select\n event. A panel without an id is given a generated one.',
88
+ 'The id or authored data-value of the selected panel, initially or when set externally; empty selects the first panel. Choosing a tab updates it from there\n and reports a select event. A panel without an id is given a generated one.',
89
89
  default: '',
90
90
  },
91
91
  },
@@ -376,16 +376,16 @@ useComponentHost(() => import('../components/ui-tabs/ui-tabs.js'), {
376
376
  }
377
377
 
378
378
  :global(:scope:where([data-hn-ui-tabs])) {
379
- display: grid;
379
+ display: grid !important;
380
380
  inline-size: 100%;
381
381
  min-inline-size: 0;
382
382
  }
383
383
 
384
384
  :global(.list:where([data-hn-ui-tabs])) {
385
- display: grid;
385
+ display: grid !important;
386
386
  grid-auto-flow: column;
387
387
  grid-auto-columns: max-content;
388
- justify-content: start;
388
+ justify-content: start !important;
389
389
  inline-size: 100%;
390
390
  max-inline-size: 100%;
391
391
  /* Tabs that do not fit scroll sideways rather than wrapping or squeezing. */
@@ -401,9 +401,9 @@ useComponentHost(() => import('../components/ui-tabs/ui-tabs.js'), {
401
401
  :global(.list button:where([data-hn-ui-tabs])),
402
402
  :global(.list > :where(:not([data-hn-ui-tabs])):is(button[slot="tab"])) {
403
403
  min-block-size: var(--_ui-tabs-tab-min-block-size, var(--_tab-min-block-size));
404
- margin: 0 0 calc(-1 * var(--ui-border-width));
404
+ margin: 0 0 calc(-1 * var(--ui-border-width)) !important;
405
405
  padding: var(--_ui-tabs-tab-padding-block, var(--_tab-padding-block))
406
- var(--_ui-tabs-tab-padding-inline, var(--_tab-padding-inline));
406
+ var(--_ui-tabs-tab-padding-inline, var(--_tab-padding-inline)) !important;
407
407
  border: 0;
408
408
  border-block-end: var(--ui-accent-line-width) solid transparent;
409
409
  background: transparent;
@@ -420,9 +420,9 @@ useComponentHost(() => import('../components/ui-tabs/ui-tabs.js'), {
420
420
  @supports (text-box-trim: trim-both) {
421
421
  :global(.list button:where([data-hn-ui-tabs])),
422
422
  :global(.list > :where(:not([data-hn-ui-tabs])):is(button[slot="tab"])) {
423
- display: block;
423
+ display: block !important;
424
424
  text-align: center;
425
- align-content: center;
425
+ align-content: center !important;
426
426
  text-box-trim: trim-both;
427
427
  text-box-edge: cap alphabetic;
428
428
  }
@@ -460,12 +460,12 @@ useComponentHost(() => import('../components/ui-tabs/ui-tabs.js'), {
460
460
  min-inline-size: 0;
461
461
  }
462
462
  :global(.panels > :where(:not([data-hn-ui-tabs])):is(*)) {
463
- padding: var(--ui-space-4);
463
+ padding: var(--ui-space-4) !important;
464
464
  }
465
465
 
466
466
  :global(:scope[data-ui-tabs-state~="orientation=vertical"]:where([data-hn-ui-tabs])) {
467
467
  grid-template-columns: max-content minmax(0, 1fr);
468
- align-items: start;
468
+ align-items: start !important;
469
469
  }
470
470
 
471
471
  :global(:scope[data-ui-tabs-state~="orientation=vertical"] .list:where([data-hn-ui-tabs])) {
@@ -479,7 +479,7 @@ useComponentHost(() => import('../components/ui-tabs/ui-tabs.js'), {
479
479
  :global(:scope[data-ui-tabs-state~="orientation=vertical"]
480
480
  .list
481
481
  > :where(:not([data-hn-ui-tabs])):is(button[slot="tab"])) {
482
- margin: 0 calc(-1 * var(--ui-border-width)) 0 0;
482
+ margin: 0 calc(-1 * var(--ui-border-width)) 0 0 !important;
483
483
  border-block-end: 0;
484
484
  border-inline-end: var(--ui-accent-line-width) solid transparent;
485
485
  text-align: start;
@@ -501,7 +501,7 @@ useComponentHost(() => import('../components/ui-tabs/ui-tabs.js'), {
501
501
  }
502
502
  }
503
503
  :global(:scope[hidden]:where([data-hn-ui-tabs])) {
504
- display: none;
504
+ display: none !important;
505
505
  }
506
506
  }
507
507
  </style>
package/vue/UiText.vue CHANGED
@@ -621,12 +621,13 @@ const hostState = computed(() =>
621
621
  }
622
622
 
623
623
  :global(:scope:where([data-hn-ui-text])) {
624
- margin: 0;
624
+ margin: 0 !important;
625
625
  min-inline-size: 0;
626
626
  color: var(--ui-text-primary);
627
627
  text-align: start;
628
628
  }
629
629
  :global(:scope:is(h2, h3, h4, h5, h6):where([data-hn-ui-text])) {
630
+ font-family: var(--ui-font-display, inherit);
630
631
  font-size: inherit;
631
632
  font-weight: inherit;
632
633
  }
@@ -722,7 +723,7 @@ const hostState = computed(() =>
722
723
  overflow-wrap: anywhere;
723
724
  }
724
725
  :global(:scope[hidden]:where([data-hn-ui-text])) {
725
- display: none;
726
+ display: none !important;
726
727
  }
727
728
  }
728
729
  </style>
@@ -367,18 +367,18 @@ useComponentHost(() => import('../components/ui-textarea/ui-textarea.js'), {
367
367
 
368
368
  @scope (.ui-textarea) to ([data-hn]) {
369
369
  :global(:scope) {
370
- box-sizing: border-box;
371
- display: inline-block;
370
+ box-sizing: border-box !important;
371
+ display: inline-block !important;
372
372
  inline-size: 100%;
373
373
  min-inline-size: 0;
374
374
  min-block-size: calc(3rem * 2);
375
- margin: 0;
375
+ margin: 0 !important;
376
376
  --_padding-block: var(--ui-space-2);
377
- padding: var(--ui-space-2) var(--ui-space-3);
377
+ padding: var(--ui-space-2) var(--ui-space-3) !important;
378
378
  padding-inline-end: var(
379
379
  --ui-textarea-padding-inline-end,
380
380
  var(--_ui-default-textarea-padding-inline-end, var(--ui-space-3))
381
- );
381
+ ) !important;
382
382
  appearance: none;
383
383
  resize: vertical;
384
384
  border: var(
@@ -481,21 +481,21 @@ useComponentHost(() => import('../components/ui-textarea/ui-textarea.js'), {
481
481
 
482
482
  :global(:scope[data-ui-textarea-state~="size=sm"]) {
483
483
  --_padding-block: var(--ui-space-1);
484
- padding: var(--ui-space-1) var(--ui-space-2);
484
+ padding: var(--ui-space-1) var(--ui-space-2) !important;
485
485
  padding-inline-end: var(
486
486
  --ui-textarea-padding-inline-end,
487
487
  var(--_ui-default-textarea-padding-inline-end, var(--ui-space-2))
488
- );
488
+ ) !important;
489
489
  font-size: var(--ui-font-size-sm);
490
490
  }
491
491
 
492
492
  :global(:scope[data-ui-textarea-state~="size=lg"]) {
493
493
  --_padding-block: var(--ui-space-3);
494
- padding: var(--ui-space-3) var(--ui-space-4);
494
+ padding: var(--ui-space-3) var(--ui-space-4) !important;
495
495
  padding-inline-end: var(
496
496
  --ui-textarea-padding-inline-end,
497
497
  var(--_ui-default-textarea-padding-inline-end, var(--ui-space-4))
498
- );
498
+ ) !important;
499
499
  font-size: var(--ui-font-size-md);
500
500
  }
501
501
 
@@ -520,7 +520,7 @@ useComponentHost(() => import('../components/ui-textarea/ui-textarea.js'), {
520
520
  }
521
521
  }
522
522
  :global(:scope[hidden]) {
523
- display: none;
523
+ display: none !important;
524
524
  }
525
525
  }
526
526
  </style>
package/vue/UiToast.vue CHANGED
@@ -225,15 +225,15 @@ useComponentHost(() => import('../components/ui-toast/ui-toast.js'), {
225
225
  --_ui-toast-accent: var(--ui-border-strong);
226
226
  --_ui-toast-surface: var(--ui-surface-muted);
227
227
 
228
- display: flex;
229
- align-items: center;
230
- gap: var(--ui-space-2);
231
- box-sizing: border-box;
228
+ display: flex !important;
229
+ align-items: center !important;
230
+ gap: var(--ui-space-2) !important;
231
+ box-sizing: border-box !important;
232
232
  inline-size: 100%;
233
- margin: 0;
234
- padding: var(--ui-space-3) var(--ui-space-4);
233
+ margin: 0 !important;
234
+ padding: var(--ui-space-3) var(--ui-space-4) !important;
235
235
  /* The close button's internal space supplies the rest of the trailing inset. */
236
- padding-inline-end: var(--ui-space-2);
236
+ padding-inline-end: var(--ui-space-2) !important;
237
237
  border: var(--ui-border-width) solid
238
238
  var(
239
239
  --ui-toast-border,
@@ -275,10 +275,10 @@ useComponentHost(() => import('../components/ui-toast/ui-toast.js'), {
275
275
  flex: 1;
276
276
  }
277
277
  :global(.action:not(:has(> *)):where([data-hn-ui-toast])) {
278
- display: none;
278
+ display: none !important;
279
279
  }
280
280
  :global(:scope[hidden]:where([data-hn-ui-toast])) {
281
- display: none;
281
+ display: none !important;
282
282
  }
283
283
  }
284
284
  @scope ([data-slotted~="ui-toast"]:not([data-hn])) to ([data-hn], [data-slotted]) {
@@ -286,15 +286,15 @@ useComponentHost(() => import('../components/ui-toast/ui-toast.js'), {
286
286
  --_ui-toast-accent: var(--ui-border-strong);
287
287
  --_ui-toast-surface: var(--ui-surface-muted);
288
288
 
289
- display: flex;
290
- align-items: center;
291
- gap: var(--ui-space-2);
292
- box-sizing: border-box;
289
+ display: flex !important;
290
+ align-items: center !important;
291
+ gap: var(--ui-space-2) !important;
292
+ box-sizing: border-box !important;
293
293
  inline-size: 100%;
294
- margin: 0;
295
- padding: var(--ui-space-3) var(--ui-space-4);
294
+ margin: 0 !important;
295
+ padding: var(--ui-space-3) var(--ui-space-4) !important;
296
296
  /* The close button's internal space supplies the rest of the trailing inset. */
297
- padding-inline-end: var(--ui-space-2);
297
+ padding-inline-end: var(--ui-space-2) !important;
298
298
  border: var(--ui-border-width) solid
299
299
  var(
300
300
  --ui-toast-border,
@@ -336,10 +336,10 @@ useComponentHost(() => import('../components/ui-toast/ui-toast.js'), {
336
336
  flex: 1;
337
337
  }
338
338
  :global(.action:not(:has(> *)):where(:scope, :scope *):where([data-hn-ui-toast])) {
339
- display: none;
339
+ display: none !important;
340
340
  }
341
341
  :global(:where(.ui-toast)[hidden]:where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-toast"]))):where([data-hn-ui-toast])) {
342
- display: none;
342
+ display: none !important;
343
343
  }
344
344
  }
345
345
  </style>