bitboss-ui 3.0.0-beta.21 → 3.0.0-beta.23

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 (252) hide show
  1. package/README.md +55 -3
  2. package/bin/bitboss-ui-mcp.mjs +419 -9
  3. package/bin/bitboss-ui.mjs +293 -22
  4. package/dist/ai/BbAccordion.md +21 -23
  5. package/dist/ai/BbAlert.md +6 -12
  6. package/dist/ai/BbAvatar.md +60 -24
  7. package/dist/ai/BbBadge.md +12 -20
  8. package/dist/ai/BbBaseButton.md +14 -16
  9. package/dist/ai/BbBaseCheckboxIcon.md +6 -10
  10. package/dist/ai/BbBaseColorInput.md +1 -0
  11. package/dist/ai/BbBaseDatePickerInput.md +1 -0
  12. package/dist/ai/BbBaseNumberInput.md +1 -0
  13. package/dist/ai/BbBaseRadioIcon.md +6 -10
  14. package/dist/ai/BbBaseSelect.md +1 -0
  15. package/dist/ai/BbBaseSwitchIcon.md +5 -9
  16. package/dist/ai/BbBaseTag.md +1 -0
  17. package/dist/ai/BbBaseTextInput.md +2 -1
  18. package/dist/ai/BbBaseTextarea.md +1 -0
  19. package/dist/ai/BbBaseTimePickerInput.md +1 -0
  20. package/dist/ai/BbBreadcrumbs.md +23 -34
  21. package/dist/ai/BbButton.md +35 -47
  22. package/dist/ai/BbCheckbox.md +21 -37
  23. package/dist/ai/BbCheckboxGroup.md +13 -13
  24. package/dist/ai/BbCollapsible.md +14 -26
  25. package/dist/ai/BbColorInput.md +27 -23
  26. package/dist/ai/BbColorPalette.md +23 -35
  27. package/dist/ai/BbConfirm.md +17 -32
  28. package/dist/ai/BbDatePickerInput.md +29 -21
  29. package/dist/ai/BbDialog.md +159 -62
  30. package/dist/ai/BbDropdown.md +21 -25
  31. package/dist/ai/BbDropdownButton.md +13 -30
  32. package/dist/ai/BbDropzone.md +9 -11
  33. package/dist/ai/BbIcon.md +44 -33
  34. package/dist/ai/BbIndicator.md +2 -2
  35. package/dist/ai/BbNumberInput.md +32 -20
  36. package/dist/ai/BbOffCanvas.md +42 -42
  37. package/dist/ai/BbPagination.md +21 -23
  38. package/dist/ai/BbPopover.md +15 -17
  39. package/dist/ai/BbProgress.md +40 -51
  40. package/dist/ai/BbRadio.md +9 -9
  41. package/dist/ai/BbRadioGroup.md +7 -11
  42. package/dist/ai/BbRating.md +8 -12
  43. package/dist/ai/BbSelect.md +46 -36
  44. package/dist/ai/BbSelectPopover.md +19 -31
  45. package/dist/ai/BbSlider.md +15 -19
  46. package/dist/ai/BbSmoothHeight.md +16 -31
  47. package/dist/ai/BbSpinner.md +118 -74
  48. package/dist/ai/BbSwitch.md +25 -18
  49. package/dist/ai/BbSwitchGroup.md +9 -14
  50. package/dist/ai/BbTable.md +102 -55
  51. package/dist/ai/BbTabs.md +59 -82
  52. package/dist/ai/BbTag.md +26 -23
  53. package/dist/ai/BbTextInput.md +63 -27
  54. package/dist/ai/BbTextarea.md +42 -34
  55. package/dist/ai/BbTimePickerInput.md +14 -0
  56. package/dist/ai/BbToast.md +14 -34
  57. package/dist/ai/BbTooltip.md +22 -20
  58. package/dist/ai/BbTree.md +46 -72
  59. package/dist/ai/CommonInputWrapper.md +1 -0
  60. package/dist/ai/changelog.json +170 -62
  61. package/dist/ai/components.json +1678 -11
  62. package/dist/ai/composables/useConfirm.md +5 -2
  63. package/dist/ai/composables/useToast.md +4 -2
  64. package/dist/ai/guides/agent-contract.md +7 -4
  65. package/dist/ai/guides/ai-router.md +37 -22
  66. package/dist/ai/guides/component-picker.md +23 -18
  67. package/dist/ai/guides/design-language.md +151 -21
  68. package/dist/ai/guides/design-tokens.md +29 -4
  69. package/dist/ai/guides/icons-policy.md +46 -21
  70. package/dist/ai/guides/installation-and-plugin-setup.md +286 -17
  71. package/dist/ai/guides/migration/components/bb-rating.md +26 -1
  72. package/dist/ai/guides/migration/components/bb-tooltip.md +18 -0
  73. package/dist/ai/guides/migration/v2-to-v3.md +50 -23
  74. package/dist/ai/index.md +1 -1
  75. package/dist/ai/recipes/inertia/approvals-inbox.md +3 -3
  76. package/dist/ai/recipes/inertia/inline-edit-workspace.md +2 -2
  77. package/dist/ai/recipes/inertia/onboarding.md +2 -2
  78. package/dist/ai/recipes/inertia/ownership-atlas.md +6 -6
  79. package/dist/ai/recipes/inertia/record-form.md +5 -5
  80. package/dist/ai/recipes/inertia/records-workspace.md +4 -4
  81. package/dist/ai/recipes/inertia/upload-center.md +6 -6
  82. package/dist/ai/recipes/inertia/wizard-form.md +5 -5
  83. package/dist/ai/recipes/nuxt/approvals-inbox.md +3 -3
  84. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +2 -2
  85. package/dist/ai/recipes/nuxt/onboarding.md +2 -2
  86. package/dist/ai/recipes/nuxt/record-form.md +5 -5
  87. package/dist/ai/recipes/nuxt/records-workspace.md +4 -4
  88. package/dist/ai/recipes/nuxt/upload-center.md +6 -6
  89. package/dist/ai/recipes/nuxt/wizard-form.md +5 -5
  90. package/dist/ai/recipes/vue/approvals-inbox.md +3 -3
  91. package/dist/ai/recipes/vue/inline-edit-workspace.md +2 -2
  92. package/dist/ai/recipes/vue/onboarding.md +2 -2
  93. package/dist/ai/recipes/vue/record-form.md +10 -10
  94. package/dist/ai/recipes/vue/records-workspace.md +4 -4
  95. package/dist/ai/recipes/vue/upload-center.md +6 -6
  96. package/dist/ai/recipes/vue/wizard-form.md +5 -5
  97. package/dist/ai/source/BbBadge.md +1 -1
  98. package/dist/ai/source/BbBaseCheckbox.md +1 -1
  99. package/dist/ai/source/BbBaseColorInput.md +7 -0
  100. package/dist/ai/source/BbBaseDatePicker.md +5 -5
  101. package/dist/ai/source/BbBaseDatePickerInput.md +9 -2
  102. package/dist/ai/source/BbBaseNumberInput.md +7 -0
  103. package/dist/ai/source/BbBaseRadio.md +1 -1
  104. package/dist/ai/source/BbBaseRating.md +5 -5
  105. package/dist/ai/source/BbBaseSelect.md +8 -1
  106. package/dist/ai/source/BbBaseSlider.md +5 -5
  107. package/dist/ai/source/BbBaseSwitch.md +1 -1
  108. package/dist/ai/source/BbBaseTag.md +7 -0
  109. package/dist/ai/source/BbBaseTextInput.md +7 -0
  110. package/dist/ai/source/BbBaseTextarea.md +7 -0
  111. package/dist/ai/source/BbBaseTimePickerInput.md +8 -1
  112. package/dist/ai/source/BbBreadcrumbs.md +20 -1
  113. package/dist/ai/source/BbButton.md +2 -2
  114. package/dist/ai/source/BbColorInput.md +14 -0
  115. package/dist/ai/source/BbDatePickerInput.md +14 -0
  116. package/dist/ai/source/BbDialog.md +39 -8
  117. package/dist/ai/source/BbDropdown.md +1 -1
  118. package/dist/ai/source/BbDropzone.md +5 -5
  119. package/dist/ai/source/BbIcon.md +23 -10
  120. package/dist/ai/source/BbNumberInput.md +14 -0
  121. package/dist/ai/source/BbOffCanvas.md +50 -28
  122. package/dist/ai/source/BbPagination.md +2 -2
  123. package/dist/ai/source/BbPopover.md +12 -1
  124. package/dist/ai/source/BbSelect.md +14 -0
  125. package/dist/ai/source/BbSelectPopover.md +45 -7
  126. package/dist/ai/source/BbSpinner.md +2 -2
  127. package/dist/ai/source/BbTable.md +11 -11
  128. package/dist/ai/source/BbTag.md +14 -0
  129. package/dist/ai/source/BbTextInput.md +14 -0
  130. package/dist/ai/source/BbTextarea.md +14 -0
  131. package/dist/ai/source/BbTimePickerInput.md +14 -0
  132. package/dist/ai/source/BbTooltip.md +57 -10
  133. package/dist/ai/source/ChipsBox.md +1 -1
  134. package/dist/ai/source/CommaBox.md +1 -1
  135. package/dist/ai/source/CommonInputWrapper.md +128 -33
  136. package/dist/ai/source/GuidesComponent.md +14 -7
  137. package/dist/ai/source/OptionsContainer.md +1 -1
  138. package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +1 -1
  139. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +1 -1
  140. package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue_vue_type_script_setup_true_lang.js +1 -1
  141. package/dist/components/BbBaseColorInput/BbBaseColorInput.vue_vue_type_script_setup_true_lang.js +4 -1
  142. package/dist/components/BbBaseColorInput/types.d.ts +5 -0
  143. package/dist/components/BbBaseDatePicker/BbBaseDatePicker.vue_vue_type_script_setup_true_lang.js +4 -4
  144. package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue_vue_type_script_setup_true_lang.js +1 -1
  145. package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue_vue_type_script_setup_true_lang.js +5 -2
  146. package/dist/components/BbBaseDatePickerInput/types.d.ts +5 -0
  147. package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue.d.ts +1 -1
  148. package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue_vue_type_script_setup_true_lang.js +4 -1
  149. package/dist/components/BbBaseNumberInput/types.d.ts +5 -0
  150. package/dist/components/BbBaseRadio/BbBaseRadio.vue_vue_type_script_setup_true_lang.js +1 -1
  151. package/dist/components/BbBaseRating/BbBaseRating.vue_vue_type_script_setup_true_lang.js +3 -3
  152. package/dist/components/BbBaseSelect/BbBaseSelect.vue_vue_type_script_setup_true_lang.js +4 -1
  153. package/dist/components/BbBaseSelect/types.d.ts +5 -0
  154. package/dist/components/BbBaseSlider/BbBaseSlider.vue_vue_type_script_setup_true_lang.js +3 -3
  155. package/dist/components/BbBaseSwitch/BbBaseSwitch.vue_vue_type_script_setup_true_lang.js +1 -1
  156. package/dist/components/BbBaseTag/BbBaseTag.vue_vue_type_script_setup_true_lang.js +4 -1
  157. package/dist/components/BbBaseTag/types.d.ts +5 -0
  158. package/dist/components/BbBaseTextInput/BbBaseTextInput.vue_vue_type_script_setup_true_lang.js +4 -1
  159. package/dist/components/BbBaseTextInput/types.d.ts +5 -0
  160. package/dist/components/BbBaseTextarea/BbBaseTextarea.vue_vue_type_script_setup_true_lang.js +4 -1
  161. package/dist/components/BbBaseTextarea/types.d.ts +5 -0
  162. package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue_vue_type_script_setup_true_lang.js +5 -2
  163. package/dist/components/BbBaseTimePickerInput/types.d.ts +5 -0
  164. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +71 -71
  165. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +2 -2
  166. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +5 -2
  167. package/dist/components/BbColorInput/types.d.ts +12 -0
  168. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +4 -2
  169. package/dist/components/BbDatePickerInput/types.d.ts +12 -0
  170. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +102 -97
  171. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +1 -1
  172. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +58 -58
  173. package/dist/components/BbDropzone/BbDropzone.vue_vue_type_script_setup_true_lang.js +2 -2
  174. package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +33 -35
  175. package/dist/components/BbIcon/iconCache.d.ts +30 -0
  176. package/dist/components/BbIcon/iconCache.js +21 -3
  177. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +5 -2
  178. package/dist/components/BbNumberInput/types.d.ts +12 -0
  179. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +57 -56
  180. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +2 -2
  181. package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +138 -138
  182. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +4 -2
  183. package/dist/components/BbSelect/types.d.ts +12 -0
  184. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +43 -43
  185. package/dist/components/BbSpinner/BbSpinner.vue_vue_type_script_setup_true_lang.js +1 -1
  186. package/dist/components/BbSpinner/types.d.ts +1 -1
  187. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +8 -8
  188. package/dist/components/BbTable/BbTableDataRow.js +2 -2
  189. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +5 -2
  190. package/dist/components/BbTag/types.d.ts +12 -0
  191. package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +5 -2
  192. package/dist/components/BbTextInput/types.d.ts +12 -0
  193. package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +5 -2
  194. package/dist/components/BbTextarea/types.d.ts +12 -0
  195. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +4 -2
  196. package/dist/components/BbTimePickerInput/types.d.ts +12 -0
  197. package/dist/components/BbToast/BbToastRegion.vue_vue_type_script_setup_true_lang.js +62 -62
  198. package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +81 -78
  199. package/dist/components/BbTooltip/types.d.ts +8 -1
  200. package/dist/components/ChipsBox/ChipsBox.vue_vue_type_script_setup_true_lang.js +1 -1
  201. package/dist/components/CommaBox/CommaBox.vue_vue_type_script_setup_true_lang.js +1 -1
  202. package/dist/components/CommonInputWrapper/CommonInputWrapper.vue.d.ts +1 -0
  203. package/dist/components/CommonInputWrapper/CommonInputWrapper.vue_vue_type_script_setup_true_lang.js +4 -2
  204. package/dist/components/CommonInputWrapper/types.d.ts +10 -0
  205. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +1 -1
  206. package/dist/composables/useConfirm.d.ts +22 -0
  207. package/dist/composables/useConfirm.js +43 -40
  208. package/dist/composables/useSafeAreaInternal.js +1 -1
  209. package/dist/composables/useToast.d.ts +16 -0
  210. package/dist/composables/useToast.js +20 -16
  211. package/dist/composables/useViewportWidth.d.ts +20 -6
  212. package/dist/composables/useViewportWidth.js +8 -7
  213. package/dist/icon-scan.d.ts +276 -0
  214. package/dist/icon-scan.js +485 -0
  215. package/dist/icons-whitelist.d.ts +5 -4
  216. package/dist/index.d.ts +2 -0
  217. package/dist/input-variants.d.ts +18 -0
  218. package/dist/llms-full.txt +2173 -1537
  219. package/dist/llms-medium.txt +504 -82
  220. package/dist/llms.txt +1 -1
  221. package/dist/nuxt-module.d.ts +1 -0
  222. package/dist/nuxt.js +10 -7
  223. package/dist/plugin.js +1 -0
  224. package/dist/runtime/nuxt-plugin.js +2 -1
  225. package/dist/styles.css +1 -1
  226. package/dist/types/Config.d.ts +18 -0
  227. package/dist/types/InputVariant.d.ts +22 -0
  228. package/dist/utils/cssLayers.d.ts +91 -0
  229. package/dist/utils/cssLayers.js +43 -0
  230. package/dist/utils/injectLibraryStyles.d.ts +3 -1
  231. package/dist/utils/injectLibraryStyles.js +24 -23
  232. package/dist/validated/BbColorInput.vue_vue_type_script_setup_true_lang.js +1 -0
  233. package/dist/validated/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +1 -0
  234. package/dist/validated/BbNumberInput.vue_vue_type_script_setup_true_lang.js +1 -0
  235. package/dist/validated/BbSelect.vue_vue_type_script_setup_true_lang.js +1 -0
  236. package/dist/validated/BbTag.vue_vue_type_script_setup_true_lang.js +1 -0
  237. package/dist/validated/BbTextInput.vue_vue_type_script_setup_true_lang.js +1 -0
  238. package/dist/validated/BbTextarea.vue_vue_type_script_setup_true_lang.js +1 -0
  239. package/dist/validated/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +1 -0
  240. package/dist/validated/index.d.ts +1 -0
  241. package/dist/vite-plugin.d.ts +89 -12
  242. package/dist/vite.js +331 -281
  243. package/llms.txt +1 -1
  244. package/package.json +7 -5
  245. package/scripts/lib/ensure-manifest.mjs +28 -5
  246. package/scripts/lib/eslint-plugin.d.ts +35 -0
  247. package/scripts/lib/eslint-plugin.mjs +299 -3
  248. package/scripts/lib/hand-roll-hints.mjs +50 -6
  249. package/scripts/lib/html-attributes.mjs +42 -0
  250. package/scripts/lib/mcp-config.mjs +38 -34
  251. package/scripts/lib/public-type-exports.mjs +246 -0
  252. package/scripts/lib/validate-bb-markup.mjs +205 -12
