@threadlabs/looma 0.42.0 → 0.43.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 (272) hide show
  1. package/components/ui-action-bar/ui-action-bar.html +1 -7
  2. package/components/ui-affordance-scope/ui-affordance-scope.html +4 -4
  3. package/components/ui-avatar/ui-avatar.html +0 -22
  4. package/components/ui-avatar-group/ui-avatar-group.html +1 -11
  5. package/components/ui-badge/ui-badge.html +57 -78
  6. package/components/ui-button/ui-button.html +36 -81
  7. package/components/ui-callout/ui-callout.html +30 -68
  8. package/components/ui-card/ui-card.html +47 -21
  9. package/components/ui-checkbox/ui-checkbox.html +1 -15
  10. package/components/ui-cluster/ui-cluster.html +1 -7
  11. package/components/ui-combobox/ui-combobox.html +7 -70
  12. package/components/ui-container/ui-container.html +2 -12
  13. package/components/ui-context-menu/ui-context-menu.html +1 -23
  14. package/components/ui-dialog/ui-dialog.html +1 -31
  15. package/components/ui-disclosure/ui-disclosure.html +1 -15
  16. package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +3 -0
  17. package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +4 -0
  18. package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +3 -2
  19. package/components/ui-floating-action-button/ui-floating-action-button.html +0 -14
  20. package/components/ui-form-field/ui-form-field.html +2 -32
  21. package/components/ui-grid/ui-grid.html +1 -11
  22. package/components/ui-icon/ui-icon.html +1 -12
  23. package/components/ui-icon-button/ui-icon-button.html +52 -87
  24. package/components/ui-input/ui-input.html +5 -55
  25. package/components/ui-input-group/ui-input-group.html +1 -13
  26. package/components/ui-list/ui-list.html +0 -10
  27. package/components/ui-list-item/ui-list-item.html +1 -19
  28. package/components/ui-listbox/ui-listbox.html +0 -21
  29. package/components/ui-menu/ui-menu.html +0 -22
  30. package/components/ui-menu-item/ui-menu-item.html +0 -26
  31. package/components/ui-meter/ui-meter.html +11 -6
  32. package/components/ui-nav-item/ui-nav-item.html +0 -18
  33. package/components/ui-popover/ui-popover.html +0 -30
  34. package/components/ui-radio/ui-radio.html +7 -13
  35. package/components/ui-radio-group/ui-radio-group.html +0 -5
  36. package/components/ui-reel/ui-reel.html +1 -11
  37. package/components/ui-search-result-row/ui-search-result-row.html +0 -34
  38. package/components/ui-search-shell/ui-search-shell.html +1 -43
  39. package/components/ui-select/ui-select.html +0 -42
  40. package/components/ui-separator/ui-separator.html +0 -6
  41. package/components/ui-sidebar/ui-sidebar.html +2 -24
  42. package/components/ui-site-header/ui-site-header.html +0 -25
  43. package/components/ui-skeleton/ui-skeleton.html +0 -9
  44. package/components/ui-stack/ui-stack.html +6 -11
  45. package/components/ui-swatch/ui-swatch.html +0 -5
  46. package/components/ui-switch/ui-switch.html +1 -15
  47. package/components/ui-switcher/ui-switcher.html +1 -11
  48. package/components/ui-tabs/ui-tabs.html +1 -19
  49. package/components/ui-text/ui-text.html +19 -6
  50. package/components/ui-textarea/ui-textarea.html +0 -50
  51. package/components/ui-toast/ui-toast.html +12 -27
  52. package/components/ui-toast-region/ui-toast-region.html +13 -34
  53. package/components/ui-tooltip/ui-tooltip.html +1 -43
  54. package/components/ui-top-bar/ui-top-bar.html +1 -31
  55. package/components/ui-tree/ui-tree.html +1 -16
  56. package/components/ui-tree-item/ui-tree-item.html +1 -23
  57. package/components/ui-tree-item/ui-tree-item.js +0 -1
  58. package/dist/index.js +1 -1
  59. package/docs/README.md +13 -11
  60. package/docs/card.html +2 -6
  61. package/docs/card.js +7 -37
  62. package/docs/catalog.json +821 -202
  63. package/docs/catalog.mjs +1 -1
  64. package/docs/customizer-render.mjs +27 -14
  65. package/docs/customizer.js +42 -9
  66. package/docs/documentation.css +3 -7
  67. package/docs/examples/ui-button/examples/08-loading.behavior.js +1 -1
  68. package/docs/examples/ui-checkbox/examples/02-checked-indeterminate-and-disabled.behavior.js +1 -1
  69. package/docs/examples/ui-editor-mention-menu/examples/00-preview.behavior.js +1 -0
  70. package/docs/examples/ui-editor-slash-menu/examples/00-preview.behavior.js +81 -0
  71. package/docs/examples/ui-editor-table-overlay/examples/00-preview.behavior.js +24 -0
  72. package/docs/examples/ui-search-shell/examples/00-preview.behavior.js +14 -0
  73. package/docs/examples/ui-search-shell/examples/02-label-dismissible-status-and-footer.behavior.js +7 -7
  74. package/docs/examples/ui-toast/examples/01-authored.behavior.js +2 -2
  75. package/docs/index.d.ts +1 -1
  76. package/docs/local-server.mjs +2 -5
  77. package/docs/palette.mjs +5 -4
  78. package/docs/pastoral.svg +54 -0
  79. package/docs/portrait.svg +15 -0
  80. package/docs/render.mjs +33 -3
  81. package/docs/site.mjs +22 -54
  82. package/docs/theme.mjs +97 -35
  83. package/docs/value-editors.mjs +2 -1
  84. package/package.json +2 -2
  85. package/styles/ui-action-bar.css +3 -11
  86. package/styles/ui-affordance-scope.css +4 -4
  87. package/styles/ui-avatar-group.css +3 -15
  88. package/styles/ui-avatar.css +2 -26
  89. package/styles/ui-badge.css +56 -80
  90. package/styles/ui-button.css +35 -83
  91. package/styles/ui-callout.css +32 -72
  92. package/styles/ui-card.css +42 -18
  93. package/styles/ui-checkbox.css +3 -19
  94. package/styles/ui-cluster.css +2 -10
  95. package/styles/ui-combobox.css +7 -140
  96. package/styles/ui-container.css +2 -14
  97. package/styles/ui-context-menu.css +3 -27
  98. package/styles/ui-dialog.css +5 -67
  99. package/styles/ui-disclosure.css +3 -19
  100. package/styles/ui-editor-table-overlay.css +2 -2
  101. package/styles/ui-floating-action-button.css +2 -18
  102. package/styles/ui-form-field.css +4 -36
  103. package/styles/ui-grid.css +2 -14
  104. package/styles/ui-icon-button.css +51 -89
  105. package/styles/ui-icon.css +3 -16
  106. package/styles/ui-input-group.css +2 -14
  107. package/styles/ui-input.css +6 -57
  108. package/styles/ui-list-item.css +3 -23
  109. package/styles/ui-list.css +2 -14
  110. package/styles/ui-listbox.css +2 -44
  111. package/styles/ui-menu-item.css +2 -30
  112. package/styles/ui-menu.css +2 -26
  113. package/styles/ui-meter.css +8 -4
  114. package/styles/ui-nav-item.css +2 -22
  115. package/styles/ui-popover.css +2 -34
  116. package/styles/ui-radio-group.css +1 -6
  117. package/styles/ui-radio.css +9 -17
  118. package/styles/ui-reel.css +2 -14
  119. package/styles/ui-search-result-row.css +2 -38
  120. package/styles/ui-search-shell.css +3 -47
  121. package/styles/ui-select.css +2 -46
  122. package/styles/ui-separator.css +2 -10
  123. package/styles/ui-sidebar.css +4 -28
  124. package/styles/ui-site-header.css +1 -26
  125. package/styles/ui-skeleton.css +2 -12
  126. package/styles/ui-stack.css +4 -12
  127. package/styles/ui-swatch.css +1 -6
  128. package/styles/ui-switch.css +3 -19
  129. package/styles/ui-switcher.css +2 -14
  130. package/styles/ui-tabs.css +3 -23
  131. package/styles/ui-text.css +10 -2
  132. package/styles/ui-textarea.css +2 -54
  133. package/styles/ui-toast-region.css +29 -73
  134. package/styles/ui-toast.css +24 -54
  135. package/styles/ui-tooltip.css +3 -47
  136. package/styles/ui-top-bar.css +3 -35
  137. package/styles/ui-tree-item.css +5 -51
  138. package/styles/ui-tree.css +3 -20
  139. package/theme-system.css +6 -2
  140. package/tokens.css +55 -21
  141. package/vanilla/UiBadge.d.ts +1 -1
  142. package/vanilla/UiBadge.js +1 -1
  143. package/vanilla/UiButton.d.ts +1 -1
  144. package/vanilla/UiButton.js +1 -1
  145. package/vanilla/UiCard.d.ts +1 -1
  146. package/vanilla/UiCard.js +1 -1
  147. package/vanilla/UiEditorTableOverlay.js +50 -36
  148. package/vanilla/UiIconButton.d.ts +1 -1
  149. package/vanilla/UiIconButton.js +1 -1
  150. package/vanilla/UiMeter.d.ts +1 -1
  151. package/vanilla/UiMeter.js +1 -1
  152. package/vanilla/UiStack.js +1 -1
  153. package/vanilla/UiText.d.ts +1 -1
  154. package/vanilla/UiText.js +1 -1
  155. package/vue/UiActionBar.vue +3 -9
  156. package/vue/UiAffordanceScope.vue +4 -4
  157. package/vue/UiAvatar.vue +1 -28
  158. package/vue/UiAvatarGroup.vue +1 -11
  159. package/vue/UiBadge.d.ts +2 -2
  160. package/vue/UiBadge.vue +84 -81
  161. package/vue/UiButton.d.ts +2 -2
  162. package/vue/UiButton.vue +78 -97
  163. package/vue/UiCallout.vue +30 -71
  164. package/vue/UiCard.d.ts +2 -2
  165. package/vue/UiCard.vue +77 -26
  166. package/vue/UiCheckbox.vue +1 -15
  167. package/vue/UiCluster.vue +1 -10
  168. package/vue/UiCombobox.vue +13 -72
  169. package/vue/UiContainer.vue +1 -13
  170. package/vue/UiContextMenu.vue +1 -30
  171. package/vue/UiDialog.vue +3 -33
  172. package/vue/UiDisclosure.vue +1 -15
  173. package/vue/UiEditorTableOverlay.d.ts +11 -1
  174. package/vue/UiEditorTableOverlay.vue +100 -65
  175. package/vue/UiFloatingActionButton.vue +0 -22
  176. package/vue/UiFormField.vue +6 -33
  177. package/vue/UiGrid.vue +1 -13
  178. package/vue/UiIcon.vue +1 -16
  179. package/vue/UiIconButton.d.ts +2 -2
  180. package/vue/UiIconButton.vue +103 -99
  181. package/vue/UiInput.vue +1 -54
  182. package/vue/UiInputGroup.vue +8 -20
  183. package/vue/UiList.vue +2 -12
  184. package/vue/UiListItem.vue +8 -26
  185. package/vue/UiListbox.vue +0 -23
  186. package/vue/UiMenu.vue +1 -23
  187. package/vue/UiMenuItem.vue +0 -26
  188. package/vue/UiMeter.d.ts +2 -2
  189. package/vue/UiMeter.vue +47 -12
  190. package/vue/UiNavItem.vue +3 -21
  191. package/vue/UiPopover.vue +1 -32
  192. package/vue/UiRadio.vue +1 -11
  193. package/vue/UiRadioGroup.vue +0 -11
  194. package/vue/UiReel.vue +1 -11
  195. package/vue/UiSearchResultRow.vue +0 -35
  196. package/vue/UiSearchShell.vue +1 -53
  197. package/vue/UiSelect.vue +0 -42
  198. package/vue/UiSeparator.vue +0 -7
  199. package/vue/UiSidebar.vue +3 -26
  200. package/vue/UiSiteHeader.vue +0 -24
  201. package/vue/UiSkeleton.vue +0 -9
  202. package/vue/UiStack.vue +6 -11
  203. package/vue/UiSwatch.vue +1 -6
  204. package/vue/UiSwitch.vue +1 -15
  205. package/vue/UiSwitcher.vue +1 -14
  206. package/vue/UiTabs.vue +1 -19
  207. package/vue/UiText.d.ts +2 -2
  208. package/vue/UiText.vue +29 -4
  209. package/vue/UiTextarea.vue +0 -50
  210. package/vue/UiToast.vue +26 -34
  211. package/vue/UiToastRegion.vue +26 -55
  212. package/vue/UiTooltip.vue +1 -43
  213. package/vue/UiTopBar.vue +1 -34
  214. package/vue/UiTree.vue +2 -17
  215. package/vue/UiTreeItem.vue +2 -28
  216. package/vue/chunks/UiActionBar.js +1 -1
  217. package/vue/chunks/UiAffordanceScope.js +1 -1
  218. package/vue/chunks/UiAvatar.js +1 -1
  219. package/vue/chunks/UiAvatarGroup.js +1 -1
  220. package/vue/chunks/UiBadge.js +4 -2
  221. package/vue/chunks/UiButton.js +4 -2
  222. package/vue/chunks/UiCallout.js +1 -1
  223. package/vue/chunks/UiCard.js +5 -3
  224. package/vue/chunks/UiCheckbox.js +1 -1
  225. package/vue/chunks/UiCluster.js +2 -2
  226. package/vue/chunks/UiCombobox.js +3 -3
  227. package/vue/chunks/UiContainer.js +2 -2
  228. package/vue/chunks/UiContextMenu.js +1 -1
  229. package/vue/chunks/UiDialog.js +1 -1
  230. package/vue/chunks/UiDisclosure.js +1 -1
  231. package/vue/chunks/UiEditorTableOverlay.js +41 -13
  232. package/vue/chunks/UiFloatingActionButton.js +1 -1
  233. package/vue/chunks/UiFormField.js +1 -1
  234. package/vue/chunks/UiGrid.js +2 -2
  235. package/vue/chunks/UiIcon.js +1 -1
  236. package/vue/chunks/UiIconButton.js +4 -2
  237. package/vue/chunks/UiInput.js +1 -1
  238. package/vue/chunks/UiInputGroup.js +1 -1
  239. package/vue/chunks/UiList.js +1 -1
  240. package/vue/chunks/UiListItem.js +1 -1
  241. package/vue/chunks/UiListbox.js +1 -1
  242. package/vue/chunks/UiMenu.js +1 -1
  243. package/vue/chunks/UiMenuItem.js +1 -1
  244. package/vue/chunks/UiMeter.js +4 -2
  245. package/vue/chunks/UiNavItem.js +1 -1
  246. package/vue/chunks/UiPopover.js +1 -1
  247. package/vue/chunks/UiRadio.js +1 -1
  248. package/vue/chunks/UiRadioGroup.js +1 -1
  249. package/vue/chunks/UiReel.js +2 -2
  250. package/vue/chunks/UiSearchResultRow.js +1 -1
  251. package/vue/chunks/UiSearchShell.js +1 -1
  252. package/vue/chunks/UiSelect.js +1 -1
  253. package/vue/chunks/UiSeparator.js +1 -1
  254. package/vue/chunks/UiSidebar.js +1 -1
  255. package/vue/chunks/UiSiteHeader.js +1 -1
  256. package/vue/chunks/UiSkeleton.js +1 -1
  257. package/vue/chunks/UiStack.js +3 -3
  258. package/vue/chunks/UiSwatch.js +1 -1
  259. package/vue/chunks/UiSwitch.js +1 -1
  260. package/vue/chunks/UiSwitcher.js +2 -2
  261. package/vue/chunks/UiTabs.js +1 -1
  262. package/vue/chunks/UiText.js +4 -2
  263. package/vue/chunks/UiTextarea.js +1 -1
  264. package/vue/chunks/UiToast.js +1 -1
  265. package/vue/chunks/UiToastRegion.js +1 -1
  266. package/vue/chunks/UiTooltip.js +1 -1
  267. package/vue/chunks/UiTopBar.js +1 -1
  268. package/vue/chunks/UiTree.js +1 -1
  269. package/vue/chunks/UiTreeItem.js +1 -1
  270. package/vue/components.css +633 -2068
  271. package/vue/editor/index.js +7 -1
  272. package/docs/preview.js +0 -22
