@ac-design/design-system 1.0.3 → 2.1.0

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 (235) hide show
  1. package/README.md +27 -18
  2. package/dist/lib/charts/ChartFrame.js +5 -0
  3. package/dist/lib/charts/ChartFrame.vue.d.ts +71 -0
  4. package/dist/lib/charts/ChartFrame.vue_vue_type_script_setup_true_lang.js +173 -0
  5. package/dist/lib/charts/cartesian.d.ts +324 -0
  6. package/dist/lib/charts/cartesian.js +137 -0
  7. package/dist/lib/charts/echarts.d.ts +86 -0
  8. package/dist/lib/charts/echarts.js +173 -0
  9. package/dist/lib/charts/graph.d.ts +77 -0
  10. package/dist/lib/charts/graph.js +155 -0
  11. package/dist/lib/charts/index.d.ts +11 -0
  12. package/dist/lib/charts/index.js +7 -0
  13. package/dist/lib/charts/shared.d.ts +53 -0
  14. package/dist/lib/charts/shared.js +96 -0
  15. package/dist/lib/charts/xy.d.ts +69 -0
  16. package/dist/lib/charts/xy.js +73 -0
  17. package/dist/lib/compat.css +2770 -1061
  18. package/dist/lib/components/AcAccordion.vue_vue_type_script_setup_true_lang.js +2 -2
  19. package/dist/lib/components/AcAccordionItem.vue.d.ts +1 -1
  20. package/dist/lib/components/AcAccordionItem.vue_vue_type_script_setup_true_lang.js +5 -5
  21. package/dist/lib/components/AcAlert.vue.d.ts +10 -1
  22. package/dist/lib/components/AcAlert.vue_vue_type_script_setup_true_lang.js +139 -45
  23. package/dist/lib/components/AcAppSwitcher.vue_vue_type_script_setup_true_lang.js +19 -19
  24. package/dist/lib/components/AcAreaChart.js +5 -0
  25. package/dist/lib/components/AcAreaChart.vue.d.ts +47 -0
  26. package/dist/lib/components/AcAreaChart.vue_vue_type_script_setup_true_lang.js +205 -0
  27. package/dist/lib/components/AcAvatar.vue.d.ts +7 -4
  28. package/dist/lib/components/AcAvatar.vue_vue_type_script_setup_true_lang.js +66 -61
  29. package/dist/lib/components/AcBadge.vue.d.ts +20 -7
  30. package/dist/lib/components/AcBadge.vue_vue_type_script_setup_true_lang.js +67 -44
  31. package/dist/lib/components/AcBanner.vue.d.ts +1 -1
  32. package/dist/lib/components/AcBanner.vue_vue_type_script_setup_true_lang.js +30 -30
  33. package/dist/lib/components/AcBarChart.js +5 -0
  34. package/dist/lib/components/AcBarChart.vue.d.ts +46 -0
  35. package/dist/lib/components/AcBarChart.vue_vue_type_script_setup_true_lang.js +213 -0
  36. package/dist/lib/components/AcBreadcrumb.vue.d.ts +4 -1
  37. package/dist/lib/components/AcBreadcrumb.vue_vue_type_script_setup_true_lang.js +36 -34
  38. package/dist/lib/components/AcBulkActionBar.js +5 -0
  39. package/dist/lib/components/AcBulkActionBar.vue.d.ts +45 -0
  40. package/dist/lib/components/AcBulkActionBar.vue_vue_type_script_setup_true_lang.js +84 -0
  41. package/dist/lib/components/AcButton.vue.d.ts +13 -7
  42. package/dist/lib/components/AcButton.vue_vue_type_script_setup_true_lang.js +93 -47
  43. package/dist/lib/components/AcButtons.vue_vue_type_script_setup_true_lang.js +1 -1
  44. package/dist/lib/components/AcCard.vue.d.ts +42 -3
  45. package/dist/lib/components/AcCard.vue_vue_type_script_setup_true_lang.js +175 -14
  46. package/dist/lib/components/AcCellValue.vue.d.ts +6 -3
  47. package/dist/lib/components/AcCellValue.vue_vue_type_script_setup_true_lang.js +219 -178
  48. package/dist/lib/components/AcCheckBox.vue.d.ts +17 -3
  49. package/dist/lib/components/AcCheckBox.vue_vue_type_script_setup_true_lang.js +113 -30
  50. package/dist/lib/components/AcCheckList.js +5 -0
  51. package/dist/lib/components/AcCheckList.vue.d.ts +45 -0
  52. package/dist/lib/components/AcCheckList.vue_vue_type_script_setup_true_lang.js +64 -0
  53. package/dist/lib/components/AcCheckRadio.vue.d.ts +30 -5
  54. package/dist/lib/components/AcCheckRadio.vue_vue_type_script_setup_true_lang.js +102 -26
  55. package/dist/lib/components/AcCircularProgress.js +5 -0
  56. package/dist/lib/components/AcCircularProgress.vue.d.ts +44 -0
  57. package/dist/lib/components/AcCircularProgress.vue_vue_type_script_setup_true_lang.js +114 -0
  58. package/dist/lib/components/AcClusterSwitcher.vue_vue_type_script_setup_true_lang.js +142 -167
  59. package/dist/lib/components/AcCodeEditor.vue_vue_type_script_setup_true_lang.js +9 -9
  60. package/dist/lib/components/AcColorInput.js +5 -0
  61. package/dist/lib/components/AcColorInput.vue.d.ts +57 -0
  62. package/dist/lib/components/AcColorInput.vue_vue_type_script_setup_true_lang.js +217 -0
  63. package/dist/lib/components/AcCommandBlock.js +5 -0
  64. package/dist/lib/components/AcCommandBlock.vue.d.ts +34 -0
  65. package/dist/lib/components/AcCommandBlock.vue_vue_type_script_setup_true_lang.js +88 -0
  66. package/dist/lib/components/AcConfirmModal.js +5 -0
  67. package/dist/lib/components/AcConfirmModal.vue.d.ts +56 -0
  68. package/dist/lib/components/AcConfirmModal.vue_vue_type_script_setup_true_lang.js +96 -0
  69. package/dist/lib/components/AcContentHeader.vue.d.ts +1 -1
  70. package/dist/lib/components/AcContentHeader.vue_vue_type_script_setup_true_lang.js +5 -4
  71. package/dist/lib/components/AcContentLayout.vue_vue_type_script_setup_true_lang.js +2 -2
  72. package/dist/lib/components/AcCopyButton.js +5 -0
  73. package/dist/lib/components/AcCopyButton.vue.d.ts +43 -0
  74. package/dist/lib/components/AcCopyButton.vue_vue_type_script_setup_true_lang.js +92 -0
  75. package/dist/lib/components/AcCostSummary.js +5 -0
  76. package/dist/lib/components/AcCostSummary.vue.d.ts +102 -0
  77. package/dist/lib/components/AcCostSummary.vue_vue_type_script_setup_true_lang.js +179 -0
  78. package/dist/lib/components/AcDatePicker.vue.d.ts +8 -8
  79. package/dist/lib/components/AcDatePicker.vue_vue_type_script_setup_true_lang.js +634 -417
  80. package/dist/lib/components/AcDeleteModal.vue.d.ts +4 -4
  81. package/dist/lib/components/AcDeleteModal.vue_vue_type_script_setup_true_lang.js +57 -60
  82. package/dist/lib/components/AcDonutChart.js +5 -0
  83. package/dist/lib/components/AcDonutChart.vue.d.ts +83 -0
  84. package/dist/lib/components/AcDonutChart.vue_vue_type_script_setup_true_lang.js +237 -0
  85. package/dist/lib/components/AcDropdown.vue.d.ts +5 -2
  86. package/dist/lib/components/AcDropdown.vue_vue_type_script_setup_true_lang.js +91 -78
  87. package/dist/lib/components/AcDropdownDivider.vue_vue_type_script_setup_true_lang.js +11 -10
  88. package/dist/lib/components/AcDropdownItem.vue.d.ts +2 -2
  89. package/dist/lib/components/AcDropdownItem.vue_vue_type_script_setup_true_lang.js +18 -18
  90. package/dist/lib/components/AcEmptyState.vue.d.ts +4 -1
  91. package/dist/lib/components/AcEmptyState.vue_vue_type_script_setup_true_lang.js +50 -39
  92. package/dist/lib/components/AcErrorState.js +5 -0
  93. package/dist/lib/components/AcErrorState.vue.d.ts +46 -0
  94. package/dist/lib/components/AcErrorState.vue_vue_type_script_setup_true_lang.js +66 -0
  95. package/dist/lib/components/AcFeatureCard.vue.d.ts +6 -0
  96. package/dist/lib/components/AcFeatureCard.vue_vue_type_script_setup_true_lang.js +139 -116
  97. package/dist/lib/components/AcFileEditor.vue_vue_type_script_setup_true_lang.js +16 -16
  98. package/dist/lib/components/AcFileUpload.vue.d.ts +2 -2
  99. package/dist/lib/components/AcFileUpload.vue_vue_type_script_setup_true_lang.js +55 -53
  100. package/dist/lib/components/AcFontScale.vue_vue_type_script_setup_true_lang.js +2 -2
  101. package/dist/lib/components/AcFooter.js +5 -0
  102. package/dist/lib/components/AcFooter.vue.d.ts +37 -0
  103. package/dist/lib/components/AcFooter.vue_vue_type_script_setup_true_lang.js +107 -0
  104. package/dist/lib/components/AcForm.vue.d.ts +3 -0
  105. package/dist/lib/components/AcForm.vue_vue_type_script_setup_true_lang.js +4 -2
  106. package/dist/lib/components/AcFormArray.vue.d.ts +2 -2
  107. package/dist/lib/components/AcFormArray.vue_vue_type_script_setup_true_lang.js +149 -147
  108. package/dist/lib/components/AcFormFooter.vue.d.ts +3 -3
  109. package/dist/lib/components/AcFormFooter.vue_vue_type_script_setup_true_lang.js +2 -2
  110. package/dist/lib/components/AcFormSection.vue.d.ts +8 -1
  111. package/dist/lib/components/AcFormSection.vue_vue_type_script_setup_true_lang.js +31 -21
  112. package/dist/lib/components/AcGraphChart.js +5 -0
  113. package/dist/lib/components/AcGraphChart.vue.d.ts +124 -0
  114. package/dist/lib/components/AcGraphChart.vue_vue_type_script_setup_true_lang.js +578 -0
  115. package/dist/lib/components/AcHeader.vue.d.ts +20 -5
  116. package/dist/lib/components/AcHeader.vue_vue_type_script_setup_true_lang.js +82 -28
  117. package/dist/lib/components/AcInfoTable.vue.d.ts +1 -1
  118. package/dist/lib/components/AcInfoTable.vue_vue_type_script_setup_true_lang.js +17 -13
  119. package/dist/lib/components/AcInput.vue.d.ts +4 -4
  120. package/dist/lib/components/AcInput.vue_vue_type_script_setup_true_lang.js +99 -91
  121. package/dist/lib/components/AcKbd.vue_vue_type_script_setup_true_lang.js +1 -1
  122. package/dist/lib/components/AcKeyValueInput.js +5 -0
  123. package/dist/lib/components/AcKeyValueInput.vue.d.ts +114 -0
  124. package/dist/lib/components/AcKeyValueInput.vue_vue_type_script_setup_true_lang.js +336 -0
  125. package/dist/lib/components/AcLineChart.js +5 -0
  126. package/dist/lib/components/AcLineChart.vue.d.ts +44 -0
  127. package/dist/lib/components/AcLineChart.vue_vue_type_script_setup_true_lang.js +175 -0
  128. package/dist/lib/components/AcLoader.js +5 -0
  129. package/dist/lib/components/AcLoader.vue.d.ts +15 -0
  130. package/dist/lib/components/AcLoader.vue_vue_type_script_setup_true_lang.js +66 -0
  131. package/dist/lib/components/AcLocaleSwitcher.js +5 -0
  132. package/dist/lib/components/AcLocaleSwitcher.vue.d.ts +48 -0
  133. package/dist/lib/components/AcLocaleSwitcher.vue_vue_type_script_setup_true_lang.js +111 -0
  134. package/dist/lib/components/AcMapChart.js +5 -0
  135. package/dist/lib/components/AcMapChart.vue.d.ts +136 -0
  136. package/dist/lib/components/AcMapChart.vue_vue_type_script_setup_true_lang.js +518 -0
  137. package/dist/lib/components/AcModal.vue.d.ts +6 -3
  138. package/dist/lib/components/AcModal.vue_vue_type_script_setup_true_lang.js +88 -64
  139. package/dist/lib/components/AcNavbar.vue.d.ts +8 -5
  140. package/dist/lib/components/AcNavbar.vue_vue_type_script_setup_true_lang.js +29 -21
  141. package/dist/lib/components/AcNavbarItem.vue.d.ts +2 -2
  142. package/dist/lib/components/AcNavbarItem.vue_vue_type_script_setup_true_lang.js +23 -24
  143. package/dist/lib/components/AcNotificationMenu.vue.d.ts +3 -3
  144. package/dist/lib/components/AcNotificationMenu.vue_vue_type_script_setup_true_lang.js +139 -174
  145. package/dist/lib/components/AcNumberInput.js +5 -0
  146. package/dist/lib/components/AcNumberInput.vue.d.ts +79 -0
  147. package/dist/lib/components/AcNumberInput.vue_vue_type_script_setup_true_lang.js +241 -0
  148. package/dist/lib/components/AcPage.vue.d.ts +2 -2
  149. package/dist/lib/components/AcPage.vue_vue_type_script_setup_true_lang.js +2 -2
  150. package/dist/lib/components/AcPagination.vue.d.ts +22 -5
  151. package/dist/lib/components/AcPagination.vue_vue_type_script_setup_true_lang.js +87 -56
  152. package/dist/lib/components/AcPreloader.vue.d.ts +3 -3
  153. package/dist/lib/components/AcPreloader.vue_vue_type_script_setup_true_lang.js +15 -16
  154. package/dist/lib/components/AcProductHero.js +5 -0
  155. package/dist/lib/components/AcProductHero.vue.d.ts +56 -0
  156. package/dist/lib/components/AcProductHero.vue_vue_type_script_setup_true_lang.js +95 -0
  157. package/dist/lib/components/AcProgress.vue.d.ts +19 -4
  158. package/dist/lib/components/AcProgress.vue_vue_type_script_setup_true_lang.js +85 -31
  159. package/dist/lib/components/AcResourceCard.vue.d.ts +3 -3
  160. package/dist/lib/components/AcResourceCard.vue_vue_type_script_setup_true_lang.js +17 -17
  161. package/dist/lib/components/AcSearchBar.vue.d.ts +1 -1
  162. package/dist/lib/components/AcSearchBar.vue_vue_type_script_setup_true_lang.js +14 -9
  163. package/dist/lib/components/AcSectionContent.vue.d.ts +2 -2
  164. package/dist/lib/components/AcSectionContent.vue_vue_type_script_setup_true_lang.js +8 -8
  165. package/dist/lib/components/AcSegmentedControl.vue.d.ts +1 -1
  166. package/dist/lib/components/AcSegmentedControl.vue_vue_type_script_setup_true_lang.js +4 -4
  167. package/dist/lib/components/AcSelect.vue.d.ts +6 -6
  168. package/dist/lib/components/AcSelect.vue_vue_type_script_setup_true_lang.js +246 -254
  169. package/dist/lib/components/AcSettingsRow.js +5 -0
  170. package/dist/lib/components/AcSettingsRow.vue.d.ts +29 -0
  171. package/dist/lib/components/AcSettingsRow.vue_vue_type_script_setup_true_lang.js +37 -0
  172. package/dist/lib/components/AcSidePanel.vue_vue_type_script_setup_true_lang.js +32 -32
  173. package/dist/lib/components/AcSideTabs.vue.d.ts +2 -2
  174. package/dist/lib/components/AcSideTabs.vue_vue_type_script_setup_true_lang.js +37 -37
  175. package/dist/lib/components/AcSidebar.vue.d.ts +6 -3
  176. package/dist/lib/components/AcSidebar.vue_vue_type_script_setup_true_lang.js +67 -57
  177. package/dist/lib/components/AcSidebarItem.vue.d.ts +1 -1
  178. package/dist/lib/components/AcSidebarItem.vue_vue_type_script_setup_true_lang.js +46 -45
  179. package/dist/lib/components/AcSidebarSection.vue.d.ts +2 -2
  180. package/dist/lib/components/AcSidebarSection.vue_vue_type_script_setup_true_lang.js +23 -18
  181. package/dist/lib/components/AcSkeleton.vue_vue_type_script_setup_true_lang.js +8 -8
  182. package/dist/lib/components/AcSlider.vue.d.ts +1 -1
  183. package/dist/lib/components/AcSlider.vue_vue_type_script_setup_true_lang.js +174 -172
  184. package/dist/lib/components/AcStatCard.vue.d.ts +3 -3
  185. package/dist/lib/components/AcStatCard.vue_vue_type_script_setup_true_lang.js +90 -85
  186. package/dist/lib/components/AcStatusBar.vue.d.ts +1 -1
  187. package/dist/lib/components/AcStatusBar.vue_vue_type_script_setup_true_lang.js +6 -6
  188. package/dist/lib/components/AcSteps.vue_vue_type_script_setup_true_lang.js +28 -28
  189. package/dist/lib/components/AcSwitch.vue.d.ts +3 -0
  190. package/dist/lib/components/AcSwitch.vue_vue_type_script_setup_true_lang.js +31 -19
  191. package/dist/lib/components/AcSwitchCard.js +5 -0
  192. package/dist/lib/components/AcSwitchCard.vue.d.ts +59 -0
  193. package/dist/lib/components/AcSwitchCard.vue_vue_type_script_setup_true_lang.js +121 -0
  194. package/dist/lib/components/AcTable.vue_vue_type_script_setup_true_lang.js +97 -97
  195. package/dist/lib/components/AcTabs.vue.d.ts +9 -2
  196. package/dist/lib/components/AcTabs.vue_vue_type_script_setup_true_lang.js +43 -28
  197. package/dist/lib/components/AcTag.vue.d.ts +2 -2
  198. package/dist/lib/components/AcTag.vue_vue_type_script_setup_true_lang.js +22 -22
  199. package/dist/lib/components/AcTagInput.js +5 -0
  200. package/dist/lib/components/AcTagInput.vue.d.ts +74 -0
  201. package/dist/lib/components/AcTagInput.vue_vue_type_script_setup_true_lang.js +289 -0
  202. package/dist/lib/components/AcTextarea.vue.d.ts +4 -4
  203. package/dist/lib/components/AcTextarea.vue_vue_type_script_setup_true_lang.js +85 -63
  204. package/dist/lib/components/AcThemeMode.vue.d.ts +3 -3
  205. package/dist/lib/components/AcThemeMode.vue_vue_type_script_setup_true_lang.js +56 -24
  206. package/dist/lib/components/AcTimePicker.js +5 -0
  207. package/dist/lib/components/AcTimePicker.vue.d.ts +65 -0
  208. package/dist/lib/components/AcTimePicker.vue_vue_type_script_setup_true_lang.js +455 -0
  209. package/dist/lib/components/AcToaster.vue.d.ts +6 -3
  210. package/dist/lib/components/AcToaster.vue_vue_type_script_setup_true_lang.js +115 -82
  211. package/dist/lib/components/AcTooltip.vue.d.ts +34 -14
  212. package/dist/lib/components/AcTooltip.vue_vue_type_script_setup_true_lang.js +203 -79
  213. package/dist/lib/components/AcUsageCard.vue_vue_type_script_setup_true_lang.js +27 -27
  214. package/dist/lib/components/AcUserMenu.vue.d.ts +23 -1
  215. package/dist/lib/components/AcUserMenu.vue_vue_type_script_setup_true_lang.js +166 -115
  216. package/dist/lib/components/index.d.ts +21 -2
  217. package/dist/lib/components/status.d.ts +28 -0
  218. package/dist/lib/components/status.js +125 -0
  219. package/dist/lib/composables/copyText.d.ts +2 -1
  220. package/dist/lib/composables/copyText.js +2 -2
  221. package/dist/lib/composables/useApiPagination.d.ts +55 -0
  222. package/dist/lib/composables/useApiPagination.js +58 -0
  223. package/dist/lib/composables/useBulkSelection.d.ts +44 -0
  224. package/dist/lib/composables/useBulkSelection.js +41 -0
  225. package/dist/lib/composables/useFormValidation.d.ts +65 -0
  226. package/dist/lib/composables/useFormValidation.js +148 -0
  227. package/dist/lib/composables/useTablePagination.d.ts +49 -0
  228. package/dist/lib/composables/useTablePagination.js +41 -0
  229. package/dist/lib/composables/useToast.d.ts +17 -1
  230. package/dist/lib/composables/useToast.js +10 -2
  231. package/dist/lib/editor/theme.js +65 -62
  232. package/dist/lib/index.d.ts +21 -3
  233. package/dist/lib/index.js +99 -75
  234. package/dist/lib/theme.css +377 -273
  235. package/package.json +20 -4