@@ -32,6 +32,7 @@ var E = { class: "bb-base-tag__input-container" }, D = [
32
32
  caseSensitive: { type: Boolean },
33
33
  clearable: { type: Boolean },
34
34
  compact: { type: Boolean },
35
+ variant: {},
35
36
  disabled: { type: Boolean },
36
37
  divider: { default: "Enter" },
37
38
  hasErrors: { type: Boolean },
@@ -180,6 +181,7 @@ var E = { class: "bb-base-tag__input-container" }, D = [
180
181
  loading: e.loading,
181
182
  "prepend:icon": k["prepend:icon"],
182
183
  readonly: e.readonly,
184
+ variant: e.variant,
183
185
  onClick: Q,
184
186
  "onClick:clear": fe,
185
187
  onFocusin: J
@@ -258,7 +260,8 @@ var E = { class: "bb-base-tag__input-container" }, D = [
258
260
  "has-warning",
259
261
  "loading",
260
262
  "prepend:icon",
261
- "readonly"
263
+ "readonly",
264
+ "variant"
262
265
  ]));
263
266
  }
264
267
  });
@@ -1,3 +1,4 @@
1
+ import { InputVariantType } from '../../types/InputVariant';
1
2
  import { HTMLAttributes, InputHTMLAttributes } from 'vue';
