@docubook/create 1.13.5 → 1.13.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docubook/create",
3
- "version": "1.13.5",
3
+ "version": "1.13.6",
4
4
  "main": "src/index.js",
5
5
  "type": "module",
6
6
  "bin": {
@@ -25,7 +25,7 @@ export default function Home() {
25
25
  )}
26
26
  >
27
27
  <AnimatedShinyText className="inline-flex items-center justify-center px-4 py-1 transition ease-out hover:text-neutral-100 hover:duration-300 hover:dark:text-neutral-200">
28
- <span>🚀 New Version - Release v1.13.5</span>
28
+ <span>🚀 New Version - Release v1.13.6</span>
29
29
  <ArrowRightIcon className="ml-1 size-3 transition-transform duration-300 ease-in-out group-hover:translate-x-0.5" />
30
30
  </AnimatedShinyText>
31
31
  </div>
@@ -9,7 +9,7 @@ import {
9
9
  } from "@/components/ui/sheet";
10
10
  import { Logo, NavMenu } from "@/components/navbar";
11
11
  import { Button } from "@/components/ui/button";
12
- import { AlignLeftIcon, PanelLeftClose, PanelLeftOpen } from "lucide-react";
12
+ import { LayoutGrid, PanelLeftClose, PanelLeftOpen } from "lucide-react";
13
13
  import { DialogTitle, DialogDescription } from "@/components/ui/dialog";
14
14
  import { ScrollArea } from "@/components/ui/scroll-area";
15
15
  import DocsMenu from "@/components/docs-menu";
@@ -70,7 +70,7 @@ export function SheetLeftbar() {
70
70
  <Sheet>
71
71
  <SheetTrigger asChild>
72
72
  <Button variant="ghost" size="icon" className="max-lg:flex hidden">
73
- <AlignLeftIcon />
73
+ <LayoutGrid />
74
74
  </Button>
75
75
  </SheetTrigger>
76
76
  <SheetContent className="flex flex-col gap-4 px-0" side="left">
@@ -132,10 +132,10 @@ export default function Search() {
132
132
  <div className="relative flex-1 cursor-pointer max-w-[140px]">
133
133
  <div className="flex items-center">
134
134
  <div className="md:hidden p-2 -ml-2">
135
- <SearchIcon className="h-5 w-5 text-stone-500 dark:text-stone-400" />
135
+ <SearchIcon className="h-5 w-5 text-muted-foreground" />
136
136
  </div>
137
137
  <div className="hidden md:block w-full">
138
- <SearchIcon className="absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-stone-500 dark:text-stone-400" />
138
+ <SearchIcon className="absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" />
139
139
  <Input
140
140
  className="w-full rounded-full dark:bg-background/95 bg-background border h-9 pl-10 pr-0 sm:pr-4 text-sm shadow-sm overflow-ellipsis"
141
141
  placeholder="Search"
@@ -8,6 +8,18 @@ date: 24-05-2025
8
8
  This changelog contains a list of all the changes made to the DocuBook template. It will be updated with each new release and will include information about new features, bug fixes, and other improvements.
9
9
  </Note>
10
10
 
11
+ <div className="sr-only">
12
+ ### v 1.13.6
13
+ </div>
14
+
15
+ <Release version="1.13.6" date="2025-06-01" title="Improve sheet leftbar and search icon">
16
+ <Changes type="improved">
17
+ - Improve sheet leftbar and search icon
18
+ - color scheme for sheet leftbar
19
+ - color scheme for search icon
20
+ </Changes>
21
+ </Release>
22
+
11
23
  <div className="sr-only">
12
24
  ### v 1.13.5
13
25
  </div>
@@ -6,7 +6,7 @@ date: 29-11-2024
6
6
 
7
7
  ## app
8
8
 
9
- This folder contains the main application code for Next.js, managing layouts, routing, and specific content pages. It is organized to support both the `docs` and `blog` sections, with dedicated pages and layouts for each section.
9
+ This folder contains the main application code for Next.js, managing layouts, routing, and specific content pages. It is organized to support both the `docs` sections, with dedicated pages and layouts for each section.
10
10
 
11
11
  ```
12
12
  app // Main Next.js application folder
@@ -6,8 +6,6 @@ date: 2025-05-30
6
6
 
7
7
  ## Styles
8
8
 
9
- DocuBook comes with a carefully designed color system that ensures consistency and accessibility across your documentation. The theme includes both light and dark modes, automatically adapting to the user's system preferences.
10
-
11
9
  <Note type="note" title="note">
12
10
  You can override the default styles by adding your own CSS variables in the `globals.css` and `syntax.css` files.
13
11
  </Note>
@@ -5,9 +5,6 @@ date: 2025-05-20
5
5
  ---
6
6
 
7
7
  ## Styles
8
-
9
- DocuBook comes with a carefully designed color system that ensures consistency and accessibility across your documentation. The theme includes both light and dark modes, automatically adapting to the user's system preferences.
10
-
11
8
  <Note type="note" title="note">
12
9
  You can override the default styles by adding your own CSS variables in the `globals.css` and `syntax.css` files.
13
10
  </Note>
@@ -5,9 +5,6 @@ date: 2025-05-30
5
5
  ---
6
6
 
7
7
  ## Styles
8
-
9
- DocuBook comes with a carefully designed color system that ensures consistency and accessibility across your documentation. The theme includes both light and dark modes, automatically adapting to the user's system preferences.
10
-
11
8
  <Note type="note" title="note">
12
9
  You can override the default styles by adding your own CSS variables in the `globals.css` and `syntax.css` files.
13
10
  </Note>
@@ -7,6 +7,14 @@ date: 2025-05-31
7
7
  ## Introduction
8
8
  This document explains how to create and implement custom color themes using AI with LLMS context. The context includes a consistent color palette for both light and dark modes, along with syntax highlighting colors for code.
9
9
 
10
+ ## File Structure
11
+ <Files>
12
+ <Folder name="styles">
13
+ <File name="globals.css" />
14
+ <File name="syntax.css" />
15
+ </Folder>
16
+ </Files>
17
+
10
18
  ## Generate New Theme
11
19
 
12
20
  <Stepper>
@@ -24,11 +32,14 @@ This document explains how to create and implement custom color themes using AI
24
32
 
25
33
  ```markdown
26
34
  Create a new color theme based on the provided context with the following requirements:
27
- 1. Different primary color `#2281E3` - changes to your brand color
35
+ 1. Different primary color #2281E3
28
36
  2. Maintain good contrast for accessibility
29
37
  3. Include variants for both light and dark modes
30
38
  4. Keep the same structure as the provided context
31
39
  ```
40
+ <Note type="danger" title="Colors example">
41
+ changes the value of Hex color `#2281E3` into your brand colors.
42
+ </Note>
32
43
  </StepperItem>
33
44
  </Stepper>
34
45
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docubook",
3
- "version": "1.13.5",
3
+ "version": "1.13.6",
4
4
  "private": true,
5
5
  "scripts": {
6
6
  "dev": "next dev",