@keboola/design 6.2.0 → 6.4.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/editors.cjs +73 -1
- package/dist/editors.cjs.map +1 -1
- package/dist/editors.js +73 -1
- package/dist/editors.js.map +1 -1
- package/dist/icons.cjs +72 -0
- package/dist/icons.cjs.map +1 -1
- package/dist/icons.d.cts +5 -1
- package/dist/icons.d.ts +5 -1
- package/dist/icons.js +71 -1
- package/dist/icons.js.map +1 -1
- package/dist/index.cjs +286 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +83 -54
- package/dist/index.d.ts +83 -54
- package/dist/index.js +285 -23
- package/dist/index.js.map +1 -1
- package/dist/markdown-editor.cjs +97 -4
- package/dist/markdown-editor.cjs.map +1 -1
- package/dist/markdown-editor.js +97 -4
- package/dist/markdown-editor.js.map +1 -1
- package/dist/mermaid.cjs +73 -1
- package/dist/mermaid.cjs.map +1 -1
- package/dist/mermaid.js +73 -1
- package/dist/mermaid.js.map +1 -1
- package/dist/rjsf.cjs +87 -3
- package/dist/rjsf.cjs.map +1 -1
- package/dist/rjsf.js +87 -3
- package/dist/rjsf.js.map +1 -1
- package/dist/styles.css +2 -2
- package/package.json +7 -6
- package/src/styles.css +4 -0
package/dist/markdown-editor.cjs
CHANGED
|
@@ -567,6 +567,59 @@ var init_Skeleton = __esm({
|
|
|
567
567
|
};
|
|
568
568
|
}
|
|
569
569
|
});
|
|
570
|
+
var Google;
|
|
571
|
+
var init_Google = __esm({
|
|
572
|
+
"src/icons/Google.tsx"() {
|
|
573
|
+
init_utils2();
|
|
574
|
+
Google = react.forwardRef(
|
|
575
|
+
({ size = 24, className, children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
576
|
+
"svg",
|
|
577
|
+
{
|
|
578
|
+
ref,
|
|
579
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
580
|
+
width: size,
|
|
581
|
+
height: size,
|
|
582
|
+
viewBox: "12 10 20 20",
|
|
583
|
+
fill: "none",
|
|
584
|
+
className: cn("lucide", className),
|
|
585
|
+
...rest,
|
|
586
|
+
children: [
|
|
587
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
588
|
+
"path",
|
|
589
|
+
{
|
|
590
|
+
d: "M31.6 20.2273C31.6 19.5182 31.5364 18.8364 31.4182 18.1818H22V22.05H27.3818C27.15 23.3 26.4455 24.3591 25.3864 25.0682V27.5773H28.6182C30.5091 25.8364 31.6 23.2727 31.6 20.2273Z",
|
|
591
|
+
fill: "#4285F4"
|
|
592
|
+
}
|
|
593
|
+
),
|
|
594
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
595
|
+
"path",
|
|
596
|
+
{
|
|
597
|
+
d: "M22 30C24.7 30 26.9636 29.1045 28.6181 27.5773L25.3863 25.0682C24.4909 25.6682 23.3454 26.0227 22 26.0227C19.3954 26.0227 17.1909 24.2636 16.4045 21.9H13.0636V24.4909C14.7091 27.7591 18.0909 30 22 30Z",
|
|
598
|
+
fill: "#34A853"
|
|
599
|
+
}
|
|
600
|
+
),
|
|
601
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
602
|
+
"path",
|
|
603
|
+
{
|
|
604
|
+
d: "M16.4045 21.9C16.2045 21.3 16.0909 20.6591 16.0909 20C16.0909 19.3409 16.2045 18.7 16.4045 18.1V15.5091H13.0636C12.3864 16.8591 12 18.3864 12 20C12 21.6136 12.3864 23.1409 13.0636 24.4909L16.4045 21.9Z",
|
|
605
|
+
fill: "#FBBC04"
|
|
606
|
+
}
|
|
607
|
+
),
|
|
608
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
609
|
+
"path",
|
|
610
|
+
{
|
|
611
|
+
d: "M22 13.9773C23.4681 13.9773 24.7863 14.4818 25.8227 15.4727L28.6909 12.6045C26.9591 10.9909 24.6954 10 22 10C18.0909 10 14.7091 12.2409 13.0636 15.5091L16.4045 18.1C17.1909 15.7364 19.3954 13.9773 22 13.9773Z",
|
|
612
|
+
fill: "#EA4335"
|
|
613
|
+
}
|
|
614
|
+
),
|
|
615
|
+
children
|
|
616
|
+
]
|
|
617
|
+
}
|
|
618
|
+
)
|
|
619
|
+
);
|
|
620
|
+
Google.displayName = "Google";
|
|
621
|
+
}
|
|
622
|
+
});
|
|
570
623
|
var Keboola;
|
|
571
624
|
var init_Keboola = __esm({
|
|
572
625
|
"src/icons/Keboola.tsx"() {
|
|
@@ -593,16 +646,49 @@ var init_Keboola = __esm({
|
|
|
593
646
|
Keboola.displayName = "Keboola";
|
|
594
647
|
}
|
|
595
648
|
});
|
|
649
|
+
var Microsoft;
|
|
650
|
+
var init_Microsoft = __esm({
|
|
651
|
+
"src/icons/Microsoft.tsx"() {
|
|
652
|
+
init_utils2();
|
|
653
|
+
Microsoft = react.forwardRef(
|
|
654
|
+
({ size = 24, className, children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
655
|
+
"svg",
|
|
656
|
+
{
|
|
657
|
+
ref,
|
|
658
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
659
|
+
width: size,
|
|
660
|
+
height: size,
|
|
661
|
+
viewBox: "0 0 21 21",
|
|
662
|
+
fill: "none",
|
|
663
|
+
className: cn("lucide", className),
|
|
664
|
+
...rest,
|
|
665
|
+
children: [
|
|
666
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "0", y: "0", width: "10", height: "10", fill: "#F25022" }),
|
|
667
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "11", y: "0", width: "10", height: "10", fill: "#7FBA00" }),
|
|
668
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "0", y: "11", width: "10", height: "10", fill: "#00A4EF" }),
|
|
669
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "11", y: "11", width: "10", height: "10", fill: "#FFB900" }),
|
|
670
|
+
children
|
|
671
|
+
]
|
|
672
|
+
}
|
|
673
|
+
)
|
|
674
|
+
);
|
|
675
|
+
Microsoft.displayName = "Microsoft";
|
|
676
|
+
}
|
|
677
|
+
});
|
|
596
678
|
|
|
597
679
|
// src/icons/index.ts
|
|
598
680
|
var icons_exports = {};
|
|
599
681
|
__export(icons_exports, {
|
|
600
|
-
|
|
682
|
+
Google: () => Google,
|
|
683
|
+
Keboola: () => Keboola,
|
|
684
|
+
Microsoft: () => Microsoft
|
|
601
685
|
});
|
|
602
686
|
var init_icons = __esm({
|
|
603
687
|
"src/icons/index.ts"() {
|
|
604
688
|
__reExport(icons_exports, lucide_react_star__namespace);
|
|
689
|
+
init_Google();
|
|
605
690
|
init_Keboola();
|
|
691
|
+
init_Microsoft();
|
|
606
692
|
}
|
|
607
693
|
});
|
|
608
694
|
var variants, argoVariants;
|
|
@@ -3487,8 +3573,15 @@ var inputGroupVariants = classVarianceAuthority.cva(
|
|
|
3487
3573
|
"tw-border-input",
|
|
3488
3574
|
"tw-text-foreground",
|
|
3489
3575
|
"has-[:is(input,textarea):disabled]:tw-opacity-50",
|
|
3576
|
+
// readonly: keep the themed input surface/border. The base layer's fixed
|
|
3577
|
+
// `neutral-150` (a light grey) is correct for the legacy light chrome but
|
|
3578
|
+
// collides with argo's themed `foreground` text — light-on-light, invisible
|
|
3579
|
+
// in dark mode. Re-pin to the same `muted`/`input` tokens the editable argo
|
|
3580
|
+
// input uses (validated AA), so readonly stays legible in every scheme.
|
|
3581
|
+
"has-[:is(input,textarea)[readonly]]:tw-bg-muted",
|
|
3582
|
+
"has-[:is(input,textarea)[readonly]]:tw-border-input",
|
|
3490
3583
|
// higher specificity than has-[:is(input,textarea):focus] — prevents focus border on readonly
|
|
3491
|
-
"has-[:is(input,textarea)[readonly]:focus]:tw-border-
|
|
3584
|
+
"has-[:is(input,textarea)[readonly]:focus]:tw-border-input",
|
|
3492
3585
|
// aria-invalid on the control surfaces the error chrome without a `state` prop — the
|
|
3493
3586
|
// accessible path (uses the themeable `destructive` status token).
|
|
3494
3587
|
"has-[:is(input,textarea)[aria-invalid=true]]:tw-border-destructive",
|
|
@@ -4199,7 +4292,7 @@ var LinkPanel = ({ editor, isLink }) => {
|
|
|
4199
4292
|
"div",
|
|
4200
4293
|
{
|
|
4201
4294
|
ref: panelRef,
|
|
4202
|
-
className: "tw-absolute tw-left-0 tw-top-full tw-z-50 tw-mt-1 tw-w-80 tw-rounded-md tw-border tw-border-border tw-bg-popover tw-text-popover-foreground tw-
|
|
4295
|
+
className: "tw-absolute tw-left-0 tw-top-full tw-z-50 tw-mt-1 tw-w-80 tw-rounded-md tw-border tw-border-border tw-bg-popover tw-p-3 tw-text-popover-foreground tw-shadow-lg",
|
|
4203
4296
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "tw-flex tw-flex-col tw-gap-2", children: [
|
|
4204
4297
|
/* @__PURE__ */ jsxRuntime.jsxs(FormGroup, { children: [
|
|
4205
4298
|
/* @__PURE__ */ jsxRuntime.jsx(Label2, { htmlFor: "link-label", className: "tw-mb-1 tw-text-xs", children: "Label" }),
|
|
@@ -4348,7 +4441,7 @@ var ToolbarPlugin = () => {
|
|
|
4348
4441
|
"aria-label": "Formatting options",
|
|
4349
4442
|
onMouseDown: (e) => e.preventDefault(),
|
|
4350
4443
|
style: { top: position.top, left: position.left },
|
|
4351
|
-
className: "tw-absolute tw-z-[1060] tw-flex tw--translate-y-full tw-items-center tw-gap-0.5 tw-rounded-lg tw-border tw-border-border tw-bg-popover tw-
|
|
4444
|
+
className: "tw-absolute tw-z-[1060] tw-flex tw--translate-y-full tw-items-center tw-gap-0.5 tw-rounded-lg tw-border tw-border-border tw-bg-popover tw-px-1.5 tw-py-1 tw-text-popover-foreground tw-shadow-lg",
|
|
4352
4445
|
children: [
|
|
4353
4446
|
/* @__PURE__ */ jsxRuntime.jsx(BlockTypeDropdown, { editor, blockType }),
|
|
4354
4447
|
/* @__PURE__ */ jsxRuntime.jsx(ToolbarDivider, {}),
|