@@ -667,63 +667,79 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
667
667
  aria-label="Table controls"
668
668
  v-bind="nativeAttrs($attrs)"
669
669
  data-hn
670
+ data-hn-ui-editor-table-overlay
670
671
  :hidden="!checkedProps.open"
671
672
  v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
672
673
  :data-ui-editor-table-overlay-prop-geometry="reflectedProp('geometry', 'geometry', checkedProps.geometry, undefined, false)"
673
674
  :data-ui-editor-table-overlay-prop-open="reflectedProp('open', 'open', checkedProps.open, undefined, false)"
674
675
  ref="root"
675
676
  >
676
- <div class="rows">
677
+ <slot />
678
+ <div class="rows" data-hn-ui-editor-table-overlay>
677
679
  <KeyedBoundary><div
678
680
  v-for="control in uniqueKeys(rows, (control, index, loop) => control.key)"
679
681
  :key="control.key"
680
682
  class="control row"
683
+ data-hn-ui-editor-table-overlay
681
684
  :data-control-key="control.key"
682
685
  :class="{ active: control.key === activeKey }"
683
686
  :style="{ top: control.offset }"
684
687
  >
685
- <span class="line" aria-hidden="true"></span>{{ ' ' }}<span
688
+ <span class="line" aria-hidden="true" data-hn-ui-editor-table-overlay></span>{{
689
+ ' '
690
+ }}<span
686
691
  class="guide"
