@threadlabs/looma 0.32.1 → 0.33.1

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 (366) hide show
  1. package/README.md +15 -0
  2. package/bin/looma-docs.mjs +3 -0
  3. package/components/shared/icons.js +1 -0
  4. package/components/shared/overlay.js +1 -1
  5. package/components/ui-action-bar/ui-action-bar.html +11 -11
  6. package/components/ui-affordance-scope/ui-affordance-scope.html +2 -2
  7. package/components/ui-avatar/ui-avatar.html +8 -8
  8. package/components/ui-avatar-group/ui-avatar-group.html +14 -14
  9. package/components/ui-avatar-group/ui-avatar-group.js +3 -2
  10. package/components/ui-badge/ui-badge.html +43 -43
  11. package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +13 -13
  12. package/components/ui-breadcrumbs/ui-breadcrumbs.html +8 -8
  13. package/components/ui-button/ui-button.html +32 -29
  14. package/components/ui-callout/ui-callout.html +9 -9
  15. package/components/ui-card/ui-card.html +11 -11
  16. package/components/ui-checkbox/ui-checkbox.html +52 -33
  17. package/components/ui-cluster/ui-cluster.html +21 -21
  18. package/components/ui-color-picker/ui-color-picker.html +135 -0
  19. package/components/ui-color-picker/ui-color-picker.js +76 -0
  20. package/components/ui-combobox/ui-combobox.html +43 -43
  21. package/components/ui-container/ui-container.html +7 -7
  22. package/components/ui-context-menu/ui-context-menu.html +9 -9
  23. package/components/ui-cover/ui-cover.html +8 -8
  24. package/components/ui-description-item/ui-description-item.html +7 -7
  25. package/components/ui-description-list/ui-description-list.html +4 -4
  26. package/components/ui-dialog/ui-dialog.html +26 -26
  27. package/components/ui-disclosure/ui-disclosure.html +23 -23
  28. package/components/ui-editable/ui-editable.html +16 -16
  29. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +9 -9
  30. package/components/ui-editor-link-form/ui-editor-link-form.html +1 -2
  31. package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +23 -23
  32. package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +10 -10
  33. package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +29 -29
  34. package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +5 -5
  35. package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +11 -11
  36. package/components/ui-editor-surface/ui-editor-surface.html +2 -2
  37. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +25 -25
  38. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +13 -13
  39. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +31 -31
  40. package/components/ui-editor-toolbar/ui-editor-toolbar.html +13 -13
  41. package/components/ui-floating-action-button/ui-floating-action-button.html +8 -8
  42. package/components/ui-form-field/ui-form-field.html +15 -15
  43. package/components/ui-form-field/ui-form-field.js +12 -4
  44. package/components/ui-grid/ui-grid.html +4 -4
  45. package/components/ui-icon/ui-icon.html +3 -2
  46. package/components/ui-icon-button/ui-icon-button.html +15 -14
  47. package/components/ui-image/ui-image.html +14 -14
  48. package/components/ui-input/ui-input.html +8 -8
  49. package/components/ui-input-group/ui-input-group.html +18 -18
  50. package/components/ui-list/ui-list.html +11 -11
  51. package/components/ui-list-item/ui-list-item.html +18 -18
  52. package/components/ui-listbox/ui-listbox.html +10 -10
  53. package/components/ui-menu/ui-menu.html +18 -17
  54. package/components/ui-menu-group/ui-menu-group.html +4 -4
  55. package/components/ui-menu-item/ui-menu-item.html +20 -20
  56. package/components/ui-meter/ui-meter.html +5 -5
  57. package/components/ui-nav-item/ui-nav-item.html +20 -20
  58. package/components/ui-page-header/ui-page-header.html +18 -17
  59. package/components/ui-popover/ui-popover.html +8 -8
  60. package/components/ui-radio/ui-radio.html +25 -17
  61. package/components/ui-radio-group/ui-radio-group.html +10 -10
  62. package/components/ui-reel/ui-reel.html +5 -5
  63. package/components/ui-scroll-area/ui-scroll-area.html +10 -10
  64. package/components/ui-search-result-row/ui-search-result-row.html +19 -19
  65. package/components/ui-search-shell/ui-search-shell.html +22 -22
  66. package/components/ui-section/ui-section.html +24 -23
  67. package/components/ui-select/ui-select.html +10 -10
  68. package/components/ui-separator/ui-separator.html +2 -2
  69. package/components/ui-sidebar/ui-sidebar.html +8 -8
  70. package/components/ui-spinner/ui-spinner.html +6 -6
  71. package/components/ui-stack/ui-stack.html +12 -12
  72. package/components/ui-status-message/ui-status-message.html +17 -17
  73. package/components/ui-swatch/ui-swatch.html +2 -2
  74. package/components/ui-switch/ui-switch.html +36 -26
  75. package/components/ui-switcher/ui-switcher.html +7 -7
  76. package/components/ui-table/ui-table.html +6 -6
  77. package/components/ui-tabs/ui-tabs.html +16 -15
  78. package/components/ui-text/ui-text.html +3 -2
  79. package/components/ui-textarea/ui-textarea.html +10 -10
  80. package/components/ui-toast/ui-toast.html +9 -9
  81. package/components/ui-toast-region/ui-toast-region.html +12 -12
  82. package/components/ui-tooltip/ui-tooltip.html +15 -15
  83. package/components/ui-top-bar/ui-top-bar.html +11 -11
  84. package/components/ui-tree/ui-tree.html +5 -5
  85. package/components/ui-tree-item/ui-tree-item.html +36 -36
  86. package/dist/index.js +46 -45
  87. package/docs/README.md +116 -0
  88. package/docs/card.html +63 -0
  89. package/docs/card.js +32 -0
  90. package/docs/catalog-view.js +18 -0
  91. package/docs/catalog-view.mjs +11 -0
  92. package/docs/catalog.json +22974 -0
  93. package/docs/catalog.mjs +131 -0
  94. package/docs/cli.mjs +26 -0
  95. package/docs/commands.mjs +94 -0
  96. package/docs/customizer-render.mjs +40 -0
  97. package/docs/customizer.js +118 -0
  98. package/docs/documentation.css +8 -0
  99. package/docs/examples/ui-action-bar/examples/01-form-footer.behavior.js +7 -0
  100. package/docs/examples/ui-button/examples/08-loading.behavior.js +21 -0
  101. package/docs/examples/ui-checkbox/examples/02-checked-indeterminate-and-disabled.behavior.js +30 -0
  102. package/docs/examples/ui-combobox/examples/06-selected-values.behavior.js +11 -0
  103. package/docs/examples/ui-search-shell/examples/02-label-dismissible-status-and-footer.behavior.js +34 -0
  104. package/docs/examples/ui-toast/examples/01-authored.behavior.js +15 -0
  105. package/docs/examples/ui-toast/examples/02-danger.behavior.js +2 -0
  106. package/docs/examples/ui-tree/examples/03-max-depth-2-and-hover-expand-delay-300.behavior.js +30 -0
  107. package/docs/examples/ui-tree/examples/06-move-without-dragging.behavior.js +2 -0
  108. package/docs/examples/ui-tree/examples/07-multiple-selection.behavior.js +16 -0
  109. package/docs/examples/ui-tree-item/examples/02-container.behavior.js +1 -0
  110. package/docs/index.d.ts +54 -0
  111. package/docs/index.mjs +4 -0
  112. package/docs/local-server.mjs +68 -0
  113. package/docs/preview.js +20 -0
  114. package/docs/reference.html +1 -0
  115. package/docs/reference.js +36 -0
  116. package/docs/render.mjs +84 -0
  117. package/docs/site.mjs +198 -0
  118. package/docs/store.mjs +92 -0
  119. package/docs/theme.mjs +100 -0
  120. package/docs/workspace.mjs +32 -0
  121. package/package.json +28 -3
  122. package/styles/ui-action-bar.css +11 -11
  123. package/styles/ui-affordance-scope.css +2 -2
  124. package/styles/ui-avatar-group.css +14 -14
  125. package/styles/ui-avatar.css +8 -8
  126. package/styles/ui-badge.css +41 -41
  127. package/styles/ui-breadcrumb-item.css +13 -13
  128. package/styles/ui-breadcrumbs.css +8 -8
  129. package/styles/ui-button.css +30 -28
  130. package/styles/ui-callout.css +9 -9
  131. package/styles/ui-card.css +11 -11
  132. package/styles/ui-checkbox.css +52 -33
  133. package/styles/ui-cluster.css +21 -21
  134. package/styles/ui-color-picker.css +120 -0
  135. package/styles/ui-combobox.css +86 -86
  136. package/styles/ui-container.css +7 -7
  137. package/styles/ui-context-menu.css +9 -9
  138. package/styles/ui-cover.css +8 -8
  139. package/styles/ui-description-item.css +7 -7
  140. package/styles/ui-description-list.css +4 -4
  141. package/styles/ui-dialog.css +52 -52
  142. package/styles/ui-disclosure.css +23 -23
  143. package/styles/ui-editable.css +16 -16
  144. package/styles/ui-editor-insert-table-grid.css +9 -9
  145. package/styles/ui-editor-mention-menu-item.css +10 -10
  146. package/styles/ui-editor-mention-menu.css +23 -23
  147. package/styles/ui-editor-slash-menu-group.css +5 -5
  148. package/styles/ui-editor-slash-menu-item.css +11 -11
  149. package/styles/ui-editor-slash-menu.css +29 -29
  150. package/styles/ui-editor-surface.css +2 -2
  151. package/styles/ui-editor-table-context-menu.css +25 -25
  152. package/styles/ui-editor-table-overlay.css +13 -13
  153. package/styles/ui-editor-table-toolbar.css +31 -31
  154. package/styles/ui-editor-toolbar.css +13 -13
  155. package/styles/ui-floating-action-button.css +8 -8
  156. package/styles/ui-form-field.css +13 -13
  157. package/styles/ui-grid.css +4 -4
  158. package/styles/ui-icon-button.css +13 -13
  159. package/styles/ui-icon.css +2 -2
  160. package/styles/ui-image.css +14 -14
  161. package/styles/ui-input-group.css +18 -18
  162. package/styles/ui-input.css +8 -8
  163. package/styles/ui-list-item.css +18 -18
  164. package/styles/ui-list.css +11 -11
  165. package/styles/ui-listbox.css +20 -20
  166. package/styles/ui-menu-group.css +4 -4
  167. package/styles/ui-menu-item.css +20 -20
  168. package/styles/ui-menu.css +16 -16
  169. package/styles/ui-meter.css +5 -5
  170. package/styles/ui-nav-item.css +20 -20
  171. package/styles/ui-page-header.css +18 -17
  172. package/styles/ui-popover.css +8 -8
  173. package/styles/ui-radio-group.css +10 -10
  174. package/styles/ui-radio.css +26 -18
  175. package/styles/ui-reel.css +5 -5
  176. package/styles/ui-scroll-area.css +10 -10
  177. package/styles/ui-search-result-row.css +19 -19
  178. package/styles/ui-search-shell.css +22 -22
  179. package/styles/ui-section.css +24 -23
  180. package/styles/ui-select.css +10 -10
  181. package/styles/ui-separator.css +2 -2
  182. package/styles/ui-sidebar.css +8 -8
  183. package/styles/ui-spinner.css +6 -6
  184. package/styles/ui-stack.css +12 -12
  185. package/styles/ui-status-message.css +17 -17
  186. package/styles/ui-swatch.css +2 -2
  187. package/styles/ui-switch.css +36 -28
  188. package/styles/ui-switcher.css +7 -7
  189. package/styles/ui-table.css +6 -6
  190. package/styles/ui-tabs.css +11 -11
  191. package/styles/ui-text.css +3 -2
  192. package/styles/ui-textarea.css +10 -10
  193. package/styles/ui-toast-region.css +24 -24
  194. package/styles/ui-toast.css +18 -18
  195. package/styles/ui-tooltip.css +15 -15
  196. package/styles/ui-top-bar.css +11 -11
  197. package/styles/ui-tree-item.css +71 -71
  198. package/styles/ui-tree.css +5 -5
  199. package/theme-system.css +80 -0
  200. package/tokens.css +14 -3
  201. package/vanilla/UiColorPicker.d.ts +30 -0
  202. package/vanilla/UiColorPicker.js +77 -0
  203. package/vanilla/UiIcon.js +1 -1
  204. package/vanilla/index.js +1 -0
  205. package/vue/UiActionBar.vue +11 -11
  206. package/vue/UiAffordanceScope.vue +2 -2
  207. package/vue/UiAvatar.vue +8 -8
  208. package/vue/UiAvatarGroup.vue +14 -14
  209. package/vue/UiBadge.vue +43 -42
  210. package/vue/UiBreadcrumbItem.vue +13 -13
  211. package/vue/UiBreadcrumbs.vue +8 -8
  212. package/vue/UiButton.vue +34 -29
  213. package/vue/UiCallout.vue +9 -9
  214. package/vue/UiCard.vue +11 -11
  215. package/vue/UiCheckbox.vue +57 -34
  216. package/vue/UiCluster.vue +21 -21
  217. package/vue/UiColorPicker.d.ts +65 -0
  218. package/vue/UiColorPicker.js +2 -0
  219. package/vue/UiColorPicker.vue +422 -0
  220. package/vue/UiCombobox.vue +86 -86
  221. package/vue/UiContainer.vue +7 -7
  222. package/vue/UiContextMenu.vue +9 -9
  223. package/vue/UiCover.vue +8 -8
  224. package/vue/UiDescriptionItem.vue +7 -7
  225. package/vue/UiDescriptionList.vue +4 -4
  226. package/vue/UiDialog.vue +52 -52
  227. package/vue/UiDisclosure.vue +23 -23
  228. package/vue/UiEditable.vue +16 -16
  229. package/vue/UiEditorInsertTableGrid.vue +9 -9
  230. package/vue/UiEditorMentionMenu.vue +23 -23
  231. package/vue/UiEditorMentionMenuItem.vue +10 -10
  232. package/vue/UiEditorSlashMenu.vue +29 -29
  233. package/vue/UiEditorSlashMenuGroup.vue +5 -5
  234. package/vue/UiEditorSlashMenuItem.vue +11 -11
  235. package/vue/UiEditorSurface.vue +2 -2
  236. package/vue/UiEditorTableContextMenu.vue +25 -25
  237. package/vue/UiEditorTableOverlay.vue +13 -13
  238. package/vue/UiEditorTableToolbar.vue +31 -31
  239. package/vue/UiEditorToolbar.vue +13 -13
  240. package/vue/UiFloatingActionButton.vue +8 -8
  241. package/vue/UiFormField.vue +14 -14
  242. package/vue/UiGrid.vue +4 -4
  243. package/vue/UiIcon.vue +6 -2
  244. package/vue/UiIconButton.vue +14 -14
  245. package/vue/UiImage.vue +14 -14
  246. package/vue/UiInput.vue +9 -8
  247. package/vue/UiInputGroup.vue +18 -18
  248. package/vue/UiList.vue +11 -11
  249. package/vue/UiListItem.vue +18 -18
  250. package/vue/UiListbox.vue +20 -20
  251. package/vue/UiMenu.vue +16 -16
  252. package/vue/UiMenuGroup.vue +4 -4
  253. package/vue/UiMenuItem.vue +20 -20
  254. package/vue/UiMeter.vue +5 -5
  255. package/vue/UiNavItem.vue +20 -20
  256. package/vue/UiPageHeader.vue +18 -17
  257. package/vue/UiPopover.vue +8 -8
  258. package/vue/UiRadio.vue +28 -17
  259. package/vue/UiRadioGroup.vue +10 -10
  260. package/vue/UiReel.vue +5 -5
  261. package/vue/UiScrollArea.vue +10 -10
  262. package/vue/UiSearchResultRow.vue +19 -19
  263. package/vue/UiSearchShell.vue +22 -22
  264. package/vue/UiSection.vue +24 -23
  265. package/vue/UiSelect.vue +11 -10
  266. package/vue/UiSeparator.vue +2 -2
  267. package/vue/UiSidebar.vue +8 -8
  268. package/vue/UiSpinner.vue +6 -6
  269. package/vue/UiStack.vue +12 -12
  270. package/vue/UiStatusMessage.vue +17 -17
  271. package/vue/UiSwatch.vue +2 -2
  272. package/vue/UiSwitch.vue +38 -25
  273. package/vue/UiSwitcher.vue +7 -7
  274. package/vue/UiTable.vue +6 -6
  275. package/vue/UiTabs.vue +13 -13
  276. package/vue/UiText.vue +3 -2
  277. package/vue/UiTextarea.vue +10 -10
  278. package/vue/UiToast.vue +18 -18
  279. package/vue/UiToastRegion.vue +24 -24
  280. package/vue/UiTooltip.vue +15 -15
  281. package/vue/UiTopBar.vue +11 -11
  282. package/vue/UiTree.vue +5 -5
  283. package/vue/UiTreeItem.vue +73 -71
  284. package/vue/chunks/UiActionBar.js +1 -1
  285. package/vue/chunks/UiAffordanceScope.js +1 -1
  286. package/vue/chunks/UiAvatar.js +1 -1
  287. package/vue/chunks/UiAvatarGroup.js +1 -1
  288. package/vue/chunks/UiBadge.js +2 -2
  289. package/vue/chunks/UiBreadcrumbItem.js +1 -1
  290. package/vue/chunks/UiBreadcrumbs.js +1 -1
  291. package/vue/chunks/UiButton.js +2 -2
  292. package/vue/chunks/UiCallout.js +1 -1
  293. package/vue/chunks/UiCard.js +1 -1
  294. package/vue/chunks/UiCheckbox.js +1 -1
  295. package/vue/chunks/UiCluster.js +1 -1
  296. package/vue/chunks/UiColorPicker.js +326 -0
  297. package/vue/chunks/UiCombobox.js +1 -1
  298. package/vue/chunks/UiContainer.js +1 -1
  299. package/vue/chunks/UiContextMenu.js +1 -1
  300. package/vue/chunks/UiCover.js +1 -1
  301. package/vue/chunks/UiDescriptionItem.js +1 -1
  302. package/vue/chunks/UiDescriptionList.js +1 -1
  303. package/vue/chunks/UiDialog.js +1 -1
  304. package/vue/chunks/UiDisclosure.js +1 -1
  305. package/vue/chunks/UiEditable.js +1 -1
  306. package/vue/chunks/UiEditorImageToolbar.js +1 -1
  307. package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
  308. package/vue/chunks/UiEditorLinkForm.js +1 -1
  309. package/vue/chunks/UiEditorMentionMenu.js +1 -1
  310. package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
  311. package/vue/chunks/UiEditorSlashMenu.js +1 -1
  312. package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
  313. package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
  314. package/vue/chunks/UiEditorSurface.js +1 -1
  315. package/vue/chunks/UiEditorTableContextMenu.js +1 -1
  316. package/vue/chunks/UiEditorTableOverlay.js +1 -1
  317. package/vue/chunks/UiEditorTableToolbar.js +1 -1
  318. package/vue/chunks/UiEditorToolbar.js +1 -1
  319. package/vue/chunks/UiFloatingActionButton.js +1 -1
  320. package/vue/chunks/UiFormField.js +2 -2
  321. package/vue/chunks/UiGrid.js +1 -1
  322. package/vue/chunks/UiIcon.js +5 -1
  323. package/vue/chunks/UiIconButton.js +2 -2
  324. package/vue/chunks/UiImage.js +1 -1
  325. package/vue/chunks/UiInput.js +1 -1
  326. package/vue/chunks/UiInputGroup.js +1 -1
  327. package/vue/chunks/UiList.js +1 -1
  328. package/vue/chunks/UiListItem.js +1 -1
  329. package/vue/chunks/UiListbox.js +1 -1
  330. package/vue/chunks/UiMenu.js +1 -1
  331. package/vue/chunks/UiMenuGroup.js +1 -1
  332. package/vue/chunks/UiMenuItem.js +1 -1
  333. package/vue/chunks/UiMeter.js +1 -1
  334. package/vue/chunks/UiNavItem.js +1 -1
  335. package/vue/chunks/UiPageHeader.js +1 -1
  336. package/vue/chunks/UiPopover.js +1 -1
  337. package/vue/chunks/UiRadio.js +1 -1
  338. package/vue/chunks/UiRadioGroup.js +1 -1
  339. package/vue/chunks/UiReel.js +1 -1
  340. package/vue/chunks/UiScrollArea.js +1 -1
  341. package/vue/chunks/UiSearchResultRow.js +1 -1
  342. package/vue/chunks/UiSearchShell.js +1 -1
  343. package/vue/chunks/UiSection.js +1 -1
  344. package/vue/chunks/UiSelect.js +1 -1
  345. package/vue/chunks/UiSeparator.js +1 -1
  346. package/vue/chunks/UiSidebar.js +1 -1
  347. package/vue/chunks/UiSpinner.js +1 -1
  348. package/vue/chunks/UiStack.js +1 -1
  349. package/vue/chunks/UiStatusMessage.js +1 -1
  350. package/vue/chunks/UiSwatch.js +1 -1
  351. package/vue/chunks/UiSwitch.js +1 -1
  352. package/vue/chunks/UiSwitcher.js +1 -1
  353. package/vue/chunks/UiTable.js +1 -1
  354. package/vue/chunks/UiTabs.js +3 -3
  355. package/vue/chunks/UiText.js +1 -1
  356. package/vue/chunks/UiTextarea.js +1 -1
  357. package/vue/chunks/UiToast.js +1 -1
  358. package/vue/chunks/UiToastRegion.js +1 -1
  359. package/vue/chunks/UiTooltip.js +1 -1
  360. package/vue/chunks/UiTopBar.js +1 -1
  361. package/vue/chunks/UiTree.js +1 -1
  362. package/vue/chunks/UiTreeItem.js +1 -1
  363. package/vue/components.css +1857 -1654
  364. package/vue/editor/index.js +28 -11
  365. package/vue/index.d.ts +1 -0
  366. package/vue/index.js +3 -2
