@stacksjs/defaults 0.75.529 → 0.75.537

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 (248) hide show
  1. package/ai/skills/stacks-actions/SKILL.md +1 -1
  2. package/ai/skills/stacks-build/SKILL.md +1 -1
  3. package/ai/skills/stacks-dashboard/SKILL.md +2 -2
  4. package/ai/skills/stacks-database/SKILL.md +1 -1
  5. package/ai/skills/stacks-migrations/SKILL.md +2 -2
  6. package/ai/skills/stacks-native/CATALOG.md +6 -6
  7. package/app/Actions/Dashboard/Commerce/CommerceCouponsAction.ts +27 -15
  8. package/app/Actions/Dashboard/Commerce/CommerceCouponsExportAction.ts +45 -0
  9. package/app/Actions/Dashboard/Commerce/CommerceCustomersAction.ts +22 -12
  10. package/app/Actions/Dashboard/Commerce/CommerceCustomersExportAction.ts +44 -0
  11. package/app/Actions/Dashboard/Commerce/CommercePosCheckoutAction.ts +9 -29
  12. package/app/Actions/Dashboard/Commerce/CommercePrintDevicesAction.ts +7 -9
  13. package/app/Actions/Dashboard/Commerce/CommerceProductDetailAction.ts +9 -8
  14. package/app/Actions/Dashboard/Commerce/CommerceTaxesAction.ts +7 -9
  15. package/app/Actions/Dashboard/Commerce/ManufacturerIndexAction.ts +8 -20
  16. package/app/Actions/Dashboard/Commerce/commerce-coupon-list.test.ts +203 -0
  17. package/app/Actions/Dashboard/Commerce/commerce-coupon-list.ts +248 -0
  18. package/app/Actions/Dashboard/Commerce/commerce-customer-list.test.ts +183 -0
  19. package/app/Actions/Dashboard/Commerce/commerce-customer-list.ts +186 -0
  20. package/app/Actions/Dashboard/Commerce/commerce-customer-records.test.ts +1 -34
  21. package/app/Actions/Dashboard/Commerce/commerce-customer-records.ts +0 -11
  22. package/app/Actions/Dashboard/Commerce/commerce-manufacturer-list.test.ts +118 -0
  23. package/app/Actions/Dashboard/Commerce/commerce-manufacturer-list.ts +41 -0
  24. package/app/Actions/Dashboard/Commerce/commerce-pos-catalog.test.ts +17 -5
  25. package/app/Actions/Dashboard/Commerce/commerce-pos-catalog.ts +17 -3
  26. package/app/Actions/Dashboard/Commerce/commerce-print-device-list.test.ts +99 -0
  27. package/app/Actions/Dashboard/Commerce/commerce-print-device-list.ts +18 -0
  28. package/app/Actions/Dashboard/Commerce/commerce-product-list.ts +5 -5
  29. package/app/Actions/Dashboard/Commerce/commerce-product-options.test.ts +81 -0
  30. package/app/Actions/Dashboard/Commerce/commerce-tax-rate-list.test.ts +99 -0
  31. package/app/Actions/Dashboard/Commerce/commerce-tax-rate-list.ts +18 -0
  32. package/app/Actions/Dashboard/Commerce/coupon-records.test.ts +1 -16
  33. package/app/Actions/Dashboard/Commerce/coupon-records.ts +6 -10
  34. package/app/Actions/Dashboard/Commerce/manufacturer-records.test.ts +5 -17
  35. package/app/Actions/Dashboard/Commerce/manufacturer-records.ts +0 -29
  36. package/app/Actions/Dashboard/Email/captured-mail.test.ts +16 -0
  37. package/app/Actions/Dashboard/Email/captured-mail.ts +9 -1
  38. package/app/Actions/Dashboard/Models/model-write.ts +36 -3
  39. package/app/Actions/Dashboard/Notifications/NotificationDeliveryHistoryAction.ts +13 -58
  40. package/app/Actions/Dashboard/Notifications/notification-delivery-history.ts +74 -0
  41. package/app/Actions/SitemapAction.ts +3 -1
  42. package/app/Models/Notification.ts +3 -1
  43. package/app/Models/NotificationDelivery.ts +4 -0
  44. package/app/Models/User.ts +10 -1
  45. package/bootstrap.ts +10 -2
  46. package/functions/commerce/tax-types.ts +21 -0
  47. package/functions/dashboard-list.test.ts +16 -0
  48. package/functions/dashboard-list.ts +14 -6
  49. package/functions/dashboard-model-record.test.ts +139 -0
  50. package/functions/dashboard-model-record.ts +353 -0
  51. package/functions/monitoring/errors.ts +22 -103
  52. package/functions/notifications/deliveries.ts +7 -38
  53. package/functions/queries.ts +7 -10
  54. package/ide/vscode/package.json +1 -1
  55. package/package.json +5 -5
  56. package/resources/components/Dashboard/Analytics/AnalyticsHub.stx +2 -2
  57. package/resources/components/Dashboard/Analytics/CampaignAnalytics.stx +22 -28
  58. package/resources/components/Dashboard/Analytics/EventAnalytics.stx +26 -34
  59. package/resources/components/Dashboard/Analytics/SalesAnalytics.stx +29 -37
  60. package/resources/components/Dashboard/Analytics/WebAnalyticsBreakdown.stx +12 -16
  61. package/resources/components/Dashboard/Analytics/WebAnalyticsDashboard.stx +43 -53
  62. package/resources/components/Dashboard/App/RequestsOverview.stx +2 -1
  63. package/resources/components/Dashboard/App/SourceInventory.stx +2 -1
  64. package/resources/components/Dashboard/Auth/AccessTokens.stx +3 -5
  65. package/resources/components/Dashboard/Billing/BillingPaymentMethodsPanel.stx +9 -11
  66. package/resources/components/Dashboard/Billing/BillingSettings.stx +1 -1
  67. package/resources/components/Dashboard/Buddy/BuddyAssistant.stx +4 -6
  68. package/resources/components/Dashboard/Commerce/CommerceCategoriesDashboard.stx +2 -2
  69. package/resources/components/Dashboard/Commerce/CommerceCategoriesTable.stx +3 -3
  70. package/resources/components/Dashboard/Commerce/CommerceCategoryDialog.stx +2 -2
  71. package/resources/components/Dashboard/Commerce/CommerceCategoryHierarchy.stx +3 -5
  72. package/resources/components/Dashboard/Commerce/CommerceCouponBreakdown.stx +17 -13
  73. package/resources/components/Dashboard/Commerce/CommerceCouponDialog.stx +1 -1
  74. package/resources/components/Dashboard/Commerce/CommerceCouponsDashboard.stx +57 -85
  75. package/resources/components/Dashboard/Commerce/CommerceCouponsTable.stx +32 -9
  76. package/resources/components/Dashboard/Commerce/CommerceCustomerDialog.stx +1 -1
  77. package/resources/components/Dashboard/Commerce/CommerceCustomersDashboard.stx +49 -83
  78. package/resources/components/Dashboard/Commerce/CommerceCustomersTable.stx +32 -9
  79. package/resources/components/Dashboard/Commerce/CommerceGiftCardBreakdown.stx +9 -15
  80. package/resources/components/Dashboard/Commerce/CommerceGiftCardDialog.stx +1 -1
  81. package/resources/components/Dashboard/Commerce/CommerceGiftCardsDashboard.stx +35 -119
  82. package/resources/components/Dashboard/Commerce/CommerceGiftCardsTable.stx +3 -3
  83. package/resources/components/Dashboard/Commerce/CommerceManufacturerDialog.stx +1 -1
  84. package/resources/components/Dashboard/Commerce/CommerceManufacturersDashboard.stx +3 -5
  85. package/resources/components/Dashboard/Commerce/CommerceManufacturersTable.stx +2 -2
  86. package/resources/components/Dashboard/Commerce/CommerceOrderDialog.stx +4 -4
  87. package/resources/components/Dashboard/Commerce/CommerceOrdersDashboard.stx +42 -129
  88. package/resources/components/Dashboard/Commerce/CommerceOrdersTable.stx +3 -3
  89. package/resources/components/Dashboard/Commerce/CommerceOverviewDashboard.stx +1 -1
  90. package/resources/components/Dashboard/Commerce/CommerceOverviewOrdersTable.stx +9 -11
  91. package/resources/components/Dashboard/Commerce/CommerceOverviewProductsTable.stx +5 -7
  92. package/resources/components/Dashboard/Commerce/CommerceOverviewStats.stx +14 -16
  93. package/resources/components/Dashboard/Commerce/CommercePaymentsBreakdown.stx +12 -18
  94. package/resources/components/Dashboard/Commerce/CommercePaymentsDashboard.stx +41 -120
  95. package/resources/components/Dashboard/Commerce/CommercePaymentsTable.stx +1 -1
  96. package/resources/components/Dashboard/Commerce/CommercePosCart.stx +13 -15
  97. package/resources/components/Dashboard/Commerce/CommercePosCatalog.stx +17 -19
  98. package/resources/components/Dashboard/Commerce/CommercePosCheckoutDialog.stx +2 -2
  99. package/resources/components/Dashboard/Commerce/CommercePosDashboard.stx +1 -1
  100. package/resources/components/Dashboard/Commerce/CommercePosReceiptDialog.stx +1 -1
  101. package/resources/components/Dashboard/Commerce/CommerceProductDetailDashboard.stx +5 -5
  102. package/resources/components/Dashboard/Commerce/CommerceProductDialog.stx +3 -3
  103. package/resources/components/Dashboard/Commerce/CommerceProductsDashboard.stx +41 -122
  104. package/resources/components/Dashboard/Commerce/CommerceProductsTable.stx +3 -3
  105. package/resources/components/Dashboard/Commerce/CommerceReviewEditDialog.stx +1 -1
  106. package/resources/components/Dashboard/Commerce/CommerceReviewsDashboard.stx +38 -122
  107. package/resources/components/Dashboard/Commerce/CommerceReviewsTable.stx +2 -2
  108. package/resources/components/Dashboard/Commerce/CommerceTaxDialog.stx +3 -3
  109. package/resources/components/Dashboard/Commerce/CommerceTaxesDashboard.stx +5 -4
  110. package/resources/components/Dashboard/Commerce/CommerceTaxesTable.stx +4 -3
  111. package/resources/components/Dashboard/Commerce/CommerceUnitDialog.stx +3 -7
  112. package/resources/components/Dashboard/Commerce/CommerceUnitsDashboard.stx +3 -5
  113. package/resources/components/Dashboard/Commerce/CommerceUnitsTable.stx +2 -2
  114. package/resources/components/Dashboard/Commerce/CommerceVariantDialog.stx +3 -3
  115. package/resources/components/Dashboard/Commerce/CommerceVariantsDashboard.stx +4 -4
  116. package/resources/components/Dashboard/Commerce/CommerceVariantsTable.stx +3 -5
  117. package/resources/components/Dashboard/Commerce/Delivery/CourierDialog.stx +1 -1
  118. package/resources/components/Dashboard/Commerce/Delivery/CouriersDashboard.stx +1 -1
  119. package/resources/components/Dashboard/Commerce/Delivery/CouriersTable.stx +2 -2
  120. package/resources/components/Dashboard/Commerce/Delivery/DeliveryOverviewDashboard.stx +44 -52
  121. package/resources/components/Dashboard/Commerce/Delivery/DeliveryPagination.stx +2 -2
  122. package/resources/components/Dashboard/Commerce/Delivery/DeliveryRouteDialog.stx +1 -1
  123. package/resources/components/Dashboard/Commerce/Delivery/DeliveryRoutesDashboard.stx +1 -1
  124. package/resources/components/Dashboard/Commerce/Delivery/DeliveryRoutesTable.stx +2 -2
  125. package/resources/components/Dashboard/Commerce/Delivery/DigitalDeliveriesDashboard.stx +1 -1
  126. package/resources/components/Dashboard/Commerce/Delivery/DigitalDeliveryTable.stx +2 -2
  127. package/resources/components/Dashboard/Commerce/Delivery/LicenseKeyDialog.stx +3 -3
  128. package/resources/components/Dashboard/Commerce/Delivery/LicenseKeysDashboard.stx +1 -1
  129. package/resources/components/Dashboard/Commerce/Delivery/LicenseKeysTable.stx +2 -2
  130. package/resources/components/Dashboard/Commerce/Delivery/ShippingMethodsDashboard.stx +1 -1
  131. package/resources/components/Dashboard/Commerce/Delivery/ShippingMethodsTable.stx +2 -2
  132. package/resources/components/Dashboard/Commerce/Delivery/ShippingRateDialog.stx +2 -2
  133. package/resources/components/Dashboard/Commerce/Delivery/ShippingRatesDashboard.stx +1 -1
  134. package/resources/components/Dashboard/Commerce/Delivery/ShippingRatesTable.stx +2 -2
  135. package/resources/components/Dashboard/Commerce/Delivery/ShippingZoneDialog.stx +1 -1
  136. package/resources/components/Dashboard/Commerce/Delivery/ShippingZonesDashboard.stx +1 -1
  137. package/resources/components/Dashboard/Commerce/Delivery/ShippingZonesTable.stx +4 -8
  138. package/resources/components/Dashboard/Commerce/PaymentDetailsDialog.stx +1 -3
  139. package/resources/components/Dashboard/Commerce/PrintDeviceBreakdown.stx +9 -15
  140. package/resources/components/Dashboard/Commerce/PrintDeviceDialog.stx +1 -1
  141. package/resources/components/Dashboard/Commerce/PrintDevicesDashboard.stx +3 -3
  142. package/resources/components/Dashboard/Commerce/PrintDevicesTable.stx +3 -3
  143. package/resources/components/Dashboard/Commerce/PrintLogBreakdown.stx +3 -9
  144. package/resources/components/Dashboard/Commerce/PrintLogDetailsDialog.stx +1 -1
  145. package/resources/components/Dashboard/Commerce/PrintLogsDashboard.stx +4 -4
  146. package/resources/components/Dashboard/Commerce/PrintLogsTable.stx +8 -10
  147. package/resources/components/Dashboard/Commerce/ProductWaitlistDashboard.stx +37 -109
  148. package/resources/components/Dashboard/Commerce/ProductWaitlistEntryDialog.stx +3 -3
  149. package/resources/components/Dashboard/Commerce/ProductWaitlistTable.stx +2 -2
  150. package/resources/components/Dashboard/Commerce/RestaurantWaitlistDashboard.stx +38 -112
  151. package/resources/components/Dashboard/Commerce/RestaurantWaitlistEntryDialog.stx +2 -2
  152. package/resources/components/Dashboard/Commerce/RestaurantWaitlistTable.stx +2 -2
  153. package/resources/components/Dashboard/Content/AuthorsDashboard.stx +4 -4
  154. package/resources/components/Dashboard/Content/BlogDashboard.stx +4 -4
  155. package/resources/components/Dashboard/Content/CommentsDashboard.stx +36 -83
  156. package/resources/components/Dashboard/Content/ContentDashboard.stx +12 -14
  157. package/resources/components/Dashboard/Content/ContentTaxonomyDashboard.stx +2 -2
  158. package/resources/components/Dashboard/Content/FileManagerDashboard.stx +8 -12
  159. package/resources/components/Dashboard/Content/FileStoragePanel.stx +6 -10
  160. package/resources/components/Dashboard/Content/FileUploadDialog.stx +1 -3
  161. package/resources/components/Dashboard/Content/PagesDashboard.stx +39 -78
  162. package/resources/components/Dashboard/Content/PostEditorDialog.stx +4 -8
  163. package/resources/components/Dashboard/Content/PostsDashboard.stx +44 -85
  164. package/resources/components/Dashboard/Content/SeoDashboard.stx +5 -4
  165. package/resources/components/Dashboard/Data/DataRecords.stx +140 -12
  166. package/resources/components/Dashboard/Deployments/DeploymentList.stx +4 -4
  167. package/resources/components/Dashboard/Deployments/DeploymentTable.stx +3 -1
  168. package/resources/components/Dashboard/Elements/DropdownNavigation.stx +5 -7
  169. package/resources/components/Dashboard/Email/CapturedMailDashboard.stx +1 -3
  170. package/resources/components/Dashboard/Email/CapturedMailList.stx +18 -20
  171. package/resources/components/Dashboard/Email/EmailActivityDashboard.stx +24 -28
  172. package/resources/components/Dashboard/Email/EmailSettingsList.stx +6 -8
  173. package/resources/components/Dashboard/Email/EmailSettingsNavigation.stx +10 -12
  174. package/resources/components/Dashboard/Email/EmailSidebar.stx +33 -37
  175. package/resources/components/Dashboard/Email/InboxMessageDetail.stx +1 -1
  176. package/resources/components/Dashboard/Email/InboxMessageList.stx +16 -18
  177. package/resources/components/Dashboard/Email/InboxSettingsDashboard.stx +1 -1
  178. package/resources/components/Dashboard/Environment/EnvironmentDashboard.stx +2 -2
  179. package/resources/components/Dashboard/GlobalSearch.stx +19 -21
  180. package/resources/components/Dashboard/Home/DashboardHome.stx +8 -1
  181. package/resources/components/Dashboard/Infrastructure/CloudDashboard.stx +1 -1
  182. package/resources/components/Dashboard/Infrastructure/DnsDashboard.stx +27 -13
  183. package/resources/components/Dashboard/Infrastructure/LogsDashboard.stx +1 -1
  184. package/resources/components/Dashboard/Infrastructure/MailboxesDashboard.stx +46 -8
  185. package/resources/components/Dashboard/Infrastructure/ServerlessDashboard.stx +1 -1
  186. package/resources/components/Dashboard/Infrastructure/ServersDashboard.stx +1 -1
  187. package/resources/components/Dashboard/Jobs/JobDetail.stx +1 -1
  188. package/resources/components/Dashboard/Jobs/JobHistory.stx +44 -57
  189. package/resources/components/Dashboard/Jobs/JobTable.stx +23 -25
  190. package/resources/components/Dashboard/Kanban/KanbanCardDialog.stx +1 -1
  191. package/resources/components/Dashboard/Library/ComponentsDashboard.stx +1 -1
  192. package/resources/components/Dashboard/Management/AssignmentDrawer.stx +5 -7
  193. package/resources/components/Dashboard/Management/PermissionsDashboard.stx +35 -43
  194. package/resources/components/Dashboard/Marketing/AbandonedCartsDashboard.stx +11 -13
  195. package/resources/components/Dashboard/Marketing/CampaignDialog.stx +1 -3
  196. package/resources/components/Dashboard/Marketing/CampaignsDashboard.stx +2 -2
  197. package/resources/components/Dashboard/Marketing/CampaignsTable.stx +2 -2
  198. package/resources/components/Dashboard/Marketing/MarketingListsDashboard.stx +1 -1
  199. package/resources/components/Dashboard/Marketing/MarketingListsTable.stx +2 -2
  200. package/resources/components/Dashboard/Marketing/SocialPostDialog.stx +1 -3
  201. package/resources/components/Dashboard/Marketing/SocialPostsDashboard.stx +2 -2
  202. package/resources/components/Dashboard/Marketing/SocialPostsTable.stx +2 -2
  203. package/resources/components/Dashboard/Models/ModelRecordActions.stx +11 -2
  204. package/resources/components/Dashboard/Models/ModelRecordCreate.stx +193 -0
  205. package/resources/components/Dashboard/Models/ModelRecordDetail.stx +144 -0
  206. package/resources/components/Dashboard/Models/ModelRecordEdit.stx +176 -0
  207. package/resources/components/Dashboard/Models/ModelRecordsDashboard.stx +52 -186
  208. package/resources/components/Dashboard/Models/ModelsOverview.stx +2 -4
  209. package/resources/components/Dashboard/Monitoring/ErrorDashboard.stx +47 -81
  210. package/resources/components/Dashboard/Monitoring/ErrorTable.stx +4 -2
  211. package/resources/components/Dashboard/NotFoundDashboard.stx +4 -4
  212. package/resources/components/Dashboard/Notifications/NotificationDeliveryHistory.stx +43 -77
  213. package/resources/components/Dashboard/Notifications/NotificationDeliveryOverview.stx +15 -17
  214. package/resources/components/Dashboard/Notifications/NotificationDeliveryTable.stx +1 -1
  215. package/resources/components/Dashboard/Operations/AuditDashboard.stx +1 -1
  216. package/resources/components/Dashboard/Operations/ChangeDashboard.stx +1 -1
  217. package/resources/components/Dashboard/Operations/IncidentDashboard.stx +1 -1
  218. package/resources/components/Dashboard/Operations/MigrationDashboard.stx +2 -2
  219. package/resources/components/Dashboard/Operations/RecoveryDashboard.stx +1 -1
  220. package/resources/components/Dashboard/Operations/SchedulerDashboard.stx +1 -1
  221. package/resources/components/Dashboard/Queries/QueryDashboard.stx +60 -86
  222. package/resources/components/Dashboard/Queries/QueryDetail.stx +5 -9
  223. package/resources/components/Dashboard/Realtime/RealtimeDashboard.stx +6 -8
  224. package/resources/components/Dashboard/Remote/RemoteConsole.stx +14 -20
  225. package/resources/components/Dashboard/Settings/AppearanceSettingsDashboard.stx +48 -54
  226. package/resources/components/Dashboard/Settings/MailSettingsDashboard.stx +8 -8
  227. package/resources/components/Dashboard/Settings/SettingsDashboard.stx +43 -47
  228. package/resources/components/Dashboard/Teams/TeamInvitationDashboard.stx +2 -2
  229. package/resources/components/Dashboard/UI/ActivityTable.stx +2 -1
  230. package/resources/components/Dashboard/UI/Button.stx +15 -0
  231. package/resources/components/Dashboard/UI/MetricCards.stx +5 -7
  232. package/resources/components/Dashboard/UI/Pagination.stx +3 -5
  233. package/resources/components/Dashboard/UI/QuickLinks.stx +2 -2
  234. package/resources/components/Dashboard/UI/Select.stx +1 -0
  235. package/resources/components/Dashboard/UI/Table.stx +139 -96
  236. package/resources/components/Dashboard/UI/Tabs.stx +18 -20
  237. package/routes/dashboard-api.ts +2 -0
  238. package/routes/dashboard.ts +246 -253
  239. package/routes/storefront.ts +31 -0
  240. package/stx-components-plugin.ts +12 -1
  241. package/views/dashboard/content/categories/index.stx +1 -1
  242. package/views/dashboard/content/tags/index.stx +1 -1
  243. package/views/dashboard/layouts/default.stx +27 -12
  244. package/views/dashboard/models/[model]/[id]/edit.stx +8 -0
  245. package/views/dashboard/models/[model]/[id].stx +8 -0
  246. package/views/dashboard/models/[model]/create.stx +8 -0
  247. package/resources/components/Dashboard/CreateRecordModal.stx +0 -138
  248. package/resources/components/Dashboard/Models/EditRecordModal.stx +0 -81