687
692
  data-ui-guide=""
688
693
  aria-hidden="true"
694
+ data-hn-ui-editor-table-overlay
689
695
  ></span>{{ ' ' }}<button
690
696
  type="button"
691
697
  class="handle"
698
+ data-hn-ui-editor-table-overlay
692
699
  :data-ui-affordance="control.affordance"
693
700
  :data-action="control.action"
694
701
  :data-boundary-index="control.index"
695
702
  :aria-label="control.label"
696
703
  >
697
- <UiIcon class="ui-icon" name="plus" />{{ ' ' }}<span class="tooltip" role="tooltip">{{
698
- control.label
699
- }}</span>
704
+ <UiIcon class="ui-icon" name="plus" />{{ ' ' }}<span
705
+ class="tooltip"
706
+ role="tooltip"
707
+ data-hn-ui-editor-table-overlay
708
+ >{{ control.label }}</span>
700
709
  </button>
701
710
  </div></KeyedBoundary>
702
711
  </div>
703
- <div class="cols">
712
+ <div class="cols" data-hn-ui-editor-table-overlay>
704
713
  <KeyedBoundary><div
705
714
  v-for="control in uniqueKeys(cols, (control, indexLoop, loop) => control.key)"
706
715
  :key="control.key"
707
716
  class="control col"