@@ -40,16 +40,16 @@
40
40
  }
41
41
 
42
42
  :scope:where([data-component~="ui-tabs"]) {
43
- display: grid;
43
+ display: grid !important;
44
44
  inline-size: 100%;
45
45
  min-inline-size: 0;
46
46
  }
47
47
 
48
48
  .list {
49
- display: grid;
49
+ display: grid !important;
50
50
  grid-auto-flow: column;
51
51
  grid-auto-columns: max-content;
52
- justify-content: start;
52
+ justify-content: start !important;
53
53
  inline-size: 100%;
54
54
  max-inline-size: 100%;
55
55
  /* Tabs that do not fit scroll sideways rather than wrapping or squeezing. */
@@ -78,7 +78,7 @@
78
78
 
79
79
  :scope:where([data-component~="ui-tabs"])[data-ui-tabs-state~="orientation=vertical"] {
80
80
  grid-template-columns: max-content minmax(0, 1fr);
81
- align-items: start;
81
+ align-items: start !important;
82
82
  }
83
83
 
84
84
  :scope:where([data-component~="ui-tabs"])[data-ui-tabs-state~="orientation=vertical"] .list {
@@ -93,7 +93,7 @@
93
93
 
94
94
  /* A component that sets its display still honours the hidden attribute on its root. */
95
95
  :scope:where([data-component~="ui-tabs"])[hidden] {
96
- display: none;
96
+ display: none !important;
97
97
  }
98
98
  }
99
99
  @scope ([data-component~="ui-tabs"]) to ([data-component]) {
@@ -104,8 +104,8 @@
104
104
  .list button,
105
105
  .list > :where([data-slotted], [data-slotted] *):is(button[slot="tab"]) {
106
106
  min-block-size: var(--_ui-tabs-tab-min-block-size, var(--_tab-min-block-size));
107
- margin: 0 0 calc(-1 * var(--ui-border-width));
108
- padding: var(--_ui-tabs-tab-padding-block, var(--_tab-padding-block)) var(--_ui-tabs-tab-padding-inline, var(--_tab-padding-inline));
107
+ margin: 0 0 calc(-1 * var(--ui-border-width)) !important;
108
+ padding: var(--_ui-tabs-tab-padding-block, var(--_tab-padding-block)) var(--_ui-tabs-tab-padding-inline, var(--_tab-padding-inline)) !important;
109
109
  border: 0;
110
110
  border-block-end: var(--ui-accent-line-width) solid transparent;
111
111
  background: transparent;
@@ -126,9 +126,9 @@
126
126
  @supports (text-box-trim: trim-both) {
127
127
  .list button,
128
128
  .list > :where([data-slotted], [data-slotted] *):is(button[slot="tab"]) {
129
- display: block;
129
+ display: block !important;
130
130
  text-align: center;
131
- align-content: center;
131
+ align-content: center !important;
132
132
  text-box-trim: trim-both;
133
133
  text-box-edge: cap alphabetic;
134
134
  }
@@ -157,12 +157,12 @@
157
157
  border-radius: var(--ui-radius-sm);
158
158
  }
159
159
  .panels > :where([data-slotted], [data-slotted] *):is(*) {
160
- padding: var(--ui-space-4);
160
+ padding: var(--ui-space-4) !important;
161
161
  }
162
162
 
163
163
  :scope:where([data-component~="ui-tabs"])[data-ui-tabs-state~="orientation=vertical"] .list button,
164
164
  :scope:where([data-component~="ui-tabs"])[data-ui-tabs-state~="orientation=vertical"] .list > :where([data-slotted], [data-slotted] *):is(button[slot="tab"]) {
165
- margin: 0 calc(-1 * var(--ui-border-width)) 0 0;
165
+ margin: 0 calc(-1 * var(--ui-border-width)) 0 0 !important;
166
166
  border-block-end: 0;
167
167
  border-inline-end: var(--ui-accent-line-width) solid transparent;
168
168
  text-align: start;
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  :scope:where([data-component~="ui-text"]) {
18
- margin: 0;
18
+ margin: 0 !important;
19
19
  min-inline-size: 0;
20
20
  color: var(--ui-text-primary);
21
21
  text-align: start;
@@ -24,6 +24,7 @@
24
24
  /* A heading drops the browser's heading size and weight, so size and weight set it as they set
25
25
  any text, and inherit keeps the text around it. */
26
26
  :scope:where([data-component~="ui-text"]):is(h2, h3, h4, h5, h6) {
27
+ font-family: var(--ui-font-display, inherit);
27
28
  font-size: inherit;
28
29
  font-weight: inherit;
29
30
  }
@@ -124,7 +125,7 @@
124
125
 
125
126
  /* A component that sets its display still honours the hidden attribute on its root. */
126
127
  :scope:where([data-component~="ui-text"])[hidden] {
127
- display: none;
128
+ display: none !important;
128
129
  }
129
130
  }
130
131
  @scope ([data-component~="ui-text"]) to ([data-component]) {
@@ -58,15 +58,15 @@
58
58
  }
59
59
 
60
60
  :scope:where([data-component~="ui-textarea"]) {
61
- box-sizing: border-box;
62
- display: inline-block;
61
+ box-sizing: border-box !important;
62
+ display: inline-block !important;
63
63
  inline-size: 100%;
64
64
  min-inline-size: 0;
65
65
  min-block-size: calc(3rem * 2);
66
- margin: 0;
66
+ margin: 0 !important;
67
67
  --_padding-block: var(--ui-space-2);
68
- padding: var(--ui-space-2) var(--ui-space-3);
69
- padding-inline-end: var(--ui-textarea-padding-inline-end, var(--_ui-default-textarea-padding-inline-end, var(--ui-space-3)));
68
+ padding: var(--ui-space-2) var(--ui-space-3) !important;
69
+ padding-inline-end: var(--ui-textarea-padding-inline-end, var(--_ui-default-textarea-padding-inline-end, var(--ui-space-3))) !important;
70
70
  appearance: none;
71
71
  resize: vertical;
72
72
  border: var(--ui-textarea-border-width, var(--_ui-default-textarea-border-width, var(--ui-border-width))) solid
@@ -134,15 +134,15 @@
134
134
 
135
135
  :scope:where([data-component~="ui-textarea"])[data-ui-textarea-state~="size=sm"] {
136
136
  --_padding-block: var(--ui-space-1);
137
- padding: var(--ui-space-1) var(--ui-space-2);
138
- padding-inline-end: var(--ui-textarea-padding-inline-end, var(--_ui-default-textarea-padding-inline-end, var(--ui-space-2)));
137
+ padding: var(--ui-space-1) var(--ui-space-2) !important;
138
+ padding-inline-end: var(--ui-textarea-padding-inline-end, var(--_ui-default-textarea-padding-inline-end, var(--ui-space-2))) !important;
139
139
  font-size: var(--ui-font-size-sm);
140
140
  }
141
141
 
142
142
  :scope:where([data-component~="ui-textarea"])[data-ui-textarea-state~="size=lg"] {
143
143
  --_padding-block: var(--ui-space-3);
144
- padding: var(--ui-space-3) var(--ui-space-4);
145
- padding-inline-end: var(--ui-textarea-padding-inline-end, var(--_ui-default-textarea-padding-inline-end, var(--ui-space-4)));
144
+ padding: var(--ui-space-3) var(--ui-space-4) !important;
145
+ padding-inline-end: var(--ui-textarea-padding-inline-end, var(--_ui-default-textarea-padding-inline-end, var(--ui-space-4))) !important;
146
146
  font-size: var(--ui-font-size-md);
147
147
  }
148
148
 
@@ -166,7 +166,7 @@
166
166
 
167
167
  /* A component that sets its display still honours the hidden attribute on its root. */
168
168
  :scope:where([data-component~="ui-textarea"])[hidden] {
169
- display: none;
169
+ display: none !important;
170
170
  }
171
171
  }
172
172
  @scope ([data-component~="ui-textarea"]) to ([data-component]) {
@@ -49,13 +49,13 @@
49
49
  left: 50%;
50
50
  transform: translateX(-50%);
51
51
  z-index: 9999;
52
- display: grid;
53
- gap: var(--ui-space-2);
52
+ display: grid !important;
53
+ gap: var(--ui-space-2) !important;
54
54
  inline-size: min(24rem, calc(100vw - var(--ui-space-4) * 2));
55
55
  max-inline-size: 100%;
56
- box-sizing: border-box;
57
- margin: 0;
58
- padding: 0;
56
+ box-sizing: border-box !important;
57
+ margin: 0 !important;
58
+ padding: 0 !important;
59
59
  overflow: visible;
60
60
  border: 0;
61
61
  outline: 0;
@@ -65,7 +65,7 @@
65
65
  }
66
66
 
67
67
  :scope:where([data-component~="ui-toast-region"]):not(:popover-open) {
68
- display: none;
68
+ display: none !important;
69
69
  }
70
70
 
71
71
  :scope:where([data-component~="ui-toast-region"])[data-ui-toast-region-state~="placement=top-start"],
@@ -94,15 +94,15 @@
94
94
  .toast {
95
95
  --_ui-toast-region-accent: var(--ui-border-strong);
96
96
  --_ui-toast-region-tone-surface: var(--ui-surface-muted);
97
- display: grid;
97
+ display: grid !important;
98
98
  grid-template-columns: 1fr auto;
99
- gap: var(--ui-space-2);
100
- align-items: start;
99
+ gap: var(--ui-space-2) !important;
100
+ align-items: start !important;
101
101
  border: var(--ui-border-width) solid var(--_ui-toast-region-border, var(--ui-overlay-border, var(--_ui-toast-region-accent)));
102
102
  border-radius: var(--_ui-toast-region-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
103
- padding: var(--ui-space-3) var(--ui-space-4);
103
+ padding: var(--ui-space-3) var(--ui-space-4) !important;
104
104
  /* The close button's internal space supplies the rest of the trailing inset. */
105
- padding-inline-end: var(--ui-space-2);
105
+ padding-inline-end: var(--ui-space-2) !important;
106
106
  background: var(--_ui-toast-region-surface, var(--ui-overlay-surface, var(--_ui-toast-region-tone-surface)));
107
107
  color: var(--ui-text-primary);
108
108
  font-family: var(--ui-font-family-sans);
@@ -205,7 +205,7 @@
205
205
 
206
206
  /* A component that sets its display still honours the hidden attribute on its root. */
207
207
  :scope:where([data-component~="ui-toast-region"])[hidden] {
208
- display: none;
208
+ display: none !important;
209
209
  }
210
210
  }
211
211
  @scope ([data-component~="ui-toast-region"]) to ([data-component]) {
@@ -266,13 +266,13 @@
266
266
  left: 50%;
267
267
  transform: translateX(-50%);
268
268
  z-index: 9999;
269
- display: grid;
270
- gap: var(--ui-space-2);
269
+ display: grid !important;
270
+ gap: var(--ui-space-2) !important;
271
271
  inline-size: min(24rem, calc(100vw - var(--ui-space-4) * 2));
272
272
  max-inline-size: 100%;
273
- box-sizing: border-box;
274
- margin: 0;
275
- padding: 0;
273
+ box-sizing: border-box !important;
274
+ margin: 0 !important;
275
+ padding: 0 !important;
276
276
  overflow: visible;
277
277
  border: 0;
278
278
  outline: 0;
@@ -282,7 +282,7 @@
282
282
  }
283
283
 
284
284
  :where([data-component~="ui-toast-region"]):not(:popover-open):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-toast-region"]))) {
285
- display: none;
285
+ display: none !important;
286
286
  }
287
287
 
288
288
  :where([data-component~="ui-toast-region"])[data-ui-toast-region-state~="placement=top-start"]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-toast-region"]))), :where([data-component~="ui-toast-region"])[data-ui-toast-region-state~="placement=bottom-start"]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-toast-region"]))) {
@@ -307,15 +307,15 @@
307
307
  .toast:where(:scope, :scope *) {
308
308
  --_ui-toast-region-accent: var(--ui-border-strong);
309
309
  --_ui-toast-region-tone-surface: var(--ui-surface-muted);
310
- display: grid;
310
+ display: grid !important;
311
311
  grid-template-columns: 1fr auto;
312
- gap: var(--ui-space-2);
313
- align-items: start;
312
+ gap: var(--ui-space-2) !important;
313
+ align-items: start !important;
314
314
  border: var(--ui-border-width) solid var(--_ui-toast-region-border, var(--ui-overlay-border, var(--_ui-toast-region-accent)));
315
315
  border-radius: var(--_ui-toast-region-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
316
- padding: var(--ui-space-3) var(--ui-space-4);
316
+ padding: var(--ui-space-3) var(--ui-space-4) !important;
317
317
  /* The close button's internal space supplies the rest of the trailing inset. */
318
- padding-inline-end: var(--ui-space-2);
318
+ padding-inline-end: var(--ui-space-2) !important;
319
319
  background: var(--_ui-toast-region-surface, var(--ui-overlay-surface, var(--_ui-toast-region-tone-surface)));
320
320
  color: var(--ui-text-primary);
321
321
  font-family: var(--ui-font-family-sans);
@@ -418,6 +418,6 @@
418
418
 
419
419
  /* A component that sets its display still honours the hidden attribute on its root. */
420
420
  :where([data-component~="ui-toast-region"])[hidden]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-toast-region"]))) {
421
- display: none;
421
+ display: none !important;
422
422
  }
423
423
  }
@@ -33,15 +33,15 @@
33
33
  --_ui-toast-accent: var(--ui-border-strong);
34
34
  --_ui-toast-surface: var(--ui-surface-muted);
35
35
 
36
- display: flex;
37
- align-items: center;
38
- gap: var(--ui-space-2);
39
- box-sizing: border-box;
36
+ display: flex !important;
37
+ align-items: center !important;
38
+ gap: var(--ui-space-2) !important;
39
+ box-sizing: border-box !important;
40
40
  inline-size: 100%;
41
- margin: 0;
42
- padding: var(--ui-space-3) var(--ui-space-4);
41
+ margin: 0 !important;
42
+ padding: var(--ui-space-3) var(--ui-space-4) !important;
43
43
  /* The close button's internal space supplies the rest of the trailing inset. */
44
- padding-inline-end: var(--ui-space-2);
44
+ padding-inline-end: var(--ui-space-2) !important;
45
45
  border: var(--ui-border-width) solid var(--ui-toast-border, var(--ui-overlay-border, var(--ui-toast-accent, var(--_ui-toast-accent))));
46
46
  border-radius: var(--ui-toast-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
47
47
  background: var(--ui-toast-surface, var(--ui-overlay-surface, var(--_ui-toast-surface)));
@@ -76,10 +76,10 @@
76
76
  flex: 1;
77
77
  }
78
78
  .action:not(:has(> *)) {
79
- display: none;
79
+ display: none !important;
80
80
  }
81
81
  :scope:where([data-component~="ui-toast"])[hidden] {
82
- display: none;
82
+ display: none !important;
83
83
  }
84
84
  }
