bitboss-ui 3.0.0-beta.70 → 3.0.0-beta.71

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 (123) hide show
  1. package/dist/ai/BbBreadcrumbs.md +3 -0
  2. package/dist/ai/BbCheckbox.md +5 -6
  3. package/dist/ai/BbCheckboxGroup.md +25 -26
  4. package/dist/ai/BbColorInput.md +3 -4
  5. package/dist/ai/BbDatePickerInput.md +3 -4
  6. package/dist/ai/BbDropdown.md +35 -1
  7. package/dist/ai/BbDropdownButton.md +4 -3
  8. package/dist/ai/BbNumberInput.md +3 -4
  9. package/dist/ai/BbRadio.md +5 -6
  10. package/dist/ai/BbRadioGroup.md +24 -30
  11. package/dist/ai/BbRating.md +3 -9
  12. package/dist/ai/BbSelect.md +10 -11
  13. package/dist/ai/BbSlider.md +3 -9
  14. package/dist/ai/BbSwitch.md +6 -6
  15. package/dist/ai/BbSwitchGroup.md +4 -7
  16. package/dist/ai/BbTag.md +3 -4
  17. package/dist/ai/BbTextInput.md +11 -11
  18. package/dist/ai/BbTextarea.md +8 -8
  19. package/dist/ai/BbTimePickerInput.md +3 -4
  20. package/dist/ai/BbTooltip.md +17 -13
  21. package/dist/ai/CommonField.md +2 -10
  22. package/dist/ai/OptionsContainer.md +5 -13
  23. package/dist/ai/changelog.json +44 -5
  24. package/dist/ai/components.json +26 -26
  25. package/dist/ai/guides/migration/v2-to-v3.md +26 -2
  26. package/dist/ai/guides/preset-components.md +35 -10
  27. package/dist/ai/helpers/definePreset.json +8 -1
  28. package/dist/ai/helpers/definePreset.ts +35 -10
  29. package/dist/ai/helpers/inertia/manifest.json +1 -1
  30. package/dist/ai/manifest/common.json +2 -2
  31. package/dist/ai/manifest/components/BbBreadcrumbs.json +1 -1
  32. package/dist/ai/manifest/components/BbCheckbox.json +2 -2
  33. package/dist/ai/manifest/components/BbCheckbox.tree.json +1 -1
  34. package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +9 -19
  35. package/dist/ai/manifest/components/BbColorInput.json +2 -2
  36. package/dist/ai/manifest/components/BbColorInput.tree.json +1 -1
  37. package/dist/ai/manifest/components/BbDatePickerInput.tree.json +1 -1
  38. package/dist/ai/manifest/components/BbDropdown.json +2 -2
  39. package/dist/ai/manifest/components/BbDropdownButton.json +2 -2
  40. package/dist/ai/manifest/components/BbNumberInput.tree.json +1 -1
  41. package/dist/ai/manifest/components/BbRadio.tree.json +1 -1
  42. package/dist/ai/manifest/components/BbRadioGroup.tree.json +8 -18
  43. package/dist/ai/manifest/components/BbRating.tree.json +1 -1
  44. package/dist/ai/manifest/components/BbSelect.json +15 -15
  45. package/dist/ai/manifest/components/BbSelect.tree.json +1 -1
  46. package/dist/ai/manifest/components/BbSlider.tree.json +1 -1
  47. package/dist/ai/manifest/components/BbSwitch.tree.json +1 -1
  48. package/dist/ai/manifest/components/BbSwitchGroup.tree.json +2 -2
  49. package/dist/ai/manifest/components/BbTag.tree.json +1 -1
  50. package/dist/ai/manifest/components/BbTextInput.tree.json +1 -1
  51. package/dist/ai/manifest/components/BbTextarea.tree.json +1 -1
  52. package/dist/ai/manifest/components/BbTimePickerInput.tree.json +1 -1
  53. package/dist/ai/manifest/components/BbTooltip.json +1 -1
  54. package/dist/ai/manifest/components/BbTooltip.tree.json +2 -2
  55. package/dist/ai/manifest/components/CommonField.tree.json +5 -10
  56. package/dist/ai/manifest/components/OptionsContainer.tree.json +5 -13
  57. package/dist/ai/manifest/index.json +2 -2
  58. package/dist/ai/manifest/types.advanced.json +1 -1
  59. package/dist/ai/manifest/types.api.json +2 -2
  60. package/dist/ai/source/BbBreadcrumbs.md +31 -12
  61. package/dist/ai/source/BbCheckbox.md +36 -42
  62. package/dist/ai/source/BbCheckboxGroup.md +2 -4
  63. package/dist/ai/source/BbColorInput.md +2 -4
  64. package/dist/ai/source/BbDatePickerInput.md +2 -4
  65. package/dist/ai/source/BbDropdown.md +11 -2
  66. package/dist/ai/source/BbDropdownButton.md +4 -1
  67. package/dist/ai/source/BbDropdownGroup.md +9 -2
  68. package/dist/ai/source/BbNumberInput.md +2 -4
  69. package/dist/ai/source/BbRadio.md +36 -42
  70. package/dist/ai/source/BbRadioGroup.md +2 -4
  71. package/dist/ai/source/BbRating.md +2 -14
  72. package/dist/ai/source/BbSelect.md +30 -13
  73. package/dist/ai/source/BbSlider.md +2 -4
  74. package/dist/ai/source/BbSwitch.md +34 -38
  75. package/dist/ai/source/BbTable.md +4 -1
  76. package/dist/ai/source/BbTag.md +2 -4
  77. package/dist/ai/source/BbTextInput.md +2 -4
  78. package/dist/ai/source/BbTextarea.md +2 -4
  79. package/dist/ai/source/BbTimePickerInput.md +2 -4
  80. package/dist/ai/source/BbTooltip.md +9 -3
  81. package/dist/ai/source/CommonField.md +17 -106
  82. package/dist/ai/source/GuidesComponent.md +3 -0
  83. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +106 -106
  84. package/dist/components/BbBreadcrumbs/types.d.ts +6 -0
  85. package/dist/components/BbCheckbox/types.d.ts +2 -4
  86. package/dist/components/BbCheckboxGroup/types.d.ts +2 -4
  87. package/dist/components/BbColorInput/types.d.ts +2 -4
  88. package/dist/components/BbDatePickerInput/types.d.ts +2 -4
  89. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +2 -0
  90. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +121 -120
  91. package/dist/components/BbDropdown/normalizeGroups.js +37 -33
  92. package/dist/components/BbDropdown/types.d.ts +9 -2
  93. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +95 -94
  94. package/dist/components/BbNumberInput/types.d.ts +2 -4
  95. package/dist/components/BbRadio/types.d.ts +2 -4
  96. package/dist/components/BbRadioGroup/types.d.ts +2 -4
  97. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +116 -118
  98. package/dist/components/BbRating/types.d.ts +2 -4
  99. package/dist/components/BbSelect/BbSelect.vue.d.ts +10 -4
  100. package/dist/components/BbSelect/types.d.ts +4 -6
  101. package/dist/components/BbSlider/types.d.ts +2 -4
  102. package/dist/components/BbTable/types.d.ts +1 -1
  103. package/dist/components/BbTag/types.d.ts +2 -4
  104. package/dist/components/BbTextInput/types.d.ts +2 -4
  105. package/dist/components/BbTextarea/types.d.ts +2 -4
  106. package/dist/components/BbTimePickerInput/types.d.ts +2 -4
  107. package/dist/components/BbTooltip/ptKeys.generated.d.ts +4 -4
  108. package/dist/components/BbTooltip/types.d.ts +3 -1
  109. package/dist/components/CommonField/types.d.ts +2 -4
  110. package/dist/composables/useChoiceIndicator.js +67 -64
  111. package/dist/directives/bbDropdown.js +1 -1
  112. package/dist/llms-full.txt +246 -201
  113. package/dist/styles.css +2 -2
  114. package/dist/types/FieldLayout.d.ts +4 -1
  115. package/dist/types/ItemAccessor.d.ts +3 -1
  116. package/dist/types/ItemPath.d.ts +33 -0
  117. package/dist/utils/versionCheck.js +1 -1
  118. package/package.json +6 -4
  119. package/scripts/README.md +31 -29
  120. package/scripts/lib/define-preset-copy.mjs +1 -1
  121. package/scripts/lib/setup.mjs +8 -0
  122. package/scripts/lib/toolchain-check.mjs +125 -7
  123. package/scripts/lib/validate-bb-markup.mjs +1 -1
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "library": "bitboss-ui",
4
- "version": "3.0.0-beta.70",
5
- "generatedAt": "2026-11-09T18:44:25.000Z",
4
+ "version": "3.0.0-beta.71",
5
+ "generatedAt": "2026-11-10T12:23:06.000Z",
6
6
  "about": "The bitboss-ui API for agents: open components/<Name>.json for one component (every prop, event, slot, v-model, pt part and state, and the public types its API uses; one member per line; a row or pt part written { name, common: true } is whole once in common.json, read it once). components/<Name>.tree.json has its component tree and CSS internals; files.removed the old names. The machine file with everything in one place is ../components.json.",
