@cjlapao/ui-kit-vue 0.2.0 → 0.2.5

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 (217) hide show
  1. package/dist/index.cjs +18 -25
  2. package/dist/index.css +37767 -13278
  3. package/dist/index.js +31203 -21039
  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/index.d.ts +6 -0
  10. package/dist/types/common/connectionFlow/layout.d.ts +73 -0
  11. package/dist/types/common/connectionFlow/measure.d.ts +94 -0
  12. package/dist/types/common/connectionFlow/router.d.ts +131 -0
  13. package/dist/types/common/connectionFlow/tones.d.ts +79 -0
  14. package/dist/types/common/connectionFlow/types.d.ts +394 -0
  15. package/dist/types/common/gantt/drag.d.ts +221 -0
  16. package/dist/types/common/gantt/index.d.ts +11 -0
  17. package/dist/types/common/gantt/layout.d.ts +133 -0
  18. package/dist/types/common/gantt/sample.d.ts +15 -0
  19. package/dist/types/common/gantt/time.d.ts +77 -0
  20. package/dist/types/common/gantt/tokens.d.ts +73 -0
  21. package/dist/types/common/gantt/types.d.ts +216 -0
  22. package/dist/types/common/i18n/builtIn/de.d.ts +2 -0
  23. package/dist/types/common/i18n/builtIn/en.d.ts +2 -0
  24. package/dist/types/common/i18n/builtIn/es.d.ts +2 -0
  25. package/dist/types/common/i18n/builtIn/fr.d.ts +2 -0
  26. package/dist/types/common/i18n/builtIn/index.d.ts +15 -0
  27. package/dist/types/common/i18n/builtIn/pt.d.ts +2 -0
  28. package/dist/types/common/i18n/catalog.d.ts +32 -0
  29. package/dist/types/common/i18n/createI18n.d.ts +2 -0
  30. package/dist/types/common/i18n/dates.d.ts +12 -0
  31. package/dist/types/common/i18n/detect.d.ts +29 -0
  32. package/dist/types/common/i18n/icu.d.ts +36 -0
  33. package/dist/types/common/i18n/index.d.ts +10 -0
  34. package/dist/types/common/i18n/provider.d.ts +7 -0
  35. package/dist/types/common/i18n/storage.d.ts +8 -0
  36. package/dist/types/common/i18n/types.d.ts +64 -0
  37. package/dist/types/common/i18n/warn.d.ts +5 -0
  38. package/dist/types/common/theme/Theme.d.ts +956 -3
  39. package/dist/types/common/theme/glass.d.ts +90 -11
  40. package/dist/types/common/theme/randomThemeColor.d.ts +4 -4
  41. package/dist/types/common/tooltip/placement.d.ts +103 -0
  42. package/dist/types/common/tooltip/tokens.d.ts +40 -0
  43. package/dist/types/common/types/TableSettings.d.ts +15 -0
  44. package/dist/types/common/types/Variables.d.ts +71 -1
  45. package/dist/types/common/utils/dates.d.ts +113 -0
  46. package/dist/types/common/utils/gravatar.d.ts +0 -10
  47. package/dist/types/common/utils/safeStorage.d.ts +28 -0
  48. package/dist/types/common/utils/sanitizeSvg.d.ts +44 -0
  49. package/dist/types/common/utils/smartVariables.d.ts +74 -18
  50. package/dist/types/common/utils/tableStorage.d.ts +38 -0
  51. package/dist/types/vue/src/chat/index.d.ts +4 -0
  52. package/dist/types/vue/src/components/AccessMatrix.test.d.ts +1 -0
  53. package/dist/types/vue/src/components/AccessMatrix.vue.d.ts +23 -1
  54. package/dist/types/vue/src/components/Accordion.test.d.ts +1 -0
  55. package/dist/types/vue/src/components/Accordion.vue.d.ts +42 -28
  56. package/dist/types/vue/src/components/ActivityFeed.test.d.ts +1 -0
  57. package/dist/types/vue/src/components/ActivityFeed.vue.d.ts +141 -0
  58. package/dist/types/vue/src/components/Alert.test.d.ts +1 -0
  59. package/dist/types/vue/src/components/Alert.vue.d.ts +59 -2
  60. package/dist/types/vue/src/components/ApiErrorState.test.d.ts +1 -0
  61. package/dist/types/vue/src/components/ApiErrorState.vue.d.ts +28 -8
  62. package/dist/types/vue/src/components/AppDivider.vue.d.ts +53 -4
  63. package/dist/types/vue/src/components/Badge.vue.d.ts +45 -13
  64. package/dist/types/vue/src/components/BadgeIcon.vue.d.ts +1 -1
  65. package/dist/types/vue/src/components/BreakdownCard.test.d.ts +1 -0
  66. package/dist/types/vue/src/components/BreakdownCard.vue.d.ts +81 -0
  67. package/dist/types/vue/src/components/Button.vue.d.ts +22 -11
  68. package/dist/types/vue/src/components/Chat.test.d.ts +1 -0
  69. package/dist/types/vue/src/components/Chat.vue.d.ts +80 -0
  70. package/dist/types/vue/src/components/Checkbox.test.d.ts +1 -0
  71. package/dist/types/vue/src/components/Checkbox.vue.d.ts +44 -29
  72. package/dist/types/vue/src/components/CollapsiblePanel.vue.d.ts +5 -5
  73. package/dist/types/vue/src/components/ColorSwatches.test.d.ts +1 -0
  74. package/dist/types/vue/src/components/ColorSwatches.vue.d.ts +42 -0
  75. package/dist/types/vue/src/components/Combobox.test.d.ts +1 -0
  76. package/dist/types/vue/src/components/Combobox.vue.d.ts +61 -12
  77. package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlow.vue.d.ts +153 -17
  78. package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowHeader.vue.d.ts +33 -0
  79. package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowNodeBody.vue.d.ts +32 -0
  80. package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowSkeleton.vue.d.ts +18 -0
  81. package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowSvg.vue.d.ts +52 -0
  82. package/dist/types/vue/src/components/ConnectionFlow/connectionFlow.test.d.ts +1 -0
  83. package/dist/types/vue/src/components/ConnectionFlow/index.d.ts +11 -4
  84. package/dist/types/vue/src/components/CustomIcon.vue.d.ts +35 -11
  85. package/dist/types/vue/src/components/DetailItemCard.vue.d.ts +37 -5
  86. package/dist/types/vue/src/components/DropdownButton.vue.d.ts +3 -3
  87. package/dist/types/vue/src/components/DropdownMenu.test.d.ts +1 -0
  88. package/dist/types/vue/src/components/DropdownMenu.vue.d.ts +1 -1
  89. package/dist/types/vue/src/components/DynamicFormField.test.d.ts +1 -0
  90. package/dist/types/vue/src/components/DynamicFormField.vue.d.ts +61 -5
  91. package/dist/types/vue/src/components/DynamicImg.vue.d.ts +28 -3
  92. package/dist/types/vue/src/components/EmptyState.test.d.ts +1 -0
  93. package/dist/types/vue/src/components/EmptyState.vue.d.ts +104 -24
  94. package/dist/types/vue/src/components/FormField.vue.d.ts +2 -1
  95. package/dist/types/vue/src/components/Gantt/Gantt.test.d.ts +1 -0
  96. package/dist/types/vue/src/components/Gantt/Gantt.vue.d.ts +160 -0
  97. package/dist/types/vue/src/components/Gantt/GanttBodyRow.vue.d.ts +78 -0
  98. package/dist/types/vue/src/components/Gantt/GanttCell.vue.d.ts +28 -0
  99. package/dist/types/vue/src/components/Gantt/GanttLinkLayer.vue.d.ts +22 -0
  100. package/dist/types/vue/src/components/Gantt/GanttScale.vue.d.ts +7 -0
  101. package/dist/types/vue/src/components/Gantt/GanttTaskBar.vue.d.ts +53 -0
  102. package/dist/types/vue/src/components/Gantt/GanttToolbar.vue.d.ts +22 -0
  103. package/dist/types/vue/src/components/Gantt/index.d.ts +18 -0
  104. package/dist/types/vue/src/components/Gantt/labels.d.ts +3 -0
  105. package/dist/types/vue/src/components/Gantt/types.d.ts +11 -0
  106. package/dist/types/vue/src/components/Gantt/useGanttDrag.d.ts +105 -0
  107. package/dist/types/vue/src/components/GlassBackground.vue.d.ts +4 -3
  108. package/dist/types/vue/src/components/GlassPanel.vue.d.ts +2 -2
  109. package/dist/types/vue/src/components/HeaderGroup.vue.d.ts +19 -1
  110. package/dist/types/vue/src/components/HelpButton.test.d.ts +1 -0
  111. package/dist/types/vue/src/components/HelpButton.vue.d.ts +15 -6
  112. package/dist/types/vue/src/components/Hero.test.d.ts +1 -0
  113. package/dist/types/vue/src/components/Hero.vue.d.ts +52 -31
  114. package/dist/types/vue/src/components/IconButton.vue.d.ts +12 -6
  115. package/dist/types/vue/src/components/InfiniteScrollPanel.vue.d.ts +61 -14
  116. package/dist/types/vue/src/components/InfoRow.test.d.ts +1 -0
  117. package/dist/types/vue/src/components/InfoRow.vue.d.ts +67 -37
  118. package/dist/types/vue/src/components/InlinePanel.vue.d.ts +12 -18
  119. package/dist/types/vue/src/components/Input.test.d.ts +1 -0
  120. package/dist/types/vue/src/components/Input.vue.d.ts +42 -13
  121. package/dist/types/vue/src/components/InputGroup.test.d.ts +1 -0
  122. package/dist/types/vue/src/components/InputGroup.vue.d.ts +20 -5
  123. package/dist/types/vue/src/components/Loader.test.d.ts +1 -0
  124. package/dist/types/vue/src/components/Loader.vue.d.ts +30 -11
  125. package/dist/types/vue/src/components/MarkdownEditor.vue.d.ts +1 -1
  126. package/dist/types/vue/src/components/MetricBar.test.d.ts +1 -0
  127. package/dist/types/vue/src/components/MetricBar.vue.d.ts +16 -5
  128. package/dist/types/vue/src/components/Modal.vue.d.ts +18 -19
  129. package/dist/types/vue/src/components/MultiProgressBar.vue.d.ts +15 -2
  130. package/dist/types/vue/src/components/MultiSelectPills.test.d.ts +1 -0
  131. package/dist/types/vue/src/components/MultiSelectPills.vue.d.ts +47 -43
  132. package/dist/types/vue/src/components/MultiToggle.test.d.ts +1 -0
  133. package/dist/types/vue/src/components/MultiToggle.vue.d.ts +33 -6
  134. package/dist/types/vue/src/components/NotificationModal.test.d.ts +1 -0
  135. package/dist/types/vue/src/components/NotificationModal.vue.d.ts +19 -2
  136. package/dist/types/vue/src/components/PageHeader.test.d.ts +1 -0
  137. package/dist/types/vue/src/components/PageHeader.vue.d.ts +18 -0
  138. package/dist/types/vue/src/components/PagedPanel.test.d.ts +1 -0
  139. package/dist/types/vue/src/components/PagedPanel.vue.d.ts +39 -11
  140. package/dist/types/vue/src/components/Panel.vue.d.ts +18 -9
  141. package/dist/types/vue/src/components/PasswordInput.test.d.ts +1 -0
  142. package/dist/types/vue/src/components/PasswordInput.vue.d.ts +20 -3
  143. package/dist/types/vue/src/components/Picker.test.d.ts +1 -0
  144. package/dist/types/vue/src/components/Picker.vue.d.ts +3 -3
  145. package/dist/types/vue/src/components/Pill.vue.d.ts +63 -5
  146. package/dist/types/vue/src/components/Progress.test.d.ts +1 -0
  147. package/dist/types/vue/src/components/Progress.vue.d.ts +60 -11
  148. package/dist/types/vue/src/components/ProgressSpinner.test.d.ts +1 -0
  149. package/dist/types/vue/src/components/ProgressSpinner.vue.d.ts +46 -0
  150. package/dist/types/vue/src/components/ScrollArea.test.d.ts +1 -0
  151. package/dist/types/vue/src/components/ScrollArea.vue.d.ts +52 -0
  152. package/dist/types/vue/src/components/SearchBar.vue.d.ts +2 -3
  153. package/dist/types/vue/src/components/Section.vue.d.ts +1 -1
  154. package/dist/types/vue/src/components/SectionCard.vue.d.ts +2 -2
  155. package/dist/types/vue/src/components/Select.test.d.ts +1 -0
  156. package/dist/types/vue/src/components/Select.vue.d.ts +41 -16
  157. package/dist/types/vue/src/components/SidePanel.vue.d.ts +1 -1
  158. package/dist/types/vue/src/components/SmartInput.vue.d.ts +49 -18
  159. package/dist/types/vue/src/components/SmartValue.vue.d.ts +20 -13
  160. package/dist/types/vue/src/components/SmartVariableBadge.vue.d.ts +17 -0
  161. package/dist/types/vue/src/components/Spinner.test.d.ts +1 -0
  162. package/dist/types/vue/src/components/Spinner.vue.d.ts +12 -5
  163. package/dist/types/vue/src/components/SplitView.vue.d.ts +6 -6
  164. package/dist/types/vue/src/components/StartupStageStepper.vue.d.ts +1 -1
  165. package/dist/types/vue/src/components/StatChartTile.vue.d.ts +5 -0
  166. package/dist/types/vue/src/components/StatCountTile.vue.d.ts +5 -1
  167. package/dist/types/vue/src/components/StatGraphTile.vue.d.ts +1 -1
  168. package/dist/types/vue/src/components/StatTile.test.d.ts +1 -0
  169. package/dist/types/vue/src/components/StatTile.vue.d.ts +5 -1
  170. package/dist/types/vue/src/components/StatusSpinner.test.d.ts +1 -0
  171. package/dist/types/vue/src/components/StatusSpinner.vue.d.ts +10 -5
  172. package/dist/types/vue/src/components/Stepper.test.d.ts +1 -0
  173. package/dist/types/vue/src/components/Stepper.vue.d.ts +62 -25
  174. package/dist/types/vue/src/components/Table.test.d.ts +1 -0
  175. package/dist/types/vue/src/components/Table.vue.d.ts +68 -15
  176. package/dist/types/vue/src/components/Tabs.vue.d.ts +20 -3
  177. package/dist/types/vue/src/components/TagPicker.vue.d.ts +3 -3
  178. package/dist/types/vue/src/components/Textarea.vue.d.ts +8 -5
  179. package/dist/types/vue/src/components/TimelinePanel/TimelinePanel.vue.d.ts +4 -4
  180. package/dist/types/vue/src/components/Toggle.vue.d.ts +4 -4
  181. package/dist/types/vue/src/components/Toolbar.test.d.ts +1 -0
  182. package/dist/types/vue/src/components/Toolbar.vue.d.ts +62 -0
  183. package/dist/types/vue/src/components/Tooltip.test.d.ts +1 -0
  184. package/dist/types/vue/src/components/Tooltip.vue.d.ts +20 -3
  185. package/dist/types/vue/src/components/TooltipWrapper.vue.d.ts +24 -3
  186. package/dist/types/vue/src/components/TreeView/TreeFlowSvg.vue.d.ts +5 -5
  187. package/dist/types/vue/src/components/TreeView/TreeItemRow.vue.d.ts +2 -2
  188. package/dist/types/vue/src/components/TreeView/TreeView.vue.d.ts +4 -4
  189. package/dist/types/vue/src/components/UserAvatar.test.d.ts +1 -0
  190. package/dist/types/vue/src/components/UserAvatar.vue.d.ts +56 -6
  191. package/dist/types/vue/src/components/VariablePicker.vue.d.ts +23 -6
  192. package/dist/types/vue/src/components/__dbg.test.d.ts +1 -0
  193. package/dist/types/vue/src/components/index.d.ts +50 -31
  194. package/dist/types/vue/src/components/internal/InfoRowContent.vue.d.ts +52 -0
  195. package/dist/types/vue/src/components/internal/PagedPanelContent.vue.d.ts +47 -0
  196. package/dist/types/vue/src/connectionFlow/index.d.ts +1 -0
  197. package/dist/types/vue/src/contexts/IconContext.d.ts +8 -3
  198. package/dist/types/vue/src/i18n/I18nContext.d.ts +14 -0
  199. package/dist/types/vue/src/i18n/I18nProvider.test.d.ts +2 -0
  200. package/dist/types/vue/src/i18n/I18nProvider.vue.d.ts +35 -0
  201. package/dist/types/vue/src/i18n/index.d.ts +8 -0
  202. package/dist/types/vue/src/i18n/kit-components-spot.test.d.ts +1 -0
  203. package/dist/types/vue/src/i18n/useI18n.d.ts +44 -0
  204. package/dist/types/vue/src/index.d.ts +2 -2
  205. package/dist/types/vue/src/test-setup.d.ts +5 -0
  206. package/dist/types/vue/src/types/Icon.d.ts +11 -2
  207. package/dist/types/vue/src/types/TableSettings.d.ts +1 -0
  208. package/dist/types/vue/src/types/index.d.ts +1 -0
  209. package/dist/types/vue/src/utils/index.d.ts +1 -0
  210. package/dist/types/vue/src/utils/sanitizeSvg.d.ts +1 -0
  211. package/dist/types/vue/src/utils/tableStorage.d.ts +1 -0
  212. package/dist/ui-kit-vue.css +1 -1
  213. package/package.json +8 -3
  214. package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowColumn.vue.d.ts +0 -45
  215. package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowConnector.vue.d.ts +0 -103
  216. package/dist/types/vue/src/components/ConnectionFlow/ConnectionFlowParallelGroup.vue.d.ts +0 -17
  217. package/dist/types/vue/src/components/ConnectionFlow/types.d.ts +0 -220