85
85
  @scope ([data-component~="ui-toast"]) to ([data-component]) {
@@ -112,15 +112,15 @@
112
112
  --_ui-toast-accent: var(--ui-border-strong);
113
113
  --_ui-toast-surface: var(--ui-surface-muted);
114
114
 
115
- display: flex;
116
- align-items: center;
117
- gap: var(--ui-space-2);
118
- box-sizing: border-box;
115
+ display: flex !important;
116
+ align-items: center !important;
117
+ gap: var(--ui-space-2) !important;
118
+ box-sizing: border-box !important;
119
119
  inline-size: 100%;
120
- margin: 0;
121
- padding: var(--ui-space-3) var(--ui-space-4);
120
+ margin: 0 !important;
121
+ padding: var(--ui-space-3) var(--ui-space-4) !important;
122
122
  /* The close button's internal space supplies the rest of the trailing inset. */
123
- padding-inline-end: var(--ui-space-2);
123
+ padding-inline-end: var(--ui-space-2) !important;
124
124
  border: var(--ui-border-width) solid var(--ui-toast-border, var(--ui-overlay-border, var(--ui-toast-accent, var(--_ui-toast-accent))));
125
125
  border-radius: var(--ui-toast-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
126
126
  background: var(--ui-toast-surface, var(--ui-overlay-surface, var(--_ui-toast-surface)));
@@ -155,9 +155,9 @@
155
155
  flex: 1;
156
156
  }
157
157
  .action:not(:has(> *)):where(:scope, :scope *) {
158
- display: none;
158
+ display: none !important;
159
159
  }
160
160
  :where([data-component~="ui-toast"])[hidden]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-toast"]))) {
161
- display: none;
161
+ display: none !important;
162
162
  }