2
3
  import { IconType } from '../../types/Icon';
3
4
  export type BaseTagProps = {
@@ -41,6 +42,10 @@ export type BaseTagProps = {
41
42
  * Apply the compact density variant.
42
43
  */
43
44
  compact?: boolean;
45
+ /**
46
+ * Visual variant of the field box, forwarded to `CommonInputWrapper`.
47
+ */
48
+ variant?: InputVariantType;
44
49
  /**
45
50
  * Disable all interactions with the tag input.
46
51
  */
@@ -32,6 +32,7 @@ var v = [
32
32
  autofocus: {},
33
33
  clearable: { type: Boolean },
34
34
  compact: { type: Boolean },
35
+ variant: {},
35
36
  disabled: { type: Boolean },
36
37
  emitMasked: { type: Boolean },
37
38
  hasErrors: { type: Boolean },
@@ -142,6 +143,7 @@ var v = [
142
143
  "prepend:icon": x["prepend:icon"],
143
144
  readonly: x.readonly,
144
145
  "reserve-append-space": x.clearable,
146
+ variant: x.variant,
145
147
  "onClick:clear": r[0] ||= (t) => e.$emit("update:modelValue", null)
146
148
  }, o({
147
149
  "prepend-outer": g(() => [p(e.$slots, "prepend-outer")]),
@@ -192,7 +194,8 @@ var v = [
192
194
  "loading",
193
195
  "prepend:icon",
194
196
  "readonly",
195
- "reserve-append-space"
197
+ "reserve-append-space",
198
+ "variant"
196
199
  ]));
197
200
  }
198
201
  });
