@vlrc-fe/components 3.0.4 → 3.0.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/CHANGELOG.md +19 -0
- package/dist/ConfirmModal.cjs +30 -32
- package/dist/ConfirmModal.d.ts +3 -7
- package/dist/ConfirmModal.d.ts.map +1 -1
- package/dist/ConfirmModal.js +31 -32
- package/dist/Modal.cjs +3 -4
- package/dist/Modal.d.ts +1 -3
- package/dist/Modal.d.ts.map +1 -1
- package/dist/Modal.js +3 -4
- package/dist/MultiSelect/MultiSelect.cjs +0 -1
- package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/MultiSelect.js +0 -1
- package/dist/MultiSelect/useMultiSelect.cjs +1 -0
- package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/useMultiSelect.js +1 -0
- package/dist/MultiSelect/utils.cjs +2 -2
- package/dist/MultiSelect/utils.js +2 -2
- package/dist/Typography/Link.cjs +3 -5
- package/dist/Typography/Link.d.ts +1 -1
- package/dist/Typography/Link.d.ts.map +1 -1
- package/dist/Typography/Link.js +3 -5
- package/dist/Typography/Paragraph.cjs +3 -5
- package/dist/Typography/Paragraph.d.ts +1 -1
- package/dist/Typography/Paragraph.d.ts.map +1 -1
- package/dist/Typography/Paragraph.js +3 -5
- package/dist/Typography/Text.cjs +3 -4
- package/dist/Typography/Text.d.ts +1 -1
- package/dist/Typography/Text.d.ts.map +1 -1
- package/dist/Typography/Text.js +4 -5
- package/dist/Typography/Title.cjs +4 -4
- package/dist/Typography/Title.d.ts +1 -1
- package/dist/Typography/Title.d.ts.map +1 -1
- package/dist/Typography/Title.js +5 -5
- package/dist/Typography/Typography.d.ts +8 -4
- package/dist/Typography/Typography.d.ts.map +1 -1
- package/dist/Typography/index.d.ts +0 -3
- package/dist/Typography/index.d.ts.map +1 -1
- package/dist/Typography/index.js +1 -4
- package/dist/Typography/types.d.ts +4 -0
- package/dist/Typography/types.d.ts.map +1 -1
- package/dist/assets/stylex.css +32 -8
- package/dist/astryx.cjs +1 -10
- package/dist/astryx.d.ts +0 -1
- package/dist/astryx.d.ts.map +1 -1
- package/dist/astryx.js +0 -2
- package/dist/index.cjs +2 -12
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -6
- package/dist/layout/Box.cjs +44 -67
- package/dist/layout/Box.d.ts +3 -5
- package/dist/layout/Box.d.ts.map +1 -1
- package/dist/layout/Box.js +44 -67
- package/dist/layout/Center.cjs +13 -24
- package/dist/layout/Center.d.ts +2 -2
- package/dist/layout/Center.d.ts.map +1 -1
- package/dist/layout/Center.js +13 -24
- package/dist/layout/Container.cjs +21 -10
- package/dist/layout/Container.d.ts +3 -5
- package/dist/layout/Container.d.ts.map +1 -1
- package/dist/layout/Container.js +21 -10
- package/dist/layout/Stack.cjs +55 -93
- package/dist/layout/Stack.d.ts +5 -5
- package/dist/layout/Stack.d.ts.map +1 -1
- package/dist/layout/Stack.js +55 -93
- package/dist/layout/index.d.ts +1 -1
- package/dist/layout/index.js +2 -2
- package/dist/lazyLoad.cjs +1 -1
- package/dist/lazyLoad.d.ts.map +1 -1
- package/dist/lazyLoad.js +1 -1
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.js +1 -1
- package/dist/theme/zIndex.cjs +0 -2
- package/dist/theme/zIndex.d.ts +4 -4
- package/dist/theme/zIndex.d.ts.map +1 -1
- package/dist/theme.css +32 -8
- package/dist/ui/aspect-ratio.cjs +0 -1
- package/dist/ui/aspect-ratio.d.ts.map +1 -1
- package/dist/ui/aspect-ratio.js +0 -1
- package/dist/ui/avatar.cjs +0 -1
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/avatar.js +0 -1
- package/dist/ui/calendar.cjs +0 -1
- package/dist/ui/calendar.d.ts.map +1 -1
- package/dist/ui/calendar.js +0 -1
- package/dist/ui/carousel.cjs +0 -1
- package/dist/ui/carousel.d.ts.map +1 -1
- package/dist/ui/carousel.js +0 -1
- package/dist/ui/checkbox.cjs +4 -8
- package/dist/ui/checkbox.d.ts +1 -1
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/checkbox.js +5 -9
- package/dist/ui/circular-progress.cjs +25 -20
- package/dist/ui/circular-progress.d.ts +3 -3
- package/dist/ui/circular-progress.d.ts.map +1 -1
- package/dist/ui/circular-progress.js +25 -20
- package/dist/ui/code-block.cjs +180 -176
- package/dist/ui/code-block.d.ts +17 -9
- package/dist/ui/code-block.d.ts.map +1 -1
- package/dist/ui/code-block.js +181 -177
- package/dist/ui/collapsible.cjs +0 -1
- package/dist/ui/collapsible.d.ts.map +1 -1
- package/dist/ui/collapsible.js +0 -1
- package/dist/ui/compare-slider.cjs +2 -3
- package/dist/ui/compare-slider.d.ts +3 -2
- package/dist/ui/compare-slider.d.ts.map +1 -1
- package/dist/ui/compare-slider.js +3 -4
- package/dist/ui/context-menu.cjs +0 -1
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/context-menu.js +0 -1
- package/dist/ui/copy-button.cjs +2 -3
- package/dist/ui/copy-button.d.ts +1 -1
- package/dist/ui/copy-button.d.ts.map +1 -1
- package/dist/ui/copy-button.js +3 -4
- package/dist/ui/dialog.cjs +2 -0
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/dialog.js +2 -0
- package/dist/ui/drawer.cjs +2 -0
- package/dist/ui/drawer.d.ts.map +1 -1
- package/dist/ui/drawer.js +2 -0
- package/dist/ui/editable.cjs +1 -0
- package/dist/ui/editable.d.ts.map +1 -1
- package/dist/ui/editable.js +1 -0
- package/dist/ui/empty.cjs +37 -52
- package/dist/ui/empty.d.ts +5 -5
- package/dist/ui/empty.d.ts.map +1 -1
- package/dist/ui/empty.js +38 -53
- package/dist/ui/file-upload.cjs +0 -1
- package/dist/ui/file-upload.d.ts.map +1 -1
- package/dist/ui/file-upload.js +0 -1
- package/dist/ui/flex.cjs +3 -4
- package/dist/ui/flex.d.ts +3 -2
- package/dist/ui/flex.d.ts.map +1 -1
- package/dist/ui/flex.js +3 -4
- package/dist/ui/form.cjs +0 -1
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/form.js +0 -1
- package/dist/ui/gauge.cjs +2 -4
- package/dist/ui/gauge.d.ts +3 -2
- package/dist/ui/gauge.d.ts.map +1 -1
- package/dist/ui/gauge.js +2 -4
- package/dist/ui/grid.cjs +7 -7
- package/dist/ui/grid.d.ts +7 -3
- package/dist/ui/grid.d.ts.map +1 -1
- package/dist/ui/grid.js +7 -8
- package/dist/ui/hover-card.cjs +0 -1
- package/dist/ui/hover-card.d.ts.map +1 -1
- package/dist/ui/hover-card.js +0 -1
- package/dist/ui/input-group.cjs +17 -23
- package/dist/ui/input-group.d.ts +2 -2
- package/dist/ui/input-group.d.ts.map +1 -1
- package/dist/ui/input-group.js +17 -23
- package/dist/ui/marker.cjs +78 -75
- package/dist/ui/marker.d.ts +7 -4
- package/dist/ui/marker.d.ts.map +1 -1
- package/dist/ui/marker.js +79 -76
- package/dist/ui/masonry.cjs +2 -4
- package/dist/ui/masonry.d.ts +1 -1
- package/dist/ui/masonry.d.ts.map +1 -1
- package/dist/ui/masonry.js +3 -5
- package/dist/ui/menubar.cjs +0 -1
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/menubar.js +0 -1
- package/dist/ui/progress.cjs +6 -5
- package/dist/ui/progress.d.ts +3 -3
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/progress.js +6 -5
- package/dist/ui/questionnaire.cjs +138 -135
- package/dist/ui/questionnaire.d.ts +21 -11
- package/dist/ui/questionnaire.d.ts.map +1 -1
- package/dist/ui/questionnaire.js +139 -136
- package/dist/ui/rating.cjs +2 -3
- package/dist/ui/rating.d.ts +3 -2
- package/dist/ui/rating.d.ts.map +1 -1
- package/dist/ui/rating.js +3 -4
- package/dist/ui/resizable.cjs +0 -1
- package/dist/ui/resizable.d.ts.map +1 -1
- package/dist/ui/resizable.js +0 -1
- package/dist/ui/row-col.cjs +4 -6
- package/dist/ui/row-col.d.ts +6 -4
- package/dist/ui/row-col.d.ts.map +1 -1
- package/dist/ui/row-col.js +5 -7
- package/dist/ui/scroll-area.cjs +40 -53
- package/dist/ui/scroll-area.d.ts +1 -1
- package/dist/ui/scroll-area.d.ts.map +1 -1
- package/dist/ui/scroll-area.js +40 -53
- package/dist/ui/segmented.cjs +2 -3
- package/dist/ui/segmented.d.ts +3 -2
- package/dist/ui/segmented.d.ts.map +1 -1
- package/dist/ui/segmented.js +3 -4
- package/dist/ui/sheet.cjs +2 -0
- package/dist/ui/sheet.d.ts.map +1 -1
- package/dist/ui/sheet.js +2 -0
- package/dist/ui/sidebar.cjs +0 -1
- package/dist/ui/sidebar.d.ts.map +1 -1
- package/dist/ui/sidebar.js +0 -1
- package/dist/ui/signature-pad.cjs +148 -147
- package/dist/ui/signature-pad.d.ts +17 -9
- package/dist/ui/signature-pad.d.ts.map +1 -1
- package/dist/ui/signature-pad.js +149 -148
- package/dist/ui/stat.cjs +57 -71
- package/dist/ui/stat.d.ts +8 -8
- package/dist/ui/stat.d.ts.map +1 -1
- package/dist/ui/stat.js +57 -71
- package/dist/ui/switch.cjs +4 -8
- package/dist/ui/switch.d.ts +1 -1
- package/dist/ui/switch.d.ts.map +1 -1
- package/dist/ui/switch.js +5 -9
- package/dist/utils.cjs +1 -6
- package/dist/utils.d.ts +2 -12
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +1 -4
- package/package.json +1 -1
package/dist/ui/code-block.cjs
CHANGED
|
@@ -309,7 +309,7 @@ function renderHighlightedTokens(text, highlightWords, disableHighlighting) {
|
|
|
309
309
|
if (lastIndex < text.length) parts.push(text.slice(lastIndex));
|
|
310
310
|
return parts;
|
|
311
311
|
}
|
|
312
|
-
|
|
312
|
+
function CodeBlock({ code, language = "typescript", highlightedLines, highlightWords = [], showLineNumbers = true, startLine = 1, wrap: controlledWrap, defaultWrap = false, onWrapChange, maxLines, diff = {}, disableHighlighting = false, sx, className, ref, children, ...props }) {
|
|
313
313
|
const isWrapControlled = controlledWrap !== void 0;
|
|
314
314
|
const [uncontrolledWrap, setUncontrolledWrap] = (0, react.useState)(defaultWrap);
|
|
315
315
|
const wrap = isWrapControlled ? controlledWrap : uncontrolledWrap;
|
|
@@ -357,7 +357,7 @@ var CodeBlock = (0, react.forwardRef)(({ code, language = "typescript", highligh
|
|
|
357
357
|
};
|
|
358
358
|
let hasExplicitContent = false;
|
|
359
359
|
react.Children.forEach(children, (child) => {
|
|
360
|
-
if ((0, react.isValidElement)(child) && child.type
|
|
360
|
+
if ((0, react.isValidElement)(child) && child.type === CodeBlockContent) hasExplicitContent = true;
|
|
361
361
|
});
|
|
362
362
|
const sxProps = _stylexjs_stylex.props(styles.root, sx);
|
|
363
363
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CodeBlockContext.Provider, {
|
|
@@ -379,55 +379,57 @@ var CodeBlock = (0, react.forwardRef)(({ code, language = "typescript", highligh
|
|
|
379
379
|
]
|
|
380
380
|
})
|
|
381
381
|
});
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
const $ = (0, react_compiler_runtime.c)(21);
|
|
382
|
+
}
|
|
383
|
+
function CodeBlockHeader(t0) {
|
|
384
|
+
const $ = (0, react_compiler_runtime.c)(22);
|
|
386
385
|
let children;
|
|
387
386
|
let className;
|
|
388
387
|
let props;
|
|
388
|
+
let ref;
|
|
389
389
|
let sx;
|
|
390
390
|
if ($[0] !== t0) {
|
|
391
|
-
({sx, className, children, ...props} = t0);
|
|
391
|
+
({sx, className, children, ref, ...props} = t0);
|
|
392
392
|
$[0] = t0;
|
|
393
393
|
$[1] = children;
|
|
394
394
|
$[2] = className;
|
|
395
395
|
$[3] = props;
|
|
396
|
-
$[4] =
|
|
396
|
+
$[4] = ref;
|
|
397
|
+
$[5] = sx;
|
|
397
398
|
} else {
|
|
398
399
|
children = $[1];
|
|
399
400
|
className = $[2];
|
|
400
401
|
props = $[3];
|
|
401
|
-
|
|
402
|
+
ref = $[4];
|
|
403
|
+
sx = $[5];
|
|
402
404
|
}
|
|
403
405
|
let T0;
|
|
404
406
|
let sxProps;
|
|
405
407
|
let t1;
|
|
406
408
|
let t2;
|
|
407
409
|
let t3;
|
|
408
|
-
if ($[
|
|
410
|
+
if ($[6] !== className || $[7] !== ref || $[8] !== sx) {
|
|
409
411
|
sxProps = _stylexjs_stylex.props(styles.header, sx);
|
|
410
412
|
T0 = require_Box.Box;
|
|
411
413
|
t1 = ref;
|
|
412
414
|
t2 = "code-block-header";
|
|
413
415
|
t3 = require_utils.cn(sxProps.className, className);
|
|
414
|
-
$[
|
|
415
|
-
$[
|
|
416
|
-
$[
|
|
417
|
-
$[
|
|
418
|
-
$[
|
|
419
|
-
$[
|
|
420
|
-
$[
|
|
421
|
-
$[
|
|
416
|
+
$[6] = className;
|
|
417
|
+
$[7] = ref;
|
|
418
|
+
$[8] = sx;
|
|
419
|
+
$[9] = T0;
|
|
420
|
+
$[10] = sxProps;
|
|
421
|
+
$[11] = t1;
|
|
422
|
+
$[12] = t2;
|
|
423
|
+
$[13] = t3;
|
|
422
424
|
} else {
|
|
423
|
-
T0 = $[
|
|
424
|
-
sxProps = $[
|
|
425
|
-
t1 = $[
|
|
426
|
-
t2 = $[
|
|
427
|
-
t3 = $[
|
|
425
|
+
T0 = $[9];
|
|
426
|
+
sxProps = $[10];
|
|
427
|
+
t1 = $[11];
|
|
428
|
+
t2 = $[12];
|
|
429
|
+
t3 = $[13];
|
|
428
430
|
}
|
|
429
431
|
let t4;
|
|
430
|
-
if ($[
|
|
432
|
+
if ($[14] !== T0 || $[15] !== children || $[16] !== props || $[17] !== sxProps.style || $[18] !== t1 || $[19] !== t2 || $[20] !== t3) {
|
|
431
433
|
t4 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(T0, {
|
|
432
434
|
ref: t1,
|
|
433
435
|
"data-slot": t2,
|
|
@@ -436,75 +438,77 @@ var CodeBlockHeader = (0, react.forwardRef)((t0, ref) => {
|
|
|
436
438
|
...props,
|
|
437
439
|
children
|
|
438
440
|
});
|
|
439
|
-
$[
|
|
440
|
-
$[
|
|
441
|
-
$[
|
|
442
|
-
$[
|
|
443
|
-
$[
|
|
444
|
-
$[
|
|
445
|
-
$[
|
|
446
|
-
$[
|
|
447
|
-
} else t4 = $[
|
|
441
|
+
$[14] = T0;
|
|
442
|
+
$[15] = children;
|
|
443
|
+
$[16] = props;
|
|
444
|
+
$[17] = sxProps.style;
|
|
445
|
+
$[18] = t1;
|
|
446
|
+
$[19] = t2;
|
|
447
|
+
$[20] = t3;
|
|
448
|
+
$[21] = t4;
|
|
449
|
+
} else t4 = $[21];
|
|
448
450
|
return t4;
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
const $ = (0, react_compiler_runtime.c)(23);
|
|
451
|
+
}
|
|
452
|
+
function CodeBlockTitle(t0) {
|
|
453
|
+
const $ = (0, react_compiler_runtime.c)(24);
|
|
453
454
|
let children;
|
|
454
455
|
let className;
|
|
455
456
|
let props;
|
|
457
|
+
let ref;
|
|
456
458
|
let sx;
|
|
457
459
|
if ($[0] !== t0) {
|
|
458
|
-
({sx, className, children, ...props} = t0);
|
|
460
|
+
({sx, className, children, ref, ...props} = t0);
|
|
459
461
|
$[0] = t0;
|
|
460
462
|
$[1] = children;
|
|
461
463
|
$[2] = className;
|
|
462
464
|
$[3] = props;
|
|
463
|
-
$[4] =
|
|
465
|
+
$[4] = ref;
|
|
466
|
+
$[5] = sx;
|
|
464
467
|
} else {
|
|
465
468
|
children = $[1];
|
|
466
469
|
className = $[2];
|
|
467
470
|
props = $[3];
|
|
468
|
-
|
|
471
|
+
ref = $[4];
|
|
472
|
+
sx = $[5];
|
|
469
473
|
}
|
|
470
474
|
let T0;
|
|
471
475
|
let sxProps;
|
|
472
476
|
let t1;
|
|
473
477
|
let t2;
|
|
474
478
|
let t3;
|
|
475
|
-
if ($[
|
|
479
|
+
if ($[6] !== className || $[7] !== ref || $[8] !== sx) {
|
|
476
480
|
sxProps = _stylexjs_stylex.props(styles.title, sx);
|
|
477
481
|
T0 = require_Box.Box;
|
|
478
482
|
t1 = ref;
|
|
479
483
|
t2 = "code-block-title";
|
|
480
484
|
t3 = require_utils.cn(sxProps.className, className);
|
|
481
|
-
$[
|
|
482
|
-
$[
|
|
483
|
-
$[
|
|
484
|
-
$[
|
|
485
|
-
$[
|
|
486
|
-
$[
|
|
487
|
-
$[
|
|
488
|
-
$[
|
|
485
|
+
$[6] = className;
|
|
486
|
+
$[7] = ref;
|
|
487
|
+
$[8] = sx;
|
|
488
|
+
$[9] = T0;
|
|
489
|
+
$[10] = sxProps;
|
|
490
|
+
$[11] = t1;
|
|
491
|
+
$[12] = t2;
|
|
492
|
+
$[13] = t3;
|
|
489
493
|
} else {
|
|
490
|
-
T0 = $[
|
|
491
|
-
sxProps = $[
|
|
492
|
-
t1 = $[
|
|
493
|
-
t2 = $[
|
|
494
|
-
t3 = $[
|
|
494
|
+
T0 = $[9];
|
|
495
|
+
sxProps = $[10];
|
|
496
|
+
t1 = $[11];
|
|
497
|
+
t2 = $[12];
|
|
498
|
+
t3 = $[13];
|
|
495
499
|
}
|
|
496
500
|
let t4;
|
|
497
|
-
if ($[
|
|
501
|
+
if ($[14] !== children) {
|
|
498
502
|
t4 = typeof children === "string" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Text.Text, {
|
|
499
503
|
size: "sm",
|
|
500
504
|
weight: "medium",
|
|
501
505
|
children
|
|
502
506
|
}) : children;
|
|
503
|
-
$[
|
|
504
|
-
$[
|
|
505
|
-
} else t4 = $[
|
|
507
|
+
$[14] = children;
|
|
508
|
+
$[15] = t4;
|
|
509
|
+
} else t4 = $[15];
|
|
506
510
|
let t5;
|
|
507
|
-
if ($[
|
|
511
|
+
if ($[16] !== T0 || $[17] !== props || $[18] !== sxProps.style || $[19] !== t1 || $[20] !== t2 || $[21] !== t3 || $[22] !== t4) {
|
|
508
512
|
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(T0, {
|
|
509
513
|
ref: t1,
|
|
510
514
|
"data-slot": t2,
|
|
@@ -513,36 +517,38 @@ var CodeBlockTitle = (0, react.forwardRef)((t0, ref) => {
|
|
|
513
517
|
...props,
|
|
514
518
|
children: t4
|
|
515
519
|
});
|
|
516
|
-
$[
|
|
517
|
-
$[
|
|
518
|
-
$[
|
|
519
|
-
$[
|
|
520
|
-
$[
|
|
521
|
-
$[
|
|
522
|
-
$[
|
|
523
|
-
$[
|
|
524
|
-
} else t5 = $[
|
|
520
|
+
$[16] = T0;
|
|
521
|
+
$[17] = props;
|
|
522
|
+
$[18] = sxProps.style;
|
|
523
|
+
$[19] = t1;
|
|
524
|
+
$[20] = t2;
|
|
525
|
+
$[21] = t3;
|
|
526
|
+
$[22] = t4;
|
|
527
|
+
$[23] = t5;
|
|
528
|
+
} else t5 = $[23];
|
|
525
529
|
return t5;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
const $ = (0, react_compiler_runtime.c)(21);
|
|
530
|
+
}
|
|
531
|
+
function CodeBlockLanguage(t0) {
|
|
532
|
+
const $ = (0, react_compiler_runtime.c)(22);
|
|
530
533
|
let children;
|
|
531
534
|
let className;
|
|
532
535
|
let props;
|
|
536
|
+
let ref;
|
|
533
537
|
let sx;
|
|
534
538
|
if ($[0] !== t0) {
|
|
535
|
-
({sx, className, children, ...props} = t0);
|
|
539
|
+
({sx, className, children, ref, ...props} = t0);
|
|
536
540
|
$[0] = t0;
|
|
537
541
|
$[1] = children;
|
|
538
542
|
$[2] = className;
|
|
539
543
|
$[3] = props;
|
|
540
|
-
$[4] =
|
|
544
|
+
$[4] = ref;
|
|
545
|
+
$[5] = sx;
|
|
541
546
|
} else {
|
|
542
547
|
children = $[1];
|
|
543
548
|
className = $[2];
|
|
544
549
|
props = $[3];
|
|
545
|
-
|
|
550
|
+
ref = $[4];
|
|
551
|
+
sx = $[5];
|
|
546
552
|
}
|
|
547
553
|
const { language } = useCodeBlock();
|
|
548
554
|
let T0;
|
|
@@ -550,30 +556,30 @@ var CodeBlockLanguage = (0, react.forwardRef)((t0, ref) => {
|
|
|
550
556
|
let t1;
|
|
551
557
|
let t2;
|
|
552
558
|
let t3;
|
|
553
|
-
if ($[
|
|
559
|
+
if ($[6] !== className || $[7] !== ref || $[8] !== sx) {
|
|
554
560
|
sxProps = _stylexjs_stylex.props(styles.languageBadge, sx);
|
|
555
561
|
T0 = require_Box.Box;
|
|
556
562
|
t1 = ref;
|
|
557
563
|
t2 = "code-block-language";
|
|
558
564
|
t3 = require_utils.cn(sxProps.className, className);
|
|
559
|
-
$[
|
|
560
|
-
$[
|
|
561
|
-
$[
|
|
562
|
-
$[
|
|
563
|
-
$[
|
|
564
|
-
$[
|
|
565
|
-
$[
|
|
566
|
-
$[
|
|
565
|
+
$[6] = className;
|
|
566
|
+
$[7] = ref;
|
|
567
|
+
$[8] = sx;
|
|
568
|
+
$[9] = T0;
|
|
569
|
+
$[10] = sxProps;
|
|
570
|
+
$[11] = t1;
|
|
571
|
+
$[12] = t2;
|
|
572
|
+
$[13] = t3;
|
|
567
573
|
} else {
|
|
568
|
-
T0 = $[
|
|
569
|
-
sxProps = $[
|
|
570
|
-
t1 = $[
|
|
571
|
-
t2 = $[
|
|
572
|
-
t3 = $[
|
|
574
|
+
T0 = $[9];
|
|
575
|
+
sxProps = $[10];
|
|
576
|
+
t1 = $[11];
|
|
577
|
+
t2 = $[12];
|
|
578
|
+
t3 = $[13];
|
|
573
579
|
}
|
|
574
580
|
const t4 = children || language;
|
|
575
581
|
let t5;
|
|
576
|
-
if ($[
|
|
582
|
+
if ($[14] !== T0 || $[15] !== props || $[16] !== sxProps.style || $[17] !== t1 || $[18] !== t2 || $[19] !== t3 || $[20] !== t4) {
|
|
577
583
|
t5 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(T0, {
|
|
578
584
|
ref: t1,
|
|
579
585
|
"data-slot": t2,
|
|
@@ -582,19 +588,18 @@ var CodeBlockLanguage = (0, react.forwardRef)((t0, ref) => {
|
|
|
582
588
|
...props,
|
|
583
589
|
children: t4
|
|
584
590
|
});
|
|
585
|
-
$[
|
|
586
|
-
$[
|
|
587
|
-
$[
|
|
588
|
-
$[
|
|
589
|
-
$[
|
|
590
|
-
$[
|
|
591
|
-
$[
|
|
592
|
-
$[
|
|
593
|
-
} else t5 = $[
|
|
591
|
+
$[14] = T0;
|
|
592
|
+
$[15] = props;
|
|
593
|
+
$[16] = sxProps.style;
|
|
594
|
+
$[17] = t1;
|
|
595
|
+
$[18] = t2;
|
|
596
|
+
$[19] = t3;
|
|
597
|
+
$[20] = t4;
|
|
598
|
+
$[21] = t5;
|
|
599
|
+
} else t5 = $[21];
|
|
594
600
|
return t5;
|
|
595
|
-
}
|
|
596
|
-
|
|
597
|
-
var CodeBlockCopyButton = (0, react.forwardRef)(({ variant = "ghost", size = "icon-sm", copyLabel = "Copy code", copiedLabel = "Copied!", children, ...props }, ref) => {
|
|
601
|
+
}
|
|
602
|
+
function CodeBlockCopyButton({ variant = "ghost", size = "icon-sm", copyLabel = "Copy code", copiedLabel = "Copied!", children, ref, ...props }) {
|
|
598
603
|
const { isCopied, copy } = useCodeBlock();
|
|
599
604
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_button.Button, {
|
|
600
605
|
ref,
|
|
@@ -610,9 +615,8 @@ var CodeBlockCopyButton = (0, react.forwardRef)(({ variant = "ghost", size = "ic
|
|
|
610
615
|
color: "var(--color-success, #16a34a)"
|
|
611
616
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.Copy, { size: 14 }))
|
|
612
617
|
});
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
var CodeBlockWrapButton = (0, react.forwardRef)(({ variant = "ghost", size = "icon-sm", children, ...props }, ref) => {
|
|
618
|
+
}
|
|
619
|
+
function CodeBlockWrapButton({ variant = "ghost", size = "icon-sm", children, ref, ...props }) {
|
|
616
620
|
const { wrap, toggleWrap } = useCodeBlock();
|
|
617
621
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_button.Button, {
|
|
618
622
|
ref,
|
|
@@ -625,9 +629,8 @@ var CodeBlockWrapButton = (0, react.forwardRef)(({ variant = "ghost", size = "ic
|
|
|
625
629
|
...props,
|
|
626
630
|
children: children || /* @__PURE__ */ (0, react_jsx_runtime.jsx)(lucide_react.WrapText, { size: 14 })
|
|
627
631
|
});
|
|
628
|
-
}
|
|
629
|
-
|
|
630
|
-
var CodeBlockExpandButton = (0, react.forwardRef)(({ variant = "ghost", size = "sm", expandLabel = "Show more lines", collapseLabel = "Show less", children, ...props }, ref) => {
|
|
632
|
+
}
|
|
633
|
+
function CodeBlockExpandButton({ variant = "ghost", size = "sm", expandLabel = "Show more lines", collapseLabel = "Show less", children, ref, ...props }) {
|
|
631
634
|
const { isExpanded, toggleExpand } = useCodeBlock();
|
|
632
635
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Box.Box, {
|
|
633
636
|
sx: styles.expandBar,
|
|
@@ -648,74 +651,76 @@ var CodeBlockExpandButton = (0, react.forwardRef)(({ variant = "ghost", size = "
|
|
|
648
651
|
})
|
|
649
652
|
})
|
|
650
653
|
});
|
|
651
|
-
}
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
const $ = (0, react_compiler_runtime.c)(45);
|
|
654
|
+
}
|
|
655
|
+
function CodeBlockContent(t0) {
|
|
656
|
+
const $ = (0, react_compiler_runtime.c)(46);
|
|
655
657
|
let className;
|
|
656
658
|
let props;
|
|
659
|
+
let ref;
|
|
657
660
|
let sx;
|
|
658
661
|
if ($[0] !== t0) {
|
|
659
|
-
({sx, className, ...props} = t0);
|
|
662
|
+
({sx, className, ref, ...props} = t0);
|
|
660
663
|
$[0] = t0;
|
|
661
664
|
$[1] = className;
|
|
662
665
|
$[2] = props;
|
|
663
|
-
$[3] =
|
|
666
|
+
$[3] = ref;
|
|
667
|
+
$[4] = sx;
|
|
664
668
|
} else {
|
|
665
669
|
className = $[1];
|
|
666
670
|
props = $[2];
|
|
667
|
-
|
|
671
|
+
ref = $[3];
|
|
672
|
+
sx = $[4];
|
|
668
673
|
}
|
|
669
674
|
const { code, wrap, isExpanded, maxLines, isCollapsible, showLineNumbers, startLine, highlightedLinesSet, highlightWords, diff, disableHighlighting } = useCodeBlock();
|
|
670
675
|
let t1;
|
|
671
|
-
if ($[
|
|
676
|
+
if ($[5] !== code) {
|
|
672
677
|
t1 = code.split("\n");
|
|
673
|
-
$[
|
|
674
|
-
$[
|
|
675
|
-
} else t1 = $[
|
|
678
|
+
$[5] = code;
|
|
679
|
+
$[6] = t1;
|
|
680
|
+
} else t1 = $[6];
|
|
676
681
|
const rawLines = t1;
|
|
677
682
|
let t2;
|
|
678
|
-
if ($[
|
|
683
|
+
if ($[7] !== isCollapsible || $[8] !== isExpanded || $[9] !== maxLines || $[10] !== rawLines) {
|
|
679
684
|
t2 = isCollapsible && !isExpanded ? rawLines.slice(0, maxLines) : rawLines;
|
|
680
|
-
$[
|
|
681
|
-
$[
|
|
682
|
-
$[
|
|
683
|
-
$[
|
|
684
|
-
$[
|
|
685
|
-
} else t2 = $[
|
|
685
|
+
$[7] = isCollapsible;
|
|
686
|
+
$[8] = isExpanded;
|
|
687
|
+
$[9] = maxLines;
|
|
688
|
+
$[10] = rawLines;
|
|
689
|
+
$[11] = t2;
|
|
690
|
+
} else t2 = $[11];
|
|
686
691
|
const displayLines = t2;
|
|
687
692
|
let T0;
|
|
688
693
|
let sxProps;
|
|
689
694
|
let t3;
|
|
690
695
|
let t4;
|
|
691
696
|
let t5;
|
|
692
|
-
if ($[
|
|
697
|
+
if ($[12] !== className || $[13] !== ref || $[14] !== sx || $[15] !== wrap) {
|
|
693
698
|
sxProps = _stylexjs_stylex.props(styles.content, wrap && styles.contentWrapped, sx);
|
|
694
699
|
T0 = require_Box.Box;
|
|
695
700
|
t3 = ref;
|
|
696
701
|
t4 = "code-block-content";
|
|
697
702
|
t5 = require_utils.cn(sxProps.className, className);
|
|
698
|
-
$[
|
|
699
|
-
$[
|
|
700
|
-
$[
|
|
701
|
-
$[
|
|
702
|
-
$[
|
|
703
|
-
$[
|
|
704
|
-
$[
|
|
705
|
-
$[
|
|
706
|
-
$[
|
|
703
|
+
$[12] = className;
|
|
704
|
+
$[13] = ref;
|
|
705
|
+
$[14] = sx;
|
|
706
|
+
$[15] = wrap;
|
|
707
|
+
$[16] = T0;
|
|
708
|
+
$[17] = sxProps;
|
|
709
|
+
$[18] = t3;
|
|
710
|
+
$[19] = t4;
|
|
711
|
+
$[20] = t5;
|
|
707
712
|
} else {
|
|
708
|
-
T0 = $[
|
|
709
|
-
sxProps = $[
|
|
710
|
-
t3 = $[
|
|
711
|
-
t4 = $[
|
|
712
|
-
t5 = $[
|
|
713
|
+
T0 = $[16];
|
|
714
|
+
sxProps = $[17];
|
|
715
|
+
t3 = $[18];
|
|
716
|
+
t4 = $[19];
|
|
717
|
+
t5 = $[20];
|
|
713
718
|
}
|
|
714
719
|
const t6 = sxProps.style;
|
|
715
720
|
let t7;
|
|
716
|
-
if ($[
|
|
721
|
+
if ($[21] !== diff || $[22] !== disableHighlighting || $[23] !== displayLines || $[24] !== highlightWords || $[25] !== highlightedLinesSet || $[26] !== showLineNumbers || $[27] !== startLine) {
|
|
717
722
|
let t8;
|
|
718
|
-
if ($[
|
|
723
|
+
if ($[29] !== diff || $[30] !== disableHighlighting || $[31] !== highlightWords || $[32] !== highlightedLinesSet || $[33] !== showLineNumbers || $[34] !== startLine) {
|
|
719
724
|
t8 = (lineText, idx) => {
|
|
720
725
|
const lineNum = startLine + idx;
|
|
721
726
|
const isHighlighted = highlightedLinesSet.has(lineNum);
|
|
@@ -758,36 +763,36 @@ var CodeBlockContent = (0, react.forwardRef)((t0, ref) => {
|
|
|
758
763
|
]
|
|
759
764
|
}, idx);
|
|
760
765
|
};
|
|
761
|
-
$[
|
|
762
|
-
$[
|
|
763
|
-
$[
|
|
764
|
-
$[
|
|
765
|
-
$[
|
|
766
|
-
$[
|
|
767
|
-
$[
|
|
768
|
-
} else t8 = $[
|
|
766
|
+
$[29] = diff;
|
|
767
|
+
$[30] = disableHighlighting;
|
|
768
|
+
$[31] = highlightWords;
|
|
769
|
+
$[32] = highlightedLinesSet;
|
|
770
|
+
$[33] = showLineNumbers;
|
|
771
|
+
$[34] = startLine;
|
|
772
|
+
$[35] = t8;
|
|
773
|
+
} else t8 = $[35];
|
|
769
774
|
t7 = displayLines.map(t8);
|
|
770
|
-
$[
|
|
771
|
-
$[
|
|
772
|
-
$[
|
|
773
|
-
$[
|
|
774
|
-
$[
|
|
775
|
-
$[
|
|
776
|
-
$[
|
|
777
|
-
$[
|
|
778
|
-
} else t7 = $[
|
|
775
|
+
$[21] = diff;
|
|
776
|
+
$[22] = disableHighlighting;
|
|
777
|
+
$[23] = displayLines;
|
|
778
|
+
$[24] = highlightWords;
|
|
779
|
+
$[25] = highlightedLinesSet;
|
|
780
|
+
$[26] = showLineNumbers;
|
|
781
|
+
$[27] = startLine;
|
|
782
|
+
$[28] = t7;
|
|
783
|
+
} else t7 = $[28];
|
|
779
784
|
let t8;
|
|
780
|
-
if ($[
|
|
785
|
+
if ($[36] !== t7) {
|
|
781
786
|
t8 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Box.Box, {
|
|
782
787
|
as: "pre",
|
|
783
788
|
sx: styles.codeSurface,
|
|
784
789
|
children: t7
|
|
785
790
|
});
|
|
786
|
-
$[
|
|
787
|
-
$[
|
|
788
|
-
} else t8 = $[
|
|
791
|
+
$[36] = t7;
|
|
792
|
+
$[37] = t8;
|
|
793
|
+
} else t8 = $[37];
|
|
789
794
|
let t9;
|
|
790
|
-
if ($[
|
|
795
|
+
if ($[38] !== T0 || $[39] !== props || $[40] !== sxProps.style || $[41] !== t3 || $[42] !== t4 || $[43] !== t5 || $[44] !== t8) {
|
|
791
796
|
t9 = /* @__PURE__ */ (0, react_jsx_runtime.jsx)(T0, {
|
|
792
797
|
ref: t3,
|
|
793
798
|
"data-slot": t4,
|
|
@@ -796,18 +801,17 @@ var CodeBlockContent = (0, react.forwardRef)((t0, ref) => {
|
|
|
796
801
|
...props,
|
|
797
802
|
children: t8
|
|
798
803
|
});
|
|
799
|
-
$[
|
|
800
|
-
$[
|
|
801
|
-
$[
|
|
802
|
-
$[
|
|
803
|
-
$[
|
|
804
|
-
$[
|
|
805
|
-
$[
|
|
806
|
-
$[
|
|
807
|
-
} else t9 = $[
|
|
804
|
+
$[38] = T0;
|
|
805
|
+
$[39] = props;
|
|
806
|
+
$[40] = sxProps.style;
|
|
807
|
+
$[41] = t3;
|
|
808
|
+
$[42] = t4;
|
|
809
|
+
$[43] = t5;
|
|
810
|
+
$[44] = t8;
|
|
811
|
+
$[45] = t9;
|
|
812
|
+
} else t9 = $[45];
|
|
808
813
|
return t9;
|
|
809
|
-
}
|
|
810
|
-
CodeBlockContent.displayName = "CodeBlockContent";
|
|
814
|
+
}
|
|
811
815
|
exports.CodeBlock = CodeBlock;
|
|
812
816
|
exports.CodeBlockContent = CodeBlockContent;
|
|
813
817
|
exports.CodeBlockCopyButton = CodeBlockCopyButton;
|
package/dist/ui/code-block.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
1
|
+
import { type HTMLAttributes, type ReactNode, type Ref } from 'react';
|
|
2
2
|
import * as stylex from '@stylexjs/stylex';
|
|
3
3
|
import { type ButtonProps } from './button';
|
|
4
4
|
export interface CodeBlockDiffInfo {
|
|
@@ -41,41 +41,49 @@ export interface CodeBlockProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
41
41
|
disableHighlighting?: boolean;
|
|
42
42
|
sx?: stylex.StyleXStyles;
|
|
43
43
|
children?: ReactNode;
|
|
44
|
+
ref?: Ref<HTMLDivElement>;
|
|
44
45
|
}
|
|
45
|
-
export declare
|
|
46
|
+
export declare function CodeBlock({ code, language, highlightedLines, highlightWords, showLineNumbers, startLine, wrap: controlledWrap, defaultWrap, onWrapChange, maxLines, diff, disableHighlighting, sx, className, ref, children, ...props }: CodeBlockProps): import("react").JSX.Element;
|
|
46
47
|
export interface CodeBlockHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
47
48
|
sx?: stylex.StyleXStyles;
|
|
48
49
|
children?: ReactNode;
|
|
50
|
+
ref?: Ref<HTMLDivElement>;
|
|
49
51
|
}
|
|
50
|
-
export declare
|
|
52
|
+
export declare function CodeBlockHeader({ sx, className, children, ref, ...props }: CodeBlockHeaderProps): import("react").JSX.Element;
|
|
51
53
|
export interface CodeBlockTitleProps extends HTMLAttributes<HTMLDivElement> {
|
|
52
54
|
sx?: stylex.StyleXStyles;
|
|
53
55
|
children?: ReactNode;
|
|
56
|
+
ref?: Ref<HTMLDivElement>;
|
|
54
57
|
}
|
|
55
|
-
export declare
|
|
58
|
+
export declare function CodeBlockTitle({ sx, className, children, ref, ...props }: CodeBlockTitleProps): import("react").JSX.Element;
|
|
56
59
|
export interface CodeBlockLanguageProps extends HTMLAttributes<HTMLDivElement> {
|
|
57
60
|
sx?: stylex.StyleXStyles;
|
|
58
61
|
children?: ReactNode;
|
|
62
|
+
ref?: Ref<HTMLDivElement>;
|
|
59
63
|
}
|
|
60
|
-
export declare
|
|
64
|
+
export declare function CodeBlockLanguage({ sx, className, children, ref, ...props }: CodeBlockLanguageProps): import("react").JSX.Element;
|
|
61
65
|
export interface CodeBlockCopyButtonProps extends Omit<ButtonProps, 'onClick'> {
|
|
62
66
|
copyLabel?: string;
|
|
63
67
|
copiedLabel?: string;
|
|
64
68
|
sx?: stylex.StyleXStyles;
|
|
69
|
+
ref?: Ref<HTMLButtonElement>;
|
|
65
70
|
}
|
|
66
|
-
export declare
|
|
71
|
+
export declare function CodeBlockCopyButton({ variant, size, copyLabel, copiedLabel, children, ref, ...props }: CodeBlockCopyButtonProps): import("react").JSX.Element;
|
|
67
72
|
export interface CodeBlockWrapButtonProps extends Omit<ButtonProps, 'onClick'> {
|
|
68
73
|
sx?: stylex.StyleXStyles;
|
|
74
|
+
ref?: Ref<HTMLButtonElement>;
|
|
69
75
|
}
|
|
70
|
-
export declare
|
|
76
|
+
export declare function CodeBlockWrapButton({ variant, size, children, ref, ...props }: CodeBlockWrapButtonProps): import("react").JSX.Element;
|
|
71
77
|
export interface CodeBlockExpandButtonProps extends Omit<ButtonProps, 'onClick'> {
|
|
72
78
|
expandLabel?: string;
|
|
73
79
|
collapseLabel?: string;
|
|
74
80
|
sx?: stylex.StyleXStyles;
|
|
81
|
+
ref?: Ref<HTMLButtonElement>;
|
|
75
82
|
}
|
|
76
|
-
export declare
|
|
83
|
+
export declare function CodeBlockExpandButton({ variant, size, expandLabel, collapseLabel, children, ref, ...props }: CodeBlockExpandButtonProps): import("react").JSX.Element;
|
|
77
84
|
export interface CodeBlockContentProps extends HTMLAttributes<HTMLDivElement> {
|
|
78
85
|
sx?: stylex.StyleXStyles;
|
|
86
|
+
ref?: Ref<HTMLDivElement>;
|
|
79
87
|
}
|
|
80
|
-
export declare
|
|
88
|
+
export declare function CodeBlockContent({ sx, className, ref, ...props }: CodeBlockContentProps): import("react").JSX.Element;
|
|
81
89
|
//# sourceMappingURL=code-block.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-block.d.ts","sourceRoot":"","sources":["../../src/ui/code-block.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"code-block.d.ts","sourceRoot":"","sources":["../../src/ui/code-block.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,GAAG,EACT,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAM3C,OAAO,EAAU,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AAGpD,MAAM,WAAW,iBAAiB;IAChC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,OAAO,CAAC;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