@@ -47,9 +47,9 @@ var u = /*@__PURE__*/ n({
47
47
  ref_key: "root",
48
48
  ref: d,
49
49
  class: i(["w-full", {
50
- "divide-y divide-border-light overflow-hidden rounded-10 border border-border bg-surface shadow-xs": n.variant === "bordered",
50
+ "divide-y divide-border overflow-hidden rounded-14 border border-border bg-surface": n.variant === "bordered",
51
51
  "flex flex-col gap-3": n.variant === "separated",
52
- "divide-y divide-border-light border-y border-border-light": n.variant === "flush"
52
+ "divide-y divide-border border-y border-border": n.variant === "flush"
53
53
  }]),
54
54
  "data-ac-ds": "",
55
55
  "data-testid": "ac-accordion",
@@ -18,7 +18,7 @@ type __VLS_Slots = {
18
18
  title?: () => unknown;
19
19
  /** Replaces the `description` text. */
20
20
  description?: () => unknown;
21
- /** A 16px icon before the title. */
21
+ /** A 16px icon before the title, shown in a tinted 32px tile. */
22
22
  icon?: () => unknown;
23
23
  };
24
24
  type __VLS_ModelProps = {
@@ -8,9 +8,9 @@ var x = [
8
8
  "disabled"
9
9
  ], S = {
10
10
  key: 0,
11
- class: "inline-flex shrink-0 text-muted [&_svg]:size-4",
11
+ class: "inline-flex size-8 shrink-0 items-center justify-center rounded-10 border border-primary/25 bg-primary/10 text-primary-strong [&_svg]:size-4",
12
12
  "aria-hidden": "true"
13
- }, C = { class: "min-w-0 flex-1" }, w = { class: "block text-lg leading-6 font-medium text-heading" }, T = {
13
+ }, C = { class: "min-w-0 flex-1" }, w = { class: "block text-lg leading-6 font-semibold tracking-tight text-heading" }, T = {
14
14
  key: 0,
15
15
  class: "mt-0.5 block text-xs text-muted"
16
16
  }, E = [
@@ -46,7 +46,7 @@ var x = [
46
46
  return v(N, (e) => {
47
47
  A && (O.value = e);
48
48
  }), (e, c) => (d(), r("div", {
49
- class: u(F.value === "separated" && "overflow-hidden rounded-10 border border-border bg-surface shadow-xs"),
49
+ class: u(F.value === "separated" && "overflow-hidden rounded-14 border border-border bg-surface"),
50
50
  "data-ac-ds": "",
51
51
  "data-testid": "ac-accordion-item"
52
52
  }, [(d(), t(p(`h${P.value}`), { class: "m-0 text-base leading-5 font-normal tracking-normal" }, {
@@ -57,7 +57,7 @@ var x = [
57
57
  "aria-expanded": N.value,
58
58
  "aria-controls": `${h(j)}-panel`,
59
59
  disabled: s.disabled,
60
- class: u(["flex w-full cursor-pointer items-center gap-3 py-3 text-left transition-colors duration-150 focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring focus-visible:ring-inset disabled:cursor-not-allowed disabled:opacity-50", [F.value === "flush" ? "px-1" : "px-4", !s.disabled && "hover:bg-surface-muted"]]),
60
+ class: u(["flex w-full cursor-pointer items-center gap-3 text-left transition-colors duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset disabled:cursor-not-allowed disabled:opacity-50", [F.value === "flush" ? "px-1 py-3" : "px-5 py-4", !s.disabled && "hover:bg-accent-hover/60"]]),
61
61
  onClick: I
62
62
  }, [
63
63
  e.$slots.icon ? (d(), r("span", S, [f(e.$slots, "icon")])) : n("", !0),
@@ -74,7 +74,7 @@ var x = [
74
74
  "aria-labelledby": `${h(j)}-trigger`,
75
75
  inert: !N.value || void 0,
76
76
  class: "min-h-0 overflow-hidden"
77
- }, [i("div", { class: u(["pt-1 pb-4 text-base text-body", F.value === "flush" ? "px-1" : "px-4"]) }, [f(e.$slots, "default")], 2)], 8, E)], 2)], 2));
77
+ }, [i("div", { class: u(["pt-0.5 text-base text-body", F.value === "flush" ? "px-1 pb-4" : "px-5 pb-5"]) }, [f(e.$slots, "default")], 2)], 8, E)], 2)], 2));
78
78
  }