163
163
  }
@@ -63,10 +63,10 @@
63
63
 
64
64
  position: fixed;
65
65
  inset: auto;
66
- margin: 0;
67
- display: inline-block;
68
- box-sizing: border-box;
69
- padding: 0;
66
+ margin: 0 !important;
67
+ display: inline-block !important;
68
+ box-sizing: border-box !important;
69
+ padding: 0 !important;
70
70
  border: 0;
71
71
  outline: 0;
72
72
  border-radius: 0;
@@ -86,16 +86,16 @@
86
86
  .surface {
87
87
  --_tooltip-line: var(--_ui-tooltip-border, var(--ui-overlay-border, var(--ui-border-strong)));
88
88
  position: relative;
89
- display: flex;
90
- align-items: baseline;
91
- gap: var(--ui-space-2);
92
- box-sizing: border-box;
89
+ display: flex !important;
90
+ align-items: baseline !important;
91
+ gap: var(--ui-space-2) !important;
92
+ box-sizing: border-box !important;
93
93
  max-inline-size: var(--_ui-tooltip-max-inline-size, 18rem);
94
94
  border: var(--ui-border-width) solid var(--_tooltip-line);
95
95
  border-radius: var(--_ui-tooltip-radius, var(--ui-overlay-radius, var(--ui-radius-md)));
96
96
  background: var(--_ui-tooltip-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
97
97
  color: var(--_ui-tooltip-text, var(--ui-text-primary));
98
- padding: var(--ui-space-2) var(--ui-space-3);
98
+ padding: var(--ui-space-2) var(--ui-space-3) !important;
99
99
  font-family: var(--ui-font-family-sans);
100
100
  font-size: var(--ui-font-size-sm);
101
101
  line-height: var(--ui-line-height-tight);
@@ -105,9 +105,9 @@
105
105
  /* A keyboard shortcut follows the label after a thin divider, smaller and quieter, as menus show
106
106
  it. The label stays first in the description, so a screen reader hears the name, then the keys. */
107
107
  .shortcut {
108
- display: inline-flex;
109
- align-items: center;
110
- padding-inline-start: var(--ui-space-2);
108
+ display: inline-flex !important;
109
+ align-items: center !important;
110
+ padding-inline-start: var(--ui-space-2) !important;
111
111
  border-inline-start: 1px solid color-mix(in oklab, currentColor 28%, transparent);
112
112
  color: color-mix(in oklab, currentColor 72%, transparent);
113
113
  font-size: var(--ui-font-size-xs);
@@ -117,7 +117,7 @@
117
117
  }
118
118
 
119
119
  .shortcut:empty {
120
- display: none;
120
+ display: none !important;
121
121
  }
122
122
 
123
123
  /* A <kbd> takes the browser's monospace; the hint reads in the tooltip's own type. */
@@ -138,7 +138,7 @@
138
138
  inset-block-end: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - var(--ui-border-width) / 2);
139
139
  inline-size: var(--_ui-tooltip-arrow-size, 0.625rem);
140
140
  block-size: var(--_ui-tooltip-arrow-size, 0.625rem);
141
- box-sizing: border-box;
141
+ box-sizing: border-box !important;
142
142
  background: inherit;
143
143
  border: 0 solid var(--_tooltip-line);
144
144
  border-inline-end-width: var(--ui-border-width);
@@ -212,7 +212,7 @@
212
212
  }
