betterstart-cli 0.0.120 → 0.0.122

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.
@@ -13,6 +13,7 @@
13
13
  --color-sidebar-ring: var(--sidebar-ring);
14
14
  --color-sidebar-border: var(--sidebar-border);
15
15
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
16
+ --color-sidebar-accent-light: var(--sidebar-accent-light);
16
17
  --color-sidebar-accent: var(--sidebar-accent);
17
18
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
18
19
  --color-sidebar-primary: var(--sidebar-primary);
@@ -259,6 +260,7 @@
259
260
  --sidebar-foreground: var(--ds-gray-900);
260
261
  --sidebar-primary: var(--ds-gray-1000);
261
262
  --sidebar-primary-foreground: var(--ds-background-100);
263
+ --sidebar-accent-light: var(--ds-gray-100);
262
264
  --sidebar-accent: var(--ds-gray-200);
263
265
  --sidebar-accent-foreground: var(--ds-gray-1000);
264
266
  --sidebar-border: var(--ds-gray-400);
@@ -415,13 +415,14 @@ function SidebarMenuItem({ className, ...props }: React.ComponentProps<'li'>) {
415
415
  }
416
416
 
417
417
  const sidebarMenuButtonVariants = cva(
418
- 'peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded px-3 py-2 text-left ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:font-medium data-active:text-sidebar-accent-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate',
418
+ 'peer/menu-button group/menu-button flex w-full items-center gap-2 overflow-hidden rounded px-3 py-2 text-left font-medium ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent-light hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-active:hover:bg-sidebar-accent [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate',
419
419
  {
420
420
  variants: {
421
421
  variant: {
422
- default: 'hover:bg-sidebar-accent hover:text-sidebar-accent-foreground',
422
+ default:
423
+ 'hover:bg-sidebar-accent-light hover:text-sidebar-accent-foreground data-active:hover:bg-sidebar-accent',
423
424
  outline:
424
- 'bg-background shadow-[0_0_0_1px_var(--sidebar-border)] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--sidebar-accent)]'
425
+ 'bg-background shadow-[0_0_0_1px_var(--sidebar-border)] hover:bg-sidebar-accent-light hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_var(--sidebar-accent)] data-active:hover:bg-sidebar-accent'
425
426
  },
426
427
  size: {
427
428
  default: 'h-9',
package/dist/cli.js CHANGED
@@ -6966,7 +6966,7 @@ ${deleteTransition}${bulkDeleteHandler}
6966
6966
  actions={
6967
6967
  <div className="flex items-center gap-1">
6968
6968
  <${devModeIntegrateButtonExportName} initialSettings={initialSettings} />${exportButton}
6969
- <Button variant="outline" render={<Link href="${adminRoutePath}/settings/forms" />}>
6969
+ <Button variant="outline" nativeButton={false} render={<Link href="${adminRoutePath}/settings/forms" />}>
6970
6970
  <Settings className="size-3.5" />
6971
6971
  Settings
6972
6972
  </Button>
@@ -21158,7 +21158,7 @@ function renderPageContentActionButtonsTemplate2({
21158
21158
  schemaName,
21159
21159
  singularizeLabel: singularizeLabel2
21160
21160
  }) {
21161
- return `<Button render={<Link href="${adminRoutePath}/${schemaName}/new" />}>
21161
+ return `<Button nativeButton={false} render={<Link href="${adminRoutePath}/${schemaName}/new" />}>
21162
21162
  Create ${singularizeLabel2}
21163
21163
  </Button>`;
21164
21164
  }