@@ -89,11 +89,11 @@ export declare const ConfirmInlinePanel: import("vue").DefineComponent<import("v
89
89
  };
90
90
  confirmLabel: {
91
91
  type: PropType<string | VNode>;
92
- default: string;
92
+ default: undefined;
93
93
  };
94
94
  cancelLabel: {
95
95
  type: PropType<string | VNode>;
96
- default: string;
96
+ default: undefined;
97
97
  };
98
98
  confirmVariant: {
99
99
  type: PropType<ButtonVariant>;
@@ -124,11 +124,11 @@ export declare const ConfirmInlinePanel: import("vue").DefineComponent<import("v
124
124
  };
125
125
  confirmLabel: {
126
126
  type: PropType<string | VNode>;
127
- default: string;
127
+ default: undefined;
128
128
  };
129
129
  cancelLabel: {
130
130
  type: PropType<string | VNode>;
131
- default: string;
131
+ default: undefined;
132
132
  };
133
133
  confirmVariant: {
134
134
  type: PropType<ButtonVariant>;
@@ -146,16 +146,16 @@ export declare const ConfirmInlinePanel: import("vue").DefineComponent<import("v
146
146
  onClose?: ((...args: any[]) => any) | undefined;
147
147
  onConfirm?: ((...args: any[]) => any) | undefined;
148
148
  }>, {
149
- anchor: InlinePanelAnchor;
150
149
  size: Size;
150
+ anchor: InlinePanelAnchor;
151
151
  confirmLabel: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
152
152
  [key: string]: any;
153
153
  }>;
154
154
  cancelLabel: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
155
155
  [key: string]: any;
156
156
  }>;
157
- confirmVariant: ButtonVariant;
158
- confirmColor: import("../theme").TrueColor;
157
+ confirmVariant: "clear" | "solid" | "soft" | "outline" | "ghost" | "link" | "icon" | "glass";
158
+ confirmColor: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "rose" | "slate" | "gray" | "zinc" | "neutral" | "stone";
159
159
  isConfirmDisabled: boolean;
160
160
  showBackdrop: boolean;
161
161
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -177,15 +177,14 @@ export declare const DeleteConfirmInlinePanel: import("vue").DefineComponent<imp
177
177
  };
