@cjlapao/ui-kit-vue 0.2.0 → 0.2.3

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 (216) hide show
  1. package/dist/index.cjs +18 -25
  2. package/dist/index.css +37732 -13285
  3. package/dist/index.js +31192 -21036
  4. package/dist/types/common/chat/markdown.d.ts +8 -0
  5. package/dist/types/common/chat/storage.d.ts +48 -0
  6. package/dist/types/common/chat/stream.d.ts +43 -0
  7. package/dist/types/common/chat/types.d.ts +143 -0
  8. package/dist/types/common/connectionFlow/header.d.ts +56 -0
  9. package/dist/types/common/connectionFlow/icons.d.ts +15 -0
  10. package/dist/types/common/connectionFlow/index.d.ts +6 -0
  11. package/dist/types/common/connectionFlow/layout.d.ts +73 -0
  12. package/dist/types/common/connectionFlow/measure.d.ts +94 -0
  13. package/dist/types/common/connectionFlow/paint.d.ts +36 -0
  14. package/dist/types/common/connectionFlow/router.d.ts +131 -0
  15. package/dist/types/common/connectionFlow/tones.d.ts +79 -0
  16. package/dist/types/common/connectionFlow/types.d.ts +394 -0
  17. package/dist/types/common/gantt/drag.d.ts +221 -0
  18. package/dist/types/common/gantt/index.d.ts +11 -0
  19. package/dist/types/common/gantt/layout.d.ts +133 -0
  20. package/dist/types/common/gantt/sample.d.ts +15 -0
  21. package/dist/types/common/gantt/time.d.ts +77 -0
  22. package/dist/types/common/gantt/tokens.d.ts +73 -0
  23. package/dist/types/common/gantt/types.d.ts +216 -0
  24. package/dist/types/common/i18n/builtIn/de.d.ts +2 -0
  25. package/dist/types/common/i18n/builtIn/en.d.ts +2 -0
  26. package/dist/types/common/i18n/builtIn/es.d.ts +2 -0
  27. package/dist/types/common/i18n/builtIn/fr.d.ts +2 -0
  28. package/dist/types/common/i18n/builtIn/index.d.ts +15 -0
  29. package/dist/types/common/i18n/builtIn/pt.d.ts +2 -0
  30. package/dist/types/common/i18n/catalog.d.ts +32 -0
  31. package/dist/types/common/i18n/createI18n.d.ts +2 -0
  32. package/dist/types/common/i18n/dates.d.ts +12 -0
  33. package/dist/types/common/i18n/detect.d.ts +29 -0
  34. package/dist/types/common/i18n/icu.d.ts +36 -0
  35. package/dist/types/common/i18n/index.d.ts +10 -0
  36. package/dist/types/common/i18n/provider.d.ts +7 -0
  37. package/dist/types/common/i18n/storage.d.ts +8 -0
  38. package/dist/types/common/i18n/types.d.ts +64 -0
  39. package/dist/types/common/i18n/warn.d.ts +5 -0
  40. package/dist/types/common/theme/Theme.d.ts +941 -3
  41. package/dist/types/common/theme/glass.d.ts +90 -11
  42. package/dist/types/common/theme/randomThemeColor.d.ts +4 -4
  43. package/dist/types/common/tooltip/placement.d.ts +103 -0
  44. package/dist/types/common/tooltip/tokens.d.ts +40 -0
  45. package/dist/types/common/types/TableSettings.d.ts +15 -0
  46. package/dist/types/common/types/Variables.d.ts +71 -1
  47. package/dist/types/common/utils/dates.d.ts +113 -0
  48. package/dist/types/common/utils/gravatar.d.ts +0 -10
  49. package/dist/types/common/utils/safeStorage.d.ts +28 -0
  50. package/dist/types/common/utils/sanitizeSvg.d.ts +44 -0
  51. package/dist/types/common/utils/smartVariables.d.ts +74 -18
  52. package/dist/types/common/utils/tableStorage.d.ts +38 -0
  53. package/dist/types/vue/src/chat/index.d.ts +4 -0
  54. package/dist/types/vue/src/components/AccessMatrix.test.d.ts +1 -0
  55. package/dist/types/vue/src/components/AccessMatrix.vue.d.ts +23 -1
  56. package/dist/types/vue/src/components/Accordion.test.d.ts +1 -0
  57. package/dist/types/vue/src/components/Accordion.vue.d.ts +42 -28
  58. package/dist/types/vue/src/components/ActivityFeed.test.d.ts +1 -0
  59. package/dist/types/vue/src/components/ActivityFeed.vue.d.ts +141 -0
  60. package/dist/types/vue/src/components/Alert.test.d.ts +1 -0
  61. package/dist/types/vue/src/components/Alert.vue.d.ts +59 -2
  62. package/dist/types/vue/src/components/ApiErrorState.test.d.ts +1 -0
  63. package/dist/types/vue/src/components/ApiErrorState.vue.d.ts +28 -8
  64. package/dist/types/vue/src/components/AppDivider.vue.d.ts +53 -4
  65. package/dist/types/vue/src/components/Badge.vue.d.ts +45 -13
  66. package/dist/types/vue/src/components/BadgeIcon.vue.d.ts +1 -1
  67. package/dist/types/vue/src/components/BreakdownCard.test.d.ts +1 -0
  68. package/dist/types/vue/src/components/BreakdownCard.vue.d.ts +81 -0
  69. package/dist/types/vue/src/components/Button.vue.d.ts +22 -11
  70. package/dist/types/vue/src/components/Chat.test.d.ts +1 -0
  71. package/dist/types/vue/src/components/Chat.vue.d.ts +80 -0
  72. package/dist/types/vue/src/components/Checkbox.test.d.ts +1 -0
  73. package/dist/types/vue/src/components/Checkbox.vue.d.ts +44 -29
  74. package/dist/types/vue/src/components/CollapsiblePanel.vue.d.ts +5 -5
  75. package/dist/types/vue/src/components/ColorSwatches.test.d.ts +1 -0
  76. package/dist/types/vue/src/components/ColorSwatches.vue.d.ts +42 -0
  77. package/dist/types/vue/src/components/Combobox.test.d.ts +1 -0
  78. package/dist/types/vue/src/components/Combobox.vue.d.ts +61 -12
  79. package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlow.vue.d.ts +153 -17
  80. package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowCanvas.vue.d.ts +28 -0
  81. package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowHeader.vue.d.ts +33 -0
  82. package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowNodeBody.vue.d.ts +32 -0
  83. package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowSkeleton.vue.d.ts +18 -0
  84. package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowSvg.vue.d.ts +52 -0
  85. package/dist/types/vue/src/components/ConnectionFlow/connectionFlow.test.d.ts +1 -0
  86. package/dist/types/vue/src/components/ConnectionFlow/index.d.ts +11 -4
  87. package/dist/types/vue/src/components/CustomIcon.vue.d.ts +35 -11
  88. package/dist/types/vue/src/components/DetailItemCard.vue.d.ts +37 -5
  89. package/dist/types/vue/src/components/DropdownButton.vue.d.ts +3 -3
  90. package/dist/types/vue/src/components/DropdownMenu.test.d.ts +1 -0
  91. package/dist/types/vue/src/components/DropdownMenu.vue.d.ts +1 -1
  92. package/dist/types/vue/src/components/DynamicFormField.test.d.ts +1 -0
  93. package/dist/types/vue/src/components/DynamicFormField.vue.d.ts +61 -5
  94. package/dist/types/vue/src/components/DynamicImg.vue.d.ts +28 -3
  95. package/dist/types/vue/src/components/EmptyState.test.d.ts +1 -0
  96. package/dist/types/vue/src/components/EmptyState.vue.d.ts +104 -24
  97. package/dist/types/vue/src/components/FormField.vue.d.ts +2 -1
  98. package/dist/types/vue/src/components/Gantt/Gantt.test.d.ts +1 -0
  99. package/dist/types/vue/src/components/Gantt/Gantt.vue.d.ts +160 -0
  100. package/dist/types/vue/src/components/Gantt/GanttBodyRow.vue.d.ts +78 -0
  101. package/dist/types/vue/src/components/Gantt/GanttCell.vue.d.ts +28 -0
  102. package/dist/types/vue/src/components/Gantt/GanttLinkLayer.vue.d.ts +22 -0
  103. package/dist/types/vue/src/components/Gantt/GanttScale.vue.d.ts +7 -0
  104. package/dist/types/vue/src/components/Gantt/GanttTaskBar.vue.d.ts +53 -0
  105. package/dist/types/vue/src/components/Gantt/GanttToolbar.vue.d.ts +22 -0
  106. package/dist/types/vue/src/components/Gantt/index.d.ts +18 -0
  107. package/dist/types/vue/src/components/Gantt/labels.d.ts +3 -0
  108. package/dist/types/vue/src/components/Gantt/types.d.ts +11 -0
  109. package/dist/types/vue/src/components/Gantt/useGanttDrag.d.ts +105 -0
  110. package/dist/types/vue/src/components/GlassBackground.vue.d.ts +4 -3
  111. package/dist/types/vue/src/components/GlassPanel.vue.d.ts +2 -2
  112. package/dist/types/vue/src/components/HeaderGroup.vue.d.ts +19 -1
  113. package/dist/types/vue/src/components/HelpButton.test.d.ts +1 -0
  114. package/dist/types/vue/src/components/HelpButton.vue.d.ts +15 -6
  115. package/dist/types/vue/src/components/Hero.test.d.ts +1 -0
  116. package/dist/types/vue/src/components/Hero.vue.d.ts +52 -31
  117. package/dist/types/vue/src/components/IconButton.vue.d.ts +12 -6
  118. package/dist/types/vue/src/components/InfiniteScrollPanel.vue.d.ts +61 -14
  119. package/dist/types/vue/src/components/InfoRow.test.d.ts +1 -0
  120. package/dist/types/vue/src/components/InfoRow.vue.d.ts +67 -37
  121. package/dist/types/vue/src/components/InlinePanel.vue.d.ts +12 -18
  122. package/dist/types/vue/src/components/Input.test.d.ts +1 -0
  123. package/dist/types/vue/src/components/Input.vue.d.ts +42 -13
  124. package/dist/types/vue/src/components/InputGroup.test.d.ts +1 -0
  125. package/dist/types/vue/src/components/InputGroup.vue.d.ts +20 -5
  126. package/dist/types/vue/src/components/Loader.test.d.ts +1 -0
  127. package/dist/types/vue/src/components/Loader.vue.d.ts +30 -11
  128. package/dist/types/vue/src/components/MarkdownEditor.vue.d.ts +1 -1
  129. package/dist/types/vue/src/components/MetricBar.test.d.ts +1 -0
  130. package/dist/types/vue/src/components/MetricBar.vue.d.ts +16 -5
  131. package/dist/types/vue/src/components/Modal.vue.d.ts +18 -19
  132. package/dist/types/vue/src/components/MultiProgressBar.vue.d.ts +15 -2
  133. package/dist/types/vue/src/components/MultiSelectPills.test.d.ts +1 -0
  134. package/dist/types/vue/src/components/MultiSelectPills.vue.d.ts +47 -43
  135. package/dist/types/vue/src/components/MultiToggle.test.d.ts +1 -0
  136. package/dist/types/vue/src/components/MultiToggle.vue.d.ts +33 -6
  137. package/dist/types/vue/src/components/NotificationModal.test.d.ts +1 -0
  138. package/dist/types/vue/src/components/NotificationModal.vue.d.ts +19 -2
  139. package/dist/types/vue/src/components/PageHeader.test.d.ts +1 -0
  140. package/dist/types/vue/src/components/PageHeader.vue.d.ts +18 -0
  141. package/dist/types/vue/src/components/PagedPanel.test.d.ts +1 -0
  142. package/dist/types/vue/src/components/PagedPanel.vue.d.ts +39 -11
  143. package/dist/types/vue/src/components/Panel.vue.d.ts +18 -9
  144. package/dist/types/vue/src/components/PasswordInput.test.d.ts +1 -0
  145. package/dist/types/vue/src/components/PasswordInput.vue.d.ts +20 -3
  146. package/dist/types/vue/src/components/Picker.test.d.ts +1 -0
  147. package/dist/types/vue/src/components/Picker.vue.d.ts +3 -3
  148. package/dist/types/vue/src/components/Pill.vue.d.ts +63 -5
  149. package/dist/types/vue/src/components/Progress.test.d.ts +1 -0
  150. package/dist/types/vue/src/components/Progress.vue.d.ts +60 -11
  151. package/dist/types/vue/src/components/ProgressSpinner.test.d.ts +1 -0
  152. package/dist/types/vue/src/components/ProgressSpinner.vue.d.ts +46 -0
  153. package/dist/types/vue/src/components/ScrollArea.test.d.ts +1 -0
  154. package/dist/types/vue/src/components/ScrollArea.vue.d.ts +52 -0
  155. package/dist/types/vue/src/components/SearchBar.vue.d.ts +2 -3
  156. package/dist/types/vue/src/components/Section.vue.d.ts +1 -1
  157. package/dist/types/vue/src/components/SectionCard.vue.d.ts +2 -2
  158. package/dist/types/vue/src/components/Select.test.d.ts +1 -0
  159. package/dist/types/vue/src/components/Select.vue.d.ts +41 -16
  160. package/dist/types/vue/src/components/SidePanel.vue.d.ts +1 -1
  161. package/dist/types/vue/src/components/SmartInput.vue.d.ts +49 -18
  162. package/dist/types/vue/src/components/SmartValue.vue.d.ts +20 -13
  163. package/dist/types/vue/src/components/SmartVariableBadge.vue.d.ts +17 -0
  164. package/dist/types/vue/src/components/Spinner.test.d.ts +1 -0
  165. package/dist/types/vue/src/components/Spinner.vue.d.ts +12 -5
  166. package/dist/types/vue/src/components/SplitView.vue.d.ts +6 -6
  167. package/dist/types/vue/src/components/StartupStageStepper.vue.d.ts +1 -1
  168. package/dist/types/vue/src/components/StatChartTile.vue.d.ts +5 -0
  169. package/dist/types/vue/src/components/StatCountTile.vue.d.ts +5 -1
  170. package/dist/types/vue/src/components/StatGraphTile.vue.d.ts +1 -1
  171. package/dist/types/vue/src/components/StatTile.test.d.ts +1 -0
  172. package/dist/types/vue/src/components/StatTile.vue.d.ts +5 -1
  173. package/dist/types/vue/src/components/StatusSpinner.test.d.ts +1 -0
  174. package/dist/types/vue/src/components/StatusSpinner.vue.d.ts +10 -5
  175. package/dist/types/vue/src/components/Stepper.test.d.ts +1 -0
  176. package/dist/types/vue/src/components/Stepper.vue.d.ts +62 -25
  177. package/dist/types/vue/src/components/Table.test.d.ts +1 -0
  178. package/dist/types/vue/src/components/Table.vue.d.ts +67 -14
  179. package/dist/types/vue/src/components/Tabs.vue.d.ts +20 -3
  180. package/dist/types/vue/src/components/TagPicker.vue.d.ts +3 -3
  181. package/dist/types/vue/src/components/Textarea.vue.d.ts +8 -5
  182. package/dist/types/vue/src/components/TimelinePanel/TimelinePanel.vue.d.ts +4 -4
  183. package/dist/types/vue/src/components/Toggle.vue.d.ts +4 -4
  184. package/dist/types/vue/src/components/Toolbar.test.d.ts +1 -0
  185. package/dist/types/vue/src/components/Toolbar.vue.d.ts +62 -0
  186. package/dist/types/vue/src/components/Tooltip.test.d.ts +1 -0
  187. package/dist/types/vue/src/components/Tooltip.vue.d.ts +20 -3
  188. package/dist/types/vue/src/components/TooltipWrapper.vue.d.ts +24 -3
  189. package/dist/types/vue/src/components/TreeView/TreeFlowSvg.vue.d.ts +5 -5
  190. package/dist/types/vue/src/components/TreeView/TreeItemRow.vue.d.ts +2 -2
  191. package/dist/types/vue/src/components/TreeView/TreeView.vue.d.ts +4 -4
  192. package/dist/types/vue/src/components/UserAvatar.test.d.ts +1 -0
  193. package/dist/types/vue/src/components/UserAvatar.vue.d.ts +56 -6
  194. package/dist/types/vue/src/components/VariablePicker.vue.d.ts +23 -6
  195. package/dist/types/vue/src/components/__dbg.test.d.ts +1 -0
  196. package/dist/types/vue/src/components/index.d.ts +50 -31
  197. package/dist/types/vue/src/components/internal/InfoRowContent.vue.d.ts +52 -0
  198. package/dist/types/vue/src/components/internal/PagedPanelContent.vue.d.ts +47 -0
  199. package/dist/types/vue/src/connectionFlow/index.d.ts +1 -0
  200. package/dist/types/vue/src/contexts/IconContext.d.ts +8 -3
  201. package/dist/types/vue/src/i18n/I18nContext.d.ts +14 -0
  202. package/dist/types/vue/src/i18n/I18nProvider.test.d.ts +2 -0
  203. package/dist/types/vue/src/i18n/I18nProvider.vue.d.ts +35 -0
  204. package/dist/types/vue/src/i18n/index.d.ts +8 -0
  205. package/dist/types/vue/src/i18n/kit-components-spot.test.d.ts +1 -0
  206. package/dist/types/vue/src/i18n/useI18n.d.ts +44 -0
  207. package/dist/types/vue/src/index.d.ts +2 -2
  208. package/dist/types/vue/src/test-setup.d.ts +5 -0
  209. package/dist/types/vue/src/types/Icon.d.ts +11 -2
  210. package/dist/types/vue/src/types/TableSettings.d.ts +1 -0
  211. package/dist/types/vue/src/types/index.d.ts +1 -0
  212. package/dist/types/vue/src/utils/index.d.ts +1 -0
  213. package/dist/types/vue/src/utils/sanitizeSvg.d.ts +1 -0
  214. package/dist/types/vue/src/utils/tableStorage.d.ts +1 -0
  215. package/dist/ui-kit-vue.css +1 -1
  216. package/package.json +8 -3
