@unterberg/nivel 0.2.43 → 0.2.46
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/README.md +1 -1
- package/dist/{chunk-XIPY2CH4.js → chunk-BRLIMUNM.js} +39 -4
- package/dist/chunk-BRLIMUNM.js.map +1 -0
- package/dist/{chunk-WMHFKLPG.js → chunk-KIBIF3Y6.js} +15 -1
- package/dist/chunk-KIBIF3Y6.js.map +1 -0
- package/dist/{chunk-G4RLTQC2.js → chunk-MUNS2MZP.js} +2 -2
- package/dist/{chunk-WZS64OT2.js → chunk-OMA4T46A.js} +2 -2
- package/dist/chunk-TFL3J5J2.js +14673 -0
- package/dist/chunk-TFL3J5J2.js.map +1 -0
- package/dist/cli.js +1 -1
- package/dist/client.d.ts +2 -2
- package/dist/client.js +7 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -2
- package/dist/mdx/code-blocks.d.ts +1 -1
- package/dist/mdx.js +2 -2
- package/dist/{LayoutComponent-DPqs0YEs.d.ts → nivelActionEvents-DvOdNHlG.d.ts} +14 -1
- package/dist/runtime/client.d.ts +2 -2
- package/dist/runtime/client.js +7 -2
- package/dist/runtime/node.d.ts +1 -1
- package/dist/runtime/node.js +2 -2
- package/dist/types-BhEjFwpG.d.ts +237 -0
- package/dist/vike.d.ts +1 -1
- package/dist/vike.js +2 -2
- package/package.json +2 -1
- package/dist/chunk-OVP4OFUG.js +0 -1353
- package/dist/chunk-OVP4OFUG.js.map +0 -1
- package/dist/chunk-WMHFKLPG.js.map +0 -1
- package/dist/chunk-XIPY2CH4.js.map +0 -1
- package/dist/types-CV6MtL1O.d.ts +0 -238
- /package/dist/{chunk-G4RLTQC2.js.map → chunk-MUNS2MZP.js.map} +0 -0
- /package/dist/{chunk-WZS64OT2.js.map → chunk-OMA4T46A.js.map} +0 -0
package/dist/cli.js
CHANGED
package/dist/client.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ReactNode, ComponentType } from 'react';
|
|
4
|
-
export { L as LayoutComponent } from './
|
|
4
|
+
export { L as LayoutComponent, N as NIVEL_ACTION_EVENT, a as NivelActionEventDetail, d as dispatchNivelAction } from './nivelActionEvents-DvOdNHlG.js';
|
|
5
5
|
import * as _classmatejs_react from '@classmatejs/react';
|
|
6
|
-
import { D as DocsConfig, T as ThemePreference, b as DocsThemeConfig } from './types-
|
|
6
|
+
import { D as DocsConfig, T as ThemePreference, b as DocsThemeConfig } from './types-BhEjFwpG.js';
|
|
7
7
|
import * as zustand_middleware from 'zustand/middleware';
|
|
8
8
|
import * as zustand from 'zustand';
|
|
9
9
|
import 'lucide-react';
|
package/dist/client.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
UserSettingsSync,
|
|
9
9
|
applyThemePreference,
|
|
10
10
|
useDocsUserSettingsStore
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OMA4T46A.js";
|
|
12
12
|
import {
|
|
13
13
|
useDocsSearchActions,
|
|
14
14
|
useDocsSearchStore,
|
|
@@ -16,7 +16,10 @@ import {
|
|
|
16
16
|
useDocsSidebarStore
|
|
17
17
|
} from "./chunk-US7NPQZ6.js";
|
|
18
18
|
import "./chunk-AT4O3RRN.js";
|
|
19
|
-
import
|
|
19
|
+
import {
|
|
20
|
+
NIVEL_ACTION_EVENT,
|
|
21
|
+
dispatchNivelAction
|
|
22
|
+
} from "./chunk-KIBIF3Y6.js";
|
|
20
23
|
import {
|
|
21
24
|
LayoutComponent
|
|
22
25
|
} from "./chunk-7MAISHRP.js";
|
|
@@ -28,9 +31,11 @@ export {
|
|
|
28
31
|
DocsLayout as DocsRouteLayout,
|
|
29
32
|
LayoutComponent,
|
|
30
33
|
MetaHead,
|
|
34
|
+
NIVEL_ACTION_EVENT,
|
|
31
35
|
ProseContainer,
|
|
32
36
|
UserSettingsSync,
|
|
33
37
|
applyThemePreference,
|
|
38
|
+
dispatchNivelAction,
|
|
34
39
|
useDocsSearchActions,
|
|
35
40
|
useDocsSearchStore,
|
|
36
41
|
useDocsSidebarActions,
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { c as DocHeading, d as DocPageData, e as DocPageLinkData, f as DocsAlgoliaConfig, g as DocsAlgoliaFieldsConfig, h as DocsBrandConfig, i as DocsCollapsible, D as DocsConfig, j as DocsFooterConfig, k as DocsGlobalContextData, l as DocsGlobalContextSerializableData, m as DocsGraph, n as DocsGroupNode, o as DocsHeadConfig, p as DocsIconMap, q as DocsIconName, r as DocsPageNode, s as DocsPartnerConfig, t as DocsPartnersConfig, u as DocsSectionNode, v as DocsSidebarNode, b as DocsThemeConfig, J as JsonPrimitive, w as JsonValue, x as ResolvedDocsAlgoliaConfig, y as ResolvedDocsAlgoliaFieldsConfig, z as ResolvedDocsBrandConfig, a as ResolvedDocsConfig, A as ResolvedDocsPartnerConfig, B as ResolvedDocsPartnersConfig, C as ResolvedDocsSection, T as ThemePreference } from './types-
|
|
1
|
+
export { c as DocHeading, d as DocPageData, e as DocPageLinkData, f as DocsAlgoliaConfig, g as DocsAlgoliaFieldsConfig, h as DocsBrandConfig, i as DocsCollapsible, D as DocsConfig, j as DocsFooterConfig, k as DocsGlobalContextData, l as DocsGlobalContextSerializableData, m as DocsGraph, n as DocsGroupNode, o as DocsHeadConfig, p as DocsIconMap, q as DocsIconName, r as DocsPageNode, s as DocsPartnerConfig, t as DocsPartnersConfig, u as DocsSectionNode, v as DocsSidebarNode, b as DocsThemeConfig, J as JsonPrimitive, w as JsonValue, x as ResolvedDocsAlgoliaConfig, y as ResolvedDocsAlgoliaFieldsConfig, z as ResolvedDocsBrandConfig, a as ResolvedDocsConfig, A as ResolvedDocsPartnerConfig, B as ResolvedDocsPartnersConfig, C as ResolvedDocsSection, T as ThemePreference } from './types-BhEjFwpG.js';
|
|
2
2
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
import { ReactNode, ComponentPropsWithoutRef, PropsWithChildren } from 'react';
|
|
4
|
-
export { L as LayoutComponent } from './
|
|
4
|
+
export { L as LayoutComponent, N as NIVEL_ACTION_EVENT, a as NivelActionEventDetail, d as dispatchNivelAction } from './nivelActionEvents-DvOdNHlG.js';
|
|
5
5
|
import 'lucide-react';
|
|
6
6
|
import '@classmatejs/react';
|
|
7
7
|
|
package/dist/index.js
CHANGED
|
@@ -10,12 +10,14 @@ import {
|
|
|
10
10
|
Pre,
|
|
11
11
|
RepoLink,
|
|
12
12
|
Table
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BRLIMUNM.js";
|
|
14
14
|
import {
|
|
15
|
+
NIVEL_ACTION_EVENT,
|
|
15
16
|
UniversalMdxProvider,
|
|
17
|
+
dispatchNivelAction,
|
|
16
18
|
renderInlineMarkdown,
|
|
17
19
|
useUniversalMdxRuntime
|
|
18
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KIBIF3Y6.js";
|
|
19
21
|
import {
|
|
20
22
|
LayoutComponent
|
|
21
23
|
} from "./chunk-7MAISHRP.js";
|
|
@@ -33,12 +35,14 @@ export {
|
|
|
33
35
|
LayoutComponent,
|
|
34
36
|
Link,
|
|
35
37
|
MermaidDiagram,
|
|
38
|
+
NIVEL_ACTION_EVENT,
|
|
36
39
|
Overview,
|
|
37
40
|
Pre,
|
|
38
41
|
RepoLink,
|
|
39
42
|
Table,
|
|
40
43
|
UniversalMdxProvider,
|
|
41
44
|
baseAssets,
|
|
45
|
+
dispatchNivelAction,
|
|
42
46
|
nivelAssetUrl,
|
|
43
47
|
nivelPublicRoute,
|
|
44
48
|
renderInlineMarkdown,
|
|
@@ -50,7 +50,7 @@ declare const parseMetaString: <Name extends string = string>(meta: unknown, pro
|
|
|
50
50
|
declare const stripMetaProps: <Name extends string = string>(meta: unknown, propNames: Name[]) => string;
|
|
51
51
|
declare const getCodeBlockPropsFromMeta: (meta: unknown) => {
|
|
52
52
|
props: Record<string, string>;
|
|
53
|
-
env: "
|
|
53
|
+
env: "server" | "client" | null;
|
|
54
54
|
title: string | null;
|
|
55
55
|
};
|
|
56
56
|
|
package/dist/mdx.js
CHANGED
|
@@ -17,4 +17,17 @@ interface LayoutComponentProps {
|
|
|
17
17
|
}
|
|
18
18
|
declare const LayoutComponent: _classmatejs_react.CmBaseComponent<react.ClassAttributes<HTMLDivElement> & react.HTMLAttributes<HTMLDivElement> & LayoutComponentProps & Partial<LayoutComponentProps>>;
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
declare const NIVEL_ACTION_EVENT: "nivel:action";
|
|
21
|
+
type NivelActionEventDetail = {
|
|
22
|
+
action: string;
|
|
23
|
+
component: string;
|
|
24
|
+
choice?: string | null;
|
|
25
|
+
choiceGroup?: string | null;
|
|
26
|
+
env?: string | null;
|
|
27
|
+
label?: string | null;
|
|
28
|
+
language?: string | null;
|
|
29
|
+
success?: boolean;
|
|
30
|
+
};
|
|
31
|
+
declare const dispatchNivelAction: (target: EventTarget, detail: NivelActionEventDetail) => void;
|
|
32
|
+
|
|
33
|
+
export { LayoutComponent as L, NIVEL_ACTION_EVENT as N, type NivelActionEventDetail as a, dispatchNivelAction as d };
|
package/dist/runtime/client.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { AppLayout, DEFAULT_THEME_PREFERENCE, DocsPage, DocsRouteLayout, DocsSearchActions, DocsSearchSlice, DocsSearchState, DocsSidebarActions, DocsSidebarSlice, DocsSidebarState, MetaHead, ProseContainer, UserSettingsSync, applyThemePreference, useDocsSearchActions, useDocsSearchStore, useDocsSidebarActions, useDocsSidebarStore, useDocsUserSettingsStore } from '../client.js';
|
|
2
|
-
export { L as LayoutComponent } from '../
|
|
2
|
+
export { L as LayoutComponent, N as NIVEL_ACTION_EVENT, a as NivelActionEventDetail, d as dispatchNivelAction } from '../nivelActionEvents-DvOdNHlG.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
5
5
|
import '@classmatejs/react';
|
|
6
|
-
import '../types-
|
|
6
|
+
import '../types-BhEjFwpG.js';
|
|
7
7
|
import 'lucide-react';
|
|
8
8
|
import 'zustand/middleware';
|
|
9
9
|
import 'zustand';
|
package/dist/runtime/client.js
CHANGED
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
UserSettingsSync,
|
|
9
9
|
applyThemePreference,
|
|
10
10
|
useDocsUserSettingsStore
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-OMA4T46A.js";
|
|
12
12
|
import {
|
|
13
13
|
useDocsSearchActions,
|
|
14
14
|
useDocsSearchStore,
|
|
@@ -16,7 +16,10 @@ import {
|
|
|
16
16
|
useDocsSidebarStore
|
|
17
17
|
} from "../chunk-US7NPQZ6.js";
|
|
18
18
|
import "../chunk-AT4O3RRN.js";
|
|
19
|
-
import
|
|
19
|
+
import {
|
|
20
|
+
NIVEL_ACTION_EVENT,
|
|
21
|
+
dispatchNivelAction
|
|
22
|
+
} from "../chunk-KIBIF3Y6.js";
|
|
20
23
|
import {
|
|
21
24
|
LayoutComponent
|
|
22
25
|
} from "../chunk-7MAISHRP.js";
|
|
@@ -28,9 +31,11 @@ export {
|
|
|
28
31
|
DocsLayout as DocsRouteLayout,
|
|
29
32
|
LayoutComponent,
|
|
30
33
|
MetaHead,
|
|
34
|
+
NIVEL_ACTION_EVENT,
|
|
31
35
|
ProseContainer,
|
|
32
36
|
UserSettingsSync,
|
|
33
37
|
applyThemePreference,
|
|
38
|
+
dispatchNivelAction,
|
|
34
39
|
useDocsSearchActions,
|
|
35
40
|
useDocsSearchStore,
|
|
36
41
|
useDocsSidebarActions,
|
package/dist/runtime/node.d.ts
CHANGED
package/dist/runtime/node.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
nivelPagesPlugin
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-MUNS2MZP.js";
|
|
4
4
|
import {
|
|
5
5
|
getGeneratedPagesRoot,
|
|
6
6
|
getInitSummary,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
resolveDocsConfig,
|
|
12
12
|
resolveDocsHref,
|
|
13
13
|
syncGeneratedDocsPages
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-TFL3J5J2.js";
|
|
15
15
|
import "../chunk-AT4O3RRN.js";
|
|
16
16
|
import "../chunk-PYYPYIBD.js";
|
|
17
17
|
export {
|