178
178
  confirmValueLabel: {
179
179
  type: StringConstructor;
180
- default: string;
180
+ default: undefined;
181
181
  };
182
182
  confirmLabel: {
183
183
  type: PropType<string | VNode>;
184
- default: string;
184
+ default: undefined;
185
185
  };
186
186
  cancelLabel: {
187
187
  type: PropType<string | VNode>;
188
- default: string;
189
188
  };
190
189
  isConfirmDisabled: {
191
190
  type: BooleanConstructor;
@@ -204,15 +203,14 @@ export declare const DeleteConfirmInlinePanel: import("vue").DefineComponent<imp
204
203
  };
205
204
  confirmValueLabel: {
206
205
  type: StringConstructor;
207
- default: string;
206
+ default: undefined;
208
207
  };
209
208
  confirmLabel: {
210
209
  type: PropType<string | VNode>;
211
- default: string;
210
+ default: undefined;
212
211
  };
213
212
  cancelLabel: {
214
213
  type: PropType<string | VNode>;
215
- default: string;
216
214
  };
217
215
  isConfirmDisabled: {
218
216
  type: BooleanConstructor;
@@ -225,9 +223,6 @@ export declare const DeleteConfirmInlinePanel: import("vue").DefineComponent<imp
225
223
  confirmLabel: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
226
224
  [key: string]: any;
227
225
  }>;