79
79
  });
80
80
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import type { Component } from "vue";
2
2
  import type { Tone } from "./types";
3
3
  export interface Props {
4
- /** Status colour of the border, tint and icon. */
4
+ /** Status colour: a 10% tint, a 25% border, and the icon and text in the colour's AA-contrast shade. */
5
5
  color?: Tone | "neutral";
6
6
  /** Optional bold first line above the message. */
7
7
  title?: string;
@@ -17,6 +17,12 @@ export interface Props {
17
17
  actionIcon?: Component;
18
18
  /** Shows a spinner in the action button and blocks clicks while the action runs. */
19
19
  actionLoading?: boolean;
20
+ /** `normal` has 14px text. `small` has 12px text and less padding, for a note inside a card or form, like cloud-ui's network change banner. */
21
+ size?: "normal" | "small";
22
+ /** Replaces the status icon with a spinning one, for a change that is still being applied. */
23
+ loading?: boolean;
24
+ /** `tinted` is the plain status banner. `callout` is cloud-ui's notice card (its dummy-data warning): a 3px bar on the left, the icon in a 40px tile, a 16px heading title and muted text, with actions under the message. */
25
+ variant?: "tinted" | "callout";
20
26
  }
21
27
  type __VLS_Slots = {
22
28
  /** The message. Links inside are underlined in the alert's colour. */
@@ -33,9 +39,12 @@ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, i
33
39
  onClose?: (() => any) | undefined;
34
40
  onAction?: ((event: MouseEvent) => any) | undefined;
35
41
  }>, {
42
+ variant: "tinted" | "callout";
36
43
  title: string;
37
44
  icon: Component;
38
45
  color: Tone | "neutral";
46
+ size: "normal" | "small";
47
+ loading: boolean;
39
48
  dismissible: boolean;
40
49
  hideIcon: boolean;
41
50
  actionLabel: string;
@@ -1,11 +1,14 @@
1
1
  import e from "./AcButton.js";
2
2
  import { computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createSlots as o, createVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, renderSlot as d, resolveDynamicComponent as f, toDisplayString as p, unref as m, withCtx as h } from "vue";
3
- import { CircleAlert as g, CircleCheck as _, Info as v, TriangleAlert as y, X as b } from "@lucide/vue";
3
+ import { CircleAlert as g, CircleCheck as _, Info as v, LoaderCircle as y, TriangleAlert as b, X as x } from "@lucide/vue";
4
4
  //#region src/lib/components/AcAlert.vue?vue&type=script&setup=true&lang.ts
5
- var x = ["role"], S = { class: "flex min-w-0 flex-1 flex-wrap items-center gap-x-4 gap-y-2" }, C = { class: "min-w-0 flex-[1_1_256px]" }, w = {
5
+ var S = ["role"], C = {
6
+ key: 1,
7
+ class: "flex flex-wrap items-center gap-2 pt-0.5"
8
+ }, w = ["role"], T = { class: "flex min-w-0 flex-1 flex-wrap items-center gap-x-4 gap-y-2" }, E = { class: "min-w-0 flex-[1_1_256px]" }, D = {
6
9
  key: 0,
7
10
  class: "-my-1 flex shrink-0 flex-wrap items-center gap-2"
8
- }, T = /*@__PURE__*/ c({
11
+ }, O = /*@__PURE__*/ c({
9
12
  __name: "AcAlert",
10
13
  props: {
11
14
  color: { default: "info" },
@@ -24,77 +27,168 @@ var x = ["role"], S = { class: "flex min-w-0 flex-1 flex-wrap items-center gap-x
24
27
  actionLoading: {
25
28
  type: Boolean,
26
29
  default: !1
27
- }
30
+ },
31
+ size: { default: "normal" },
32
+ loading: {
33
+ type: Boolean,
34
+ default: !1
35
+ },
36
+ variant: { default: "tinted" }
28
37
  },
29
38
  emits: ["close", "action"],
30
- setup(c, { emit: T }) {
31
- let E = c, D = T, O = {
39
+ setup(c, { emit: O }) {
40
+ let k = c, A = O, j = {
32
41
  primary: {
33
- box: "border-primary-90 bg-primary-97",
34
- title: "text-primary-10",
35
- body: "text-primary-20",
36
- icon: "text-primary",
42
+ box: "border-primary/25 bg-primary/10 text-primary-strong",
43
+ title: "text-primary-strong",
44
+ icon: "text-primary-strong",
37
45
  glyph: v
38
46
  },
39
47
  info: {
40
- box: "border-blue-90 bg-blue-97",
41
- title: "text-blue-10",
42
- body: "text-blue-20",
43
- icon: "text-blue-50",
48
+ box: "border-info/25 bg-info/10 text-info-strong",
49
+ title: "text-info-strong",
50
+ icon: "text-info-strong",
44
51
  glyph: v
45
52
  },
46
53
  success: {
47
- box: "border-green-90 bg-green-97",
48
- title: "text-green-10",
49
- body: "text-green-20",
50
- icon: "text-green-40",
54
+ box: "border-success/25 bg-success/10 text-success-strong",
55
+ title: "text-success-strong",
56
+ icon: "text-success-strong",
51
57
  glyph: _
52
58
  },
53
59
  warning: {
54
- box: "border-yellow-80 bg-yellow-97",
55
- title: "text-yellow-10",
56
- body: "text-yellow-20",
57
- icon: "text-yellow-50",
58
- glyph: y
60
+ box: "border-warning/30 bg-warning/10 text-warning-strong",
61
+ title: "text-warning-strong",
62
+ icon: "text-warning-strong",
63
+ glyph: b
59
64
  },
60
65
  danger: {
61
- box: "border-red-90 bg-red-97",
62
- title: "text-red-10",
63
- body: "text-red-20",
64
- icon: "text-red-40",
66
+ box: "border-danger/25 bg-danger/10 text-danger-strong",
67
+ title: "text-danger-strong",
68
+ icon: "text-danger-strong",
65
69
  glyph: g
66
70
  },
67
71
  neutral: {
68
- box: "border-border bg-surface-muted",
72
+ box: "border-border bg-surface-sunken text-muted",
69
73
  title: "text-heading",
70
- body: "text-body",
71
74
  icon: "text-muted",
72
75
  glyph: v
73
76
  }
74
- }, k = t(() => O[E.color]), A = t(() => E.icon ?? k.value.glyph), j = t(() => E.color === "neutral" ? "white" : E.color);
75
- return (t, g) => (u(), i("div", {
76
- class: l(["flex items-start gap-3 rounded-10 border px-4 py-3 text-base [&_a]:font-medium [&_a]:underline [&_a]:decoration-current/40 [&_a]:underline-offset-2 [&_a:hover]:decoration-current", [k.value.box, k.value.body]]),
77
+ }, M = {
78
+ primary: {
79
+ box: "border-primary/25 bg-primary/5",
80
+ bar: "bg-primary/80",
81
+ tile: "bg-primary/10 text-primary-strong ring-primary/25"
82
+ },
83
+ info: {
84
+ box: "border-info/25 bg-info/8",
85
+ bar: "bg-info/80",
86
+ tile: "bg-info/10 text-info ring-info/25"
87
+ },
88
+ success: {
89
+ box: "border-success/25 bg-success/5",
90
+ bar: "bg-success/80",
91
+ tile: "bg-success/10 text-success-strong ring-success/25"
92
+ },
93
+ warning: {
94
+ box: "border-warning/30 bg-warning/5",
95
+ bar: "bg-warning/90",
96
+ tile: "bg-warning/15 text-warning-strong ring-warning/30"
97
+ },
98
+ danger: {
99
+ box: "border-danger/25 bg-danger/5",
100
+ bar: "bg-danger/80",
101
+ tile: "bg-danger/10 text-danger-strong ring-danger/25"
102
+ },
103
+ neutral: {
104
+ box: "border-border bg-surface",
105
+ bar: "bg-border-dark",
106
+ tile: "bg-surface-sunken text-muted ring-border"
107
+ }
108
+ }, N = t(() => j[k.color]), P = t(() => k.variant === "callout" ? M[k.color] : null), F = t(() => k.loading ? y : k.icon ?? N.value.glyph), I = t(() => k.size === "small"), L = t(() => k.color === "neutral" ? "white" : k.color);
109
+ return (t, g) => P.value ? (u(), i("div", {
110
+ key: 0,
111
+ class: l(["relative flex items-start overflow-hidden border shadow-sm transition-all [&_a]:font-medium [&_a]:text-heading [&_a]:underline [&_a]:decoration-current/40 [&_a]:underline-offset-2 [&_a:hover]:decoration-current", [P.value.box, I.value ? "gap-2.5 rounded-8 py-2.5 pr-2.5 pl-3" : "gap-3.5 rounded-10 py-3.5 pr-3.5 pl-4"]]),
112
+ role: c.color === "danger" || c.color === "warning" ? "alert" : "status",
113
+ "data-ac-ds": "",
114
+ "data-testid": "ac-alert"
115
+ }, [
116
+ a("span", {
117
+ class: l(["absolute inset-y-0 left-0 w-0.75", P.value.bar]),
118
+ "aria-hidden": "true"
119
+ }, null, 2),
120
+ c.hideIcon ? r("", !0) : (u(), i("span", {
121
+ key: 0,
122
+ class: l(["relative flex shrink-0 items-center justify-center ring-1", [
123
+ P.value.tile,
124
+ I.value ? "size-8 rounded-8 [&_svg]:size-4" : "size-10 rounded-10 [&_svg]:size-5",
125
+ c.loading && "[&_svg]:animate-spin"
126
+ ]]),
127
+ "aria-hidden": "true"
128
+ }, [d(t.$slots, "icon", {}, () => [(u(), n(f(F.value)))])], 2)),
129
+ a("div", { class: l(["min-w-0 flex-1", I.value ? "space-y-1" : "space-y-1.5"]) }, [
130
+ c.title ? (u(), i("p", {
131
+ key: 0,
132
+ class: l(["font-semibold tracking-tight text-heading", I.value ? "text-base" : "text-lg"])
133
+ }, p(c.title), 3)) : r("", !0),
134
+ a("div", { class: l(["leading-relaxed text-muted", I.value ? "text-[13px]" : "text-base"]) }, [d(t.$slots, "default")], 2),
135
+ t.$slots.actions || c.actionLabel ? (u(), i("div", C, [d(t.$slots, "actions", {}, () => [s(e, {
136
+ title: c.actionLabel,
137
+ color: L.value,
138
+ variant: "outlined",
139
+ size: "small",
140
+ loading: c.actionLoading,
141
+ "data-ac-ds": "",
142
+ "data-testid": "ac-alert-action",
143
+ onClick: g[0] ||= (e) => A("action", e)
144
+ }, o({ _: 2 }, [c.actionIcon ? {
145
+ name: "icon",
146
+ fn: h(() => [(u(), n(f(c.actionIcon)))]),
147
+ key: "0"
148
+ } : void 0]), 1032, [
149
+ "title",
150
+ "color",
151
+ "loading"
152
+ ])])])) : r("", !0)
153
+ ], 2),
154
+ c.dismissible ? (u(), i("button", {
155
+ key: 1,
156
+ type: "button",
157
+ class: "ml-1 inline-flex shrink-0 cursor-pointer rounded-8 p-1 text-muted transition-colors duration-200 hover:bg-heading/5 hover:text-heading focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none",
158
+ "aria-label": "Dismiss",
159
+ onClick: g[1] ||= (e) => A("close")
160
+ }, [s(m(x), {
161
+ class: "size-3.5",
162
+ "aria-hidden": "true"
163
+ })])) : r("", !0)
164
+ ], 10, S)) : (u(), i("div", {
165
+ key: 1,
166
+ class: l(["flex items-start rounded-10 border [&_a]:font-medium [&_a]:underline [&_a]:decoration-current/40 [&_a]:underline-offset-2 [&_a:hover]:decoration-current", [N.value.box, I.value ? "gap-2 px-3 py-2 text-xs leading-relaxed" : "gap-3 px-4 py-3 text-base"]]),
77
167
  role: c.color === "danger" || c.color === "warning" ? "alert" : "status",
78
168
  "data-ac-ds": "",
79
169
  "data-testid": "ac-alert"
80
170
  }, [
81
171
  c.hideIcon ? r("", !0) : (u(), i("span", {
82
172
  key: 0,
83
- class: l(["mt-0.5 inline-flex shrink-0 [&_svg]:size-4", k.value.icon]),
173
+ class: l(["mt-0.5 inline-flex shrink-0", [
174
+ N.value.icon,
175
+ I.value ? "[&_svg]:size-3.5" : "[&_svg]:size-4",
176
+ c.loading && "[&_svg]:animate-spin"
177
+ ]]),
84
178
  "aria-hidden": "true"
85
- }, [d(t.$slots, "icon", {}, () => [(u(), n(f(A.value)))])], 2)),
86
- a("div", S, [a("div", C, [c.title ? (u(), i("p", {
179
+ }, [d(t.$slots, "icon", {}, () => [(u(), n(f(F.value)))])], 2)),
180
+ a("div", T, [a("div", E, [c.title ? (u(), i("p", {
87
181
  key: 0,
88
- class: l(["font-semibold", k.value.title])
89
- }, p(c.title), 3)) : r("", !0), a("div", { class: l(c.title && "mt-0.5") }, [d(t.$slots, "default")], 2)]), t.$slots.actions || c.actionLabel ? (u(), i("div", w, [d(t.$slots, "actions", {}, () => [s(e, {
182
+ class: l(["font-semibold", N.value.title])
183
+ }, p(c.title), 3)) : r("", !0), a("div", { class: l(c.title && "mt-0.5") }, [d(t.$slots, "default")], 2)]), t.$slots.actions || c.actionLabel ? (u(), i("div", D, [d(t.$slots, "actions", {}, () => [s(e, {
90
184
  title: c.actionLabel,
91
- color: j.value,
185
+ color: L.value,
92
186
  variant: "outlined",
93
187
  size: "small",
94
188
  loading: c.actionLoading,
95
189
  "data-ac-ds": "",
96
190
  "data-testid": "ac-alert-action",
97
- onClick: g[0] ||= (e) => D("action", e)
191
+ onClick: g[2] ||= (e) => A("action", e)
98
192
  }, o({ _: 2 }, [c.actionIcon ? {
99
193
  name: "icon",
100
194
  fn: h(() => [(u(), n(f(c.actionIcon)))]),
@@ -107,15 +201,15 @@ var x = ["role"], S = { class: "flex min-w-0 flex-1 flex-wrap items-center gap-x
107
201
  c.dismissible ? (u(), i("button", {
108
202
  key: 1,
109
203
  type: "button",
110
- class: "-my-0.5 -mr-1.5 inline-flex size-6 shrink-0 cursor-pointer items-center justify-center rounded-6 opacity-70 transition hover:bg-current/8 hover:opacity-100 focus-visible:outline-none focus-visible:ring-[3px] focus-visible:ring-ring",
204
+ class: "-my-1 -mr-1.5 inline-flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-8 opacity-70 transition-[background-color,opacity] duration-200 hover:bg-current/10 hover:opacity-100 focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none",
111
205
  "aria-label": "Dismiss",
112
- onClick: g[1] ||= (e) => D("close")
113
- }, [s(m(b), {
114
- class: "size-3.5",
206
+ onClick: g[3] ||= (e) => A("close")
207
+ }, [s(m(x), {
208
+ class: "size-4",
115
209
  "aria-hidden": "true"
116
210
  })])) : r("", !0)
117
- ], 10, x));
211
+ ], 10, w));
118
212
  }
119
213
  });
120
214
  //#endregion
121
- export { T as default };
215
+ export { O as default };
@@ -9,7 +9,7 @@ var ge = {
9
9
  "data-testid": "ac-app-switcher"
10
10
  }, _e = {
11
11
  role: "list",
12
- class: "grid grid-cols-3 gap-1 p-2"
12
+ class: "grid grid-cols-3 gap-1"
13
13
  }, ve = [
14
14
  "href",
15
15
  "aria-current",
@@ -27,7 +27,7 @@ var ge = {
27
27
  "aria-hidden": "true"
28
28
  }, E = {
29
29
  key: 0,
30
- class: "border-t border-border-light p-2"
30
+ class: "mt-2 border-t border-border pt-2"
31
31
  }, D = "id", O = 3, k = 6, A = /*@__PURE__*/ d({
32
32
  __name: "AcAppSwitcher",
33
33
  props: /*@__PURE__*/ f({
@@ -122,21 +122,21 @@ var ge = {
122
122
  "https://appscode.ninja",
123
123
  "https://appscode.com",
124
124
  "http://bb.test:8080"
125
- ], ye = [
125
+ ], I = [
126
126
  "billing",
127
127
  "selfhost",
128
128
  "learn"
129
- ], I = {
130
- primary: "bg-primary-95 text-primary-30",
131
- blue: "bg-blue-95 text-blue-40",
132
- green: "bg-green-95 text-green-30",
133
- yellow: "bg-yellow-95 text-yellow-30",
134
- purple: "bg-purple-95 text-purple-40",
135
- red: "bg-red-95 text-red-40",
136
- slate: "bg-slate-90 text-label"
129
+ ], ye = {
130
+ primary: "bg-primary/10 text-primary-strong ring-primary/25",
131
+ blue: "bg-info/10 text-info-strong ring-info/25",
132
+ green: "bg-success/10 text-success-strong ring-success/25",
133
+ yellow: "bg-warning/10 text-warning-strong ring-warning/30",
134
+ purple: "bg-pending/10 text-pending-strong ring-pending/25",
135
+ red: "bg-danger/10 text-danger-strong ring-danger/25",
136
+ slate: "bg-surface-sunken text-muted ring-border"
137
137
  }, L = re(), R = `${L}-panel`, z = `${L}-heading`, B = _(null), V = _(null), H = _({}), U = _(!0), W = a(() => A.currentApp === "platform" ? D : A.currentApp), be = a(() => !F.includes(A.baseUrl)), xe = a(() => {
138
138
  let e = [...N];
139
- return A.activeOrgType !== O && e.splice(1, 0, P), e.filter((e) => !be.value || !ye.includes(e.name) || e.name === "billing" && A.isOfflineInstaller && A.activeOrgType === k);
139
+ return A.activeOrgType !== O && e.splice(1, 0, P), e.filter((e) => !be.value || !I.includes(e.name) || e.name === "billing" && A.isOfflineInstaller && A.activeOrgType === k);
140
140
  }), G = a(() => (A.apps ?? xe.value).filter((e) => !A.hideCurrent || e.name !== W.value).map((e) => ({
141
141
  ...e,
142
142
  url: e.url ?? Se(e)
@@ -205,7 +205,7 @@ var ge = {
205
205
  q()?.contains(t) || V.value?.contains(t) || Z(!1);
206
206
  }
207
207
  function Q(e) {
208
- e && V.value?.contains(e.target) || X();
208
+ e?.target instanceof Node && V.value?.contains(e.target) || X();
209
209
  }
210
210
  function $(e) {
211
211
  let t = e ? "addEventListener" : "removeEventListener";
@@ -238,7 +238,7 @@ var ge = {
238
238
  "class"
239
239
  ]), (g(), o(r, { to: "body" }, [u(i, {
240
240
  "enter-active-class": "transition duration-150 ease-out",
241
- "enter-from-class": `opacity-0 motion-safe:scale-[0.98] ${U.value ? "motion-safe:-translate-y-1" : "motion-safe:translate-y-1"}`,
241
+ "enter-from-class": "opacity-0 motion-safe:scale-95",
242
242
  "leave-active-class": "transition duration-100 ease-in",
243
243
  "leave-to-class": "opacity-0"
244
244
  }, {
@@ -249,7 +249,7 @@ var ge = {
249
249
  ref: V,
250
250
  role: "dialog",
251
251
  "aria-labelledby": z,
252
- class: m(["ac-scrollbar fixed z-[90] flex w-[calc(340px*var(--ac-scale))] max-w-[calc(100vw-16px)] flex-col rounded-10 border border-border bg-surface shadow-lg", U.value ? "origin-top-right" : "origin-bottom-right"]),
252
+ class: m(["ac-scrollbar fixed z-[90] flex w-[calc(340px*var(--ac-scale))] max-w-[calc(100vw-16px)] flex-col rounded-14 border border-border bg-surface p-2 shadow-lg", U.value ? "origin-top-right" : "origin-bottom-right"]),
253
253
  style: h(H.value),
254
254
  "data-ac-ds": "",
255
255
  "data-testid": "ac-app-switcher-panel",
@@ -257,20 +257,20 @@ var ge = {
257
257
  }, [
258
258
  l("p", {
259
259
  id: z,
260
- class: "px-4 pt-3.5 pb-1 text-xs font-medium text-label"
260
+ class: "px-3 pt-2 pb-2 text-sm font-semibold tracking-[0.08em] text-muted uppercase"
261
261
  }, y(d.label), 1),
262
262
  l("ul", _e, [(g(!0), c(n, null, v(G.value, (t) => (g(), c("li", { key: t.name }, [l("a", {
263
263
  href: t.url,
264
264
  "data-app-tile": "",
265
265
  "aria-current": K(t) ? "page" : void 0,
266
266
  title: t.subtitle || void 0,
267
- class: "group relative flex h-full flex-col items-center gap-2 rounded-8 px-1.5 pt-3 pb-2.5 text-center no-underline outline-none transition-colors hover:bg-surface-muted focus-visible:ring-[3px] focus-visible:ring-ring aria-[current=page]:bg-primary-97",
267
+ class: "group relative flex h-full flex-col items-center gap-2 rounded-8 px-1.5 pt-3 pb-2.5 text-center no-underline outline-none transition-colors duration-200 hover:bg-surface-sunken focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-inset aria-[current=page]:bg-accent",
268
268
  "data-ac-ds": "",
269
269
  "data-testid": "ac-app-switcher-app",
270
270
  onClick: (e) => Ee(t)
271
271
  }, [
272
272
  l("span", {
273
- class: m(["relative inline-flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-10 ring-1 ring-border-light transition-transform duration-150 ring-inset motion-safe:group-hover:-translate-y-px", t.iconUrl || t.name === D && !t.icon ? "bg-surface" : I[t.color ?? "slate"]]),
273
+ class: m(["relative inline-flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-10 ring-1 transition-transform duration-200 ring-inset motion-safe:group-hover:-translate-y-px", t.iconUrl || t.name === D && !t.icon ? "bg-surface ring-border" : ye[t.color ?? "slate"]]),
274
274
  "aria-hidden": "true"
275
275
  }, [t.iconUrl ? (g(), c("img", {
276
276
  key: 0,
@@ -296,7 +296,7 @@ var ge = {
296
296
  a.$slots.footer ? (g(), c("div", E, [te(a.$slots, "footer", { close: Z })])) : s("", !0)
297
297
  ], 38)) : s("", !0)]),
298
298
  _: 3
299
- }, 8, ["enter-from-class"])]))]));
299
+ })]))]));
300
300
  }
301
301
  });
302
302
  //#endregion
@@ -0,0 +1,5 @@
1
+ import e from "./AcAreaChart.vue_vue_type_script_setup_true_lang.js";
2
+ //#region src/lib/components/AcAreaChart.vue
3
+ var t = e;
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,47 @@
1
+ import type { ChartTooltipSlotProps } from "../charts/ChartFrame.vue";
2
+ import type { ChartCurve } from "../charts/shared";
3
+ import type { XYChartProps } from "../charts/xy";
4
+ export interface Props extends XYChartProps {
5
+ /** Stacks the series on top of each other, so the top edge shows the total. Use it for parts of a whole: memory by pod, cores by node pool. */
6
+ stacked?: boolean;
7
+ /** Fades each fill from the line down to the baseline. Turn it off for a flat 20% fill. */
8
+ gradient?: boolean;
9
+ /** Shape between points: `linear`, `monotone` (smooth, never overshoots the data) or `step`. */
10
+ curve?: ChartCurve;
11
+ /** Thickness of the line on top of each area, in px. `0` draws no line. */
12
+ lineWidth?: number;
13
+ }
14
+ type __VLS_Slots = {
15
+ /** Replaces the tooltip body for the hovered row. */
16
+ tooltip?: (props: ChartTooltipSlotProps) => unknown;
17
+ };
18
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
19
+ legend: import("../charts/shared").ChartLegendPosition;
20
+ title: string;
21
+ description: string;
22
+ height: number;
23
+ loading: boolean;
24
+ animation: boolean;
25
+ tooltip: boolean;
26
+ emptyText: string;
27
+ lineWidth: number;
28
+ stacked: boolean;
29
+ renderer: "canvas" | "svg";
30
+ gridLines: boolean;
31
+ zoom: boolean;
32
+ xFormatter: (value: Date | number | string) => string;
33
+ yFormatter: (value: number) => string;
34
+ xLabel: string;
35
+ yLabel: string;
36
+ yDomain: [number | undefined, number | undefined];
37
+ curve: ChartCurve;
38
+ gradient: boolean;
39
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
40
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
41
+ declare const _default: typeof __VLS_export;
42
+ export default _default;
43
+ type __VLS_WithSlots<T, S> = T & {
44
+ new (): {
45
+ $slots: S;
46
+ };
47
+ };