213
213
 
214
214
  :scope:where([data-component~="ui-tooltip"])[hidden] {
215
- display: none;
215
+ display: none !important;
216
216
  }
217
217
 
218
218
  @media (prefers-reduced-motion: reduce) {
@@ -45,12 +45,12 @@
45
45
  inset-block-start: 0;
46
46
  z-index: var(--ui-top-bar-z-index, 100);
47
47
  min-block-size: calc(var(--ui-top-bar-height, 56px) + env(safe-area-inset-top));
48
- display: flex;
49
- align-items: center;
50
- gap: var(--ui-top-bar-gap, var(--ui-space-3));
51
- padding-block-start: env(safe-area-inset-top);
52
- padding-inline-start: max(var(--ui-top-bar-padding-inline, var(--ui-space-4)), env(safe-area-inset-left));
53
- padding-inline-end: max(var(--ui-top-bar-padding-inline, var(--ui-space-4)), env(safe-area-inset-right));
48
+ display: flex !important;
49
+ align-items: center !important;
50
+ gap: var(--ui-top-bar-gap, var(--ui-space-3)) !important;
51
+ padding-block-start: env(safe-area-inset-top) !important;
52
+ padding-inline-start: max(var(--ui-top-bar-padding-inline, var(--ui-space-4)), env(safe-area-inset-left)) !important;
53
+ padding-inline-end: max(var(--ui-top-bar-padding-inline, var(--ui-space-4)), env(safe-area-inset-right)) !important;
54
54
  background: var(--ui-top-bar-surface, var(--ui-surface-elevated));
55
55
  border-block-end: var(--ui-border-width) solid var(--ui-top-bar-border, var(--ui-border-divider));
56
56
  }
@@ -58,13 +58,13 @@
58
58
  .leading,
59
59
  .search,
60
60
  .actions {
61
- display: flex;
62
- align-items: center;
61
+ display: flex !important;
62
+ align-items: center !important;
63
63
  flex-shrink: 0;
64
64
  }
65
65
 
66
66
  .actions {
67
- gap: var(--_ui-top-bar-actions-gap, var(--ui-space-1));
67
+ gap: var(--_ui-top-bar-actions-gap, var(--ui-space-1)) !important;
68
68
  }
69
69
 
70
70
  .title {
@@ -76,12 +76,12 @@
76
76
  .leading:empty,
77
77
  .search:empty,
78
78
  .actions:empty {
79
- display: none;
79
+ display: none !important;
80
80
  }
81
81
 
82
82
  /* A component that sets its display still honours the hidden attribute on its root. */
83
83
  :scope:where([data-component~="ui-top-bar"])[hidden] {
84
- display: none;
84
+ display: none !important;
85
85
  }
86
86
  }
87
87
  @scope ([data-component~="ui-top-bar"]) to ([data-component]) {