228
- cancelLabel: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
229
- [key: string]: any;
230
- }>;
231
226
  isConfirmDisabled: boolean;
232
227
  confirmValueLabel: string;
233
228
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -238,15 +233,14 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<InlinePane
238
233
  onClose?: (() => any) | undefined;
239
234
  onBack?: (() => any) | undefined;
240
235
  }>, {
241
- anchor: InlinePanelAnchor;
242
236
  role: "dialog" | "alertdialog";
243
237
  size: Size;
238
+ anchor: InlinePanelAnchor;
244
239
  zIndex: number;
245
240
  closeOnBackdropClick: boolean;
246
241
  closeOnEsc: boolean;
247
242
  headerActions: InlinePanelHeaderAction[];
248
243
  hideCloseButton: boolean;
249
- backTooltip: string;
250
244
  showBackdrop: boolean;
251
245
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
252
246
  title?: (props: {}) => any;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,27 +1,54 @@
1
1
  import type { VNode } from "vue";
2
- import type { ButtonColor } from "./Button.vue";
3
- type InputValidationStatus = "none" | "error" | "success";
4
- type InputSize = "sm" | "md" | "lg";
5
- export type InputVariant = "flat" | "elevated" | "ghost" | "underline";
6
- type IconRenderer = string | VNode;
2
+ import type { ControlSize, GlowIntensity, InputVariant, TrueColor } from "../theme/Theme";
3
+ /** @deprecated Use `VALIDATION_STATUSES` from the theme. Kept as an alias. */
4
+ export declare const INPUT_VALIDATION_STATUSES: readonly ["none", "error", "success"];
5
+ export type InputValidationStatus = (typeof INPUT_VALIDATION_STATUSES)[number];
6
+ export type InputValidationStatusType = InputValidationStatus;
7
+ /**
8
+ * The shared control scale, so an Input lines up with the Button, SearchBar and
9
+ * Select beside it. Was a local `"sm" | "md" | "lg"`, which left `xs` and `xl`
10
+ * unreachable even though every sibling control offered them.
11
+ */
12
+ export type InputSize = ControlSize;
13
+ /**
14
+ * Re-exported from the theme, where the surfaces live, so `Input`, `Textarea`
15
+ * and `SearchBar` cannot drift apart.
16
+ */
17
+ export type { InputVariant };
7
18
  export interface InputProps {
8
19
  /** Current value of the input (v-model). */
9
20
  modelValue?: string;
21
+ /** @default "md" */
10
22
  size?: InputSize;
11
- tone?: ButtonColor;
12
- /** Visual surface style. Defaults to `flat`. */
23
+ /** Accent colour for the focus border, ring and icon highlight. */
24
+ tone?: TrueColor;
25
+ /** Alias for `tone`, matching `SearchBar`'s prop name. */
26
+ color?: TrueColor;
27
+ /** Visual surface style. @default "flat" */
13
28
  variant?: InputVariant;
29
+ /** Start colour of the gradient glow. Defaults to the tone's 600 shade. */
30
+ gradientFrom?: string;
31
+ /** End colour of the gradient glow. Defaults to the tone's 400 shade. */
32
+ gradientTo?: string;
33
+ /** How prominent the gradient glow is. @default "soft" */
34
+ glowIntensity?: GlowIntensity;
35
+ /** @default "none" */
14
36
  validationStatus?: InputValidationStatus;
15
- leadingIcon?: IconRenderer;
16
- trailingIcon?: IconRenderer;
17
- /** When provided, the trailing icon renders as an interactive button instead of a static decoration. */
37
+ leadingIcon?: string | VNode;
38
+ trailingIcon?: string | VNode;
39
+ /** Renders the trailing icon as a button rather than a static decoration. */
18
40
  onTrailingIconClick?: (event: MouseEvent) => void;
41
+ /** Accessible name for that button. @default "Input action" */
42
+ trailingIconLabel?: string;
43
+ /** @deprecated Use the `class` attribute, which is now the box. */
19
44
  wrapperClassName?: string;
45
+ /** Classes for the inner `<input>` element itself. */
46
+ inputClassName?: string;
47
+ /** Drops the surface entirely — used by `InputGroup`. */
20
48
  unstyled?: boolean;
21
49
  fullHeight?: boolean;
22
50
  disabled?: boolean;
23
51
  }
24
- export type InputValidationStatusType = InputValidationStatus;
25
52
  declare const _default: import("vue").DefineComponent<InputProps, {
26
53
  el: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
27
54
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
@@ -29,11 +56,13 @@ declare const _default: import("vue").DefineComponent<InputProps, {
29
56
  }, string, import("vue").PublicProps, Readonly<InputProps> & Readonly<{
30
57
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
31
58
  }>, {
32
- tone: ButtonColor;
33
- variant: InputVariant;
34
59
  size: InputSize;
60
+ disabled: boolean;
61
+ variant: InputVariant;
35
62
  fullHeight: boolean;
63
+ glowIntensity: GlowIntensity;
36
64
  validationStatus: InputValidationStatus;
65
+ trailingIconLabel: string;
37
66
  unstyled: boolean;
38
67
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
68
  export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,18 +1,33 @@
1
- import type { ButtonColor } from "./Button.vue";
2
- type InputGroupSize = "sm" | "md" | "lg";
3
- type InputGroupValidationStatus = "none" | "error" | "success";
1
+ import type { ControlSize, InputVariant, TrueColor } from "../theme/Theme";
2
+ export declare const INPUT_GROUP_VALIDATION_STATUSES: readonly ["none", "error", "success"];
3
+ export type InputGroupValidationStatus = (typeof INPUT_GROUP_VALIDATION_STATUSES)[number];
4
+ /** The shared control scale, so a group lines up with the Button beside it. */
5
+ export type InputGroupSize = ControlSize;
6
+ /**
7
+ * The same surfaces `Input`, `SearchBar` and `Checkbox` offer. The group owns
8
+ * the box now — its children render `unstyled` — so the variant has to live
9
+ * here or a group could never be anything but an opaque white card.
10
+ */
11
+ export type InputGroupVariant = InputVariant;
4
12
  export interface InputGroupProps {
5
13
  leadingAddon?: string;
6
14
  trailingAddon?: string;
7
- tone?: ButtonColor;
15
+ /** @default "blue" */
16
+ tone?: TrueColor;
17
+ /** Alias for `tone`, matching `Input` and `SearchBar`. */
18
+ color?: TrueColor;
19
+ /** Surface treatment of the group box. @default "elevated" */
20
+ variant?: InputGroupVariant;
21
+ /** @default "md" */
8
22
  size?: InputGroupSize;
23
+ /** @default "none" */
9
24
  validationStatus?: InputGroupValidationStatus;
10
25
  disabled?: boolean;
11
26
  }
12
27
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<InputGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<InputGroupProps> & Readonly<{}>, {
13
- tone: ButtonColor;
14
28
  size: InputGroupSize;
15
29
  disabled: boolean;
30
+ variant: InputGroupVariant;
16
31
  validationStatus: InputGroupValidationStatus;
17
32
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
18
33
  leadingAddon?: (props: {}) => any;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,30 +1,49 @@
1
1
  import type { VNode } from "vue";
2
- import type { SpinnerColor, SpinnerProps } from "./Spinner.vue";
3
- type LoaderVariant = "spinner" | "progress";
4
- type LoaderSize = "sm" | "md" | "lg";
5
- type GlassBlurIntensity = "none" | "low" | "medium" | "high";
6
- type LoaderColor = SpinnerColor;
2
+ import type { ControlSize } from "../theme/Theme";
3
+ import type { SpinnerColor, SpinnerThickness, SpinnerVariant } from "./Spinner.vue";
4
+ export declare const LOADER_VARIANTS: readonly ["spinner", "progress"];
5
+ export type LoaderVariant = (typeof LOADER_VARIANTS)[number];
6
+ /**
7
+ * The shared control scale: it drives the spinner's diameter, the progress
8
+ * bar's height, and the title/label type size together.
9
+ */
10
+ export type LoaderSize = ControlSize;
11
+ export type LoaderColor = SpinnerColor;
12
+ export declare const LOADER_GLASS_BLURS: readonly ["none", "low", "medium", "high"];
13
+ export type GlassBlurIntensity = (typeof LOADER_GLASS_BLURS)[number];
7
14
  export interface LoaderProps {
8
15
  variant?: LoaderVariant;
9
16
  size?: LoaderSize;
10
17
  color?: LoaderColor;
11
- spinnerVariant?: SpinnerProps["variant"];
12
- spinnerThickness?: SpinnerProps["thickness"];
18
+ spinnerVariant?: SpinnerVariant;
19
+ spinnerThickness?: SpinnerThickness;
13
20
  title?: string | VNode | null;
14
21
  label?: string | VNode | null;
15
22
  progress?: number;
23
+ /**
24
+ * Progress variant only — the bar sweeps instead of filling and no
25
+ * `aria-valuenow` is published, which is what tells assistive technology
26
+ * the extent is unknown.
27
+ */
28
+ indeterminate?: boolean;
29
+ /**
30
+ * Cover the nearest positioned ancestor. Render the loader inside a
31
+ * `relative` container for the overlay to fill.
32
+ */
16
33
  overlay?: boolean;
34
+ /** Overlay only — a see-through glass fill instead of a solid scrim. */
17
35
  glass?: boolean;
18
36
  glassBlurIntensity?: GlassBlurIntensity;
19
37
  }
20
38
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<LoaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LoaderProps> & Readonly<{}>, {
21
39
  glass: boolean;
22
- color: LoaderColor;
23
- variant: LoaderVariant;
24
40
  progress: number;
25
41
  size: LoaderSize;
26
- spinnerVariant: import("./Spinner.vue").SpinnerVariant;
27
- spinnerThickness: import("./Spinner.vue").SpinnerThickness;
42
+ color: LoaderColor;
43
+ variant: LoaderVariant;
44
+ spinnerVariant: SpinnerVariant;
45
+ indeterminate: boolean;
46
+ spinnerThickness: SpinnerThickness;
28
47
  overlay: boolean;
29
48
  glassBlurIntensity: GlassBlurIntensity;
30
49
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
@@ -28,12 +28,12 @@ declare const _default: import("vue").DefineComponent<MarkdownEditorProps, {}, {
28
28
  height: number;
29
29
  modelValue: string;
30
30
  readOnly: boolean;
31
+ preview: "live" | "edit" | "preview";
31
32
  globalParameters: CapsuleBlueprintParameter[];
32
33
  serviceNames: string[];
33
34
  context: {
34
35
  slug?: string;
35
36
  enable_https?: boolean;
36
37
  };
37
- preview: "live" | "edit" | "preview";
38
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
39
39
  export default _default;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,14 +1,25 @@
1
- import type { SpinnerColor } from "./Spinner.vue";
1
+ import type { ControlSize, TrueColor } from "../theme/Theme";
2
2
  export interface MetricBarProps {
3
+ /** Caption on the left. Also becomes the bar's accessible name. */
3
4
  label: string;
4
- value: string;
5
+ /**
6
+ * Free-form reading shown on the right — "12 / 20 GB", "4 runs", "87%".
7
+ * This is display text, not the bar's geometry: `percentage` drives the fill.
8
+ */
9
+ value?: string | number;
10
+ /** Fill percentage, 0–100. */
5
11
  percentage: number;
6
- color?: SpinnerColor;
12
+ /** @default "blue" */
13
+ color?: TrueColor;
14
+ /** Alias for `color`, matching the rest of the kit. */
15
+ tone?: TrueColor;
16
+ /** @default "sm" */
17
+ size?: ControlSize;
18
+ /** @deprecated Use Progress's `motion="shimmer"`. */
7
19
  showShimmer?: boolean;
8
20
  }
9
- export { default as MetricBar } from "./MetricBar.vue";
10
21
  declare const _default: import("vue").DefineComponent<MetricBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MetricBarProps> & Readonly<{}>, {
11
- color: SpinnerColor;
22
+ size: ControlSize;
12
23
  showShimmer: boolean;
13
24
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
25
  export default _default;
@@ -81,11 +81,11 @@ export interface ConfirmModalProps extends Omit<ModalProps, "footer" | "actions"
81
81
  export declare const ConfirmModal: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
82
82
  confirmLabel: {
83
83
  type: PropType<string | VNode>;
84
- default: string;
84
+ default: undefined;
85
85
  };
86
86
  cancelLabel: {
87
87
  type: PropType<string | VNode>;
88
- default: string;
88
+ default: undefined;
89
89
  };
90
90
  confirmVariant: {
91
91
  type: PropType<ButtonVariant>;
@@ -112,11 +112,11 @@ export declare const ConfirmModal: import("vue").DefineComponent<import("vue").E
112
112
  }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "confirm")[], "close" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
113
113
  confirmLabel: {
114
114
  type: PropType<string | VNode>;
115
- default: string;
115
+ default: undefined;
116
116
  };
117
117
  cancelLabel: {
118
118
  type: PropType<string | VNode>;
119
- default: string;
119
+ default: undefined;
120
120
  };
121
121
  confirmVariant: {
122
122
  type: PropType<ButtonVariant>;
@@ -148,8 +148,8 @@ export declare const ConfirmModal: import("vue").DefineComponent<import("vue").E
148
148
  cancelLabel: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
149
149
  [key: string]: any;
150
150
  }>;
151
- confirmVariant: ButtonVariant;
152
- confirmColor: import("../theme").TrueColor;
151
+ confirmVariant: "clear" | "solid" | "soft" | "outline" | "ghost" | "link" | "icon" | "glass";
152
+ confirmColor: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "rose" | "slate" | "gray" | "zinc" | "neutral" | "stone";
153
153
  isConfirmDisabled: boolean;
154
154
  confirmButtonProps: ButtonProps & Record<string, unknown>;
155
155
  cancelButtonProps: ButtonProps & Record<string, unknown>;
@@ -179,15 +179,15 @@ export declare const DeleteConfirmModal: import("vue").DefineComponent<import("v
179
179
  };
180
180
  confirmValueLabel: {
181
181
  type: StringConstructor;
182
- default: string;
182
+ default: undefined;
183
183
  };
184
184
  confirmLabel: {
185
185
  type: PropType<string | VNode>;
186
- default: string;
186
+ default: undefined;
187
187
  };
188
188
  cancelLabel: {
189
189
  type: PropType<string | VNode>;
190
- default: string;
190
+ default: undefined;
191
191
  };
192
192
  isConfirmDisabled: {
193
193
  type: BooleanConstructor;
@@ -214,15 +214,15 @@ export declare const DeleteConfirmModal: import("vue").DefineComponent<import("v
214
214
  };
215
215
  confirmValueLabel: {
216
216
  type: StringConstructor;
217
- default: string;
217
+ default: undefined;
218
218
  };
219
219
  confirmLabel: {
220
220
  type: PropType<string | VNode>;
221
- default: string;
221
+ default: undefined;
222
222
  };
223
223
  cancelLabel: {
224
224
  type: PropType<string | VNode>;
225
- default: string;
225
+ default: undefined;
226
226
  };
227
227
  isConfirmDisabled: {
228
228
  type: BooleanConstructor;
@@ -262,15 +262,15 @@ export declare const ApplyConfirmModal: import("vue").DefineComponent<import("vu
262
262
  };
263
263
  confirmValueLabel: {
264
264
  type: StringConstructor;
265
- default: string;
265
+ default: undefined;
266
266
  };
267
267
  confirmLabel: {
268
268
  type: PropType<string | VNode>;
269
- default: string;
269
+ default: undefined;
270
270
  };
271
271
  cancelLabel: {
272
272
  type: PropType<string | VNode>;
273
- default: string;
273
+ default: undefined;
274
274
  };
275
275
  isConfirmDisabled: {
276
276
  type: BooleanConstructor;
@@ -297,15 +297,15 @@ export declare const ApplyConfirmModal: import("vue").DefineComponent<import("vu
297
297
  };
298
298
  confirmValueLabel: {
299
299
  type: StringConstructor;
300
- default: string;
300
+ default: undefined;
301
301
  };
302
302
  confirmLabel: {
303
303
  type: PropType<string | VNode>;
304
- default: string;
304
+ default: undefined;
305
305
  };
306
306
  cancelLabel: {
307
307
  type: PropType<string | VNode>;
308
- default: string;
308
+ default: undefined;
309
309
  };
310
310
  isConfirmDisabled: {
311
311
  type: BooleanConstructor;
@@ -347,7 +347,6 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ModalProps
347
347
  closeOnEsc: boolean;
348
348
  preventScroll: boolean;
349
349
  hideCloseButton: boolean;
350
- backTooltip: string;
351
350
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
352
351
  title?: (props: {}) => any;
353
352
  } & {
@@ -1,10 +1,16 @@
1
1
  import type { VNode } from "vue";
2
+ import type { ControlSize, TrueColor } from "../theme/Theme";
2
3
  export interface MultiProgressBarSeries {
3
4
  key: string;
4
5
  label: string;
5
6
  labelClassName?: string;
6
7
  value: number;
7
- /** Tailwind bg color class e.g., 'bg-rose-500'. Omit to auto-assign from the theme palette. */
8
+ /** Accent for this segment. Omit to auto-assign from the theme palette. */
9
+ tone?: TrueColor;
10
+ /**
11
+ * @deprecated Use `tone`. A raw class here cannot be dimmed or safelisted
12
+ * with the rest, and callers were passing shades the palette never emits.
13
+ */
8
14
  color?: string;
9
15
  /** Custom formatted value to display in legend, if omitted `value` is used */
10
16
  displayValue?: string | number | VNode;
@@ -17,8 +23,15 @@ export interface MultiProgressBarProps {
17
23
  totalLabel?: string;
18
24
  total: number;
19
25
  series: MultiProgressBarSeries[];
26
+ /** @default "md" */
27
+ size?: ControlSize;
28
+ /** Hide the legend under the bar. */
29
+ hideLegend?: boolean;
20
30
  }
21
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<MultiProgressBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MultiProgressBarProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
31
+ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<MultiProgressBarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MultiProgressBarProps> & Readonly<{}>, {
32
+ size: ControlSize;
33
+ hideLegend: boolean;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
22
35
  secondaryLabel?: () => unknown;
23
36
  totalLabel?: () => unknown;
24
37
  }>;
@@ -1,62 +1,62 @@
1
- import type { TrueColor } from "../theme/Theme";
1
+ import type { ControlSize, TrueColor } from "../theme/Theme";
2
+ import type { GlassOpacity, GlassVibrancy, SpecularMode } from "../theme/glass";
3
+ import type { PillCorner, PillVariant } from "./Pill.vue";
2
4
  export type MultiSelectPillOption = {
3
5
  value: string;
4
6
  label: string;
5
7
  description?: string;
6
8
  disabled?: boolean;
9
+ /** Icon shown inside the pill. A registry name. */
10
+ icon?: string;
7
11
  };
8
12
  export interface MultiSelectPillsProps {
9
- /**
10
- * Used as the name for the generated hidden inputs (e.g. `${name}[]`).
11
- */
13
+ /** Used as the name for the generated hidden inputs (e.g. `${name}[]`). */
12
14
  name: string;
13
- /**
14
- * Options rendered as pills.
15
- */
15
+ /** Options rendered as pills. */
16
16
  options: MultiSelectPillOption[];
17
- /**
18
- * Optional legend displayed above the pill list.
19
- */
17
+ /** Optional legend displayed above the pill list. */
20
18
  legend?: string;
21
- /**
22
- * Optional helper text rendered below the legend.
23
- */
19
+ /** Optional helper text rendered below the legend. */
24
20
  description?: string;
25
- /**
26
- * Current selected values when using the component in a controlled way.
27
- */
21
+ /** Current selected values when using the component in a controlled way. */
28
22
  modelValue?: string[];
29
- /**
30
- * Default selected values for uncontrolled usage.
31
- */
23
+ /** Default selected values for uncontrolled usage. */
32
24
  defaultValue?: string[];
33
- /**
34
- * Disable the whole control.
35
- */
25
+ /** Disable the whole control. */
36
26
  disabled?: boolean;
37
- /**
38
- * Tailwind size token controlling text size and padding.
39
- */
40
- size?: "xs" | "sm" | "base" | "lg";
41
- /**
42
- * Theme color used when a pill is selected.
43
- * Accepts any TrueColor value. Defaults to "blue".
44
- */
27
+ /** Size of the pills, on the shared control scale. @default "sm" */
28
+ size?: ControlSize;
29
+ /** Theme colour of a selected pill. @default "blue" */
45
30
  color?: TrueColor;
31
+ /** Corner rounding of the pills. @default "full" */
32
+ rounded?: PillCorner;
33
+ /** Gap between pills, on the shared control scale. @default "sm" */
34
+ gap?: ControlSize;
35
+ /** Selection behaviour. @default "multiple" */
36
+ selectionMode?: "multiple" | "single";
37
+ /** Variant of a selected pill. @default "solid" */
38
+ variant?: PillVariant;
39
+ /** Variant of an unselected pill. @default "outline" */
40
+ unselectedVariant?: PillVariant;
46
41
  /**
47
- * Border radius of the pills.
48
- * Defaults to "full" (fully rounded).
49
- */
50
- rounded?: "none" | "sm" | "md" | "lg" | "full";
51
- /**
52
- * Gap between pills.
53
- * Defaults to "2".
42
+ * In single-select mode, whether clicking the selected pill clears it.
43
+ * @default true
54
44
  */
55
- gap?: "1" | "1.5" | "2" | "3" | "4";
45
+ allowDeselect?: boolean;
56
46
  /**
57
- * Selection behaviour. Defaults to multi-select.
47
+ * Swap a selected option's icon for a check mark, so selection is not
48
+ * signalled by colour alone — the `neutral` end of the tone scale barely
49
+ * changes between the two states. Options with no icon of their own gain
50
+ * one when selected, which does shift the row slightly.
51
+ * @default false
58
52
  */
59
- selectionMode?: "multiple" | "single";
53
+ checkmark?: boolean;
54
+ /** Glass fill transparency, when a glass variant is used. */
55
+ glassOpacity?: GlassOpacity;
56
+ /** Backdrop vibrancy, when a glass variant is used. */
57
+ vibrancy?: GlassVibrancy;
58
+ /** Specular highlight, when a glass variant is used. */
59
+ specularMode?: SpecularMode;
60
60
  }
61
61
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<MultiSelectPillsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
62
62
  change: (selectedValues: string[]) => any;
@@ -65,13 +65,17 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<MultiSelec
65
65
  onChange?: ((selectedValues: string[]) => any) | undefined;
66
66
  "onUpdate:modelValue"?: ((selectedValues: string[]) => any) | undefined;
67
67
  }>, {
68
+ rounded: PillCorner;
69
+ size: ControlSize;
68
70
  color: TrueColor;
69
- size: "xs" | "sm" | "base" | "lg";
70
71
  disabled: boolean;
71
- rounded: "none" | "sm" | "md" | "lg" | "full";
72
- gap: "1" | "1.5" | "2" | "3" | "4";
72
+ variant: PillVariant;
73
+ gap: ControlSize;
73
74
  defaultValue: string[];
74
75
  selectionMode: "multiple" | "single";
76
+ unselectedVariant: PillVariant;
77
+ allowDeselect: boolean;
78
+ checkmark: boolean;
75
79
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
76
80
  legend?: (props: {}) => any;
77
81
  } & {