@stacksjs/defaults 0.75.328 → 0.75.330
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.
- package/ai/skills/stacks-dashboard/SKILL.md +2 -2
- package/ai/skills/stacks-native/CATALOG.md +2 -2
- package/ide/vscode/package.json +1 -1
- package/package.json +4 -4
- package/resources/components/Dashboard/Auth/ForgotPassword.stx +1 -1
- package/resources/components/Dashboard/Ci/CiDashboard.stx +7 -7
- package/resources/components/Dashboard/Ci/CiRunHistoryDrawer.stx +3 -3
- package/resources/components/Dashboard/Commerce/CommerceCategoriesTable.stx +1 -1
- package/resources/components/Dashboard/Commerce/CommerceCategoryDetailsDialog.stx +5 -5
- package/resources/components/Dashboard/Commerce/CommerceCategoryDialog.stx +2 -2
- package/resources/components/Dashboard/Commerce/CommerceCategoryHierarchy.stx +2 -2
- package/resources/components/Dashboard/Commerce/CommerceCouponBreakdown.stx +1 -1
- package/resources/components/Dashboard/Commerce/CommerceCouponDetailsDialog.stx +9 -9
- package/resources/components/Dashboard/Commerce/CommerceCouponDialog.stx +1 -1
- package/resources/components/Dashboard/Commerce/CommerceCustomerDetailsDialog.stx +5 -5
- package/resources/components/Dashboard/Commerce/CommerceCustomerDialog.stx +2 -2
- package/resources/components/Dashboard/Commerce/CommerceCustomersTable.stx +1 -1
- package/resources/components/Dashboard/Commerce/CommerceGiftCardBreakdown.stx +1 -1
- package/resources/components/Dashboard/Commerce/CommerceGiftCardDetailsDialog.stx +11 -11
- package/resources/components/Dashboard/Commerce/CommerceOrderDetailsDialog.stx +13 -13
- package/resources/components/Dashboard/Commerce/CommercePaymentsBreakdown.stx +2 -2
- package/resources/components/Dashboard/Commerce/CommercePosCart.stx +1 -1
- package/resources/components/Dashboard/Commerce/CommercePosCatalog.stx +1 -1
- package/resources/components/Dashboard/Commerce/CommercePosReceiptDialog.stx +1 -1
- package/resources/components/Dashboard/Commerce/CommerceProductDetailDashboard.stx +8 -8
- package/resources/components/Dashboard/Commerce/CommerceProductDialog.stx +1 -1
- package/resources/components/Dashboard/Commerce/CommerceProductsTable.stx +2 -2
- package/resources/components/Dashboard/Commerce/CommerceReviewsTable.stx +1 -1
- package/resources/components/Dashboard/Commerce/CommerceVariantsTable.stx +1 -1
- package/resources/components/Dashboard/Commerce/Delivery/DeliveryOverviewDashboard.stx +1 -1
- package/resources/components/Dashboard/Commerce/Delivery/DigitalDeliveryDialog.stx +2 -2
- package/resources/components/Dashboard/Commerce/PaymentDetailsDialog.stx +3 -3
- package/resources/components/Dashboard/Commerce/PrintDeviceDetailsDialog.stx +6 -6
- package/resources/components/Dashboard/Commerce/PrintLogBreakdown.stx +1 -1
- package/resources/components/Dashboard/Commerce/PrintLogDetailsDialog.stx +2 -2
- package/resources/components/Dashboard/Commerce/PrintLogsTable.stx +3 -3
- package/resources/components/Dashboard/Content/AuthorsDashboard.stx +1 -1
- package/resources/components/Dashboard/Content/CommentsDashboard.stx +1 -1
- package/resources/components/Dashboard/Content/ContentTaxonomyDashboard.stx +1 -1
- package/resources/components/Dashboard/Content/FileManagerDashboard.stx +53 -61
- package/resources/components/Dashboard/Content/FileStoragePanel.stx +99 -0
- package/resources/components/Dashboard/Content/FileUploadDialog.stx +1 -1
- package/resources/components/Dashboard/Content/PagesDashboard.stx +1 -1
- package/resources/components/Dashboard/Content/PostEditorDialog.stx +2 -2
- package/resources/components/Dashboard/Content/PostsDashboard.stx +1 -1
- package/resources/components/Dashboard/Content/SeoEditorDialog.stx +1 -1
- package/resources/components/Dashboard/Deployments/DeploymentPreviewDialog.stx +1 -1
- package/resources/components/Dashboard/Email/CapturedMailDetail.stx +1 -1
- package/resources/components/Dashboard/Feedback/FeedbackForm.stx +4 -4
- package/resources/components/Dashboard/FileViewer/MediaCard.stx +1 -1
- package/resources/components/Dashboard/FileViewer/MediaInfoPanel.stx +4 -4
- package/resources/components/Dashboard/GlobalSearch.stx +4 -4
- package/resources/components/Dashboard/Infrastructure/CloudDashboard.stx +1 -1
- package/resources/components/Dashboard/Infrastructure/DnsDashboard.stx +2 -2
- package/resources/components/Dashboard/Infrastructure/LogsDashboard.stx +2 -2
- package/resources/components/Dashboard/Infrastructure/MailboxesDashboard.stx +3 -3
- package/resources/components/Dashboard/Infrastructure/ServerlessDashboard.stx +2 -2
- package/resources/components/Dashboard/Infrastructure/ServersDashboard.stx +5 -5
- package/resources/components/Dashboard/Kanban/KanbanBoardDashboard.stx +1 -1
- package/resources/components/Dashboard/Kanban/KanbanBoardsDashboard.stx +2 -2
- package/resources/components/Dashboard/Kanban/KanbanCardDialog.stx +8 -8
- package/resources/components/Dashboard/Marketing/AbandonedCartsDashboard.stx +5 -5
- package/resources/components/Dashboard/Marketing/CampaignsDashboard.stx +5 -5
- package/resources/components/Dashboard/Marketing/MarketingListsDashboard.stx +4 -4
- package/resources/components/Dashboard/Marketing/SocialPostsDashboard.stx +4 -4
- package/resources/components/Dashboard/Models/ModelsOverview.stx +1 -1
- package/resources/components/Dashboard/Navbar.stx +2 -2
- package/resources/components/Dashboard/Operations/AuditDashboard.stx +1 -1
- package/resources/components/Dashboard/Operations/OperationHistory.stx +1 -1
- package/resources/components/Dashboard/Operations/RecoveryJobList.stx +1 -1
- package/resources/components/Dashboard/Remote/RemoteConsole.stx +1 -1
- package/resources/components/Dashboard/Settings/SettingsDashboard.stx +1 -1
- package/resources/components/Dashboard/UI/Checkbox.stx +1 -1
- package/resources/components/Dashboard/UI/MetricCards.stx +1 -1
- package/resources/components/Dashboard/UI/Pagination.stx +1 -1
- package/resources/components/Dashboard/UI/Tabs.stx +7 -4
- package/resources/components/Dashboard/UI/Textarea.stx +2 -2
- package/resources/components/Dashboard/UI/Toggle.stx +1 -1
|
@@ -26,7 +26,10 @@ const sizeClasses: Record<TabsSize, string> = {
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
const containerClasses: Record<TabsVariant, string> = {
|
|
29
|
-
|
|
29
|
+
// An inset shadow, not a border: the list scrolls sideways on a narrow
|
|
30
|
+
// screen, and a scroller clips anything (like a tab pulled over a border)
|
|
31
|
+
// that hangs outside it. The selected tab's underline still covers it.
|
|
32
|
+
underline: 'shadow-[inset_0_-1px_0_#e5e5e5] dark:shadow-[inset_0_-1px_0_#404040]',
|
|
30
33
|
pills: 'gap-2 bg-neutral-100 dark:bg-neutral-800 p-1 rounded-lg',
|
|
31
34
|
boxed: 'border border-neutral-200 dark:border-neutral-700 rounded-lg p-1',
|
|
32
35
|
}
|
|
@@ -48,7 +51,7 @@ function selectTab(tab: DashboardTab): void {
|
|
|
48
51
|
function tabClass(tab: DashboardTab): string {
|
|
49
52
|
const selected = activeTab() === tab.id
|
|
50
53
|
const common = [
|
|
51
|
-
'inline-flex items-center justify-center gap-2 font-medium transition-all duration-150',
|
|
54
|
+
'inline-flex shrink-0 items-center justify-center gap-2 font-medium whitespace-nowrap transition-all duration-150 focus-visible:outline-offset-[-2px]',
|
|
52
55
|
sizeClasses[size()],
|
|
53
56
|
fullWidth() ? 'flex-1' : '',
|
|
54
57
|
tab.disabled ? 'opacity-50 cursor-not-allowed' : 'cursor-pointer',
|
|
@@ -67,7 +70,7 @@ function tabClass(tab: DashboardTab): string {
|
|
|
67
70
|
: 'text-neutral-500 hover:text-neutral-700 hover:bg-neutral-50 dark:text-neutral-400 dark:hover:text-neutral-200 dark:hover:bg-neutral-800/50')
|
|
68
71
|
}
|
|
69
72
|
else {
|
|
70
|
-
common.push('
|
|
73
|
+
common.push('border-b-2')
|
|
71
74
|
common.push(selected
|
|
72
75
|
? 'border-blue-500 text-blue-600 dark:text-blue-400'
|
|
73
76
|
: 'border-transparent text-neutral-500 hover:text-neutral-700 hover:border-neutral-300 dark:text-neutral-400 dark:hover:text-neutral-200')
|
|
@@ -83,7 +86,7 @@ function badgeClass(tab: DashboardTab): string {
|
|
|
83
86
|
}
|
|
84
87
|
</script>
|
|
85
88
|
|
|
86
|
-
<div role="tablist" :class="'flex ' + (fullWidth() ? 'w-full ' : '') + containerClasses[variant()]">
|
|
89
|
+
<div role="tablist" :class="'flex overflow-x-auto ' + (fullWidth() ? 'w-full ' : '') + containerClasses[variant()]">
|
|
87
90
|
<template :for="tab in tabs()">
|
|
88
91
|
<button
|
|
89
92
|
type="button"
|
|
@@ -77,7 +77,7 @@ function handleBlur(event: Event): void {
|
|
|
77
77
|
</label>
|
|
78
78
|
<span
|
|
79
79
|
:if="liveShowCount() && liveMaxLength()"
|
|
80
|
-
class="text-neutral-
|
|
80
|
+
class="text-neutral-500 text-xs dark:text-neutral-500"
|
|
81
81
|
:text="limitedCountLabel()"
|
|
82
82
|
></span>
|
|
83
83
|
</div>
|
|
@@ -103,7 +103,7 @@ function handleBlur(event: Event): void {
|
|
|
103
103
|
|
|
104
104
|
<span
|
|
105
105
|
:if="liveShowCount() && !liveMaxLength()"
|
|
106
|
-
class="absolute bottom-2 right-2 px-1 text-neutral-
|
|
106
|
+
class="absolute bottom-2 right-2 px-1 text-neutral-500 text-xs dark:text-neutral-500 bg-white dark:bg-neutral-900"
|
|
107
107
|
:text="openCountLabel()"
|
|
108
108
|
></span>
|
|
109
109
|
</div>
|
|
@@ -51,7 +51,7 @@ const thumbClass = derived(() => [
|
|
|
51
51
|
].join(' '))
|
|
52
52
|
const labelClass = derived(() => [
|
|
53
53
|
'text-[13px] font-medium tracking-tight',
|
|
54
|
-
liveDisabled() ? 'text-neutral-
|
|
54
|
+
liveDisabled() ? 'text-neutral-500 dark:text-neutral-600' : 'text-neutral-700 dark:text-neutral-200',
|
|
55
55
|
].join(' '))
|
|
56
56
|
const descriptionClass = derived(() => [
|
|
57
57
|
'mt-0.5 text-[12px]',
|