shiki 3.22.0 → 4.0.0
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/dist/bundle-full.d.mts +16 -19
- package/dist/bundle-full.mjs +40 -23
- package/dist/bundle-web.d.mts +17 -20
- package/dist/bundle-web.mjs +351 -355
- package/dist/chunk-CtajNgzt.mjs +36 -0
- package/dist/core-unwasm.d.mts +1 -1
- package/dist/core-unwasm.mjs +12 -3
- package/dist/core.d.mts +2 -5
- package/dist/core.mjs +5 -1
- package/dist/engine-javascript.d.mts +1 -1
- package/dist/engine-javascript.mjs +3 -1
- package/dist/engine-oniguruma.d.mts +1 -1
- package/dist/engine-oniguruma.mjs +11 -1
- package/dist/index.d.mts +15 -10
- package/dist/index.mjs +34 -6
- package/dist/langs/bird.d.mts +1 -0
- package/dist/langs/bird.mjs +1 -0
- package/dist/langs/bird2.d.mts +1 -0
- package/dist/langs/bird2.mjs +1 -0
- package/dist/langs/just.d.mts +1 -0
- package/dist/langs/just.mjs +1 -0
- package/dist/langs/nextflow-groovy.d.mts +1 -0
- package/dist/langs/nextflow-groovy.mjs +1 -0
- package/dist/langs-bundle-full-C-zczmvu.d.mts +14 -0
- package/dist/langs-bundle-full-CQWtMIqW.mjs +1284 -0
- package/dist/langs.d.mts +2 -14
- package/dist/langs.mjs +2 -1411
- package/dist/textmate.d.mts +1 -1
- package/dist/textmate.mjs +3 -1
- package/dist/themes/horizon-bright.d.mts +1 -0
- package/dist/themes/horizon-bright.mjs +1 -0
- package/dist/themes.d.mts +5 -5
- package/dist/themes.mjs +393 -385
- package/dist/types.d.mts +7 -8
- package/dist/types.mjs +1 -1
- package/dist/wasm.d.mts +3 -2
- package/dist/wasm.mjs +5 -2
- package/package.json +14 -11
package/dist/textmate.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "@shikijs/vscode-textmate";
|
package/dist/textmate.mjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { ThemeRegistrationRaw } from '@shikijs/core';declare const reg: ThemeRegistrationRaw;export default reg
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from '@shikijs/themes/horizon-bright'
|
package/dist/themes.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BundledThemeInfo, DynamicImportThemeRegistration } from "@shikijs/core";
|
|
2
2
|
|
|
3
|
+
//#region src/themes.d.ts
|
|
3
4
|
declare const bundledThemesInfo: BundledThemeInfo[];
|
|
4
|
-
type BundledTheme = 'andromeeda' | 'aurora-x' | 'ayu-dark' | 'ayu-light' | 'ayu-mirage' | 'catppuccin-frappe' | 'catppuccin-latte' | 'catppuccin-macchiato' | 'catppuccin-mocha' | 'dark-plus' | 'dracula' | 'dracula-soft' | 'everforest-dark' | 'everforest-light' | 'github-dark' | 'github-dark-default' | 'github-dark-dimmed' | 'github-dark-high-contrast' | 'github-light' | 'github-light-default' | 'github-light-high-contrast' | 'gruvbox-dark-hard' | 'gruvbox-dark-medium' | 'gruvbox-dark-soft' | 'gruvbox-light-hard' | 'gruvbox-light-medium' | 'gruvbox-light-soft' | 'horizon' | 'houston' | 'kanagawa-dragon' | 'kanagawa-lotus' | 'kanagawa-wave' | 'laserwave' | 'light-plus' | 'material-theme' | 'material-theme-darker' | 'material-theme-lighter' | 'material-theme-ocean' | 'material-theme-palenight' | 'min-dark' | 'min-light' | 'monokai' | 'night-owl' | 'night-owl-light' | 'nord' | 'one-dark-pro' | 'one-light' | 'plastic' | 'poimandres' | 'red' | 'rose-pine' | 'rose-pine-dawn' | 'rose-pine-moon' | 'slack-dark' | 'slack-ochin' | 'snazzy-light' | 'solarized-dark' | 'solarized-light' | 'synthwave-84' | 'tokyo-night' | 'vesper' | 'vitesse-black' | 'vitesse-dark' | 'vitesse-light';
|
|
5
|
+
type BundledTheme = 'andromeeda' | 'aurora-x' | 'ayu-dark' | 'ayu-light' | 'ayu-mirage' | 'catppuccin-frappe' | 'catppuccin-latte' | 'catppuccin-macchiato' | 'catppuccin-mocha' | 'dark-plus' | 'dracula' | 'dracula-soft' | 'everforest-dark' | 'everforest-light' | 'github-dark' | 'github-dark-default' | 'github-dark-dimmed' | 'github-dark-high-contrast' | 'github-light' | 'github-light-default' | 'github-light-high-contrast' | 'gruvbox-dark-hard' | 'gruvbox-dark-medium' | 'gruvbox-dark-soft' | 'gruvbox-light-hard' | 'gruvbox-light-medium' | 'gruvbox-light-soft' | 'horizon' | 'horizon-bright' | 'houston' | 'kanagawa-dragon' | 'kanagawa-lotus' | 'kanagawa-wave' | 'laserwave' | 'light-plus' | 'material-theme' | 'material-theme-darker' | 'material-theme-lighter' | 'material-theme-ocean' | 'material-theme-palenight' | 'min-dark' | 'min-light' | 'monokai' | 'night-owl' | 'night-owl-light' | 'nord' | 'one-dark-pro' | 'one-light' | 'plastic' | 'poimandres' | 'red' | 'rose-pine' | 'rose-pine-dawn' | 'rose-pine-moon' | 'slack-dark' | 'slack-ochin' | 'snazzy-light' | 'solarized-dark' | 'solarized-light' | 'synthwave-84' | 'tokyo-night' | 'vesper' | 'vitesse-black' | 'vitesse-dark' | 'vitesse-light';
|
|
5
6
|
declare const bundledThemes: Record<BundledTheme, DynamicImportThemeRegistration>;
|
|
6
|
-
|
|
7
|
-
export { bundledThemes, bundledThemesInfo };
|
|
8
|
-
export type { BundledTheme };
|
|
7
|
+
//#endregion
|
|
8
|
+
export { BundledTheme, bundledThemes, bundledThemesInfo };
|