717
+ data-hn-ui-editor-table-overlay
708
718
  :data-control-key="control.key"
709
719
  :class="{ active: control.key === activeKey }"
710
720
  :style="{ left: control.offset }"
711
721
  >
712
- <span class="line" aria-hidden="true"></span>{{ ' ' }}<span
722
+ <span class="line" aria-hidden="true" data-hn-ui-editor-table-overlay></span>{{
723
+ ' '
724
+ }}<span
713
725
  class="guide"
714
726
  data-ui-guide=""
715
727
  aria-hidden="true"
728
+ data-hn-ui-editor-table-overlay
716
729
  ></span>{{ ' ' }}<button
717
730
  type="button"
718
731
  class="handle"
732
+ data-hn-ui-editor-table-overlay
719
733
  :data-ui-affordance="control.affordance"
720
734
  :data-action="control.action"
721
735
  :data-boundary-index="control.index"
722
736
  :aria-label="control.label"
723
737
  >
724
- <UiIcon class="ui-icon" name="plus" />{{ ' ' }}<span class="tooltip" role="tooltip">{{
725
- control.label
726
- }}</span>
738
+ <UiIcon class="ui-icon" name="plus" />{{ ' ' }}<span
739
+ class="tooltip"
740
+ role="tooltip"
741
+ data-hn-ui-editor-table-overlay
742
+ >{{ control.label }}</span>
727
743
  </button>
728
744
  </div></KeyedBoundary>
729
745
  </div>
@@ -733,22 +749,30 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
733
749
  data-action="select-row"
734
750
  title="Drag row to reorder; click for actions"
735
751
  aria-label="Row actions"
752
+ data-hn-ui-editor-table-overlay
736
753
  :data-row-index="guardedBinding"
737
754
  :data-column-index="guardedBinding2"
738
755
  :style="{ top: guarded }"
739
756
  >
740
- <span class="glyph"><UiIcon class="ui-icon" name="grip-vertical" /></span>
757
+ <span class="glyph" data-hn-ui-editor-table-overlay><UiIcon
758
+ class="ui-icon"
759
+ name="grip-vertical"
760
+ /></span>
741
761
  </button>{{ ' ' }}<button
742
762
  type="button"
743
763
  class="selector column"
744
764
  data-action="select-column"
745
765
  title="Drag column to reorder; click for actions"
746
766
  aria-label="Column actions"
767
+ data-hn-ui-editor-table-overlay
747
768
  :data-row-index="guardedBinding4"
748
769
  :data-column-index="guardedBinding5"
749
770
  :style="{ left: guardedBinding3 }"
750
771
  >
751
- <span class="glyph"><UiIcon class="ui-icon" name="grip-horizontal" /></span>
772
+ <span class="glyph" data-hn-ui-editor-table-overlay><UiIcon
773
+ class="ui-icon"
774
+ name="grip-horizontal"
775
+ /></span>
752
776
  </button>{{ ' ' }}</template>{{ ' ' }}<button
753
777
  v-if="active"
754
778
  type="button"
@@ -756,6 +780,7 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
756
780
  data-action="open-cell-menu"
757
781
  title="Cell actions"
758
782
  aria-label="Cell actions"
783
+ data-hn-ui-editor-table-overlay
759
784
  :data-row-index="guardedBinding8"
760
785
  :data-column-index="guardedBinding9"
761
786
  :style="{ left: guardedBinding6, top: guardedBinding7 }"
@@ -766,44 +791,46 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
766
791
  data-drop-indicator=""
767
792
  hidden=""
768
793
  aria-hidden="true"
794
+ data-hn-ui-editor-table-overlay
769
795
  ></span>
770
796
  </div>
771
797
  </template>
772
798
 
773
799
  <style scoped>