7
7
  "reading": {
8
8
  "components[]": "one row per component; description = its first sentence. Its API file is files.component with <Name> = name; its components/<Name>.tree.json (component tree, css classes, CSS custom properties) exists unless the row says tree: false.",
@@ -16,7 +16,7 @@
16
16
  {"name":"BbDropdownDirectiveValue","usage":"advanced","definition":"type BbDropdownDirectiveValue = BbDropdownItem[] | (Partial<Omit<BbDropdownProps, 'items'>> & { items: BbDropdownItem[]; });"},
17
17
  {"name":"BbDropdownGroupItemsContext","usage":"advanced","definition":"type BbDropdownGroupItemsContext<M = any> = BbItemsProviderContext<M> & { query?: string; reason: 'initial' | 'search' | 'dependencies'; };"},
18
18
  {"name":"BbDropdownGroupModel","usage":"advanced","component":"BbDropdown","definition":"type BbDropdownGroupModel<T = any> = T[] | T | null;"},
19
- {"name":"BbDropdownGroupState","usage":"advanced","fields":["text?: undefined","label?: string","id?: string","onClick?: ((...args: any[]) => any)","dependencies?: unknown[]","append:icon?: string","meta?: any","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","depsDebounceTime?: number","enforceCoherence?: boolean","filterBy?: false | string[]","group?: true","itemText?: string | ((item: any) => string)","itemProps?: BbDropdownItemProps<any>","itemValue?: string | ((item: any) => any)","loadingText?: string","max?: number","maxHeight?: string | number","clearable?: boolean","emptyText?: string","failedText?: string","prefill?: boolean | \"interaction\"","searchable?: boolean","searchPlaceholder?: string","groupBy?: string | ((row: any) => string | null | undefined)","stash?: boolean","hideLabel?: boolean","value: unknown","selectedOptions: BbDropdownSelectedOption[]","multiple: boolean","loading: boolean","selectable: boolean"]},
19
+ {"name":"BbDropdownGroupState","usage":"advanced","fields":["text?: undefined","label?: string","id?: string","onClick?: ((...args: any[]) => any)","hidden?: boolean","dependencies?: unknown[]","append:icon?: string","meta?: any","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","depsDebounceTime?: number","enforceCoherence?: boolean","filterBy?: false | string[]","group?: true","itemText?: string | ((item: any) => string)","itemProps?: BbDropdownItemProps<any>","itemValue?: string | ((item: any) => any)","loadingText?: string","max?: number","maxHeight?: string | number","clearable?: boolean","emptyText?: string","failedText?: string","prefill?: boolean | \"interaction\"","searchable?: boolean","searchPlaceholder?: string","groupBy?: string | ((row: any) => string | null | undefined)","stash?: boolean","hideLabel?: boolean","value: unknown","selectedOptions: BbDropdownSelectedOption[]","multiple: boolean","loading: boolean","selectable: boolean"]},
20
20
  {"name":"BbDropdownHandle","usage":"advanced","definition":"type BbDropdownHandle = { isReady: ComputedRef<boolean>; open: ComputedRef<boolean>; groups: ComputedRef<Record<string, BbDropdownGroupState>>; };"},
21
21
  {"name":"BbDropdownSelectedOption","usage":"advanced","definition":"type BbDropdownSelectedOption = { label?: string; description?: string; original?: unknown; value?: unknown; };"},
22
22
  {"name":"BbDropdownSlotGroup","usage":"advanced","component":"BbDropdown","definition":"type BbDropdownSlotGroup = { id?: string; label?: string; meta?: any; multiple: boolean; selectable: boolean; };"},
@@ -2,7 +2,7 @@
2
2
  "types": [
3
3
  {"name":"AlertVariantRegistry","usage":"api","component":null,"usedBy":["BbAlert.prop.variant"],"definition":"interface AlertVariantRegistry { outline: true; primary: true; destructive: true; warning: true; }","values":["outline","primary","destructive","warning"],"extensibleVia":"AlertVariantRegistry"},
4
4
  {"name":"BadgeVariantType","usage":"api","component":null,"usedBy":["BbBadge.prop.variant"],"definition":"type BadgeVariantType = BadgeVariantFromRegistry | 'none';","values":["primary","secondary","destructive","outline","none"],"extensibleVia":"BadgeVariantRegistry"},
5
- {"name":"BbBreadcrumbsItem","usage":"api","component":"BbBreadcrumbs","usedBy":["BbBreadcrumbs.prop.items"],"definition":"type BbBreadcrumbsItem = Omit<BbBaseButtonProps, 'block' | 'tag' | 'type' | 'text'> & { onClick?: (event: MouseEvent) => void | Promise<void>; label?: string; value?: string; key?: never; text?: never; 'prepend:icon'?: IconType; 'append:icon'?: IconType; };"},
5
+ {"name":"BbBreadcrumbsItem","usage":"api","component":"BbBreadcrumbs","usedBy":["BbBreadcrumbs.prop.items"],"definition":"type BbBreadcrumbsItem = Omit<BbBaseButtonProps, 'block' | 'tag' | 'type' | 'text'> & { onClick?: (event: MouseEvent) => void | Promise<void>; label?: string; value?: string; hidden?: boolean; key?: never; text?: never; 'prepend:icon'?: IconType; 'append:icon'?: IconType; };"},
6
6
  {"name":"BbCalendarSegment","usage":"api","component":"BbCalendar","usedBy":["BbCalendar.prop.activeSegment","BbCalendar.event.update:activeSegment","BbDatePicker.prop.activeSegment","BbDatePicker.event.update:activeSegment"],"values":["start","end"]},
7
7
  {"name":"BbCarouselSlotProps","usage":"api","component":"BbCarousel","usedBy":["BbCarousel.slot.overlay|slide|slide:footer|slide:header"],"definition":"type BbCarouselSlotProps<T = number> = { item: T; index: number; active: boolean; current: boolean; };"},
8
8
  {"name":"BbCheckboxGroupItemsContext","usage":"api","component":null,"usedBy":["BbCheckboxGroup.prop.items","BbSwitchGroup.prop.items"],"definition":"type BbCheckboxGroupItemsContext<M = any> = BbItemsProviderContext<M> & { reason: 'initial' | 'dependencies' | 'model'; };"},
@@ -11,7 +11,7 @@
11
11
  {"name":"BbConfirmPortalSlotProps","usage":"api","component":"BbConfirm","usedBy":["BbConfirmPortal.slot.default"],"definition":"type BbConfirmPortalSlotProps<P = any> = { data: P; yes: () => void; no: () => void; };"},
12
12
  {"name":"BbDialogResult","usage":"api","component":null,"usedBy":["BbDialog.event.hide","BbOffCanvas.event.hide"],"definition":"type BbDialogResult<Out = any> = { completed: true; value: Out; } | { completed: false; reason: BbDialogDismissReason; };"},
13
13
  {"name":"BbDialogSizes","usage":"api","component":"BbDialog","usedBy":["BbDialog.prop.size"],"definition":"type BbDialogSizes = { xs: number; sm: number; md: number; lg: number; xl: number; '2xl': number; };"},
14
- {"name":"BbDropdownItem","usage":"api","component":"BbDropdown","usedBy":["BbDropdown.prop.items","BbDropdownButton.prop.items"],"definition":"type BbDropdownItem = InternalItem | InternalGroup | BbDropdownItem[];","members":{"InternalItem":["except?: string[]","disabled?: boolean","rel?: string","target?: string","activeClass?: string","ariaCurrentValue?: \"page\" | \"step\" | \"location\" | \"date\" | \"time\" | \"true\" | \"false\"","data?: object","exactActiveClass?: string","headers?: object","href?: string | { url: string; method: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"; }","download?: string | boolean","external?: boolean","method?: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"","onBefore?: (() => void)","onCancel?: (() => void)","onCancelToken?: ((cancelToken: unknown) => void)","onFinish?: (() => void)","only?: string[]","onProgress?: ((progress: { percentage: number | undefined; }) => void)","onStart?: (() => void)","onSuccess?: (() => void)","preserveScroll?: boolean | ((props: Record<string, unknown>) => boolean)","preserveState?: boolean | ((props: Record<string, unknown>) => boolean) | null","queryStringArrayFormat?: \"brackets\" | \"indices\"","replace?: boolean","to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric","async?: boolean","cacheFor?: string | number | (string | number)[]","cacheTags?: string | string[]","component?: string","instant?: boolean","onError?: ((errors: Record<string, string>) => void)","onPrefetched?: (() => void)","onPrefetching?: (() => void)","pageProps?: Record<string, unknown> | ((currentProps: Record<string, unknown>, sharedProps: Record<string, unknown>) => Record<string, unknown>) | null","prefetch?: string | boolean | string[]","preserveUrl?: boolean","viewTransition?: boolean","items?: BbDropdownItem[]","onClick?: ((...args: any[]) => any)","append:icon?: string","meta?: any","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","label: string","value?: unknown","keyless?: true","rowKey?: string","domKey?: string","description?: string","placeholder?: \"loading\" | \"failed\" | \"empty\"","error?: unknown","fetched?: true","slotKey?: string"],"InternalGroup":["append:icon?: string","meta?: any","onClick?: ((...args: any[]) => any)","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","id?: string","dependencies?: unknown[]","depsDebounceTime?: number","enforceCoherence?: boolean","filterBy?: false | string[]","group?: true","items: any[] | DropdownGroupItemsGetter | (InternalItem | InternalItem[])[]","itemText?: string | ((item: any) => string)","itemProps?: BbDropdownItemProps<any>","itemValue?: string | ((item: any) => any)","loadingText?: string","max?: number","maxHeight?: string | number","multiple?: boolean","clearable?: boolean","emptyText?: string","failedText?: string","prefill?: boolean | \"interaction\"","searchable?: boolean","searchPlaceholder?: string","groupBy?: string | ((row: any) => string | null | undefined)","selectable?: boolean | ((item: any) => boolean)","stash?: boolean","label?: string","hideLabel?: boolean"]}},
14
+ {"name":"BbDropdownItem","usage":"api","component":"BbDropdown","usedBy":["BbDropdown.prop.items","BbDropdownButton.prop.items"],"definition":"type BbDropdownItem = InternalItem | InternalGroup | BbDropdownItem[];","members":{"InternalItem":["except?: string[]","disabled?: boolean","rel?: string","target?: string","activeClass?: string","ariaCurrentValue?: \"page\" | \"step\" | \"location\" | \"date\" | \"time\" | \"true\" | \"false\"","data?: object","exactActiveClass?: string","headers?: object","href?: string | { url: string; method: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"; }","download?: string | boolean","external?: boolean","method?: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"","onBefore?: (() => void)","onCancel?: (() => void)","onCancelToken?: ((cancelToken: unknown) => void)","onFinish?: (() => void)","only?: string[]","onProgress?: ((progress: { percentage: number | undefined; }) => void)","onStart?: (() => void)","onSuccess?: (() => void)","preserveScroll?: boolean | ((props: Record<string, unknown>) => boolean)","preserveState?: boolean | ((props: Record<string, unknown>) => boolean) | null","queryStringArrayFormat?: \"brackets\" | \"indices\"","replace?: boolean","to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric","async?: boolean","cacheFor?: string | number | (string | number)[]","cacheTags?: string | string[]","component?: string","instant?: boolean","onError?: ((errors: Record<string, string>) => void)","onPrefetched?: (() => void)","onPrefetching?: (() => void)","pageProps?: Record<string, unknown> | ((currentProps: Record<string, unknown>, sharedProps: Record<string, unknown>) => Record<string, unknown>) | null","prefetch?: string | boolean | string[]","preserveUrl?: boolean","viewTransition?: boolean","items?: BbDropdownItem[]","onClick?: ((...args: any[]) => any)","append:icon?: string","hidden?: boolean","meta?: any","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","label: string","value?: unknown","keyless?: true","rowKey?: string","domKey?: string","description?: string","placeholder?: \"loading\" | \"failed\" | \"empty\"","error?: unknown","fetched?: true","slotKey?: string"],"InternalGroup":["append:icon?: string","hidden?: boolean","meta?: any","onClick?: ((...args: any[]) => any)","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","id?: string","dependencies?: unknown[]","depsDebounceTime?: number","enforceCoherence?: boolean","filterBy?: false | string[]","group?: true","items: any[] | DropdownGroupItemsGetter | (InternalItem | InternalItem[])[]","itemText?: string | ((item: any) => string)","itemProps?: BbDropdownItemProps<any>","itemValue?: string | ((item: any) => any)","loadingText?: string","max?: number","maxHeight?: string | number","multiple?: boolean","clearable?: boolean","emptyText?: string","failedText?: string","prefill?: boolean | \"interaction\"","searchable?: boolean","searchPlaceholder?: string","groupBy?: string | ((row: any) => string | null | undefined)","selectable?: boolean | ((item: any) => boolean)","stash?: boolean","label?: string","hideLabel?: boolean"]}},
15
15
  {"name":"BbDropdownItemSlotProps","usage":"api","component":"BbDropdown","usedBy":["BbDropdown.slot.item:append|item:prepend|<value>|<value>:prepend|<value>:append|<groupId>:item|<groupId>:item:prepend|<groupId>:item:append|<groupId>|<groupId>:prepend|<groupId>:append","BbDropdownButton.slot.<value>|<value>:prepend|<value>:append|<groupId>:item|<groupId>:item:prepend|<groupId>:item:append|<groupId>|<groupId>:prepend|<groupId>:append"],"fields":["description?: string","disabled?: boolean","group: BbDropdownSlotGroup","groupTitle: boolean","level: number","index: number","item: InternalItem","loading: boolean","open: boolean","placement: Placement | \"cursor\"","selected: boolean","label: string","activeLink?: boolean","exactActiveLink?: boolean"]},