@@ -83,7 +83,7 @@ onMount(() => {
83
83
  })
84
84
  </script>
85
85
 
86
- <div class="space-y-6">
86
+ <div class="flex flex-col gap-6">
87
87
  <header>
88
88
  <h1 class="font-bold text-2xl text-gray-900 dark:text-white">Remote</h1>
89
89
  <p class="mt-1 text-gray-500 text-sm dark:text-neutral-400">Run configured operations on configured hosts, or open a terminal on a host that allows one. Every run and session is recorded.</p>
@@ -121,19 +121,17 @@ onMount(() => {
121
121
  <h2 class="font-semibold text-gray-900 dark:text-white">Hosts</h2>
122
122
  </div>
123
123
  <ul class="divide-gray-200 divide-y dark:divide-neutral-700">
124
- <template :for="entry in hosts()">
125
- <li class="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between px-5 py-3">
126
- <div>
127
- <p class="font-medium text-gray-900 dark:text-white">{{ entry.key }}</p>
128
- <p class="font-mono text-gray-500 text-xs dark:text-neutral-400">{{ entry.user + '@' + entry.host + ':' + entry.port }}</p>
129
- </div>
130
- <Button :if="entry.terminal" variant="outline" @click="showTerminal(entry.key)">
131
- <span class="h-4 w-4 i-hugeicons-command-line"></span>
132
- Open terminal
133
- </Button>
134
- <span :if="!entry.terminal" class="text-gray-500 text-xs dark:text-neutral-500">Named commands only</span>
135
- </li>
136
- </template>
124
+ <li :for="entry in hosts()" class="flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between px-5 py-3">
125
+ <div>
126
+ <p class="font-medium text-gray-900 dark:text-white">{{ entry.key }}</p>
127
+ <p class="font-mono text-gray-500 text-xs dark:text-neutral-400">{{ entry.user + '@' + entry.host + ':' + entry.port }}</p>
128
+ </div>
129
+ <Button :if="entry.terminal" variant="outline" @click="showTerminal(entry.key)">
130
+ <span class="h-4 w-4 i-hugeicons-command-line"></span>
131
+ Open terminal
132
+ </Button>
133
+ <span :if="!entry.terminal" class="text-gray-500 text-xs dark:text-neutral-500">Named commands only</span>
134
+ </li>
137
135
  </ul>
138
136
  </section>
139
137
 
@@ -156,18 +154,14 @@ onMount(() => {
156
154
  <label class="flex flex-col gap-1 text-gray-700 text-sm dark:text-neutral-200">
157
155
  Host
158
156
  <select x-model="selectedHost" class="px-3 py-2 text-sm dark:bg-neutral-700 border border-gray-300 rounded-md dark:border-neutral-600">
159
- <template :for="entry in hosts()">
160
- <option :value="entry.key">{{ entry.key }}</option>
161
- </template>
157
+ <option :for="entry in hosts()" :value="entry.key">{{ entry.key }}</option>
162
158
  </select>
163
159
  </label>
164
160
  <label class="flex flex-1 flex-col gap-1 text-gray-700 text-sm dark:text-neutral-200">
165
161
  Command
166
162
  <select x-model="selectedCommand" class="px-3 py-2 text-sm dark:bg-neutral-700 border border-gray-300 rounded-md dark:border-neutral-600">
167
163
  <option value="">Choose a command</option>
168
- <template :for="command in commandsForHost()">
169
- <option :value="command.key">{{ command.key }} - {{ command.description }}</option>
170
- </template>
164
+ <option :for="command in commandsForHost()" :value="command.key">{{ command.key }} - {{ command.description }}</option>
171
165
  </select>
172
166
  </label>
173
167
  <Button type="submit" :disabled="!selectedCommand()" :loading="isRunning()">Run</Button>
@@ -216,7 +216,7 @@ const selected = (a: unknown, b: unknown) => String(a === b)
216
216
  </style>
217
217
 
218
218
  <template>
219
- <div class="mx-auto pb-12 pt-6 px-6 space-y-6 max-w-4xl">
219
+ <div class="flex flex-col gap-6 mx-auto pb-12 pt-6 px-6 max-w-4xl">
220
220
  <PageHeader
221
221
  title="Appearance"
222
222
  description="How the dashboard looks for you. These preferences are stored in this browser and apply to every page."
@@ -234,34 +234,32 @@ const selected = (a: unknown, b: unknown) => String(a === b)
234
234
  </div>
235
235
 
236
236
  <div class="grid gap-4 sm:grid-cols-2 p-6">
237
- <template :for="option in styleOptions">
238
- <button
239
- type="button"
240
- class="flex flex-col gap-3 p-4 w-full text-left rounded-xl appearance-option"
241
- :data-selected="selected(sidebarStyle(), option.id)"
242
- :aria-pressed="String(selected(sidebarStyle(), option.id))"
243
- @click="selectStyle(option.id)"
244
- >
245
- <span class="appearance-preview" :data-style="option.id" aria-hidden="true">
246
- <span class="appearance-preview-nav">
247
- <span class="appearance-preview-row is-active"></span>
248
- <span class="appearance-preview-row"></span>
249
- <span class="appearance-preview-row"></span>
250
- <span class="appearance-preview-row is-short"></span>
251
- </span>
252
- <span class="appearance-preview-main"></span>
237
+ <button :for="option in styleOptions"
238
+ type="button"
239
+ class="flex flex-col gap-3 p-4 w-full text-left rounded-xl appearance-option"
240
+ :data-selected="selected(sidebarStyle(), option.id)"
241
+ :aria-pressed="String(selected(sidebarStyle(), option.id))"
242
+ @click="selectStyle(option.id)"
243
+ >
244
+ <span class="appearance-preview" :data-style="option.id" aria-hidden="true">
245
+ <span class="appearance-preview-nav">
246
+ <span class="appearance-preview-row is-active"></span>
247
+ <span class="appearance-preview-row"></span>
248
+ <span class="appearance-preview-row"></span>
249
+ <span class="appearance-preview-row is-short"></span>
253
250
  </span>
251
+ <span class="appearance-preview-main"></span>
252
+ </span>
254
253
 
255
- <span class="flex gap-2 items-center">
256
- <span
257
- class="flex-none h-4 w-4 appearance-check i-hugeicons-checkmark-circle-02"
258
- aria-hidden="true"
259
- ></span>
260
- <span class="font-medium text-neutral-900 text-sm dark:text-white">{{ option.label }}</span>
261
- </span>
262
- <span class="leading-relaxed text-neutral-500 text-xs dark:text-neutral-400">{{ option.description }}</span>
263
- </button>
264
- </template>
254
+ <span class="flex gap-2 items-center">
255
+ <span
256
+ class="flex-none h-4 w-4 appearance-check i-hugeicons-checkmark-circle-02"
257
+ aria-hidden="true"
258
+ ></span>
259
+ <span class="font-medium text-neutral-900 text-sm dark:text-white">{{ option.label }}</span>
260
+ </span>
261
+ <span class="leading-relaxed text-neutral-500 text-xs dark:text-neutral-400">{{ option.description }}</span>
262
+ </button>
265
263
  </div>
266
264
  </Card>
267
265
 
@@ -275,18 +273,16 @@ const selected = (a: unknown, b: unknown) => String(a === b)
275
273
  </div>
276
274
 
277
275
  <div class="flex gap-3 p-6" role="group" aria-label="Color mode">
278
- <template :for="mode in colorModes">
279
- <button
280
- type="button"
281
- class="flex flex-1 gap-2 items-center justify-center px-3 py-2 font-medium text-neutral-600 text-sm dark:text-neutral-300 rounded-lg appearance-mode appearance-option"
282
- :data-selected="selected(colorMode(), mode.id)"
283
- :aria-pressed="String(selected(colorMode(), mode.id))"
284
- @click="selectColorMode(mode.id)"
285
- >
286
- <span :class="mode.icon" class="h-4 w-4" aria-hidden="true"></span>
287
- <span>{{ mode.label }}</span>
288
- </button>
289
- </template>
276
+ <button :for="mode in colorModes"
277
+ type="button"
278
+ class="flex flex-1 gap-2 items-center justify-center px-3 py-2 font-medium text-neutral-600 text-sm dark:text-neutral-300 rounded-lg appearance-mode appearance-option"
279
+ :data-selected="selected(colorMode(), mode.id)"
280
+ :aria-pressed="String(selected(colorMode(), mode.id))"
281
+ @click="selectColorMode(mode.id)"
282
+ >
283
+ <span :class="mode.icon" class="h-4 w-4" aria-hidden="true"></span>
284
+ <span>{{ mode.label }}</span>
285
+ </button>
290
286
  </div>
291
287
  </Card>
292
288
 
@@ -306,21 +302,19 @@ const selected = (a: unknown, b: unknown) => String(a === b)
306
302
  </div>
307
303
 
308
304
  <div class="divide-neutral-200/60 divide-y dark:divide-white/5">
309
- <template :for="section in sections">
310
- <label class="flex gap-4 items-center justify-between px-6 py-4 hover:bg-stone-50/60 dark:hover:bg-white/[0.02] cursor-pointer">
311
- <span class="min-w-0">
312
- <span class="block font-medium text-neutral-900 text-sm dark:text-white">{{ section.label }}</span>
313
- <span class="block mt-0.5 text-neutral-500 text-xs dark:text-neutral-400">{{ section.count }} items</span>
314
- </span>
315
- <input
316
- type="checkbox"
317
- :checked="isVisible(section.id)"
318
- @change="toggleSection(section.id, $event)"
319
- class="flex-none h-4 w-4 text-blue-600 border-neutral-300 rounded focus:ring-blue-500"
320
- :aria-label="'Show ' + section.label + ' section'"
321
- >
322
- </label>
323
- </template>
305
+ <label :for="section in sections" class="flex gap-4 items-center justify-between px-6 py-4 hover:bg-stone-50/60 dark:hover:bg-white/[0.02] cursor-pointer">
306
+ <span class="min-w-0">
307
+ <span class="block font-medium text-neutral-900 text-sm dark:text-white">{{ section.label }}</span>
308
+ <span class="block mt-0.5 text-neutral-500 text-xs dark:text-neutral-400">{{ section.count }} items</span>
309
+ </span>
310
+ <input
311
+ type="checkbox"
312
+ :checked="isVisible(section.id)"
313
+ @change="toggleSection(section.id, $event)"
314
+ class="flex-none h-4 w-4 text-blue-600 border-neutral-300 rounded focus:ring-blue-500"
315
+ :aria-label="'Show ' + section.label + ' section'"
316
+ >
317
+ </label>
324
318
  </div>
325
319
  </Card>
326
320
 
@@ -41,17 +41,17 @@ interface MailSettingsResponse {
41
41
 
42
42
  const driverOptions = [
43
43
  { value: 'log', label: 'Log' },
44
- { value: 'smtp', label: 'SMTP' },
45
- { value: 'ses', label: 'Amazon SES' },
44
+ { value: 'smtp', label: 'SMTP (any mail server)' },
45
+ { value: 'ses', label: 'Amazon SES (Simple Email Service)' },
46
46
  { value: 'sendgrid', label: 'SendGrid' },
47
47
  { value: 'mailgun', label: 'Mailgun' },
48
48
  { value: 'mailtrap', label: 'Mailtrap' },
49
49
  { value: 'capture', label: 'Capture (tests)' },
50
50
  ]
51
51
  const encryptionOptions = [
52
- { value: '', label: 'None' },
53
- { value: 'tls', label: 'TLS / STARTTLS' },
54
- { value: 'ssl', label: 'SSL / implicit TLS' },
52
+ { value: '', label: 'None (unencrypted)' },
53
+ { value: 'tls', label: 'STARTTLS (upgrade to encrypted, usually port 587)' },
54
+ { value: 'ssl', label: 'TLS/SSL (encrypted from the start, usually port 465)' },
55
55
  ]
56
56
 
57
57
  const revision = state('')
@@ -362,13 +362,13 @@ onMount(() => void loadSettings())
362
362
  <section :if="driver() === 'smtp'" class="p-5 bg-white dark:bg-neutral-900 border border-stone-200 rounded-xl dark:border-neutral-700">
363
363
  <div class="mb-5">
364
364
  <h2 class="font-semibold text-stone-900 dark:text-white">SMTP transport</h2>
365
- <p class="mt-1 text-sm text-stone-500 dark:text-neutral-400">Use any SMTP relay: the local catcher from <code>buddy mail:dev</code>, Postmark SMTP, or a hosted mail server.</p>
365
+ <p class="mt-1 text-sm text-stone-500 dark:text-neutral-400">SMTP (Simple Mail Transfer Protocol) is the standard way servers send email. Use any SMTP server: the local catcher from <code>buddy mail:dev</code>, Postmark SMTP, or a hosted mail server.</p>
366
366
  </div>
367
367
  <div class="grid gap-4 md:grid-cols-2">
368
368
  <Input v-model:value="smtpHost" label="Host" placeholder="smtp.example.com" required :error="fieldError('smtp.host')" />
369
369
  <Input v-model:value="smtpPort" type="number" label="Port" placeholder="587" required :error="fieldError('smtp.port')" />
370
370
  <Input v-model:value="smtpUsername" label="Username" placeholder="mailer@example.com" :error="fieldError('smtp.username')" />
371
- <Select v-model:value="smtpEncryption" :options="encryptionOptions" label="Encryption" placeholder="" :error="fieldError('smtp.encryption')" />
371
+ <Select v-model:value="smtpEncryption" :options="encryptionOptions" label="Encryption" placeholder="" hint="Match what your mail server expects. Most use STARTTLS on port 587." :error="fieldError('smtp.encryption')" />
372
372
  <div class="md:col-span-2">
373
373
  <Input
374
374
  v-model:value="smtpPassword"
@@ -391,7 +391,7 @@ onMount(() => void loadSettings())
391
391
  <section :if="driver() === 'ses'" class="p-5 bg-white dark:bg-neutral-900 border border-stone-200 rounded-xl dark:border-neutral-700">
392
392
  <div class="mb-5">
393
393
  <h2 class="font-semibold text-stone-900 dark:text-white">Amazon SES</h2>
394
- <p class="mt-1 text-sm text-stone-500 dark:text-neutral-400">Explicit credentials are optional when the AWS profile or instance role already supplies them.</p>
394
+ <p class="mt-1 text-sm text-stone-500 dark:text-neutral-400">Amazon SES (Simple Email Service) sends email through your AWS account. The access keys are optional when the server already has AWS credentials, from a local AWS profile or the role of the server it runs on.</p>
395
395
  </div>
396
396
  <div class="grid gap-4 md:grid-cols-2">
397
397
  <Input v-model:value="sesRegion" label="AWS region" placeholder="us-east-1" required :error="fieldError('ses.region')" />
@@ -189,7 +189,7 @@ void loadFiles()
189
189
  </script>
190
190
 
191
191
  <template>
192
- <div class="mx-auto pb-12 pt-6 px-6 space-y-6 max-w-7xl">
192
+ <div class="flex flex-col gap-6 mx-auto pb-12 pt-6 px-6 max-w-7xl">
193
193
  <PageHeader
194
194
  title="Settings"
195
195
  description="Review and edit project configuration without losing comments or environment bindings"
@@ -212,17 +212,15 @@ void loadFiles()
212
212
  </div>
213
213
 
214
214
  <nav class="overflow-y-auto p-2 max-h-[68vh]" aria-label="Configuration files">
215
- <template :for="file in filteredFiles">
216
- <button
217
- type="button"
218
- :class="selected() === file.name ? 'flex items-center gap-3 px-3 py-2.5 w-full text-left text-blue-700 dark:text-blue-300 bg-blue-50 dark:bg-blue-500/10 rounded-lg' : 'flex items-center gap-3 px-3 py-2.5 w-full text-left text-neutral-700 dark:text-neutral-300 hover:bg-neutral-100 dark:hover:bg-white/5 rounded-lg'"
219
- @click="requestSelectFile(file.name)"
220
- >
221
- <span class="flex-none h-4 w-4 i-hugeicons-settings-02"></span>
222
- <span class="flex-1 font-medium text-sm truncate">{{ file.title }}</span>
223
- <span class="text-[10px] text-neutral-500 dark:text-neutral-400">{{ file.size < 1024 ? file.size + ' B' : Math.round(file.size / 1024) + ' KB' }}</span>
224
- </button>
225
- </template>
215
+ <button :for="file in filteredFiles"
216
+ type="button"
217
+ :class="selected() === file.name ? 'flex items-center gap-3 px-3 py-2.5 w-full text-left text-blue-700 dark:text-blue-300 bg-blue-50 dark:bg-blue-500/10 rounded-lg' : 'flex items-center gap-3 px-3 py-2.5 w-full text-left text-neutral-700 dark:text-neutral-300 hover:bg-neutral-100 dark:hover:bg-white/5 rounded-lg'"
218
+ @click="requestSelectFile(file.name)"
219
+ >
220
+ <span class="flex-none h-4 w-4 i-hugeicons-settings-02"></span>
221
+ <span class="flex-1 font-medium text-sm truncate">{{ file.title }}</span>
222
+ <span class="text-[10px] text-neutral-500 dark:text-neutral-400">{{ file.size < 1024 ? file.size + ' B' : Math.round(file.size / 1024) + ' KB' }}</span>
223
+ </button>
226
224
  </nav>
227
225
  </Card>
228
226
 
@@ -271,47 +269,45 @@ void loadFiles()
271
269
  @endif
272
270
 
273
271
  <form class="divide-neutral-200/60 divide-y dark:divide-white/5" @submit.prevent="save()">
274
- <template :for="field in fields">
275
- <div class="grid gap-3 sm:grid-cols-[minmax(10rem,0.8fr)_minmax(0,1.2fr)] sm:items-start px-6 py-5">
276
- <div>
277
- <label :for="'config-' + field.key" class="font-medium text-neutral-900 text-sm dark:text-white">{{ field.key }}</label>
278
- <p class="mt-1 text-neutral-500 text-xs dark:text-neutral-400">{{ field.type }}</p>
279
- </div>
272
+ <div :for="field in fields" class="grid gap-3 sm:grid-cols-[minmax(10rem,0.8fr)_minmax(0,1.2fr)] sm:items-start px-6 py-5">
273
+ <div>
274
+ <label :for="'config-' + field.key" class="font-medium text-neutral-900 text-sm dark:text-white">{{ field.key }}</label>
275
+ <p class="mt-1 text-neutral-500 text-xs dark:text-neutral-400">{{ field.type }}</p>
276
+ </div>
280
277
 
281
- <div>
282
- @if(field.type === 'boolean' && field.editable)
283
- <label class="inline-flex gap-3 items-center cursor-pointer">
284
- <input
285
- :id="'config-' + field.key"
286
- type="checkbox"
287
- x-model="drafts[field.key]"
288
- class="h-4 w-4 text-blue-600 border-neutral-300 rounded focus:ring-blue-500"
289
- >
290
- <span class="text-neutral-700 text-sm dark:text-neutral-300">{{ drafts[field.key] ? 'Enabled' : 'Disabled' }}</span>
291
- </label>
292
- @elseif(field.editable && field.type === 'number')
293
- <input
294
- :id="'config-' + field.key"
295
- type="number"
296
- x-model.number="drafts[field.key]"
297
- class="block px-3 py-2 w-full text-neutral-900 text-sm dark:text-white bg-white dark:bg-white/5 border border-black/10 rounded-lg dark:border-white/15 focus:border-blue-500/50 focus:outline-none focus:ring-2 focus:ring-blue-500/40"
298
- >
299
- @elseif(field.editable)
278
+ <div>
279
+ @if(field.type === 'boolean' && field.editable)
280
+ <label class="inline-flex gap-3 items-center cursor-pointer">
300
281
  <input
301
282
  :id="'config-' + field.key"
302
- type="text"
283
+ type="checkbox"
303
284
  x-model="drafts[field.key]"
304
- class="block px-3 py-2 w-full text-neutral-900 text-sm dark:text-white bg-white dark:bg-white/5 border border-black/10 rounded-lg dark:border-white/15 focus:border-blue-500/50 focus:outline-none focus:ring-2 focus:ring-blue-500/40"
285
+ class="h-4 w-4 text-blue-600 border-neutral-300 rounded focus:ring-blue-500"
305
286
  >
306
- @else
307
- <div class="px-3 py-2 break-all font-mono text-neutral-500 text-xs dark:text-neutral-400 bg-neutral-50 dark:bg-white/[0.03] border border-neutral-200 rounded-lg dark:border-white/10">
308
- {{ displayValue(field) }}
309
- </div>
310
- <p class="mt-1.5 text-amber-700 text-xs dark:text-amber-300">{{ field.reason }}</p>
311
- @endif
312
- </div>
287
+ <span class="text-neutral-700 text-sm dark:text-neutral-300">{{ drafts[field.key] ? 'Enabled' : 'Disabled' }}</span>
288
+ </label>
289
+ @elseif(field.editable && field.type === 'number')
290
+ <input
291
+ :id="'config-' + field.key"
292
+ type="number"
293
+ x-model.number="drafts[field.key]"
294
+ class="block px-3 py-2 w-full text-neutral-900 text-sm dark:text-white bg-white dark:bg-white/5 border border-black/10 rounded-lg dark:border-white/15 focus:border-blue-500/50 focus:outline-none focus:ring-2 focus:ring-blue-500/40"
295
+ >
296
+ @elseif(field.editable)
297
+ <input
298
+ :id="'config-' + field.key"
299
+ type="text"
300
+ x-model="drafts[field.key]"
301
+ class="block px-3 py-2 w-full text-neutral-900 text-sm dark:text-white bg-white dark:bg-white/5 border border-black/10 rounded-lg dark:border-white/15 focus:border-blue-500/50 focus:outline-none focus:ring-2 focus:ring-blue-500/40"
302
+ >
303
+ @else
304
+ <div class="px-3 py-2 break-all font-mono text-neutral-500 text-xs dark:text-neutral-400 bg-neutral-50 dark:bg-white/[0.03] border border-neutral-200 rounded-lg dark:border-white/10">
305
+ {{ displayValue(field) }}
306
+ </div>
307
+ <p class="mt-1.5 text-amber-700 text-xs dark:text-amber-300">{{ field.reason }}</p>
308
+ @endif
313
309
  </div>
314
- </template>
310
+ </div>
315
311
  </form>
316
312
  @endif
317
313
  </Card>
@@ -93,7 +93,7 @@ onMount(() => {
93
93
  <p class="text-red-600 text-sm dark:text-red-400">{{ error() }}</p>
94
94
  </div>
95
95
 
96
- <div :show="invitation() && !acceptedTeamId()" class="space-y-5">
96
+ <div :show="invitation() && !acceptedTeamId()" class="flex flex-col gap-5">
97
97
  <div>
98
98
  <p class="text-neutral-500 text-xs tracking-wide uppercase dark:text-neutral-400">Team</p>
99
99
  <p class="mt-1 font-semibold text-lg text-neutral-900 dark:text-white">{{ invitation()?.teamName }}</p>
@@ -127,7 +127,7 @@ onMount(() => {
127
127
  Accept invitation
128
128
  </Button>
129
129
 
130
- <div :show="invitation()?.status === 'pending' && !isAuthenticated()" class="space-y-3">
130
+ <div :show="invitation()?.status === 'pending' && !isAuthenticated()" class="flex flex-col gap-3">
131
131
  <p class="text-neutral-500 text-sm dark:text-neutral-400">Sign in with {{ invitation()?.email }} to accept this invitation.</p>
132
132
  <Button tag="a" :href="loginHref()" variant="primary" size="lg" fullWidth>Sign in to accept</Button>
133
133
  <Button tag="a" :href="registerHref()" variant="secondary" size="lg" fullWidth>Create an account</Button>
@@ -10,6 +10,7 @@ interface ActivityItem {
10
10
 
11
11
  const activities = useReactiveProp('activities', [] as ActivityItem[])
12
12
  const title = useReactiveProp('title', 'Recent activity')
13
+ const description = useReactiveProp('description', 'Recent changes recorded by the application.')
13
14
  const loading = useReactiveProp('loading', false)
14
15
 
15
16
  function statusClass(status: string): string {
@@ -37,7 +38,7 @@ function statusIcon(status: string): string {
37
38
  <header class="flex items-center justify-between p-5 border-b border-neutral-200/60 dark:border-white/5">
38
39
  <div>
39
40
  <h2 class="font-semibold text-[14px] text-neutral-900 tracking-tight dark:text-white">{{ title() }}</h2>
40
- <p class="mt-1 text-neutral-500 text-xs dark:text-neutral-400">Persisted orders and user registrations.</p>
41
+ <p class="mt-1 text-neutral-500 text-xs dark:text-neutral-400">{{ description() }}</p>
41
42
  </div>
42
43
  <slot name="actions" />
43
44
  </header>
@@ -16,6 +16,8 @@ interface ButtonProps {
16
16
  target?: string
17
17
  rel?: string
18
18
  ariaLabel?: string
19
+ /** Hover text. An icon-only button shows its `ariaLabel` when this is unset. */
20
+ title?: string
19
21
  type?: string
20
22
  form?: string
21
23
  class?: string
@@ -85,6 +87,16 @@ const liveRel = useReactiveProp('rel', '')
85
87
  const liveType = useReactiveProp('type', 'button')
86
88
  const liveForm = useReactiveProp('form', '')
87
89
  const liveAriaLabel = useReactiveProp('ariaLabel', '')
90
+ const liveTitle = useReactiveProp('title', '')
91
+ const liveIconOnly = useReactiveProp('iconOnly', false)
92
+ /**
93
+ * What a pointer sees on hover. An icon-only button has no visible words, so
94
+ * its accessible label doubles as the tooltip: a row of eye, pencil and trash
95
+ * icons names each action when hovered instead of leaving it to guesswork.
96
+ */
97
+ function hoverTitle(): string | undefined {
98
+ return liveTitle() || (liveIconOnly() ? liveAriaLabel() : '') || undefined
99
+ }
88
100
  /**
89
101
  * For a button that opens a menu or a disclosure.
90
102
  *
@@ -102,6 +114,7 @@ const liveAriaExpanded = useReactiveProp('ariaExpanded', '')
102
114
  :href="liveDisabled() || liveLoading() ? undefined : liveHref()"
103
115
  :download="liveDownload() || undefined"
104
116
  :aria-label="liveAriaLabel() || undefined"
117
+ :title="hoverTitle()"
105
118
  class="{{ buttonClass }}"
106
119
  :class="variantToggles()"
107
120
  :target="liveTarget() || undefined"
@@ -123,6 +136,7 @@ const liveAriaExpanded = useReactiveProp('ariaExpanded', '')
123
136
  class="{{ buttonClass }}"
124
137
  :class="variantToggles()"
125
138
  :aria-label="liveAriaLabel() || undefined"
139
+ :title="hoverTitle()"
126
140
  :aria-busy="liveLoading() ? 'true' : 'false'"
127
141
  :aria-pressed="String(livePressed())"
128
142
  :disabled="liveDisabled() || liveLoading()"
@@ -139,6 +153,7 @@ const liveAriaExpanded = useReactiveProp('ariaExpanded', '')
139
153
  class="{{ buttonClass }}"
140
154
  :class="variantToggles()"
141
155
  :aria-label="liveAriaLabel() || undefined"
156
+ :title="hoverTitle()"
142
157
  :aria-haspopup="liveAriaHasPopup() || undefined"
143
158
  :aria-expanded="liveAriaExpanded() || undefined"
144
159
  :aria-busy="liveLoading() ? 'true' : 'false'"
@@ -22,11 +22,9 @@ const columns = useReactiveProp('columns', 'grid-cols-2 lg:grid-cols-4')
22
22
  </script>
23
23
 
24
24
  <section :aria-label="label()" :class="`grid gap-3 ${columns()}`">
25
- <template :for="item in items()" :key="item.label">
26
- <article class="p-4 bg-white dark:bg-neutral-800 border border-gray-200 rounded-lg dark:border-neutral-700">
27
- <p class="text-gray-500 text-xs dark:text-neutral-400">{{ item.label }}</p>
28
- <p class="mt-2 font-semibold text-2xl text-gray-900 dark:text-white">{{ item.value }}</p>
29
- <p :if="item.detail" class="mt-1 text-gray-500 text-xs dark:text-neutral-500">{{ item.detail }}</p>
30
- </article>
31
- </template>
25
+ <article :for="item in items()" :key="item.label" class="p-4 bg-white dark:bg-neutral-800 border border-gray-200 rounded-lg dark:border-neutral-700">
26
+ <p class="text-gray-500 text-xs dark:text-neutral-400">{{ item.label }}</p>
27
+ <p class="mt-2 font-semibold text-2xl text-gray-900 dark:text-white">{{ item.value }}</p>
28
+ <p :if="item.detail" class="mt-1 text-gray-500 text-xs dark:text-neutral-500">{{ item.detail }}</p>
29
+ </article>
32
30
  </section>
@@ -79,9 +79,7 @@ function emitItemsPerPage(event: Event): void {
79
79
  <label :if="showItemsPerPage()" class="flex gap-2 items-center">
80
80
  <span>Show</span>
81
81
  <select x-model.number="selectedItemsPerPage" class="px-2 py-1.5 text-neutral-700 text-sm dark:text-neutral-200 bg-white dark:bg-neutral-800 border border-neutral-300 rounded-md dark:border-neutral-600" @change="emitItemsPerPage($event)">
82
- <template :for="option in perPageOptions">
83
- <option :value="option">{{ option }}</option>
84
- </template>
82
+ <option :for="option in perPageOptions" :value="option">{{ option }}</option>
85
83
  </select>
86
84
  <span>per page</span>
87
85
  </label>
@@ -99,7 +97,7 @@ function emitItemsPerPage(event: Event): void {
99
97
  <span class="block h-5 w-5 i-hugeicons-arrow-left-01"></span>
100
98
  </Button>
101
99
 
102
- <template :for="page in visiblePages()">
100
+ <div :for="page in visiblePages()" class="contents">
103
101
  <span :if="typeof page !== 'number'" class="px-2 text-neutral-500 dark:text-neutral-500">...</span>
104
102
  <Button :if="typeof page === 'number' && page === currentPage()" @click="goToPage(page)">
105
103
  <span aria-current="page">{{ page }}</span>
@@ -107,7 +105,7 @@ function emitItemsPerPage(event: Event): void {
107
105
  <Button :if="typeof page === 'number' && page !== currentPage()" variant="secondary" @click="goToPage(page)">
108
106
  {{ page }}
109
107
  </Button>
110
- </template>
108
+ </div>
111
109
 
112
110
  <Button variant="secondary" iconOnly :disabled="currentPage() >= totalPages()" ariaLabel="Next page" @click="nextPage">
113
111
  <span class="block h-5 w-5 i-hugeicons-arrow-right-01"></span>
@@ -35,7 +35,7 @@ function toneClass(link: QuickLink): string {
35
35
  <section :class="customClass()">
36
36
  <h2 class="mb-4 font-semibold text-base text-neutral-900 dark:text-white">{{ title() }}</h2>
37
37
  <div class="grid gap-4 grid-cols-1 sm:grid-cols-2 lg:grid-cols-4">
38
- <template :for="link in validLinks()">
38
+ <div :for="link in validLinks()" class="contents">
39
39
  <a
40
40
  :if="isExternal(link.href)"
41
41
  :href="link.href"
@@ -68,6 +68,6 @@ function toneClass(link: QuickLink): string {
68
68
  </div>
69
69
  </div>
70
70
  </StxLink>
71
- </template>
71
+ </div>
72
72
  </div>
73
73
  </section>
@@ -77,6 +77,7 @@ function handleChange(event: Event): void {
77
77
 
78
78
  <div class="relative">
79
79
  <select
80
+ data-ui-select
80
81
  :id="selectId()"
81
82
  :name="liveName() || null"
82
83
  :aria-label="liveAriaLabel() || liveLabel() || null"