774
800
  @scope (.ui-editor-table-overlay) to ([data-hn]) {
775
- :global(:scope) {
801
+ :global(:scope:where([data-hn-ui-editor-table-overlay])) {
776
802
  display: block !important;
777
803
  width: 100%;
778
804
  height: 100%;
779
805
  overflow: visible;
780
806
  pointer-events: none;
781
807
  }
782
- :global(:scope) {
808
+ :global(:scope:where([data-hn-ui-editor-table-overlay])) {
783
809
  position: relative;
784
810
  width: 100%;
785
811
  height: 100%;
786
812
  overflow: visible;
787
813
  pointer-events: none;
788
814
  }
789
- :global(.rows), :global(.cols) {
815
+ :global(.rows:where([data-hn-ui-editor-table-overlay])),
816
+ :global(.cols:where([data-hn-ui-editor-table-overlay])) {
790
817
  pointer-events: none;
791
818
  position: absolute;
792
819
  }
793
- :global(.rows) {
820
+ :global(.rows:where([data-hn-ui-editor-table-overlay])) {
794
821
  inset: 0;
795
822
  width: 100%;
796
823
  }
797
- :global(.cols) {
824
+ :global(.cols:where([data-hn-ui-editor-table-overlay])) {
798
825
  inset: 0;
799
826
  height: 100%;
800
827
  }
801
- :global(.control) {
828
+ :global(.control:where([data-hn-ui-editor-table-overlay])) {
802
829
  position: absolute;
803
830
  z-index: 1;
804
831
  pointer-events: none;
805
832
  }
806
- :global(.handle) {
833
+ :global(.handle:where([data-hn-ui-editor-table-overlay])) {
807
834
  position: absolute;
808
835
  display: inline-flex !important;
809
836
  align-items: center !important;
@@ -830,84 +857,87 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
830
857
  pointer-events: auto;
831
858
  cursor: pointer;
832
859
  }
833
- :global(.handle) {
860
+ :global(.handle:where([data-hn-ui-editor-table-overlay])) {
834
861
  --_ui-default-icon-size: 14px;
835
862
  --_ui-default-icon-stroke-width: 2;
836
863
  }
837
- :global(.handle[data-ui-proximity="near"]),
838
- :global(.control.active .handle),
839
- :global(.handle:focus-visible) {
864
+ :global(.handle[data-ui-proximity="near"]:where([data-hn-ui-editor-table-overlay])),
865
+ :global(.control.active .handle:where([data-hn-ui-editor-table-overlay])),
866
+ :global(.handle:focus-visible:where([data-hn-ui-editor-table-overlay])) {
840
867
  opacity: 1;
841
868
  scale: 1;
842
869
  }
843
- :global(.control.active .handle), :global(.handle:focus-visible) {
870
+ :global(.control.active .handle:where([data-hn-ui-editor-table-overlay])),
871
+ :global(.handle:focus-visible:where([data-hn-ui-editor-table-overlay])) {
844
872
  border-color: var(--ui-affordance-direct-color, var(--ui-accent-solid));
845
873
  background: var(--ui-affordance-direct-color, var(--ui-accent-solid));
846
874
  color: var(--ui-text-on-accent);
847
875
  box-shadow: var(--ui-shadow-sm, 0 1px 3px rgb(0 0 0 / 0.1));
848
876
  }
849
- :global(.handle:focus-visible),
850
- :global(.selector:focus-visible),
851
- :global(.cell-menu:focus-visible) {
877
+ :global(.handle:focus-visible:where([data-hn-ui-editor-table-overlay])),
878
+ :global(.selector:focus-visible:where([data-hn-ui-editor-table-overlay])),
879
+ :global(.cell-menu:focus-visible:where([data-hn-ui-editor-table-overlay])) {
852
880
  outline: var(--ui-focus-width) solid var(--ui-focus-ring);
853
881
  outline-offset: var(--ui-focus-width);
854
882
  }
855
- :global(.control.row) {
883
+ :global(.control.row:where([data-hn-ui-editor-table-overlay])) {
856
884
  left: 0;
857
885
  width: 100%;
858
886
  height: 0;
859
887
  }
860
- :global(.control.row .handle) {
888
+ :global(.control.row .handle:where([data-hn-ui-editor-table-overlay])) {
861
889
  top: -12px;
862
890
  left: -30px;
863
891
  }
864
- :global(.control.col) {
892
+ :global(.control.col:where([data-hn-ui-editor-table-overlay])) {
865
893
  top: 0;
866
894
  width: 0;
867
895
  height: 100%;
868
896
  }
869
- :global(.control.col .handle) {
897
+ :global(.control.col .handle:where([data-hn-ui-editor-table-overlay])) {
870
898
  top: -30px;
871
899
  left: -12px;
872
900
  }
873
- :global(.line) {
901
+ :global(.line:where([data-hn-ui-editor-table-overlay])) {
874
902
  position: absolute;
875
903
  background: var(--ui-affordance-direct-color, var(--ui-accent-solid));
876
904
  opacity: 0;
877
905
  transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
878
906
  }
879
- :global(.control.row .line) {
907
+ :global(.control.row .line:where([data-hn-ui-editor-table-overlay])) {
880
908
  inset: calc(-0.5 * var(--ui-accent-line-width)) 0 auto;
881
909
  height: var(--ui-accent-line-width);
882
910
  }
883
- :global(.control.col .line) {
911
+ :global(.control.col .line:where([data-hn-ui-editor-table-overlay])) {
884
912
  inset: 0 auto 0 calc(-0.5 * var(--ui-accent-line-width));
885
913
  width: var(--ui-accent-line-width);
886
914
  }
887
- :global(.control.active .line) {
915
+ :global(.control.active .line:where([data-hn-ui-editor-table-overlay])) {
888
916
  opacity: 0.8;
889
917
  }
890
- :global(.guide) {
918
+ :global(.guide:where([data-hn-ui-editor-table-overlay])) {
891
919
  position: absolute;
892
920
  width: var(--ui-affordance-guide-size);
893
921
  height: var(--ui-affordance-guide-size);
894
922
  border-radius: var(--ui-radius-round);
895
923
  background: var(--ui-affordance-guide-color, var(--ui-border-strong));
896
- opacity: calc(var(--ui-affordance-guide-opacity) * var(--ui-affordance-scope-guide, 1));
924
+ opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
897
925
  transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
898
926
  }
899
- :global(.control.row .guide) {
927
+ :global(.control.row .guide:where([data-hn-ui-editor-table-overlay])) {
900
928
  left: -10px;
901
929
  top: -2px;
902
930
  }
903
- :global(.control.col .guide) {
931
+ :global(.control.col .guide:where([data-hn-ui-editor-table-overlay])) {
904
932
  left: -2px;
905
933
  top: -10px;
906
934
  }
907
- :global(.control:has(.handle[data-ui-proximity="near"]) .guide), :global(.control.active .guide) {
935
+ :global(.control:has(.handle[data-ui-proximity="near"])
936
+ .guide:where([data-hn-ui-editor-table-overlay])),
937
+ :global(.control.active .guide:where([data-hn-ui-editor-table-overlay])) {
908
938
  opacity: 0;
909
939
  }
910
- :global(.tooltip) {
940
+ :global(.tooltip:where([data-hn-ui-editor-table-overlay])) {
911
941
  position: absolute;
912
942
  z-index: 2;
913
943
  top: calc(100% + 6px);
@@ -926,16 +956,18 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
926
956
  transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
927
957
  pointer-events: none;
928
958
  }
929
- :global(.control.row .tooltip) {
959
+ :global(.control.row .tooltip:where([data-hn-ui-editor-table-overlay])) {
930
960
  top: 50%;
931
961
  left: auto;
932
962
  right: calc(100% + 8px);
933
963
  transform: translateY(-50%);
934
964
  }
935
- :global(.control.active .tooltip), :global(.handle:focus-visible .tooltip) {
965
+ :global(.control.active .tooltip:where([data-hn-ui-editor-table-overlay])),
966
+ :global(.handle:focus-visible .tooltip:where([data-hn-ui-editor-table-overlay])) {
936
967
  opacity: 1;
937
968
  }
938
- :global(.selector), :global(.cell-menu) {
969
+ :global(.selector:where([data-hn-ui-editor-table-overlay])),
970
+ :global(.cell-menu:where([data-hn-ui-editor-table-overlay])) {
939
971
  position: absolute;
940
972
  z-index: 2;
941
973
  display: inline-flex !important;
@@ -954,31 +986,32 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
954
986
  border-color var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
955
987
  box-shadow var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
956
988
  }
957
- :global(.selector:hover), :global(.cell-menu:hover) {
989
+ :global(.selector:hover:where([data-hn-ui-editor-table-overlay])),
990
+ :global(.cell-menu:hover:where([data-hn-ui-editor-table-overlay])) {
958
991
  background: var(--ui-surface-muted);
959
992
  color: var(--ui-text-primary);
960
993
  box-shadow: var(--ui-shadow-xs, 0 1px 2px rgb(0 0 0 / 0.05));
961
994
  }
962
- :global(.selector) {
995
+ :global(.selector:where([data-hn-ui-editor-table-overlay])) {
963
996
  border-radius: var(--ui-radius-round);
964
997
  touch-action: none;
965
998
  cursor: grab;
966
999
  }
967
- :global(.selector:active) {
1000
+ :global(.selector:active:where([data-hn-ui-editor-table-overlay])) {
968
1001
  cursor: grabbing;
969
1002
  }
970
- :global(.selector::before) {
1003
+ :global(.selector:where([data-hn-ui-editor-table-overlay])::before) {
971
1004
  content: "";
972
1005
  position: absolute;
973
1006
  inset: 50% auto auto 50%;
974
1007
  border-radius: var(--ui-radius-round);
975
1008
  background: var(--ui-affordance-guide-color, var(--ui-border-strong));
976
- opacity: calc(var(--ui-affordance-guide-opacity) * var(--ui-affordance-scope-guide, 1));
1009
+ opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
977
1010
  transform: translate(-50%, -50%);
978
1011
  transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
979
1012
  pointer-events: none;
980
1013
  }
981
- :global(.selector .glyph) {
1014
+ :global(.selector .glyph:where([data-hn-ui-editor-table-overlay])) {
982
1015
  display: block !important;
983
1016
  width: 14px;
984
1017
  height: 14px;
@@ -990,74 +1023,76 @@ useComponentHost(() => import('../components/ui-editor-table-overlay/ui-editor-t
990
1023
  opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease),
991
1024
  transform var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
992
1025
  }
993
- :global(.selector:hover::before), :global(.selector:focus-visible::before) {
1026
+ :global(.selector:hover:where([data-hn-ui-editor-table-overlay])::before),
1027
+ :global(.selector:focus-visible:where([data-hn-ui-editor-table-overlay])::before) {
994
1028
  opacity: 0;
995
1029
  }
996
- :global(.selector:hover .glyph), :global(.selector:focus-visible .glyph) {
1030
+ :global(.selector:hover .glyph:where([data-hn-ui-editor-table-overlay])),
1031
+ :global(.selector:focus-visible .glyph:where([data-hn-ui-editor-table-overlay])) {
997
1032
  opacity: 1;
998
1033
  transform: scale(1);
999
1034
  }
1000
- :global(.selector.row) {
1035
+ :global(.selector.row:where([data-hn-ui-editor-table-overlay])) {
1001
1036
  left: -9px;
1002
1037
  width: 18px;
1003
1038
  height: 32px;
1004
1039
  transform: translateY(-50%);
1005
1040
  }
1006
- :global(.selector.row::before) {
1041
+ :global(.selector.row:where([data-hn-ui-editor-table-overlay])::before) {
1007
1042
  width: 2px;
1008
1043
  height: 16px;
1009
1044
  }
1010
- :global(.selector.column) {
1045
+ :global(.selector.column:where([data-hn-ui-editor-table-overlay])) {
1011
1046
  top: -9px;
1012
1047
  width: 32px;
1013
1048
  height: 18px;
1014
1049
  transform: translateX(-50%);
1015
1050
  }
1016
- :global(.selector.column::before) {
1051
+ :global(.selector.column:where([data-hn-ui-editor-table-overlay])::before) {
1017
1052
  width: 16px;
1018
1053
  height: 2px;
1019
1054
  }
1020
1055
  @media (hover: none), (pointer: coarse) {
1021
- :global(.selector::before) {
1056
+ :global(.selector:where([data-hn-ui-editor-table-overlay])::before) {
1022
1057
  opacity: 0;
1023
1058
  }
1024
1059
 
1025
- :global(.selector .glyph) {
1060
+ :global(.selector .glyph:where([data-hn-ui-editor-table-overlay])) {
1026
1061
  opacity: 1;
1027
1062
  transform: none;
1028
1063
  }
1029
1064
  }
1030
- :global(.cell-menu) {
1065
+ :global(.cell-menu:where([data-hn-ui-editor-table-overlay])) {
1031
1066
  width: 24px;
1032
1067
  height: 24px;
1033
1068
  border-radius: var(--ui-radius-sm);
1034
1069
  background: color-mix(in srgb, var(--ui-surface-muted) 78%, transparent);
1035
1070
  }
1036
- :global(.cell-menu) {
1071
+ :global(.cell-menu:where([data-hn-ui-editor-table-overlay])) {
1037
1072
  --_ui-default-icon-size: 15px;
1038
1073
  --_ui-default-icon-stroke-width: 2;
1039
1074
  }
1040
- :global(.drop-indicator) {
1075
+ :global(.drop-indicator:where([data-hn-ui-editor-table-overlay])) {
1041
1076
  position: absolute;
1042
1077
  z-index: 3;
1043
1078
  background: var(--ui-accent-solid);
1044
1079
  box-shadow: 0 0 0 var(--ui-border-width) var(--ui-surface);
1045
1080
  pointer-events: none;
1046
1081
  }
1047
- :global(.drop-indicator.row) {
1082
+ :global(.drop-indicator.row:where([data-hn-ui-editor-table-overlay])) {
1048
1083
  left: 0;
1049
1084
  width: 100%;
1050
1085
  height: var(--ui-accent-line-width);
1051
1086
  }
1052
- :global(.drop-indicator.column) {
1087
+ :global(.drop-indicator.column:where([data-hn-ui-editor-table-overlay])) {
1053
1088
  top: 0;
1054
1089
  width: var(--ui-accent-line-width);
1055
1090
  height: 100%;
1056
1091
  }
1057
- :global(.drop-indicator[hidden]) {
1092
+ :global(.drop-indicator[hidden]:where([data-hn-ui-editor-table-overlay])) {
1058
1093
  display: none !important;
1059
1094
  }
1060
- :global(:scope[hidden]) {
1095
+ :global(:scope[hidden]:where([data-hn-ui-editor-table-overlay])) {
1061
1096
  display: none !important;
1062
1097
  }
1063
1098
  }
@@ -132,22 +132,7 @@ const hostState = computed(() =>
132
132
  </template>
133
133
 
134
134
  <style scoped>
135
- /* This component's hooks style the element they are set on, and never a nested one. */
136
- @property --ui-floating-action-button-inset-block-end {
137
- syntax: "*";
138
- inherits: false;
139
- }
140
- @property --ui-floating-action-button-inset-inline-end {
141
- syntax: "*";
142
- inherits: false;
143
- }
144
- @property --ui-floating-action-button-z-index {
145
- syntax: "*";
146
- inherits: false;
147
- }
148
-
149
135
  /* A component that sets its display still honours the hidden attribute on its root. */
150
-
151
136
  @scope (.ui-floating-action-button) to ([data-hn]) {
152
137
  :global(:scope:where([data-hn-ui-floating-action-button])) {
153
138
  position: fixed;
@@ -164,7 +149,6 @@ const hostState = computed(() =>
164
149
  display: inline-flex !important;
165
150
  z-index: var(--ui-floating-action-button-z-index, 100);
166
151
  }
167
-
168
152
  :global(:scope:where([data-hn-ui-floating-action-button])) {
169
153
  appearance: none;
170
154
  border: none;
@@ -183,34 +167,28 @@ const hostState = computed(() =>
183
167
  transform var(--ui-motion-fast) var(--ui-motion-ease),
184
168
  box-shadow var(--ui-motion-fast) var(--ui-motion-ease);
185
169
  }
186
-
187
170
  :global(:scope:hover:enabled:where([data-hn-ui-floating-action-button])) {
188
171
  background: var(--ui-accent-hover);
189
172
  box-shadow: 0 6px 16px color-mix(in srgb, var(--ui-accent) 50%, transparent);
190
173
  }
191
-
192
174
  :global(:scope:active:enabled:where([data-hn-ui-floating-action-button])) {
193
175
  transform: scale(0.94);
194
176
  }
195
-
196
177
  :global(:scope:focus-visible:where([data-hn-ui-floating-action-button])) {
197
178
  outline: var(--ui-focus-width) solid var(--ui-focus-ring);
198
179
  outline-offset: var(--ui-focus-width);
199
180
  }
200
-
201
181
  :global(:scope:disabled:where([data-hn-ui-floating-action-button])) {
202
182
  background: var(--ui-disabled-surface);
203
183
  color: var(--ui-disabled-text);
204
184
  box-shadow: none;
205
185
  cursor: not-allowed;
206
186
  }
207
-
208
187
  :global(:where(:not([data-hn-ui-floating-action-button])):is(svg)) {
209
188
  inline-size: var(--ui-icon-size-lg);
210
189
  block-size: var(--ui-icon-size-lg);
211
190
  flex-shrink: 0;
212
191
  }
213
-
214
192
  @media (min-width: 768px) {
215
193
  :global(:scope[data-ui-floating-action-button-state~="mobileOnly"]:where([data-hn-ui-floating-action-button])) {
216
194
  display: none !important;
@@ -171,38 +171,8 @@ useComponentHost(() => import('../components/ui-form-field/ui-form-field.js'), {
171
171
  </template>
172
172
 
173
173
  <style scoped>
174
- /* This component's hooks style the element they are set on, and never a nested one. */
175
- @property --ui-form-field-danger {
176
- syntax: "*";
177
- inherits: false;
178
- }
179
- @property --ui-form-field-help-font-size {
180
- syntax: "*";
181
- inherits: false;
182
- }
183
- @property --ui-form-field-help-min-block-size {
184
- syntax: "*";
185
- inherits: false;
186
- }
187
- @property --ui-form-field-help-text {
188
- syntax: "*";
189
- inherits: false;
190
- }
191
- @property --ui-form-field-label-font-size {
192
- syntax: "*";
193
- inherits: false;
194
- }
195
- @property --ui-form-field-label-text {
196
- syntax: "*";
197
- inherits: false;
198
- }
199
- @property --ui-form-field-min-inline-size {
200
- syntax: "*";
201
- inherits: false;
202
- }
203
-
204
174
  /* Each named region styles whatever fills it, however it was slotted (slot="…" in HTML, #label
205
- in Vue), and generates no box of its own, so an empty region adds no gap. */
175
+ in Vue), and generates no box of its own, so an empty region adds no gap. */
206
176
 
207
177
  /* A label action, such as a small help button, sits after the label text in a box one line
208
178
  tall, centred on the first line and overflowing it. A button taller than a line of label
@@ -214,7 +184,7 @@ useComponentHost(() => import('../components/ui-form-field/ui-form-field.js'), {
214
184
 
215
185
  @scope (.ui-form-field) to ([data-hn]) {
216
186
  :global(:scope:where([data-hn-ui-form-field])) {
217
- /* Hooks do not inherit, so the parts below read them from the root. */
187
+ /* Resolve shared part values at the component root. */
218
188
  --_ui-form-field-danger: var(--ui-form-field-danger);
219
189
  --_ui-form-field-help-min-block-size: var(--ui-form-field-help-min-block-size);
220
190
  --_ui-form-field-label-text: var(--ui-form-field-label-text);
@@ -236,7 +206,10 @@ useComponentHost(() => import('../components/ui-form-field/ui-form-field.js'), {
236
206
 
237
207
  :global(.label:where([data-hn-ui-form-field])) {
238
208
  color: var(--_ui-form-field-label-text, var(--ui-text-secondary));
239
- font-size: var(--_ui-form-field-label-font-size, var(--ui-font-size-sm));
209
+ font-size: var(
210
+ --_ui-form-field-label-font-size,
211
+ var(--ui-field-label-font-size, var(--ui-font-size-md))
212
+ );
240
213
  }
241
214
  :global(.label:has(> .label-action > *):where([data-hn-ui-form-field])) {
242
215
  display: flex !important;
package/vue/UiGrid.vue CHANGED
@@ -31,7 +31,7 @@ const propValidityContract = {
31
31
  required: false,
32
32
  target: { attribute: 'gap' },
33
33
  description:
34
- 'Space between cells, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-grid-gap custom property,\n set on the grid itself, overrides it; set on an ancestor, it does nothing.',
34
+ 'Space between cells, on the spacing scale: xs is 0.5rem, s 0.75rem, m 1rem (also the default), l 1.5rem, and xl 2rem. The --ui-grid-gap custom property,\n set on :root, an ancestor, or the component itself, overrides it.',
35
35
  values: ['xs', 's', 'm', 'l', 'xl'],
36
36
  },
37
37
  min: {
@@ -128,18 +128,7 @@ const hostState = computed(() =>
128
128
  </template>
129
129
 
130
130
  <style scoped>
131
- /* This component's hooks style the element they are set on, and never a nested one. */
132
- @property --ui-grid-gap {
133
- syntax: "*";
134
- inherits: false;
135
- }
136
- @property --ui-grid-min {
137
- syntax: "*";
138
- inherits: false;
139
- }
140
-
141
131
  /* A component that sets its display still honours the hidden attribute on its root. */
142
-
143
132
  @scope (.ui-grid) to ([data-hn]) {
144
133
  :global(:scope:where([data-hn-ui-grid])) {
145
134
  --_grid-gap: var(--ui-space-4);
@@ -173,7 +162,6 @@ const hostState = computed(() =>
173
162
  max-inline-size: 100%;
174
163
  margin: 0 !important;
175
164
  }
176
-
177
165
  :global(:scope[data-ui-grid-state~="gap=xs"]:where([data-hn-ui-grid])) {
178
166
  --_grid-gap: var(--ui-space-2);
179
167
  }
package/vue/UiIcon.vue CHANGED
@@ -578,22 +578,10 @@ const hostState = computed(() =>
578
578
  </template>
579
579
 
580
580
  <style scoped>
581
- /* This component's hooks style the element they are set on, and never a nested one. */
582
- @property --ui-icon-size {
583
- syntax: "*";
584
- inherits: false;
585
- }
586
- @property --ui-icon-stroke-width {
587
- syntax: "*";
588
- inherits: false;
589
- }
590
-
591
581
  /* A component that sets its display still honours the hidden attribute on its root. */
592
-
593
582
  @scope (.ui-icon) to ([data-hn]) {
594
583
  :global(:scope) {
595
- /* Hooks do not inherit, so the svg reads the stroke from the root. A Looma component that
596
- sizes the icons it renders sets --_ui-default-icon-*, which the icon's own hooks override. */
584
+ /* Resolve the SVG stroke at the root. A Looma component that sizes its icons sets --_ui-default-icon-*, which the icon's own hooks override. */
597
585
  --_ui-icon-stroke-width: var(--ui-icon-stroke-width, var(--_ui-default-icon-stroke-width));
598
586
 
599
587
  display: inline-flex !important;
@@ -601,15 +589,12 @@ const hostState = computed(() =>
601
589
  inline-size: var(--ui-icon-size, var(--_ui-default-icon-size, 1em));
602
590
  block-size: var(--ui-icon-size, var(--_ui-default-icon-size, 1em));
603
591
  }
604
-
605
592
  :global(:scope[data-ui-icon-state~="tone=secondary"]) {
606
593
  color: var(--ui-text-secondary);
607
594
  }
608
-
609
595
  :global(:scope[data-ui-icon-state~="tone=muted"]) {
610
596
  color: var(--ui-text-muted);
611
597
  }
612
-
613
598
  :global(svg) {
614
599
  inline-size: 100%;
615
600
  block-size: 100%;
@@ -39,7 +39,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
39
39
  type: PropType<"sm" | "md" | "lg" | null>;
40
40
  };
41
41
  tone: {
42
- type: PropType<"accent" | "neutral" | "danger" | "success" | "warning" | "info" | null>;
42
+ type: PropType<"accent" | "accent-secondary" | "accent-tertiary" | "neutral" | "danger" | "success" | "warning" | "info" | null>;
43
43
  };
44
44
  variant: {
45
45
  type: PropType<"ghost" | "outline" | "solid" | null>;
@@ -82,7 +82,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
82
82
  type: PropType<"sm" | "md" | "lg" | null>;
83
83
  };
84
84
  tone: {
85
- type: PropType<"accent" | "neutral" | "danger" | "success" | "warning" | "info" | null>;
85
+ type: PropType<"accent" | "accent-secondary" | "accent-tertiary" | "neutral" | "danger" | "success" | "warning" | "info" | null>;
86
86
  };
87
87
  variant: {
88
88
  type: PropType<"ghost" | "outline" | "solid" | null>;