16
16
  {"name":"BbFormFieldEntry","usage":"api","component":null,"usedBy":["BbForm.slot.default"],"definition":"type BbFormFieldEntry = { mounted: boolean; label: string | undefined; validationLabel: string | undefined; errors: string[]; dirty: boolean; touched: boolean; };"},
17
17
  {"name":"BbFormInvalidPayload","usage":"api","component":null,"usedBy":["BbForm.event.invalid"],"definition":"type BbFormInvalidPayload = { errors: Record<string, string[]>; values: Record<string, unknown>; unmatched: Record<string, string[]>; source: 'submit' | 'server'; };"},
@@ -66,7 +66,7 @@
66
66
  </template>
67
67
  </BbDropdown>
68
68
  <span
69
- v-if="overflowCount < items.length"
69
+ v-if="overflowCount < visibleItems.length"
70
70
  aria-hidden="true"
71
71
  class="bb-breadcrumbs__divider"
72
72
  >
@@ -79,7 +79,7 @@
79
79
 
80
80
  <!-- Visible breadcrumb items (index >= overflowCount) -->
81
81
  <template
82
- v-for="(item, index) in items"
82
+ v-for="(item, index) in visibleItems"
83
83
  :key="item.value ?? `:keyless-${index}`"
84
84
  >