@@ -1,6 +1,9 @@
1
1
  import type { VNodeChild } from "vue";
2
2
  import type { TrueColor } from "../theme";
3
+ import { type SurfaceCorner, type SurfaceVariant, type TableDensity } from "../theme";
3
4
  import type { PanelTone } from "./Panel.vue";
5
+ import { type TableStorageAdapter } from "../utils/tableStorage";
6
+ import type { TableSettings } from "../types/TableSettings";
4
7
  type SortDirection = "asc" | "desc";
5
8
  export interface TableSortState {
6
9
  columnId: string;
@@ -13,15 +16,6 @@ export interface TablePaginationState {
13
16
  onPageChange: (page: number) => void;
14
17
  onPageSizeChange: (pageSize: number) => void;
15
18
  }
16
- /** Unified snapshot of all user-configurable table preferences. */
17
- export interface TableSettings {
18
- columnVisibility?: Record<string, boolean>;
19
- columnWidths?: Record<string, number>;
20
- activeView?: "table" | "panel";
21
- groupBy?: string | null;
22
- showGroupHeader?: boolean;
23
- stickyColumns?: Record<string, "left" | "right">;
24
- }
25
19
  type AccessorFn<T> = (row: T, index: number) => VNodeChild;
26
20
  export interface TableColumn<T> {
27
21
  id: string;
@@ -68,15 +62,51 @@ export interface TableColumn<T> {
68
62
  stickyBackgroundFn?: (row: T, index: number) => string | undefined;
69
63
  }
70
64
  export type Column<T> = TableColumn<T>;
71
- export type TableVariant = "default" | "compact" | "minimal" | "bordered" | "flat";
65
+ /**
66
+ * The container surface, on the shared panel family — the same eight
67
+ * treatments as `Panel`, so a table reads identically to the card beside it.
68
+ * The former density members (`compact`, `minimal`) moved to the `density`
69
+ * prop and `bordered` to a boolean prop, so those old values are now type
70
+ * errors by design.
71
+ */
72
+ export type TableVariant = SurfaceVariant;
72
73
  export interface TableProps<T> {
73
74
  columns?: TableColumn<T>[];
74
75
  data: T[];
75
76
  selectedItems?: T[];
76
77
  rowKey?: (row: T, index: number) => string | number;
78
+ /**
79
+ * The container surface — the shared panel family (`elevated`,
80
+ * `outlined`, `subtle`, `tonal`, `default`, `glass`, `simple`,
81
+ * `liquid-glass`). Rendered by `Panel`, so the table sits on the exact
82
+ * surface a `Panel` beside it would. Defaults to `outlined`.
83
+ */
77
84
  variant?: TableVariant;
85
+ /**
86
+ * How tight the cells sit — `default`, `compact` or `minimal`
87
+ * (`TABLE_DENSITIES`). Orthogonal to `variant`: a compact table on glass
88
+ * reads the same as a compact table on an outlined card.
89
+ */
90
+ density?: TableDensity;
91
+ /**
92
+ * Draws grid lines between cells (vertical rules per column plus a
93
+ * stronger header rule). `noBorders` still wins when both are set.
94
+ */
95
+ bordered?: boolean;
96
+ /** Corner radius of the container, on the shared surface corner scale. */
97
+ corner?: SurfaceCorner;
98
+ /**
99
+ * Palette tone of the table: the header band, tone accents, and — unless
100
+ * overridden by `color` — the controls inside the table (action buttons,
101
+ * sort indicators, group dots, badges, pagination, selected/highlight rows,
102
+ * focus rings).
103
+ */
78
104
  tone?: PanelTone;
79
- /** Theme color applied to action buttons, sort indicators, group dot, badges, and pagination. */
105
+ /**
106
+ * Control-only tone override: tints the interior controls (buttons, sort
107
+ * indicators, group dots, badges, pagination, selected/highlight rows,
108
+ * focus rings) independently of `tone`. Defaults to `tone`.
109
+ */
80
110
  color?: TrueColor;
81
111
  striped?: boolean;
82
112
  noBorders?: boolean;
@@ -93,7 +123,12 @@ export interface TableProps<T> {
93
123
  loaderType?: "spinner" | "progress";
94
124
  loaderProgress?: number;
95
125
  emptyState?: VNodeChild;
96
- sortState?: TableSortState;
126
+ /**
127
+ * Controlled sort state. Pass `null` to clear the sort — like every other
128
+ * prop, `undefined` means "uncontrolled" (the table keeps its own state),
129
+ * so the two must not be conflated.
130
+ */
131
+ sortState?: TableSortState | null;
97
132
  defaultSort?: TableSortState;
98
133
  headerActions?: VNodeChild;
99
134
  footer?: VNodeChild;
@@ -106,8 +141,6 @@ export interface TableProps<T> {
106
141
  bodyClassName?: string;
107
142
  fullHeight?: boolean;
108
143
  manualSorting?: boolean;
109
- /** When true, wraps the table in a rounded border regardless of the variant. */
110
- rounded?: boolean;
111
144
  /** Title shown in the header bar alongside headerActions / view toggle. Defaults to empty. */
112
145
  headerTitle?: string;
113
146
  /**
@@ -199,6 +232,26 @@ export interface TableProps<T> {
199
232
  * Pass a previously persisted value to restore all settings on mount.
200
233
  */
201
234
  tableSettings?: TableSettings;
235
+ /**
236
+ * Enables built-in settings persistence. When set, the table restores its
237
+ * settings from storage on mount and saves the full `TableSettings`
238
+ * snapshot after every change, under
239
+ * `{storagePrefix}:{storageKey}` (default prefix `ui-kit:table`).
240
+ *
241
+ * An explicitly passed `tableSettings` (or the individual initial props)
242
+ * still wins over the stored value on mount; afterwards every change
243
+ * emits `tableSettingsChange` AND writes to storage. Omit to keep the
244
+ * current fully-manual behaviour.
245
+ */
246
+ storageKey?: string;
247
+ /** Prefix for the composed storage key. Defaults to `ui-kit:table`. */
248
+ storagePrefix?: string;
249
+ /**
250
+ * Storage backend override — anything with `getItem`/`setItem`/
251
+ * `removeItem` (sessionStorage, a test mock, an IndexedDB adapter).
252
+ * Defaults to a best-effort localStorage wrapper that never throws.
253
+ */
254
+ storage?: TableStorageAdapter;
202
255
  }
203
256
  declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
204
257
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
@@ -1,9 +1,11 @@
1
1
  import type { VNode } from "vue";
2
2
  import { type TrueColor } from "../theme/Theme";
3
- export type TabsVariant = "underline" | "soft" | "pill" | "segmented" | "minimal";
3
+ import { type GlassVibrancy, type GlassOpacity, type SpecularMode } from "../theme/glass";
4
+ export type TabsVariant = "underline" | "soft" | "pill" | "segmented" | "minimal" | "glass" | "liquid-glass";
4
5
  export type TabsSize = "sm" | "md" | "lg";
5
6
  export type TabsOrientation = "horizontal" | "vertical";
6
7
  export type TabsJustify = "start" | "center" | "end" | "between";
8
+ export type TabsRadius = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full";
7
9
  export interface TabItemAction {
8
10
  id?: string;
9
11
  label?: string | VNode;
@@ -50,6 +52,17 @@ export interface TabsProps {
50
52
  */
51
53
  scrollFade?: boolean;
52
54
  scrollFadeFrom?: string;
55
+ /** Backdrop vibrancy level for the `glass` / `liquid-glass` variants. */
56
+ vibrancy?: GlassVibrancy;
57
+ /** Glass fill transparency level for the `glass` / `liquid-glass` variants. */
58
+ glassOpacity?: GlassOpacity;
59
+ /** Specular highlight mode for the `glass` / `liquid-glass` variants. */
60
+ specularMode?: SpecularMode;
61
+ /**
62
+ * Corner radius for the `glass` / `liquid-glass` tab pills. Default: `"md"`
63
+ * (`rounded-md`). Pass `"full"` to restore the pill shape.
64
+ */
65
+ radius?: TabsRadius;
53
66
  }
54
67
  declare const _default: import("vue").DefineComponent<TabsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
55
68
  change: (id: string, item: TabItem) => any;
@@ -58,12 +71,16 @@ declare const _default: import("vue").DefineComponent<TabsProps, {}, {}, {}, {},
58
71
  onChange?: ((id: string, item: TabItem) => any) | undefined;
59
72
  "onUpdate:modelValue"?: ((id: string) => any) | undefined;
60
73
  }>, {
74
+ radius: TabsRadius;
75
+ size: TabsSize;
61
76
  color: TrueColor;
62
77
  variant: TabsVariant;
63
- size: TabsSize;
78
+ glassOpacity: GlassOpacity;
79
+ vibrancy: GlassVibrancy;
80
+ specularMode: SpecularMode;
81
+ orientation: TabsOrientation;
64
82
  fullWidth: boolean;
65
83
  justify: TabsJustify;
66
- orientation: TabsOrientation;
67
84
  allowReselect: boolean;
68
85
  panelIdPrefix: string;
69
86
  showDividers: boolean;
@@ -76,18 +76,18 @@ declare const _default: import("vue").DefineComponent<TagPickerProps, {}, {}, {}
76
76
  }, string, import("vue").PublicProps, Readonly<TagPickerProps> & Readonly<{
77
77
  "onUpdate:modelValue"?: ((values: string[]) => any) | undefined;
78
78
  }>, {
79
+ loading: boolean;
79
80
  color: TrueColor;
80
81
  disabled: boolean;
81
82
  placeholder: string;
82
- loading: boolean;
83
+ readOnly: boolean;
84
+ loadingMessage: string;
83
85
  emptyMessage: string;
84
86
  searchPlaceholder: string;
85
- loadingMessage: string;
86
87
  escapeBoundary: boolean;
87
88
  multi: boolean;
88
89
  allowCreate: boolean;
89
90
  tagLimit: number;
90
91
  highlightNew: boolean;
91
- readOnly: boolean;
92
92
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
93
93
  export default _default;
@@ -1,6 +1,9 @@
1
- import type { TrueColor } from "../theme/Theme";
2
- type TextareaSize = "sm" | "md" | "lg";
3
- type TextareaValidationStatus = "none" | "error" | "success";
1
+ import type { ControlSize, TrueColor, ValidationStatus } from "../theme/Theme";
2
+ /** The shared control scale. Was a bespoke `"sm" | "md" | "lg"` here while the
3
+ * React twin already used `ControlSize`, so the same component took different
4
+ * sizes in the two kits. */
5
+ type TextareaSize = ControlSize;
6
+ type TextareaValidationStatus = ValidationStatus;
4
7
  type TextareaResize = "none" | "vertical" | "horizontal" | "both";
5
8
  export interface TextareaProps {
6
9
  /** Current value of the textarea (v-model). */
@@ -18,9 +21,9 @@ declare const _default: import("vue").DefineComponent<TextareaProps, {
18
21
  }, string, import("vue").PublicProps, Readonly<TextareaProps> & Readonly<{
19
22
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
20
23
  }>, {
21
- tone: TrueColor;
22
- size: TextareaSize;
23
24
  resize: TextareaResize;
25
+ size: TextareaSize;
26
+ tone: TrueColor;
24
27
  validationStatus: TextareaValidationStatus;
25
28
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
29
  export default _default;
@@ -1,12 +1,12 @@
1
1
  import type { PanelPadding } from "../Panel.vue";
2
2
  import type { TimelinePanelProps } from "./types";
3
- import type { PanelVariant, PanelCorner } from "../Panel.vue";
3
+ import type { PanelVariant } from "../Panel.vue";
4
4
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<TimelinePanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TimelinePanelProps> & Readonly<{}>, {
5
- tone: import("../../index.js").TrueColor;
6
- variant: PanelVariant;
7
5
  loading: boolean;
6
+ tone: import("../index.js").TrueColor;
7
+ variant: PanelVariant;
8
+ corner: import("./types").TimelinePanelCorner;
8
9
  padding: PanelPadding;
9
- corner: PanelCorner;
10
10
  showTrunkDots: boolean;
11
11
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
12
12
  title?: (props: {}) => any;
@@ -45,17 +45,17 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ToggleProp
45
45
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
46
46
  }>, {
47
47
  glass: boolean;
48
- color: TrueColor;
49
48
  size: ToggleSize;
49
+ color: TrueColor;
50
50
  disabled: boolean;
51
- fullWidth: boolean;
52
- vibrancy: GlassVibrancy;
53
51
  glassOpacity: GlassOpacity;
52
+ vibrancy: GlassVibrancy;
54
53
  specularMode: SpecularMode;
54
+ fullWidth: boolean;
55
55
  padding: TogglePadding;
56
+ readonly: boolean;
56
57
  descriptionPlacement: ToggleDescriptionPlacement;
57
58
  alignLabel: ToggleAlign;
58
- readonly: boolean;
59
59
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
60
60
  label?: () => unknown;
61
61
  description?: () => unknown;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,62 @@
1
+ import { type SurfaceCorner, type SurfacePadding, type SurfaceVariant, type TrueColor } from "../theme/Theme";
2
+ import { type GlassOpacity, type GlassVibrancy } from "../theme/glass";
3
+ /**
4
+ * A bar that groups the actions for the content beside it — PrimeVue's
5
+ * Toolbar: `start` / `center` / `end` slots, one row, `role="toolbar"` —
6
+ * wearing the kit's shared Panel surface.
7
+ *
8
+ * The bar names itself PrimeVue's way: nothing. A `role="toolbar"` without a
9
+ * name announces fine, but on a page with several toolbars the name is the
10
+ * only thing that tells "Formatting" from "Filters" — pass `aria-label` or
11
+ * `aria-labelledby` (they arrive as attrs) to say which.
12
+ *
13
+ * (These notes live here rather than in the template because a template
14
+ * comment is a real node, and a comment beside the root makes the component
15
+ * multi-root — which silently breaks attribute inheritance.)
16
+ */
17
+ interface ToolbarProps {
18
+ /**
19
+ * Surface treatment — Panel's shared variant set, from an invisible
20
+ * `simple` bar to `liquid-glass`. @default "outlined"
21
+ */
22
+ variant?: SurfaceVariant;
23
+ /** Accent for the tinted and translucent variants. @default "neutral" */
24
+ tone?: TrueColor;
25
+ /**
26
+ * Inset around the regions, on the shared container scale. A bar wants it
27
+ * small; `none` lets a toolbar bleed flush into the content it serves.
28
+ * @default "xs"
29
+ */
30
+ padding?: SurfacePadding;
31
+ /** Corner rounding, the shared container scale. @default "rounded-md" */
32
+ corner?: SurfaceCorner;
33
+ /** Backdrop vibrancy for the `liquid-glass` variant. @default "medium" */
34
+ vibrancy?: GlassVibrancy;
35
+ /** Glass fill opacity for the `liquid-glass` variant. @default "frosted" */
36
+ glassOpacity?: GlassOpacity;
37
+ }
38
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {};
39
+ type __VLS_Slots = {} & {
40
+ start?: (props: typeof __VLS_1) => any;
41
+ } & {
42
+ center?: (props: typeof __VLS_3) => any;
43
+ } & {
44
+ end?: (props: typeof __VLS_5) => any;
45
+ } & {
46
+ default?: (props: typeof __VLS_7) => any;
47
+ };
48
+ declare const __VLS_component: import("vue").DefineComponent<ToolbarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ToolbarProps> & Readonly<{}>, {
49
+ tone: TrueColor;
50
+ variant: SurfaceVariant;
51
+ corner: SurfaceCorner;
52
+ glassOpacity: GlassOpacity;
53
+ vibrancy: GlassVibrancy;
54
+ padding: SurfacePadding;
55
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
56
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
57
+ export default _default;
58
+ type __VLS_WithSlots<T, S> = T & {
59
+ new (): {
60
+ $slots: S;
61
+ };
62
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -1,15 +1,32 @@
1
- export type TooltipPosition = "top" | "bottom";
1
+ import type { TooltipPosition } from "../../../common/tooltip/placement";
2
+ import type { TooltipVariant } from "../../../common/tooltip/tokens";
3
+ export type { TooltipPosition, TooltipVariant };
2
4
  export interface TooltipProps {
3
5
  /** Text shown in the tooltip. When omitted the component renders children as-is. */
4
6
  text?: string;
5
- /** How long to wait (ms) before showing the tooltip. Defaults to 500. */
7
+ /** How long to wait (ms) before showing the tooltip. @default 500 */
6
8
  delay?: number;
7
- /** Where to place the tooltip relative to the trigger. Defaults to 'top'. */
9
+ /**
10
+ * Preferred side. The tooltip flips when there is no room, so this is a
11
+ * preference rather than a guarantee. @default "top"
12
+ */
8
13
  position?: TooltipPosition;
14
+ /** How the tooltip is painted. @default "surface" */
15
+ variant?: TooltipVariant;
16
+ /** Gap between trigger and tooltip, in px. @default 8 */
17
+ offset?: number;
18
+ /** Minimum distance kept from every viewport edge, in px. @default 8 */
19
+ margin?: number;
20
+ /**
21
+ * Keep the tooltip inside this element instead of the whole viewport — a
22
+ * scroll container, a panel, a modal.
23
+ */
24
+ boundary?: HTMLElement | null;
9
25
  /** Extra classes applied to the outer wrapper element. */
10
26
  wrapperClassName?: string;
11
27
  }
12
28
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<TooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
29
+ variant: TooltipVariant;
13
30
  delay: number;
14
31
  position: TooltipPosition;
15
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
@@ -1,13 +1,34 @@
1
- import type { TooltipPosition } from "./Tooltip.vue";
1
+ import type { TooltipPosition } from "../../../common/tooltip/placement";
2
+ import type { TooltipVariant } from "../../../common/tooltip/tokens";
3
+ export type { TooltipPosition, TooltipVariant };
2
4
  export interface TooltipWrapperProps {
3
5
  /** Tooltip text. When omitted no tooltip is shown but the child is rendered unchanged. */
4
6
  text?: string;
5
- /** Delay in ms before the tooltip appears. Defaults to 500. */
7
+ /** Delay in ms before the tooltip appears. @default 500 */
6
8
  delay?: number;
7
- /** Where to place the tooltip relative to the child. Defaults to 'top'. */
9
+ /**
10
+ * Preferred side. The tooltip flips to the opposite side, then to a
11
+ * perpendicular one, when there is not enough room — so this is a
12
+ * preference, not a guarantee. @default "top"
13
+ */
8
14
  position?: TooltipPosition;
15
+ /** How the tooltip is painted. @default "surface" */
16
+ variant?: TooltipVariant;
17
+ /** Gap between trigger and tooltip, in px. @default 8 */
18
+ offset?: number;
19
+ /** Minimum distance kept from every viewport edge, in px. @default 8 */
20
+ margin?: number;
21
+ /**
22
+ * Keep the tooltip inside this element instead of the whole viewport — a
23
+ * scroll container, a panel, a modal. It flips and clamps against *that*
24
+ * edge, intersected with the viewport so it still never leaves the screen.
25
+ */
26
+ boundary?: HTMLElement | null;
9
27
  }
10
28
  declare const _default: import("vue").DefineComponent<TooltipWrapperProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TooltipWrapperProps> & Readonly<{}>, {
29
+ offset: number;
30
+ variant: TooltipVariant;
31
+ margin: number;
11
32
  delay: number;
12
33
  position: TooltipPosition;
13
34
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -3,15 +3,14 @@ export declare const INDENT_PX: Record<"xs" | "sm" | "md" | "lg", number>;
3
3
  declare const _default: import("vue").DefineComponent<TreeFlowSvgProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TreeFlowSvgProps> & Readonly<{}>, {
4
4
  mode: "tree" | "bracket";
5
5
  animated: boolean;
6
- showLine: boolean;
7
- dotSpacing: number;
8
- parentAnchorY: number;
6
+ depth: number;
7
+ stubHeight: number;
9
8
  parentOffset: number;
9
+ parentAnchorY: number;
10
10
  rootActive: boolean;
11
- stubHeight: number;
12
- depth: number;
13
11
  rootChildIndentExtra: number;
14
12
  indent: "xs" | "sm" | "md" | "lg";
13
+ showLine: boolean;
15
14
  showConnectors: boolean;
16
15
  connectorStyle: "rings" | "dots";
17
16
  branchColorMode: "item" | "parent";
@@ -19,5 +18,6 @@ declare const _default: import("vue").DefineComponent<TreeFlowSvgProps, {}, {},
19
18
  showCenterDot: boolean;
20
19
  connectorHalf: boolean;
21
20
  connectorBorderSize: "fit" | "xs" | "sm" | "md" | "lg";
21
+ dotSpacing: number;
22
22
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
23
  export default _default;
@@ -13,13 +13,13 @@ declare const _default: import("vue").DefineComponent<TreeItemRowProps, {}, {},
13
13
  rowElement: (el: HTMLDivElement | null) => any;
14
14
  heightChange: (height: number) => any;
15
15
  anchorChange: (anchor: number) => any;
16
- toneChange: (tone: import("../../index.js").TrueColor) => any;
16
+ toneChange: (tone: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "rose" | "slate" | "gray" | "zinc" | "neutral" | "stone") => any;
17
17
  activeChange: (active: boolean) => any;
18
18
  }, string, import("vue").PublicProps, Readonly<TreeItemRowProps> & Readonly<{
19
19
  onRowElement?: ((el: HTMLDivElement | null) => any) | undefined;
20
20
  onHeightChange?: ((height: number) => any) | undefined;
21
21
  onAnchorChange?: ((anchor: number) => any) | undefined;
22
- onToneChange?: ((tone: import("../../index.js").TrueColor) => any) | undefined;
22
+ onToneChange?: ((tone: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "rose" | "slate" | "gray" | "zinc" | "neutral" | "stone") => any) | undefined;
23
23
  onActiveChange?: ((active: boolean) => any) | undefined;
24
24
  }>, {
25
25
  dropIndicator: DropPosition | null;
@@ -10,12 +10,12 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<TreeViewPr
10
10
  loading: boolean;
11
11
  animated: boolean;
12
12
  rowGap: number;
13
- showLine: boolean;
14
- dotSpacing: number;
15
- rootActive: boolean;
13
+ reorderable: boolean;
16
14
  stubHeight: number;
15
+ rootActive: boolean;
17
16
  rootChildIndentExtra: number;
18
17
  indent: "xs" | "sm" | "md" | "lg";
18
+ showLine: boolean;
19
19
  showConnectors: boolean;
20
20
  connectorStyle: "rings" | "dots";
21
21
  branchColorMode: "item" | "parent";
@@ -23,7 +23,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<TreeViewPr
23
23
  showCenterDot: boolean;
24
24
  connectorHalf: boolean;
25
25
  connectorBorderSize: "fit" | "xs" | "sm" | "md" | "lg";
26
- reorderable: boolean;
26
+ dotSpacing: number;
27
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
28
28
  loadingState?: (props: {}) => any;
29
29
  } & {
@@ -0,0 +1 @@
1
+ export {};
@@ -1,3 +1,16 @@
1
+ import type { VNode } from "vue";
2
+ import type { IconName } from "../icons/registry";
3
+ import type { ControlSize, TrueColor } from "../theme/Theme";
4
+ export declare const USER_AVATAR_SHAPES: readonly ["circle", "rounded", "square"];
5
+ export type UserAvatarShape = (typeof USER_AVATAR_SHAPES)[number];
6
+ /**
7
+ * PrimeVue Avatar's size names, accepted alongside the shared control ladder
8
+ * so a `size="large"` avatar drops straight in from a PrimeVue codebase.
9
+ */
10
+ export declare const USER_AVATAR_PRESET_SIZES: readonly ["normal", "large", "xlarge"];
11
+ export type UserAvatarPresetSize = (typeof USER_AVATAR_PRESET_SIZES)[number];
12
+ /** Control ladder rung, PrimeVue preset name, or an exact pixel box. */
13
+ export type UserAvatarSize = ControlSize | UserAvatarPresetSize | number;
1
14
  export interface UserAvatarUser {
2
15
  name?: string;
3
16
  username?: string;
@@ -6,11 +19,48 @@ export interface UserAvatarUser {
6
19
  }
7
20
  export interface UserAvatarProps {
8
21
  user?: UserAvatarUser | null;
9
- size?: number;
10
- variant?: "circle" | "rounded" | "square";
22
+ /**
23
+ * Scale on the shared control ladder. Was a bare pixel number, so an avatar
24
+ * could not be told to match the `sm` Button beside it. A number still
25
+ * works and wins, for the call sites that need an exact box; PrimeVue's
26
+ * `normal` / `large` / `xlarge` are mapped onto `md` / `lg` / `xl`.
27
+ * @default "md"
28
+ */
29
+ size?: UserAvatarSize;
30
+ /** Accent for the fallback chip. @default "neutral" */
31
+ tone?: TrueColor;
32
+ /** @default "circle" */
33
+ shape?: UserAvatarShape;
34
+ /** @deprecated Use `shape`. */
35
+ variant?: UserAvatarShape;
36
+ /**
37
+ * Text content, the PrimeVue `label` parity prop. Wins over `icon` and the
38
+ * image, exactly as it does there, and gives the avatar its accessible name
39
+ * when there is no user behind it.
40
+ */
41
+ label?: string;
42
+ /** Registry icon name or node, the PrimeVue `icon` parity prop. */
43
+ icon?: IconName | VNode;
44
+ /**
45
+ * Direct image URL, the PrimeVue `image` parity prop. `user.avatarUrl`
46
+ * still resolves when this is absent; either way a broken URL falls back
47
+ * to the label, initial or glyph instead of breaking the layout.
48
+ */
49
+ image?: string;
11
50
  }
12
- declare const _default: import("vue").DefineComponent<UserAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<UserAvatarProps> & Readonly<{}>, {
13
- variant: "circle" | "rounded" | "square";
14
- size: number;
15
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
51
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<UserAvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
52
+ error: (payload: Event) => any;
53
+ }, string, import("vue").PublicProps, Readonly<UserAvatarProps> & Readonly<{
54
+ onError?: ((payload: Event) => any) | undefined;
55
+ }>, {
56
+ size: UserAvatarSize;
57
+ tone: TrueColor;
58
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
59
+ default?: (props: {}) => any;
60
+ }>;
16
61
  export default _default;
62
+ type __VLS_WithSlots<T, S> = T & {
63
+ new (): {
64
+ $slots: S;
65
+ };
66
+ };
@@ -1,14 +1,31 @@
1
- import { type SmartVariable } from "../types/Variables";
2
- import type { CapsuleBlueprintParameter } from "../types/CapsuleBlueprint";
1
+ import type { SmartVariable, SmartVariableGroup, SmartVariableResolver } from "../types/Variables";
2
+ import type { TrueColor } from "../theme/Theme";
3
3
  export interface VariablePickerProps {
4
- globalParameters: CapsuleBlueprintParameter[];
5
- serviceNames: string[];
4
+ /** The groups to offer, one tab each. */
5
+ groups: SmartVariableGroup[];
6
+ /** Shows each variable's resolved value beside it. */
7
+ resolve?: SmartVariableResolver;
8
+ /** Accent colour. @default "blue" */
9
+ tone?: TrueColor;
10
+ /**
11
+ * Scale of the search field, matched to the control that opened the picker
12
+ * so the two do not look like different widgets stacked on each other.
13
+ * @default "md"
14
+ */
15
+ size?: "sm" | "md" | "lg";
16
+ /** Pre-fills the search box — used when the picker is opened by typing. */
17
+ initialSearch?: string;
18
+ title?: string;
6
19
  }
7
- declare const _default: import("vue").DefineComponent<VariablePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ declare const _default: import("vue").DefineComponent<VariablePickerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
8
21
  select: (variable: SmartVariable) => any;
9
22
  close: () => any;
10
23
  }, string, import("vue").PublicProps, Readonly<VariablePickerProps> & Readonly<{
11
24
  onSelect?: ((variable: SmartVariable) => any) | undefined;
12
25
  onClose?: (() => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
+ }>, {
27
+ size: "sm" | "md" | "lg";
28
+ tone: TrueColor;
29
+ initialSearch: string;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
31
  export default _default;
@@ -0,0 +1 @@
1
+ export {};