@vortexlabs/kirari-react 1.1.0 → 1.1.1
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/CHANGELOG.md +6 -0
- package/README.md +2 -2
- package/dist/index.d.ts +4 -27
- package/dist/index.js +3 -108
- package/dist/render.d.ts +5 -0
- package/dist/render.js +104 -0
- package/dist/stream.d.ts +2 -2
- package/dist/types.d.ts +37 -0
- package/dist/types.js +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @vortexlabs/kirari-react
|
|
2
2
|
|
|
3
|
+
## 1.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e0cd534: Public object types such as `Token`, `Rule`, `Language`, `RenderOptions`, `Decoration`, `TokenPatch`, `TokenStream`, and `StreamedTokens` are now type aliases instead of interfaces. Their members are unchanged, but they can no longer be extended through declaration merging (module augmentation). Types that extend another type, such as `HighlightOptions` and `CodeProps`, remain interfaces.
|
|
8
|
+
|
|
3
9
|
## 1.1.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ Requires React 19. Kirari is a peer dependency.
|
|
|
19
19
|
|
|
20
20
|
```tsx
|
|
21
21
|
import { Code } from '@vortexlabs/kirari-react'
|
|
22
|
-
import { typescript } from '@vortexlabs/kirari/languages
|
|
22
|
+
import { typescript } from '@vortexlabs/kirari/languages'
|
|
23
23
|
import '@vortexlabs/kirari/theme.css'
|
|
24
24
|
|
|
25
25
|
export const CodeExample = () => (
|
|
@@ -63,7 +63,7 @@ Line numbers are CSS:
|
|
|
63
63
|
|
|
64
64
|
import { Code } from '@vortexlabs/kirari-react'
|
|
65
65
|
import { useTokenStream } from '@vortexlabs/kirari-react/stream'
|
|
66
|
-
import { javascript } from '@vortexlabs/kirari/languages
|
|
66
|
+
import { javascript } from '@vortexlabs/kirari/languages'
|
|
67
67
|
import '@vortexlabs/kirari/theme.css'
|
|
68
68
|
|
|
69
69
|
export const StreamExample = () => {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,30 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
export type LineRange = number | readonly [first: number, last: number];
|
|
5
|
-
export interface Line {
|
|
6
|
-
readonly number: number;
|
|
7
|
-
readonly start: number;
|
|
8
|
-
readonly end: number;
|
|
9
|
-
}
|
|
10
|
-
/** Text children, joined like React text: `null`, `undefined`, and booleans render nothing. */
|
|
11
|
-
export type CodeText = string | number | bigint | boolean | null | undefined | readonly CodeText[];
|
|
12
|
-
export interface CodeProps extends Omit<ComponentPropsWithoutRef<'pre'>, 'children'> {
|
|
13
|
-
/** Source to highlight. Ignored when `tokens` is set. */
|
|
14
|
-
readonly children?: CodeText;
|
|
15
|
-
/** Pre-scanned tokens, such as the output of `useTokenStream`. */
|
|
16
|
-
readonly tokens?: readonly Token[];
|
|
17
|
-
readonly language?: Language;
|
|
18
|
-
readonly classes?: Readonly<Record<string, string>>;
|
|
19
|
-
readonly tokenClassName?: (token: Token) => string | undefined;
|
|
20
|
-
readonly decorations?: readonly Decoration[];
|
|
21
|
-
/** Wrap each line in `<span class="kirari-line" data-line="n">`. */
|
|
22
|
-
readonly lines?: boolean;
|
|
23
|
-
readonly lineClassName?: (line: Line) => string | undefined;
|
|
24
|
-
/** One-based lines or inclusive ranges that receive `kirari-line-highlighted`. Implies `lines`. */
|
|
25
|
-
readonly highlightLines?: readonly LineRange[];
|
|
26
|
-
}
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { CodeProps } from './types.js';
|
|
3
|
+
export type { CodeProps, CodeText, Line, LineRange } from './types.js';
|
|
27
4
|
/** Highlighted code as React elements. Uses no hooks, so it also renders as a Server Component. */
|
|
28
|
-
export declare const Code: ({ children, tokens, language,
|
|
5
|
+
export declare const Code: ({ children, tokens, language, ...props }: CodeProps) => ReactNode;
|
|
29
6
|
export type { Decoration } from '@vortexlabs/kirari/decorations';
|
|
30
7
|
export type { Language, Token } from '@vortexlabs/kirari/core';
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
1
|
import { tokenize } from '@vortexlabs/kirari/core';
|
|
3
2
|
import { javascript } from '@vortexlabs/kirari/languages/javascript';
|
|
4
|
-
|
|
5
|
-
return names.filter(Boolean).join(' ');
|
|
6
|
-
};
|
|
3
|
+
import { renderCode } from './render.js';
|
|
7
4
|
const sourceText = (children) => {
|
|
8
5
|
if (children == null || typeof children === 'boolean')
|
|
9
6
|
return '';
|
|
@@ -13,109 +10,7 @@ const sourceText = (children) => {
|
|
|
13
10
|
return children.map(sourceText).join('');
|
|
14
11
|
throw new TypeError('Kirari: <Code> children must be text');
|
|
15
12
|
};
|
|
16
|
-
const splitsSurrogate = (source, offset) => {
|
|
17
|
-
const before = source.charCodeAt(offset - 1);
|
|
18
|
-
const after = source.charCodeAt(offset);
|
|
19
|
-
return before >= 0xd800 && before <= 0xdbff && after >= 0xdc00 && after <= 0xdfff;
|
|
20
|
-
};
|
|
21
|
-
const highlighted = (ranges) => {
|
|
22
|
-
const pairs = ranges.map(range => typeof range === 'number' ? [range, range] : range);
|
|
23
|
-
return line => pairs.some(([first, last]) => first <= line && line <= last);
|
|
24
|
-
};
|
|
25
|
-
const assertContiguous = (tokens) => {
|
|
26
|
-
let offset = 0;
|
|
27
|
-
for (const token of tokens) {
|
|
28
|
-
if (token.start !== offset || token.end !== offset + token.value.length) {
|
|
29
|
-
throw new RangeError('Kirari: tokens must cover contiguous source offsets starting at zero');
|
|
30
|
-
}
|
|
31
|
-
offset = token.end;
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
/** Validated enter/leave points for each decoration, in source order. */
|
|
35
|
-
const decorationEvents = (decorations, source) => {
|
|
36
|
-
const events = [];
|
|
37
|
-
for (const [index, decoration] of decorations.entries()) {
|
|
38
|
-
if (!Number.isInteger(decoration.start) || !Number.isInteger(decoration.end)
|
|
39
|
-
|| decoration.start < 0 || decoration.start >= decoration.end || decoration.end > source.length) {
|
|
40
|
-
throw new RangeError('Kirari: decoration offsets must be integers with 0 <= start < end <= source length');
|
|
41
|
-
}
|
|
42
|
-
if (splitsSurrogate(source, decoration.start) || splitsSurrogate(source, decoration.end)) {
|
|
43
|
-
throw new RangeError('Kirari: decoration offsets must not split a UTF-16 surrogate pair');
|
|
44
|
-
}
|
|
45
|
-
events.push({ offset: decoration.start, index, entering: true }, { offset: decoration.end, index, entering: false });
|
|
46
|
-
}
|
|
47
|
-
return events.sort((a, b) => a.offset - b.offset);
|
|
48
|
-
};
|
|
49
|
-
const codeNodes = (tokens, options = {}) => {
|
|
50
|
-
assertContiguous(tokens);
|
|
51
|
-
const source = tokens.map(token => token.value).join('');
|
|
52
|
-
const decorations = options.decorations ?? [];
|
|
53
|
-
const events = decorationEvents(decorations, source);
|
|
54
|
-
// Resolve callbacks once so tokens split by lines or decorations see them a single time.
|
|
55
|
-
const tokenClasses = tokens.map(token => join(options.classes && Object.hasOwn(options.classes, token.type) ? options.classes[token.type] : undefined, options.tokenClassName?.(token)));
|
|
56
|
-
const active = new Set();
|
|
57
|
-
let activeClasses = '';
|
|
58
|
-
let eventIndex = 0;
|
|
59
|
-
let tokenIndex = 0;
|
|
60
|
-
const rangeNodes = (start, end) => {
|
|
61
|
-
const nodes = [];
|
|
62
|
-
while (start < end) {
|
|
63
|
-
while (tokens[tokenIndex].end <= start)
|
|
64
|
-
tokenIndex++;
|
|
65
|
-
let changed = false;
|
|
66
|
-
while (eventIndex < events.length && events[eventIndex].offset <= start) {
|
|
67
|
-
const event = events[eventIndex++];
|
|
68
|
-
if (event.entering)
|
|
69
|
-
active.add(event.index);
|
|
70
|
-
else
|
|
71
|
-
active.delete(event.index);
|
|
72
|
-
changed = true;
|
|
73
|
-
}
|
|
74
|
-
if (changed)
|
|
75
|
-
activeClasses = [...active].sort((a, b) => a - b).map(index => decorations[index].className).join(' ');
|
|
76
|
-
const token = tokens[tokenIndex];
|
|
77
|
-
const stop = Math.min(end, token.end, events[eventIndex]?.offset ?? end);
|
|
78
|
-
const value = source.slice(start, stop);
|
|
79
|
-
const extra = join(tokenClasses[tokenIndex], activeClasses);
|
|
80
|
-
nodes.push(token.type === 'text' && !extra
|
|
81
|
-
? value
|
|
82
|
-
: _jsx("span", { className: join(`kirari-${token.type}`, extra), children: value }, start));
|
|
83
|
-
start = stop;
|
|
84
|
-
}
|
|
85
|
-
return nodes;
|
|
86
|
-
};
|
|
87
|
-
const ranges = options.highlightLines ?? [];
|
|
88
|
-
if (!options.lines && ranges.length === 0)
|
|
89
|
-
return rangeNodes(0, source.length);
|
|
90
|
-
const isHighlighted = highlighted(ranges);
|
|
91
|
-
const nodes = [];
|
|
92
|
-
const newline = /\r\n|\r|\n/g;
|
|
93
|
-
let start = 0;
|
|
94
|
-
let number = 1;
|
|
95
|
-
do {
|
|
96
|
-
const match = newline.exec(source);
|
|
97
|
-
const end = match?.index ?? source.length;
|
|
98
|
-
const className = join('kirari-line', options.lineClassName?.({ number, start, end }), isHighlighted(number) ? 'kirari-line-highlighted' : undefined);
|
|
99
|
-
nodes.push(_jsx("span", { className: className, "data-line": number, children: rangeNodes(start, end) }, `line-${number}`));
|
|
100
|
-
if (!match)
|
|
101
|
-
break;
|
|
102
|
-
nodes.push(match[0]);
|
|
103
|
-
start = end + match[0].length;
|
|
104
|
-
if (start === source.length)
|
|
105
|
-
break;
|
|
106
|
-
number++;
|
|
107
|
-
} while (true);
|
|
108
|
-
return nodes;
|
|
109
|
-
};
|
|
110
13
|
/** Highlighted code as React elements. Uses no hooks, so it also renders as a Server Component. */
|
|
111
|
-
export const Code = ({ children, tokens, language = javascript,
|
|
112
|
-
|
|
113
|
-
...(classes && { classes }),
|
|
114
|
-
...(tokenClassName && { tokenClassName }),
|
|
115
|
-
...(decorations && { decorations }),
|
|
116
|
-
...(lines && { lines }),
|
|
117
|
-
...(lineClassName && { lineClassName }),
|
|
118
|
-
...(highlightLines && { highlightLines }),
|
|
119
|
-
});
|
|
120
|
-
return _jsx("pre", { ...props, className: join('kirari', className), children: _jsx("code", { children: nodes }) });
|
|
14
|
+
export const Code = ({ children, tokens, language = javascript, ...props }) => {
|
|
15
|
+
return renderCode(tokens ?? tokenize(sourceText(children), language), props);
|
|
121
16
|
};
|
package/dist/render.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { Token } from '@vortexlabs/kirari/core';
|
|
3
|
+
import type { CodeProps } from './types.js';
|
|
4
|
+
/** Renders highlighted tokens and forwards the remaining props to the pre element. */
|
|
5
|
+
export declare const renderCode: (tokens: readonly Token[], options: Omit<CodeProps, 'children' | 'tokens' | 'language'>) => ReactNode;
|
package/dist/render.js
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
const join = (...names) => {
|
|
3
|
+
return names.filter(Boolean).join(' ');
|
|
4
|
+
};
|
|
5
|
+
const splitsSurrogate = (source, offset) => {
|
|
6
|
+
const before = source.charCodeAt(offset - 1);
|
|
7
|
+
const after = source.charCodeAt(offset);
|
|
8
|
+
return before >= 0xd800 && before <= 0xdbff && after >= 0xdc00 && after <= 0xdfff;
|
|
9
|
+
};
|
|
10
|
+
const highlighted = (ranges) => {
|
|
11
|
+
const pairs = ranges.map(range => typeof range === 'number' ? [range, range] : range);
|
|
12
|
+
return line => pairs.some(([first, last]) => first <= line && line <= last);
|
|
13
|
+
};
|
|
14
|
+
const assertContiguous = (tokens) => {
|
|
15
|
+
let offset = 0;
|
|
16
|
+
for (const token of tokens) {
|
|
17
|
+
if (token.start !== offset || token.end !== offset + token.value.length) {
|
|
18
|
+
throw new RangeError('Kirari: tokens must cover contiguous source offsets starting at zero');
|
|
19
|
+
}
|
|
20
|
+
offset = token.end;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
/** Validated enter/leave points for each decoration, in source order. */
|
|
24
|
+
const decorationEvents = (decorations, source) => {
|
|
25
|
+
const events = [];
|
|
26
|
+
for (const [index, decoration] of decorations.entries()) {
|
|
27
|
+
if (!Number.isInteger(decoration.start) || !Number.isInteger(decoration.end)
|
|
28
|
+
|| decoration.start < 0 || decoration.start >= decoration.end || decoration.end > source.length) {
|
|
29
|
+
throw new RangeError('Kirari: decoration offsets must be integers with 0 <= start < end <= source length');
|
|
30
|
+
}
|
|
31
|
+
if (splitsSurrogate(source, decoration.start) || splitsSurrogate(source, decoration.end)) {
|
|
32
|
+
throw new RangeError('Kirari: decoration offsets must not split a UTF-16 surrogate pair');
|
|
33
|
+
}
|
|
34
|
+
events.push({ offset: decoration.start, index, entering: true }, { offset: decoration.end, index, entering: false });
|
|
35
|
+
}
|
|
36
|
+
return events.sort((a, b) => a.offset - b.offset);
|
|
37
|
+
};
|
|
38
|
+
const codeNodes = (tokens, options = {}) => {
|
|
39
|
+
assertContiguous(tokens);
|
|
40
|
+
const source = tokens.map(token => token.value).join('');
|
|
41
|
+
const decorations = options.decorations ?? [];
|
|
42
|
+
const events = decorationEvents(decorations, source);
|
|
43
|
+
// Resolve callbacks once so tokens split by lines or decorations see them a single time.
|
|
44
|
+
const tokenClasses = tokens.map(token => join(options.classes && Object.hasOwn(options.classes, token.type) ? options.classes[token.type] : undefined, options.tokenClassName?.(token)));
|
|
45
|
+
const active = new Set();
|
|
46
|
+
let activeClasses = '';
|
|
47
|
+
let eventIndex = 0;
|
|
48
|
+
let tokenIndex = 0;
|
|
49
|
+
const rangeNodes = (start, end) => {
|
|
50
|
+
const nodes = [];
|
|
51
|
+
while (start < end) {
|
|
52
|
+
while (tokens[tokenIndex].end <= start)
|
|
53
|
+
tokenIndex++;
|
|
54
|
+
let changed = false;
|
|
55
|
+
while (eventIndex < events.length && events[eventIndex].offset <= start) {
|
|
56
|
+
const event = events[eventIndex++];
|
|
57
|
+
if (event.entering)
|
|
58
|
+
active.add(event.index);
|
|
59
|
+
else
|
|
60
|
+
active.delete(event.index);
|
|
61
|
+
changed = true;
|
|
62
|
+
}
|
|
63
|
+
if (changed)
|
|
64
|
+
activeClasses = [...active].sort((a, b) => a - b).map(index => decorations[index].className).join(' ');
|
|
65
|
+
const token = tokens[tokenIndex];
|
|
66
|
+
const stop = Math.min(end, token.end, events[eventIndex]?.offset ?? end);
|
|
67
|
+
const value = source.slice(start, stop);
|
|
68
|
+
const extra = join(tokenClasses[tokenIndex], activeClasses);
|
|
69
|
+
nodes.push(token.type === 'text' && !extra
|
|
70
|
+
? value
|
|
71
|
+
: _jsx("span", { className: join(`kirari-${token.type}`, extra), children: value }, start));
|
|
72
|
+
start = stop;
|
|
73
|
+
}
|
|
74
|
+
return nodes;
|
|
75
|
+
};
|
|
76
|
+
const ranges = options.highlightLines ?? [];
|
|
77
|
+
if (!options.lines && ranges.length === 0)
|
|
78
|
+
return rangeNodes(0, source.length);
|
|
79
|
+
const isHighlighted = highlighted(ranges);
|
|
80
|
+
const nodes = [];
|
|
81
|
+
const newline = /\r\n|\r|\n/g;
|
|
82
|
+
let start = 0;
|
|
83
|
+
let number = 1;
|
|
84
|
+
do {
|
|
85
|
+
const match = newline.exec(source);
|
|
86
|
+
const end = match?.index ?? source.length;
|
|
87
|
+
const className = join('kirari-line', options.lineClassName?.({ number, start, end }), isHighlighted(number) ? 'kirari-line-highlighted' : undefined);
|
|
88
|
+
nodes.push(_jsx("span", { className: className, "data-line": number, children: rangeNodes(start, end) }, `line-${number}`));
|
|
89
|
+
if (!match)
|
|
90
|
+
break;
|
|
91
|
+
nodes.push(match[0]);
|
|
92
|
+
start = end + match[0].length;
|
|
93
|
+
if (start === source.length)
|
|
94
|
+
break;
|
|
95
|
+
number++;
|
|
96
|
+
} while (true);
|
|
97
|
+
return nodes;
|
|
98
|
+
};
|
|
99
|
+
/** Renders highlighted tokens and forwards the remaining props to the pre element. */
|
|
100
|
+
export const renderCode = (tokens, options) => {
|
|
101
|
+
const { classes, tokenClassName, decorations, lines, lineClassName, highlightLines, className, ...props } = options;
|
|
102
|
+
const nodes = codeNodes(tokens, options);
|
|
103
|
+
return _jsx("pre", { ...props, className: join('kirari', className), children: _jsx("code", { children: nodes }) });
|
|
104
|
+
};
|
package/dist/stream.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Language, Token } from '@vortexlabs/kirari/core';
|
|
2
2
|
import type { TokenPatch } from '@vortexlabs/kirari/stream';
|
|
3
|
-
export
|
|
3
|
+
export type StreamedTokens = {
|
|
4
4
|
readonly tokens: readonly Token[];
|
|
5
5
|
write(chunk: string): void;
|
|
6
6
|
end(chunk?: string): void;
|
|
7
7
|
reset(): void;
|
|
8
|
-
}
|
|
8
|
+
};
|
|
9
9
|
export declare const applyPatch: (tokens: readonly Token[], patch: TokenPatch) => readonly Token[];
|
|
10
10
|
/** Tokens for source that arrives in chunks. Pass the result's `tokens` to `<Code tokens>`. */
|
|
11
11
|
export declare const useTokenStream: (language: Language) => StreamedTokens;
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
2
|
+
import type { Language, Token } from '@vortexlabs/kirari/core';
|
|
3
|
+
import type { Decoration } from '@vortexlabs/kirari/decorations';
|
|
4
|
+
/** A one-based line number or an inclusive pair of line numbers. */
|
|
5
|
+
export type LineRange = number | readonly [first: number, last: number];
|
|
6
|
+
/** A rendered source line; CRLF, CR, and LF separators sit outside its wrapper. */
|
|
7
|
+
export type Line = {
|
|
8
|
+
/** One-based line number. */
|
|
9
|
+
readonly number: number;
|
|
10
|
+
/** Inclusive UTF-16 offset into the complete source. */
|
|
11
|
+
readonly start: number;
|
|
12
|
+
/** Exclusive UTF-16 offset; excludes any line separator. */
|
|
13
|
+
readonly end: number;
|
|
14
|
+
};
|
|
15
|
+
/** Text children, joined like React text: `null`, `undefined`, and booleans render nothing. */
|
|
16
|
+
export type CodeText = string | number | bigint | boolean | null | undefined | readonly CodeText[];
|
|
17
|
+
/** Highlighted code options; remaining native props are forwarded to the `<pre>` element. */
|
|
18
|
+
export interface CodeProps extends Omit<ComponentPropsWithoutRef<'pre'>, 'children'> {
|
|
19
|
+
/** Source to highlight. Ignored when `tokens` is set. */
|
|
20
|
+
readonly children?: CodeText;
|
|
21
|
+
/** Pre-scanned tokens covering contiguous source offsets from zero; overrides `children` and `language`. */
|
|
22
|
+
readonly tokens?: readonly Token[];
|
|
23
|
+
/** Language used to tokenize `children`. Defaults to JavaScript. */
|
|
24
|
+
readonly language?: Language;
|
|
25
|
+
/** Additional classes by token category, combined with the standard `kirari-*` classes. */
|
|
26
|
+
readonly classes?: Readonly<Record<string, string>>;
|
|
27
|
+
/** Additional classes, resolved once per original token before line or decoration splits. */
|
|
28
|
+
readonly tokenClassName?: (token: Token) => string | undefined;
|
|
29
|
+
/** Source ranges receiving extra classes; offsets must be valid UTF-16 boundaries. */
|
|
30
|
+
readonly decorations?: readonly Decoration[];
|
|
31
|
+
/** Wrap each line in `<span class="kirari-line" data-line="n">`. Defaults to `false`. */
|
|
32
|
+
readonly lines?: boolean;
|
|
33
|
+
/** Additional classes per rendered line; used when `lines` or nonempty `highlightLines` enables wrappers. */
|
|
34
|
+
readonly lineClassName?: (line: Line) => string | undefined;
|
|
35
|
+
/** One-based lines or inclusive ranges that receive `kirari-line-highlighted`. Implies `lines`. */
|
|
36
|
+
readonly highlightLines?: readonly LineRange[];
|
|
37
|
+
}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vortexlabs/kirari-react",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Kirari syntax highlighting as React elements.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@happy-dom/global-registrator": "^20.14.6",
|
|
56
56
|
"@types/react": "^19.3.0",
|
|
57
57
|
"@types/react-dom": "^19.3.0",
|
|
58
|
-
"@vortexlabs/kirari": "1.
|
|
58
|
+
"@vortexlabs/kirari": "1.1.3",
|
|
59
59
|
"react": "^19.3.1",
|
|
60
60
|
"react-dom": "^19.3.1"
|
|
61
61
|
},
|