@@ -1,3 +1,4 @@
1
+ import { InputVariantType } from '../../types/InputVariant';
1
2
  import { HTMLAttributes, InputHTMLAttributes } from 'vue';
2
3
  import { IconType } from '../../types/Icon';
3
4
  import { MaskInputOptions } from 'maska';
@@ -29,6 +30,10 @@ export type BaseTextInputProps = {
29
30
  * Apply the compact density variant.
30
31
  */
31
32
  compact?: boolean;
33
+ /**
34
+ * Visual variant of the field box, forwarded to `CommonInputWrapper`.
35
+ */
36
+ variant?: InputVariantType;
32
37
  /**
33
38
  * Disable all interactions with the input.
34
39
  */
@@ -29,6 +29,7 @@ var b = [
29
29
  autofocus: {},
30
30
  clearable: { type: Boolean },
31
31
  compact: { type: Boolean },
32
+ variant: {},
32
33
  disabled: { type: Boolean },
33
34
  hasErrors: { type: Boolean },
34
35
  hasWarning: { type: Boolean },
@@ -124,6 +125,7 @@ var b = [
124
125
  "prepend:icon": S["prepend:icon"],
125
126
  readonly: S.readonly,
126
127
  "reserve-append-space": r.clearable,
128
+ variant: S.variant,
127
129
  "onClick:clear": c[0] ||= (e) => r.$emit("update:modelValue", null)
128
130
  }, o({
129
131
  "prepend-outer": v(() => [h(r.$slots, "prepend-outer")]),
@@ -179,7 +181,8 @@ var b = [
179
181
  "loading",
180
182
  "prepend:icon",
181
183
  "readonly",
182
- "reserve-append-space"
184
+ "reserve-append-space",
185
+ "variant"
183
186
  ]));
184
187
  }
185
188
  });
@@ -1,3 +1,4 @@
1
+ import { InputVariantType } from '../../types/InputVariant';
1
2
  import { HTMLAttributes, InputHTMLAttributes } from 'vue';
2
3
  import { IconType } from '../../types/Icon';
3
4
  /**
@@ -34,6 +35,10 @@ export type BaseTextareaProps = {
34
35
  * Apply the compact density variant.
35
36
  */
36
37
  compact?: boolean;
38
+ /**
39
+ * Visual variant of the field box, forwarded to `CommonInputWrapper`.
40
+ */
41
+ variant?: InputVariantType;
37
42
  /**
38
43
  * Disable all interactions with the textarea.
39
44
  */
@@ -58,6 +58,7 @@ var _e = ["data-value"], ve = [
58
58
  autofocus: {},
59
59
  clearable: { type: Boolean },
60
60
  compact: { type: Boolean },
61
+ variant: {},
61
62
  disabled: { type: Boolean },
62
63
  disableWriting: {
63
64
  type: [Boolean, String],
@@ -362,6 +363,7 @@ var _e = ["data-value"], ve = [
362
363
  loading: C.loading,
363
364
  "prepend:icon": C["prepend:icon"],
364
365
  readonly: C.readonly,
366
+ variant: C.variant,
365
367
  "onClick:clear": rt,
366
368
  onFocusin: it
367
369
  }, le({
@@ -433,7 +435,7 @@ var _e = ["data-value"], ve = [
433
435
  }, v(Me(P.value[n], P.value[n + 1])), 11, ye)) : u("", !0)], 64))), 128))], 6),
434
436
  f("span", {
435
437
  id: A,
436
- class: "bb-base-time-picker-input__accessible-description sr-only"
438
+ class: "bb-base-time-picker-input__accessible-description bb-sr-only"
437
439
  }, v(Xe.value), 1),
