|
4 | 4 |
|
5 | 5 | ### Minor Changes
|
6 | 6 |
|
7 |
| -- 6d22c8f: export a `style-prefixed.css` file with Tailwind CSS v4 prefixed layers for projects using Tailwind CSS v3 |
| 7 | +- 6d22c8f: export a `style-prefixed.css` file with Tailwind CSS v4 prefixed |
| 8 | + layers for projects using Tailwind CSS v3 |
8 | 9 |
|
9 | 10 | - `@layer utilities` -> `@layer v4-utilities`
|
10 | 11 | - `@layer base` -> `@layer v4-base`
|
|
398 | 399 | by
|
399 | 400 |
|
400 | 401 | ```js
|
401 |
| - import "nextra-theme-docs/style.css"; // for docs theme |
402 |
| - import "nextra-theme-blog/style.css"; // for blog theme |
| 402 | + import 'nextra-theme-docs/style.css' // for docs theme |
| 403 | + import 'nextra-theme-blog/style.css' // for blog theme |
403 | 404 | ```
|
404 | 405 |
|
405 | 406 | - Updated dependencies [2c8a8ab]
|
|
1898 | 1899 | and `nextra-theme-docs`
|
1899 | 1900 |
|
1900 | 1901 | ```js
|
1901 |
| - import { Card, Cards } from "nextra/components"; |
| 1902 | + import { Card, Cards } from 'nextra/components' |
1902 | 1903 | ```
|
1903 | 1904 |
|
1904 | 1905 | ```js
|
1905 |
| - import { Tab, Tabs } from "nextra/components"; |
| 1906 | + import { Tab, Tabs } from 'nextra/components' |
1906 | 1907 | ```
|
1907 | 1908 |
|
1908 | 1909 | ```js
|
1909 |
| - import { Steps } from "nextra/components"; |
| 1910 | + import { Steps } from 'nextra/components' |
1910 | 1911 | ```
|
1911 | 1912 |
|
1912 | 1913 | ```js
|
1913 |
| - import { FileTree } from "nextra/components"; |
| 1914 | + import { FileTree } from 'nextra/components' |
1914 | 1915 | ```
|
1915 | 1916 |
|
1916 | 1917 | ### Patch Changes
|
|
2486 | 2487 | - 582ad96: feat: bump `rehype-pretty-code` version, support `showLineNumbers`
|
2487 | 2488 | - da998e6: move react components to `components` folder and replace exports:
|
2488 | 2489 | ```ts
|
2489 |
| - import Bleed from "nextra-theme-docs/bleed"; |
2490 |
| - import Callout from "nextra-theme-docs/callout"; |
2491 |
| - import Collapse from "nextra-theme-docs/collapse"; |
2492 |
| - import { Tab, Tabs } from "nextra-theme-docs/tabs"; |
| 2490 | + import Bleed from 'nextra-theme-docs/bleed' |
| 2491 | + import Callout from 'nextra-theme-docs/callout' |
| 2492 | + import Collapse from 'nextra-theme-docs/collapse' |
| 2493 | + import { Tab, Tabs } from 'nextra-theme-docs/tabs' |
2493 | 2494 | ```
|
2494 | 2495 | by
|
2495 | 2496 | ```ts
|
2496 |
| - import { Bleed, Callout, Collapse, Tab, Tabs } from "nextra-theme-docs"; |
| 2497 | + import { Bleed, Callout, Collapse, Tab, Tabs } from 'nextra-theme-docs' |
2497 | 2498 | ```
|
2498 | 2499 | - e6771ca: move `withLayout` logic directly in nextra loader
|
2499 | 2500 | - 8ad9507: fix unable expanding folder items in sidebar
|
|
2813 | 2814 | - 48e0ac2: export `useConfig` and `useTheme`
|
2814 | 2815 | - da998e6: move react components to `components` folder and replace exports:
|
2815 | 2816 | ```ts
|
2816 |
| - import Bleed from "nextra-theme-docs/bleed"; |
2817 |
| - import Callout from "nextra-theme-docs/callout"; |
2818 |
| - import Collapse from "nextra-theme-docs/collapse"; |
2819 |
| - import { Tab, Tabs } from "nextra-theme-docs/tabs"; |
| 2817 | + import Bleed from 'nextra-theme-docs/bleed' |
| 2818 | + import Callout from 'nextra-theme-docs/callout' |
| 2819 | + import Collapse from 'nextra-theme-docs/collapse' |
| 2820 | + import { Tab, Tabs } from 'nextra-theme-docs/tabs' |
2820 | 2821 | ```
|
2821 | 2822 | by
|
2822 | 2823 | ```ts
|
2823 |
| - import { Bleed, Callout, Collapse, Tab, Tabs } from "nextra-theme-docs"; |
| 2824 | + import { Bleed, Callout, Collapse, Tab, Tabs } from 'nextra-theme-docs' |
2824 | 2825 | ```
|
2825 | 2826 | - 43409ad: fix: mdx theme is missing
|
2826 | 2827 |
|
|
0 commit comments