85
85
  <template v-if="index >= overflowCount">
@@ -88,7 +88,8 @@
88
88
  :class="{
89
89
  'bb-breadcrumbs__item--active': isCurrent(item, index),
90
90
  'bb-breadcrumbs__item--compressed':
91
- items.length > 1 && overflowCount === items.length - 1,
91
+ visibleItems.length > 1 &&
92
+ overflowCount === visibleItems.length - 1,
92
93
  }"
93
94
  v-bind="
94
95
  passthrough.part('item', {
@@ -134,7 +135,8 @@
134
135
  <span
135
136
  class="bb-breadcrumbs__text"
136
137
  :title="
137
- items.length > 1 && overflowCount === items.length - 1
138
+ visibleItems.length > 1 &&
139
+ overflowCount === visibleItems.length - 1
138
140
  ? item.label
139
141
  : undefined
140
142
  "
@@ -176,7 +178,7 @@
176
178
  />
177
179
  </BbBaseButton>
178
180
  <span
179
- v-if="index < items.length - 1"
181
+ v-if="index < visibleItems.length - 1"
180
182
  aria-hidden="true"
181
183
  class="bb-breadcrumbs__divider"
182
184
  >
@@ -240,6 +242,13 @@ const props = withDefaults(
240
242
 
241
243
  defineSlots<BbBreadcrumbsSlots>();
242
244
 
245
+ /**
246
+ * The crumbs that exist: a `hidden` crumb is out before width
247
+ * estimation, overflow, the trail and the overflow menu alike — everything
248
+ * below reads this, never `props.items`.
249
+ */
250
+ const visibleItems = computed(() => props.items.filter((item) => !item.hidden));
251
+
243
252
  // Per-crumb slots are named after each item's `value` through `slotKey`, so a
244
253
  // removed prop or a slot spelled the pre-reset way is reported, as on BbTable
245
254
  // / BbTabs.
@@ -327,7 +336,7 @@ const itemSlotBase = (item: Item) =>
327
336
  * Inertia / browser URL), because we pass none that would override it.
328
337
  */
329
338
  const isCurrent = (item: Item, index: number) =>
330
- index === props.items.length - 1 &&
339
+ index === visibleItems.value.length - 1 &&
331
340
  !item.href &&
332
341
  !(item as { to?: unknown }).to &&
333
342
  !item.onClick;
@@ -338,6 +347,9 @@ const buttonProps = (item: Item, index: number) => {
338
347
  ['append:icon']: _a,
339
348
  value: _value,
340
349
  label: _label,
350
+ // Ours, not the button's: it would land on the DOM as the native
351
+ // `hidden` attribute (a kept crumb's is `false`, still not ours to set).
352
+ hidden: _hidden,
341
353
  ...rest
342
354
  } = item;
343
355
  return isCurrent(item, index)
@@ -392,14 +404,14 @@ const estimateItemWidth = (item: Item) => {
392
404
  };
393
405
 
394
406
  const estimatedRequiredWidth = computed(() => {
395
- const n = props.items.length;
407
+ const n = visibleItems.value.length;
396
408
  if (n === 0) {
397
409
  return 0;
398
410
  }
399
411
 
400
412
  const dividerW = props.dividerWidth;
401
413
  const gapW = resolvedGapWidth.value;
402
- const itemWidths = props.items.map(estimateItemWidth);
414
+ const itemWidths = visibleItems.value.map(estimateItemWidth);
403
415
  const itemsWidth = itemWidths.reduce((sum, width) => sum + width, 0);
404
416
  const dividerAndGapWidth = n > 1 ? (n - 1) * (dividerW + 2 * gapW) : 0;
405
417
 
@@ -440,7 +452,7 @@ const breadcrumbsCssVariables = computed(() => ({
440
452
  * Computes the overflow count from estimated content widths.
441
453
  */
442
454
  const recompute = (availableWidth: number) => {
443
- const n = props.items.length;
455
+ const n = visibleItems.value.length;
444
456
  if (n === 0) {
445
457
  overflowCount.value = 0;
446
458
  return;
@@ -456,7 +468,7 @@ const recompute = (availableWidth: number) => {
456
468
  const dividerW = props.dividerWidth;
457
469
  const ellipsisW = resolvedEllipsisWidth.value;
458
470
  const gapW = resolvedGapWidth.value;
459
- const itemWidths = props.items.map(estimateItemWidth);
471
+ const itemWidths = visibleItems.value.map(estimateItemWidth);
460
472
  const suffixSums = Array.from({ length: n + 1 }, () => 0);
461
473
  for (let index = n - 1; index >= 0; index--) {
462
474
  suffixSums[index] = suffixSums[index + 1] + itemWidths[index];
@@ -506,8 +518,9 @@ const recompute = (availableWidth: number) => {
506
518
 
507
519
  // Observe this component width so overflow is based on real allocated space.
508
520
  const breadcrumbsEl = computed(() => navRef.value);
521
+ // Over the VISIBLE crumbs, so toggling `hidden` recomputes the overflow.
509
522
  const itemsWidthSignature = computed(() =>
510
- props.items
523
+ visibleItems.value
511
524
  .map((item) => `${String(item.value)}::${item.label ?? ''}`)
512
525
  .join('|')
513
526
  );
@@ -663,7 +676,7 @@ onBeforeUnmount(() => {
663
676
  // per-crumb slots are forwarded below, so an overflowed crumb renders the same
664
677
  // content. A crumb without a label is a row without one.
665
678
  const overflowDropdownItems = computed<DropdownItem[]>(() =>
666
- props.items
679
+ visibleItems.value
667
680
  .slice(0, overflowCount.value)
668
681
  .map((item) => ({ ...item, label: item.label ?? '' }) as DropdownItem)
669
682
  );
@@ -701,6 +714,12 @@ export type Item = Omit<
701
714
  * the same `label` and `value`.
702
715
  */
703
716
  value?: string;
717
+ /**
718
+ * Leaves the crumb out entirely: not in the trail, not in the overflow
719
+ * menu, and never the current page — the same `hidden` a dropdown row
720
+ * takes (an overflowed crumb is one).
721
+ */
722
+ hidden?: boolean;
704
723
  /** Crumbs have no `key` (that is `value`). Guards against the old shape. */
705
724
  key?: never;
706
725
  /** Crumbs have no `text` (that is `label`). Guards against the old shape. */
@@ -450,15 +450,13 @@ export type BbCheckboxFieldProps = {
450
450
 
451
451
  /**
452
452
  * Vertical position of the label block in a side-by-side row; not
453
- * `labelPosition`, the horizontal one. Omitted, the label's first line
454
- * meets the control's.
453
+ * `labelPosition`, the horizontal one. Omitted, `'top'`.
455
454
  */
456
455
  labelAlign?: FieldCrossAlign;
457
456
 
458
457
  /**
459
458
  * Vertical position of the control in a side-by-side row; not
460
- * `inputPosition`, the horizontal one. Omitted, the control's first line
461
- * meets the label's.
459
+ * `inputPosition`, the horizontal one. Omitted, `'top'`.
462
460
  */
463
461
  inputAlign?: FieldCrossAlign;
464
462
 
@@ -782,54 +780,50 @@ export type BbCheckboxSlots = {
782
780
  cursor: pointer;
783
781
 
784
782
  &--horizontal {
785
- align-items: center;
783
+ align-items: flex-start;
786
784
  display: flex;
787
785
  }
788
786
 
789
787
  /* A per-breakpoint `layout`, on its side-by-side tiers. */
790
788
  &--responsive {
791
- align-items: var(--ly-x, center);
789
+ align-items: var(--ly-x, flex-start);
792
790
  }
793
791
  }
794
792
 
795
- /* With a description the label block spans two lines: align the box with
796
- the first line (the label text) instead of centering on the block. */
797
- &.bb-field--description {
798
- /* Only while neither `labelAlign` nor `inputAlign` is set:
799
- either prop aims the columns itself, and the pin would hold the
800
- control on the first line against it. */
801
- .bb-field__layout--horizontal:not(.bb-field__layout--aligned) {
802
- align-items: flex-start;
803
-
804
- /*
805
- * `align-items` + `min-height` are what pin the control to the
806
- * LABEL'S FIRST LINE instead of the block centre — measured: with a
807
- * 4-line label the control's mid sits exactly on the first line's
808
- * mid, and 28px above the block centre.
809
- *
810
- * There used to be a `display: inline-flex` here too, and it was
811
- * doing none of that vertical work — but it silently killed
812
- * `input-position`, whose only lever is `justify-items` (a grid
813
- * property, inert on a flex container). So a described row with
814
- * `input-position="right"` painted its control at the START of the
815
- * column: 182px out on a 198px column. Removing the one
816
- * declaration restores left/center/right and leaves the vertical
817
- * geometry byte-identical.
818
- */
819
- .bb-field__input-wrapper {
820
- align-items: center;
821
- min-height: var(--bb-label-lh);
822
- }
793
+ /* Side by side the box centres on the label's FIRST line, described
794
+ or not: the label column itself
795
+ stays at the top of the row (in CommonField), and this pin
796
+ centres the glyph inside its own column on that first line. Only
797
+ while neither `labelAlign` nor `inputAlign` is set:
798
+ either prop aims the columns itself (`input-align="top"` is flush
799
+ with the top, `"center"` the middle of the label block). */
800
+ .bb-field__layout--horizontal:not(.bb-field__layout--aligned) {
801
+ /*
802
+ * `align-items` + `min-height` are what pin the control to the
803
+ * LABEL'S FIRST LINE instead of the block centre — measured: with a
804
+ * 4-line label the control's mid sits exactly on the first line's
805
+ * mid, and 28px above the block centre.
806
+ *
807
+ * There used to be a `display: inline-flex` here too, and it was
808
+ * doing none of that vertical work — but it silently killed
809
+ * `input-position`, whose only lever is `justify-items` (a grid
810
+ * property, inert on a flex container). So a described row with
811
+ * `input-position="right"` painted its control at the START of the
812
+ * column: 182px out on a 198px column. Removing the one
813
+ * declaration restores left/center/right and leaves the vertical
814
+ * geometry byte-identical.
815
+ */
816
+ .bb-field__input-wrapper {
817
+ align-items: center;
818
+ min-height: var(--bb-label-lh);
823
819
  }
820
+ }
824
821
 
825
- /* The same pin on a per-breakpoint `layout`'s side-by-side tiers. */
826
- .bb-field__layout--responsive:not(.bb-field__layout--aligned) {
827
- align-items: var(--ly-x, flex-start);
828
-
829
- .bb-field__input-wrapper {
830
- align-items: var(--ly-x, center);
831
- min-height: var(--ly-x, var(--bb-label-lh));
832
- }
822
+ /* The same pin on a per-breakpoint `layout`'s side-by-side tiers. */
823
+ .bb-field__layout--responsive:not(.bb-field__layout--aligned) {
824
+ .bb-field__input-wrapper {
825
+ align-items: var(--ly-x, center);
826
+ min-height: var(--ly-x, var(--bb-label-lh));
833
827
  }
834
828
  }
835
829
  }
@@ -729,15 +729,13 @@ export type BbCheckboxGroupBaseProps<T> = {
729
729
 
730
730
  /**
731
731
  * Vertical position of the label block in a side-by-side row; not
732
- * `labelPosition`, the horizontal one. Omitted, the label's first line
733
- * meets the control's.
732
+ * `labelPosition`, the horizontal one. Omitted, `'top'`.
734
733
  */
735
734
  labelAlign?: FieldCrossAlign;
736
735
 
737
736
  /**
738
737
  * Vertical position of the control in a side-by-side row; not
739
- * `inputPosition`, the horizontal one. Omitted, the control's first line
740
- * meets the label's.
738
+ * `inputPosition`, the horizontal one. Omitted, `'top'`.
741
739
  */
742
740
  inputAlign?: FieldCrossAlign;
743
741
 
@@ -653,15 +653,13 @@ export type BbColorInputProps = BbColorInputPtProps & {
653
653
 
654
654
  /**
655
655
  * Vertical position of the label block in a side-by-side row; not
656
- * `labelPosition`, the horizontal one. Omitted, the label's first line
657
- * meets the control's.
656
+ * `labelPosition`, the horizontal one. Omitted, `'top'`.
658
657
  */
659
658
  labelAlign?: FieldCrossAlign;
660
659
 
661
660
  /**
662
661
  * Vertical position of the control in a side-by-side row; not
663
- * `inputPosition`, the horizontal one. Omitted, the control's first line
664
- * meets the label's.
662
+ * `inputPosition`, the horizontal one. Omitted, `'top'`.
665
663
  */
666
664
  inputAlign?: FieldCrossAlign;
667
665
  /**
@@ -2809,15 +2809,13 @@ export type BbDatePickerInputBaseProps = BbDatePickerInputPtProps & {
2809
2809
 
2810
2810
  /**
2811
2811
  * Vertical position of the label block in a side-by-side row; not
2812
- * `labelPosition`, the horizontal one. Omitted, the label's first line
2813
- * meets the control's.
2812
+ * `labelPosition`, the horizontal one. Omitted, `'top'`.
2814
2813
  */
2815
2814
  labelAlign?: FieldCrossAlign;
2816
2815
 
2817
2816
  /**
2818
2817
  * Vertical position of the control in a side-by-side row; not
2819
- * `inputPosition`, the horizontal one. Omitted, the control's first line
2820
- * meets the label's.
2818
+ * `inputPosition`, the horizontal one. Omitted, `'top'`.
2821
2819
  */
2822
2820
  inputAlign?: FieldCrossAlign;
2823
2821
 
@@ -612,6 +612,7 @@ const mergeCompanionGroup = (
612
612
  multiple: companion.multiple ?? inline.multiple,
613
613
  label: companion.label ?? inline.label,
614
614
  hideLabel: companion.hideLabel ?? inline.hideLabel,
615
+ hidden: companion.hidden ?? inline.hidden,
615
616
  items: companion.items ?? inline.items,
616
617
  'prepend:icon': companion['prepend:icon'] ?? inline['prepend:icon'],
617
618
  'append:icon': companion['append:icon'] ?? inline['append:icon'],
@@ -628,6 +629,7 @@ const toGroupFromCompanion = (
628
629
  id: companion.key,
629
630
  label: companion.label ?? baseline?.label,
630
631
  hideLabel: companion.hideLabel ?? baseline?.hideLabel,
632
+ hidden: companion.hidden ?? baseline?.hidden,
631
633
  items: companion.items ?? baseline?.items ?? [],
632
634
  // Raw values only — `normalizeGroups` decides whether the group is
633
635
  // selectable (both unset ⇒ non-selectable). No `?? true`/`?? false` here.
@@ -1783,6 +1785,13 @@ type DropdownEntryBase = {
1783
1785
  * group (the check is), or when an append slot fills the region.
1784
1786
  */
1785
1787
  'append:icon'?: IconType;
1788
+ /**
1789
+ * Leaves the entry out: not rendered, not reachable by keyboard or
1790
+ * search. A row takes its submenu with it, a group all its rows; a group
1791
+ * left with no visible row drops with its divider and label. A selected
1792
+ * value stays in the model.
1793
+ */
1794
+ hidden?: boolean;
1786
1795
  /**
1787
1796
  * Your own data for this entry, carried untouched to its slots (as
1788
1797
  * `item.meta`) and to per-item `pt` functions. The dropdown never reads it
@@ -2658,8 +2667,8 @@ export type BbDropdownProps = BbDropdownPtProps & {
2658
2667
  queryDebounceTime?: number;
2659
2668
  /**
2660
2669
  * The open / close transition in milliseconds. Menus take the fast one
2661
- * (150), not the popovers' medium 250: a menu is opened to pick one command
2662
- * and gone again, so it answers faster than a panel you read or edit in.
2670
+ * (150), not the popovers' medium 250: a menu is picked from and gone, so
2671
+ * it answers faster than a panel you read or edit in.
2663
2672
  *
2664
2673
  * @defaultValue `150`
2665
2674
  */
@@ -100,6 +100,7 @@ import { computed, ref, useAttrs, useTemplateRef } from 'vue';
100
100
  import BbButton from '../BbButton/BbButton.vue';
101
101
  import { useLinkState } from '../BbBaseButton/useLinkState';
102
102
  import BbDropdown from '../BbDropdown/BbDropdown.vue';
103
+ import { hasVisibleRow } from '../BbDropdown/normalizeGroups';
103
104
  import { BB_BUTTON_PT } from '../BbButton/types';
104
105
  import { BB_DROPDOWN_PT } from '../BbDropdown/types';
105
106
  import { BUTTON_VARIANTS } from '@/types/ButtonVariant';
@@ -196,7 +197,9 @@ const menuItems = () => props.items ?? [];
196
197
  * companion) keeps the split. A function, like `forwardedSlots`: the slots
197
198
  * object is not reactive.
198
199
  */
199
- const hasMenu = () => menuItems().length > 0 || !!slots.dropdown;
200
+ // Items that are all `hidden` are no menu either: the row-level
201
+ // filter lives in the dropdown, this only asks whether a row survives it.
202
+ const hasMenu = () => hasVisibleRow(menuItems()) || !!slots.dropdown;
200
203
 
201
204
  /**
202
205
  * The props that are the menu's or the whole control's; every other declared
@@ -296,6 +296,13 @@ type DropdownEntryBase = {
296
296
  * group (the check is), or when an append slot fills the region.
297
297
  */
298
298
  'append:icon'?: IconType;
299
+ /**
300
+ * Leaves the entry out: not rendered, not reachable by keyboard or
301
+ * search. A row takes its submenu with it, a group all its rows; a group
302
+ * left with no visible row drops with its divider and label. A selected
303
+ * value stays in the model.
304
+ */
305
+ hidden?: boolean;
299
306
  /**
300
307
  * Your own data for this entry, carried untouched to its slots (as
301
308
  * `item.meta`) and to per-item `pt` functions. The dropdown never reads it
@@ -1171,8 +1178,8 @@ export type BbDropdownProps = BbDropdownPtProps & {
1171
1178
  queryDebounceTime?: number;
1172
1179
  /**
1173
1180
  * The open / close transition in milliseconds. Menus take the fast one
1174
- * (150), not the popovers' medium 250: a menu is opened to pick one command
1175
- * and gone again, so it answers faster than a panel you read or edit in.
1181
+ * (150), not the popovers' medium 250: a menu is picked from and gone, so
1182
+ * it answers faster than a panel you read or edit in.
1176
1183
  *
1177
1184
  * @defaultValue `150`
1178
1185
  */
@@ -1597,15 +1597,13 @@ export type BbNumberInputProps = BbNumberInputPtProps & {
1597
1597
 
1598
1598
  /**
1599
1599
  * Vertical position of the label block in a side-by-side row; not
1600
- * `labelPosition`, the horizontal one. Omitted, the label's first line
1601
- * meets the control's.
1600
+ * `labelPosition`, the horizontal one. Omitted, `'top'`.
1602
1601
  */
1603
1602
  labelAlign?: FieldCrossAlign;
1604
1603
 
1605
1604
  /**
1606
1605
  * Vertical position of the control in a side-by-side row; not
1607
- * `inputPosition`, the horizontal one. Omitted, the control's first line
1608
- * meets the label's.
1606
+ * `inputPosition`, the horizontal one. Omitted, `'top'`.
1609
1607
  */
1610
1608
  inputAlign?: FieldCrossAlign;
1611
1609
 
@@ -372,15 +372,13 @@ export type BbRadioProps = BbRadioPtProps & {
372
372
 
373
373
  /**
374
374
  * Vertical position of the label block in a side-by-side row; not
375
- * `labelPosition`, the horizontal one. Omitted, the label's first line
376
- * meets the control's.
375
+ * `labelPosition`, the horizontal one. Omitted, `'top'`.
377
376
  */
378
377
  labelAlign?: FieldCrossAlign;
379
378
 
380
379
  /**
381
380
  * Vertical position of the control in a side-by-side row; not
382
- * `inputPosition`, the horizontal one. Omitted, the control's first line
383
- * meets the label's.
381
+ * `inputPosition`, the horizontal one. Omitted, `'top'`.
384
382
  */
385
383
  inputAlign?: FieldCrossAlign;
386
384
 
@@ -662,54 +660,50 @@ export type BbRadioSlots = {
662
660
  cursor: pointer;
663
661
 
664
662
  &--horizontal {
665
- align-items: center;
663
+ align-items: flex-start;
666
664
  display: flex;
667
665
  }
668
666
 
669
667
  /* A per-breakpoint `layout`, on its side-by-side tiers. */
670
668
  &--responsive {
671
- align-items: var(--ly-x, center);
669
+ align-items: var(--ly-x, flex-start);
672
670
  }
673
671
  }
674
672
 
675
- /* With a description the label block spans two lines: align the radio with
676
- the first line (the label text) instead of centering on the block. */
677
- &.bb-field--description {
678
- /* Only while neither `labelAlign` nor `inputAlign` is set:
679
- either prop aims the columns itself, and the pin would hold the
680
- control on the first line against it. */
681
- .bb-field__layout--horizontal:not(.bb-field__layout--aligned) {
682
- align-items: flex-start;
683
-
684
- /*
685
- * `align-items` + `min-height` are what pin the control to the
686
- * LABEL'S FIRST LINE instead of the block centre — measured: with a
687
- * 4-line label the control's mid sits exactly on the first line's
688
- * mid, and 28px above the block centre.
689
- *
690
- * There used to be a `display: inline-flex` here too, and it was
691
- * doing none of that vertical work — but it silently killed
692
- * `input-position`, whose only lever is `justify-items` (a grid
693
- * property, inert on a flex container). So a described row with
694
- * `input-position="right"` painted its control at the START of the
695
- * column: 182px out on a 198px column. Removing the one
696
- * declaration restores left/center/right and leaves the vertical
697
- * geometry byte-identical.
698
- */
699
- .bb-field__input-wrapper {
700
- align-items: center;
701
- min-height: var(--bb-label-lh);
702
- }
673
+ /* Side by side the radio centres on the label's FIRST line, described
674
+ or not: the label column itself
675
+ stays at the top of the row (in CommonField), and this pin
676
+ centres the glyph inside its own column on that first line. Only
677
+ while neither `labelAlign` nor `inputAlign` is set:
678
+ either prop aims the columns itself (`input-align="top"` is flush
679
+ with the top, `"center"` the middle of the label block). */
680
+ .bb-field__layout--horizontal:not(.bb-field__layout--aligned) {
681
+ /*
682
+ * `align-items` + `min-height` are what pin the control to the
683
+ * LABEL'S FIRST LINE instead of the block centre — measured: with a
684
+ * 4-line label the control's mid sits exactly on the first line's
685
+ * mid, and 28px above the block centre.
686
+ *
687
+ * There used to be a `display: inline-flex` here too, and it was
688
+ * doing none of that vertical work — but it silently killed
689
+ * `input-position`, whose only lever is `justify-items` (a grid
690
+ * property, inert on a flex container). So a described row with
691
+ * `input-position="right"` painted its control at the START of the
692
+ * column: 182px out on a 198px column. Removing the one
693
+ * declaration restores left/center/right and leaves the vertical
694
+ * geometry byte-identical.
695
+ */
696
+ .bb-field__input-wrapper {
697
+ align-items: center;
698
+ min-height: var(--bb-label-lh);
703
699
  }
700
+ }
704
701
 
705
- /* The same pin on a per-breakpoint `layout`'s side-by-side tiers. */
706
- .bb-field__layout--responsive:not(.bb-field__layout--aligned) {
707
- align-items: var(--ly-x, flex-start);
708
-
709
- .bb-field__input-wrapper {
710
- align-items: var(--ly-x, center);
711
- min-height: var(--ly-x, var(--bb-label-lh));
712
- }
702
+ /* The same pin on a per-breakpoint `layout`'s side-by-side tiers. */
703
+ .bb-field__layout--responsive:not(.bb-field__layout--aligned) {
704
+ .bb-field__input-wrapper {
705
+ align-items: var(--ly-x, center);
706
+ min-height: var(--ly-x, var(--bb-label-lh));
713
707
  }
714
708
  }
715
709
  }
@@ -732,15 +732,13 @@ export type BbRadioGroupProps<T> = BbRadioGroupPtProps & {
732
732
 
733
733
  /**
734
734
  * Vertical position of the label block in a side-by-side row; not
735
- * `labelPosition`, the horizontal one. Omitted, the label's first line
736
- * meets the control's.
735
+ * `labelPosition`, the horizontal one. Omitted, `'top'`.
737
736
  */
738
737
  labelAlign?: FieldCrossAlign;
739
738
 
740
739
  /**
741
740
  * Vertical position of the control in a side-by-side row; not
742
- * `inputPosition`, the horizontal one. Omitted, the control's first line
743
- * meets the label's.
741
+ * `inputPosition`, the horizontal one. Omitted, `'top'`.
744
742
  */
745
743
  inputAlign?: FieldCrossAlign;
746
744