438
440
  p(y(at), null, {
439
441
  default: x(() => [f("div", {
@@ -511,7 +513,8 @@ var _e = ["data-value"], ve = [
511
513
  "has-warning",
512
514
  "loading",
513
515
  "prepend:icon",
514
- "readonly"
516
+ "readonly",
517
+ "variant"
515
518
  ]));
516
519
  }
517
520
  });
@@ -1,3 +1,4 @@
1
+ import { InputVariantType } from '../../types/InputVariant';
1
2
  import { HTMLAttributes, InputHTMLAttributes } from 'vue';
2
3
  import { IconType } from '../../types/Icon';
3
4
  import { BbOffCanvasProps } from '../BbOffCanvas/types';
@@ -43,6 +44,10 @@ export type BaseTimePickerInputProps = {
43
44
  clearable?: boolean;
44
45
  /** Applies the compact density styles to the control. */
45
46
  compact?: boolean;
47
+ /**
48
+ * Visual variant of the field box, forwarded to `CommonInputWrapper`.
49
+ */
50
+ variant?: InputVariantType;
46
51
  /** Disables the input, clock trigger, and popover. */
47
52
  disabled?: boolean;
48
53
  /**
@@ -6,13 +6,13 @@ import { slotKey as i } from "../../utilities/functions/slotKey.js";
6
6
  import a from "../../assets/svgs/chevron_right.svg_raw.js";
7
7
  import o from "../BbDropdown/BbDropdown.vue.js";
8
8
  import { estimateBreadcrumbItemWidth as s, estimateEllipsisWidth as c } from "./estimateBreadcrumbItemWidth.js";
9
- import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as ee, createTextVNode as te, createVNode as h, defineComponent as g, guardReactiveProps as _, mergeProps as v, normalizeProps as y, normalizeStyle as ne, onBeforeUnmount as b, openBlock as x, ref as S, renderList as C, renderSlot as w, unref as T, useSlots as re, watch as ie, withCtx as E } from "vue";
10
- import { useResizeObserver as ae } from "@vueuse/core";
9
+ import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as ee, createTextVNode as te, createVNode as h, defineComponent as g, guardReactiveProps as _, mergeProps as v, normalizeProps as y, normalizeStyle as ne, onBeforeUnmount as b, openBlock as x, ref as S, renderList as C, renderSlot as w, unref as T, useSlots as re, watch as E, withCtx as D } from "vue";
10
+ import { useResizeObserver as O } from "@vueuse/core";
11
11
  //#region src/components/BbBreadcrumbs/BbBreadcrumbs.vue?vue&type=script&setup=true&lang.ts
12
- var oe = ["aria-label"], se = { class: "bb-breadcrumbs__container" }, ce = {
12
+ var ie = ["aria-label"], ae = { class: "bb-breadcrumbs__container" }, oe = {
13
13
  key: 0,
14
14
  class: "bb-breadcrumbs__edge bb-breadcrumbs__edge--prepend"
15
- }, D = { class: "bb-breadcrumbs__list" }, O = {
15
+ }, se = { class: "bb-breadcrumbs__list" }, ce = {
16
16
  key: 0,
17
17
  class: "bb-breadcrumbs__item"
18
18
  }, le = { class: "bb-breadcrumbs__breadcrumb-container" }, ue = ["aria-label", "disabled"], de = {
@@ -26,10 +26,10 @@ var oe = ["aria-label"], se = { class: "bb-breadcrumbs__container" }, ce = {
26
26
  key: 0,
27
27
  "aria-hidden": "true",
28
28
  class: "bb-breadcrumbs__divider"
29
- }, k = {
29
+ }, he = {
30
30
  key: 1,
31
31
  class: "bb-breadcrumbs__edge bb-breadcrumbs__edge--append"
32
- }, he = 5, A = 20, ge = 1, j = 8.5, _e = .5, ve = 8, M = 200, N = /*@__PURE__*/ g({
32
+ }, k = 20, ge = 1, A = 8.5, _e = .5, ve = 8, ye = 200, j = /*@__PURE__*/ g({
33
33
  __name: "BbBreadcrumbs",
34
34
  props: {
35
35
  disabled: { type: Boolean },
@@ -41,122 +41,122 @@ var oe = ["aria-label"], se = { class: "bb-breadcrumbs__container" }, ce = {
41
41
  ellipsisWidth: {}
42
42
  },
43
43
  setup(g) {
44
- let N = g, { t: P } = n();
44
+ let j = g, { t: M } = n();
45
45
  e();
46
- let F = re(), ye = /* @__PURE__ */ new Set([
46
+ let N = re(), P = /* @__PURE__ */ new Set([
47
47
  "prepend",
48
48
  "append",
49
49
  "ellipsis",
50
50
  "divider",
51
51
  "activator"
52
- ]), I = (e) => i(e.key), be = (e) => {
52
+ ]), F = (e) => i(e.key), be = (e) => {
53
53
  let { "prepend:icon": t, "append:icon": n, ...r } = e;
54
54
  return r;
55
- }, L = (e, t) => {
56
- let n = `${I(e)}:${t}`;
57
- return F[n] ? {
55
+ }, I = (e, t) => {
56
+ let n = `${F(e)}:${t}`;
57
+ return N[n] ? {
58
58
  name: n,
59
59
  exists: !0
60
- } : F[`item:${t}`] ? {
60
+ } : N[`item:${t}`] ? {
61
61
  name: `item:${t}`,
62
62
  exists: !0
63
63
  } : {
64
64
  name: n,
65
65
  exists: !1
66
66
  };
67
- }, xe = u(() => Object.keys(F).filter((e) => !ye.has(e))), R = S(null), z = S(0), B = u(() => N.gapWidth), V = u(() => Math.max(0, N.offsetWidth)), Se = u(() => N.estimationBias), H = u(() => N.ellipsisWidth ?? c(j)), Ce = u(() => P("breadcrumbs.label").value), we = u(() => P("breadcrumbs.openHiddenLabelCount", z.value).value), U = (e) => s(e.text ?? String(e.key), {
67
+ }, xe = u(() => Object.keys(N).filter((e) => !P.has(e))), L = S(null), R = S(0), z = u(() => j.gapWidth), B = u(() => Math.max(0, j.offsetWidth)), Se = u(() => j.estimationBias), V = u(() => j.ellipsisWidth ?? c(A)), Ce = u(() => M("breadcrumbs.label").value), we = u(() => M("breadcrumbs.openHiddenLabelCount", R.value).value), H = (e) => s(e.text ?? String(e.key), {
68
68
  estimationBias: Se.value,
69
- fontWidth: j
69
+ fontWidth: A
70
70
  }), Te = u(() => {
71
- let e = N.items.length;
71
+ let e = j.items.length;
72
72
  if (e === 0) return 0;
73
- let t = N.dividerWidth, n = B.value;
74
- return N.items.map(U).reduce((e, t) => e + t, 0) + (e > 1 ? (e - 1) * (t + 2 * n) : 0) + V.value + A + he;
73
+ let t = j.dividerWidth, n = z.value;
74
+ return j.items.map(H).reduce((e, t) => e + t, 0) + (e > 1 ? (e - 1) * (t + 2 * n) : 0) + B.value + k + 12;
75
75
  }), Ee = u(() => ({
76
76
  "--flex-basis": `${Math.ceil(Te.value)}px`,
77
- "--flex-grow": z.value > 0 ? "1" : "0",
78
- "--gap": `${B.value}px`
77
+ "--flex-grow": R.value > 0 ? "1" : "0",
78
+ "--gap": `${z.value}px`
79
79
  })), De = (e) => {
80
- let t = N.items.length;
80
+ let t = j.items.length;
81
81
  if (t === 0) {
82
- z.value = 0;
82
+ R.value = 0;
83
83
  return;
84
84
  }
85
- let n = Math.max(0, e - ge - V.value - A), r = N.dividerWidth, i = H.value, a = B.value, o = N.items.map(U), s = Array.from({ length: t + 1 }, () => 0);
85
+ let n = Math.max(0, e - ge - B.value - k), r = j.dividerWidth, i = V.value, a = z.value, o = j.items.map(H), s = Array.from({ length: t + 1 }, () => 0);
86
86
  for (let e = t - 1; e >= 0; e--) s[e] = s[e + 1] + o[e];
87
- let c = (e) => n - e <= A / 2, l = s[0] + (t > 1 ? (t - 1) * (r + 2 * a) : 0);
87
+ let c = (e) => n - e <= k / 2, l = s[0] + (t > 1 ? (t - 1) * (r + 2 * a) : 0);
88
88
  if (l <= n) {
89
89
  if (t > 1 && c(l)) {
90
- z.value = 1;
90
+ R.value = 1;
91
91
  return;
92
92
  }
93
- z.value = 0;
93
+ R.value = 0;
94
94
  return;
95
95
  }
96
96
  for (let e = t - 1; e >= 0; e--) {
97
97
  let o = s[t - e], l = i + e * (r + 2 * a) + o;
98
98
  if (l <= n) {
99
99
  if (e > 0 && c(l)) {
100
- z.value = t - (e - 1);
100
+ R.value = t - (e - 1);
101
101
  return;
102
102
  }
103
- z.value = t - e;
103
+ R.value = t - e;
104
104
  return;
105
105
  }
106
106
  }
107
- z.value = t;
108
- }, W = u(() => R.value), Oe = u(() => N.items.map((e) => `${String(e.key)}::${e.text ?? ""}`).join("|")), G = null, K = null, q = null, J = null, Y = 0, X = null, Z = (e, t) => Math.abs(e - t) <= _e, Q = () => {
109
- X != null && clearTimeout(X), X = setTimeout(() => {
110
- X = null, Y = 0;
111
- }, M);
112
- }, ke = () => {
113
- if (K = null, G == null) return;
114
- let e = G;
115
- if (G = null, q != null && Z(e, q)) {
116
- Q();
107
+ R.value = t;
108
+ }, U = u(() => L.value), Oe = u(() => j.items.map((e) => `${String(e.key)}::${e.text ?? ""}`).join("|")), W = null, G = null, K = null, q = null, J = 0, Y = null, X = (e, t) => Math.abs(e - t) <= _e, Z = () => {
109
+ Y != null && clearTimeout(Y), Y = setTimeout(() => {
110
+ Y = null, J = 0;
111
+ }, ye);
112
+ }, Q = () => {
113
+ if (G = null, W == null) return;
114
+ let e = W;
115
+ if (W = null, K != null && X(e, K)) {
116
+ Z();
117
117
  return;
118
118
  }
119
- if (Y = J != null && q != null && Z(e, J) && !Z(e, q) ? Y + 1 : 0, Y >= ve) {
120
- J = q, q = e, Q();
119
+ if (J = q != null && K != null && X(e, q) && !X(e, K) ? J + 1 : 0, J >= ve) {
120
+ q = K, K = e, Z();
121
121
  return;
122
122
  }
123
- J = q, q = e, De(e), Q();
123
+ q = K, K = e, De(e), Z();
124
124
  }, $ = (e) => {
125
- G = e, K ??= requestAnimationFrame(ke);
125
+ W = e, G ??= requestAnimationFrame(Q);
126
126
  };
127
- ae(W, ([e]) => {
127
+ O(U, ([e]) => {
128
128
  $(e.contentRect.width);
129
- }), ie([
130
- W,
129
+ }), E([
130
+ U,
131
131
  Oe,
132
- () => N.dividerWidth,
133
- () => N.gapWidth,
134
- () => N.offsetWidth,
135
- () => N.estimationBias,
136
- () => N.ellipsisWidth
132
+ () => j.dividerWidth,
133
+ () => j.gapWidth,
134
+ () => j.offsetWidth,
135
+ () => j.estimationBias,
136
+ () => j.ellipsisWidth
137
137
  ], ([e]) => {
138
138
  e && $(e.clientWidth);
139
139
  }, { immediate: !0 }), b(() => {
140
- K != null && cancelAnimationFrame(K), X != null && clearTimeout(X);
140
+ G != null && cancelAnimationFrame(G), Y != null && clearTimeout(Y);
141
141
  });
142
- let Ae = u(() => N.items.slice(0, z.value).map((e) => ({
142
+ let ke = u(() => j.items.slice(0, R.value).map((e) => ({
143
143
  ...e,
144
144
  text: e.text ?? e.key
145
145
  })));
146
146
  return (e, n) => (x(), p("nav", {
147
147
  ref_key: "navRef",
148
- ref: R,
148
+ ref: L,
149
149
  "aria-label": Ce.value,
150
150
  class: "bb-breadcrumbs",
151
151
  style: ne(Ee.value)
152
- }, [m("div", se, [
153
- e.$slots.prepend ? (x(), p("div", ce, [w(e.$slots, "prepend", { disabled: e.disabled })])) : f("", !0),
154
- m("ol", D, [z.value > 0 ? (x(), p("li", O, [h(o, {
155
- items: Ae.value,
152
+ }, [m("div", ae, [
153
+ e.$slots.prepend ? (x(), p("div", oe, [w(e.$slots, "prepend", { disabled: e.disabled })])) : f("", !0),
154
+ m("ol", se, [R.value > 0 ? (x(), p("li", ce, [h(o, {
155
+ items: ke.value,
156
156
  padding: 0,
157
157
  placement: "bottom-start"
158
158
  }, ee({
159
- activator: E(({ props: t }) => [m("span", le, [m("button", v(t, {
159
+ activator: D(({ props: t }) => [m("span", le, [m("button", v(t, {
160
160
  "aria-label": we.value,
161
161
  class: "bb-breadcrumbs__ellipsis",
162
162
  disabled: e.disabled,
@@ -164,24 +164,24 @@ var oe = ["aria-label"], se = { class: "bb-breadcrumbs__container" }, ce = {
164
164
  }), [w(e.$slots, "ellipsis", y(_({
165
165
  props: t,
166
166
  disabled: e.disabled,
167
- overflowCount: z.value,
168
- ellipsisWidth: H.value
167
+ overflowCount: R.value,
168
+ ellipsisWidth: V.value
169
169
  })), () => [n[0] ||= te(" … ")])], 16, ue)])]),
170
170
  _: 2
171
171
  }, [C(xe.value, (t) => ({
172
172
  name: t,
173
- fn: E((n) => [w(e.$slots, t, y(_(n)))])
174
- }))]), 1032, ["items"]), z.value < e.items.length ? (x(), p("span", de, [w(e.$slots, "divider", {}, () => [h(r, {
173
+ fn: D((n) => [w(e.$slots, t, y(_(n)))])
174
+ }))]), 1032, ["items"]), R.value < e.items.length ? (x(), p("span", de, [w(e.$slots, "divider", {}, () => [h(r, {
175
175
  icon: T(a),
176
176
  size: "14"
177
- }, null, 8, ["icon"])])])) : f("", !0)])) : f("", !0), (x(!0), p(l, null, C(e.items, (n, i) => (x(), p(l, { key: n.key }, [i >= z.value ? (x(), p("li", fe, [m("span", pe, [
178
- w(e.$slots, L(n, "prepend").name, {
177
+ }, null, 8, ["icon"])])])) : f("", !0)])) : f("", !0), (x(!0), p(l, null, C(e.items, (n, i) => (x(), p(l, { key: n.key }, [i >= R.value ? (x(), p("li", fe, [m("span", pe, [
178
+ w(e.$slots, I(n, "prepend").name, {
179
179
  disabled: !!(n.disabled || e.disabled),
180
180
  index: i,
181
181
  item: n,
182
182
  text: n.text
183
183
  }),
184
- !L(n, "prepend").exists && n["prepend:icon"] ? (x(), d(r, {
184
+ !I(n, "prepend").exists && n["prepend:icon"] ? (x(), d(r, {
185
185
  key: 0,
186
186
  class: "bb-breadcrumbs__item-icon bb-breadcrumbs__item-icon--prepend",
187
187
  icon: n["prepend:icon"],
@@ -192,7 +192,7 @@ var oe = ["aria-label"], se = { class: "bb-breadcrumbs__container" }, ce = {
192
192
  class: "bb-breadcrumbs__breadcrumb",
193
193
  disabled: n.disabled || e.disabled
194
194
  }), {
195
- default: E(() => [w(e.$slots, I(n), {
195
+ default: D(() => [w(e.$slots, F(n), {
196
196
  disabled: !!(n.disabled || e.disabled),
197
197
  index: i,
198
198
  item: n,
@@ -200,13 +200,13 @@ var oe = ["aria-label"], se = { class: "bb-breadcrumbs__container" }, ce = {
200
200
  })]),
201
201
  _: 2
202
202
  }, 1040, ["aria-current", "disabled"]),
203
- w(e.$slots, L(n, "append").name, {
203
+ w(e.$slots, I(n, "append").name, {
204
204
  disabled: !!(n.disabled || e.disabled),
205
205
  index: i,
206
206
  item: n,
207
207
  text: n.text
208
208
  }),
209
- !L(n, "append").exists && n["append:icon"] ? (x(), d(r, {
209
+ !I(n, "append").exists && n["append:icon"] ? (x(), d(r, {
210
210
  key: 1,
211
211
  class: "bb-breadcrumbs__item-icon bb-breadcrumbs__item-icon--append",
212
212
  icon: n["append:icon"],
@@ -216,9 +216,9 @@ var oe = ["aria-label"], se = { class: "bb-breadcrumbs__container" }, ce = {
216
216
  icon: T(a),
217
217
  size: "14"
218
218
  }, null, 8, ["icon"])])])) : f("", !0)])) : f("", !0)], 64))), 128))]),
219
- e.$slots.append ? (x(), p("div", k, [w(e.$slots, "append", { disabled: e.disabled })])) : f("", !0)
220
- ])], 12, oe));
219
+ e.$slots.append ? (x(), p("div", he, [w(e.$slots, "append", { disabled: e.disabled })])) : f("", !0)
220
+ ])], 12, ie));
221
221
  }
222
222
  });
223
223
  //#endregion
224
- export { N as default };
224
+ export { j as default };
@@ -14,7 +14,7 @@ import { Transition as f, computed as p, createBlock as m, createCommentVNode as
14
14
  //#region src/components/BbButton/BbButton.vue?vue&type=script&setup=true&lang.ts
15
15
  var M = {
16
16
  key: 3,
17
- class: "bb-button__loading-label sr-only"
17
+ class: "bb-button__loading-label bb-sr-only"
18
18
  }, N = /*@__PURE__*/ y({
19
19
  inheritAttrs: !1,
20
20
  __name: "BbButton",
@@ -180,7 +180,7 @@ var M = {
180
180
  class: "bb-button__prepend-icon",
181
181
  icon: P["prepend:icon"]
182
182
  }, null, 8, ["icon"])) : h("", !0),
183
- _("span", { class: S(["bb-button__content", { "sr-only": !!e.icon }]) }, [T(e.$slots, "default", {}, () => [v(E(e.text), 1)])], 2),
183
+ _("span", { class: S(["bb-button__content", { "bb-sr-only": !!e.icon }]) }, [T(e.$slots, "default", {}, () => [v(E(e.text), 1)])], 2),
184
184
  G.value ? (C(), g("span", M, E(D(z)("common.loadingText")), 1)) : h("", !0),
185
185
  !e.icon && P["append:icon"] ? (C(), m(s, {
186
186
  key: 4,
@@ -19,6 +19,7 @@ var _ = /*@__PURE__*/ l({
19
19
  autofocus: {},
20
20
  clearable: { type: Boolean },
21
21
  compact: { type: Boolean },
22
+ variant: {},
22
23
  description: {},
23
24
  direction: {},
24
25
  disabled: { type: Boolean },
@@ -124,7 +125,8 @@ var _ = /*@__PURE__*/ l({
124
125
  "prepend:icon": v["prepend:icon"],
125
126
  readonly: e.readonly,
126
127
  required: e.required,
127
- swatches: e.swatches
128
+ swatches: e.swatches,
129
+ variant: e.variant
128
130
  }, T), {
129
131
  "append-outer": g(() => [h(e.$slots, "append-outer")]),
130
132
  append: g(() => [h(e.$slots, "append")]),
@@ -154,7 +156,8 @@ var _ = /*@__PURE__*/ l({
154
156
  "prepend:icon",
155
157
  "readonly",
156
158
  "required",
157
- "swatches"
159
+ "swatches",
160
+ "variant"
158
161
  ])]),
159
162
  _: 3
160
163
  }, 8, [
@@ -1,3 +1,4 @@
1
+ import { InputVariantType } from '../../types/InputVariant';
1
2
  import { HTMLAttributes, InputHTMLAttributes } from 'vue';
2
3
  import { InputDirection } from '../../types/InputDirection';
3
4
  import { IconType } from '../../types/Icon';
@@ -36,6 +37,17 @@ export type BbColorInputProps = {
36
37
  * Displays the component in a compact version.
37
38
  */
38
39
  compact?: boolean;
40
+ /**
41
+ * Visual variant of the field box — the same names and tokens as the
42
+ * `BbButton` variants. Colours only: height, padding and border width are
43
+ * identical across variants, so a form never reflows when one changes.
44
+ * `'ghost'` has no border in any state (errors and warnings show through
45
+ * the icon and the messages); every variant keeps the focus ring.
46
+ * Register extra names with the plugin's `inputVariants` option.
47
+ *
48
+ * @defaultValue `'outline'`
49
+ */
50
+ variant?: InputVariantType;
39
51
  /**
40
52
  * Descriptive text displayed below the label and above the input. Unlike the hint it is always
41
53
  * visible, and it is linked to the input via `aria-describedby` (after any
@@ -21,6 +21,7 @@ var y = /*@__PURE__*/ l({
21
21
  autofocus: {},
22
22
  clearable: { type: Boolean },
23
23
  compact: { type: Boolean },
24
+ variant: {},
24
25
  direction: {},
25
26
  disabled: { type: Boolean },
26
27
  errors: {},
@@ -140,7 +141,8 @@ var y = /*@__PURE__*/ l({
140
141
  time: e.time,
141
142
  "transition-duration": e.transitionDuration,
142
143
  type: e.type,
143
- utc: e.utc
144
+ utc: e.utc,
145
+ variant: e.variant
144
146
  }, O), {
145
147
  "prepend-outer": v(() => [_(e.$slots, "prepend-outer")]),
146
148
  prepend: v(() => [_(e.$slots, "prepend")]),
@@ -151,7 +153,7 @@ var y = /*@__PURE__*/ l({
151
153
  day: v((t) => [_(e.$slots, "day", f(u(t)))]),
152
154
  "append:day": v((t) => [_(e.$slots, "append:day", f(u(t)))]),
153
155
  _: 2
154
- }, 1040, /* @__PURE__ */ "id.adaptive.ampm.append:icon.aria-describedby.autocomplete.autofocus.clearable.compact.disable-calendar.disable-writing.disabled.first-day-of-week.floating.has-errors.has-warning.loading.max.min.model-value.name.off-canvas-props.placeholder.prepend:icon.range.readonly.required.seconds.selectable.step.time.transition-duration.type.utc".split("."))]),
156
+ }, 1040, /* @__PURE__ */ "id.adaptive.ampm.append:icon.aria-describedby.autocomplete.autofocus.clearable.compact.disable-calendar.disable-writing.disabled.first-day-of-week.floating.has-errors.has-warning.loading.max.min.model-value.name.off-canvas-props.placeholder.prepend:icon.range.readonly.required.seconds.selectable.step.time.transition-duration.type.utc.variant".split("."))]),
155
157
  _: 3
156
158
  }, 8, [
157
159
  "id",
@@ -1,3 +1,4 @@
1
+ import { InputVariantType } from '../../types/InputVariant';
1
2
  import { DatePickerType } from '../../types/DatePickerType';
2
3
  import { HTMLAttributes, InputHTMLAttributes } from 'vue';
3
4
  import { InputDirection } from '../../types/InputDirection';
@@ -52,6 +53,17 @@ export type BbDatePickerInputProps = {
52
53
  * Sets the component in a compact state.
53
54
  */
54
55
  compact?: boolean;
56
+ /**
57
+ * Visual variant of the field box — the same names and tokens as the
58
+ * `BbButton` variants. Colours only: height, padding and border width are
59
+ * identical across variants, so a form never reflows when one changes.
60
+ * `'ghost'` has no border in any state (errors and warnings show through
61
+ * the icon and the messages); every variant keeps the focus ring.
62
+ * Register extra names with the plugin's `inputVariants` option.
63
+ *
64
+ * @defaultValue `'outline'`
65
+ */
66
+ variant?: InputVariantType;
55
67
  /**
56
68
  * Direction of the layout of the component. Can either be a predefined value or a pattern separated by a space like `xx xxxxx`.
57
69
  */