@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/index.cjs
CHANGED
|
@@ -1079,7 +1079,9 @@ var require_es = __commonJS({
|
|
|
1079
1079
|
// src/icons/index.ts
|
|
1080
1080
|
var icons_exports = {};
|
|
1081
1081
|
__export(icons_exports, {
|
|
1082
|
-
|
|
1082
|
+
Google: () => Google,
|
|
1083
|
+
Keboola: () => Keboola,
|
|
1084
|
+
Microsoft: () => Microsoft
|
|
1083
1085
|
});
|
|
1084
1086
|
__reExport(icons_exports, lucide_react_star__namespace);
|
|
1085
1087
|
var twMerge = tailwindMerge.extendTailwindMerge({
|
|
@@ -1439,6 +1441,53 @@ var useSHA256 = (text) => {
|
|
|
1439
1441
|
}, [text]);
|
|
1440
1442
|
return text ? hash : "";
|
|
1441
1443
|
};
|
|
1444
|
+
var Google = React26.forwardRef(
|
|
1445
|
+
({ size = 24, className, children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1446
|
+
"svg",
|
|
1447
|
+
{
|
|
1448
|
+
ref,
|
|
1449
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1450
|
+
width: size,
|
|
1451
|
+
height: size,
|
|
1452
|
+
viewBox: "12 10 20 20",
|
|
1453
|
+
fill: "none",
|
|
1454
|
+
className: cn("lucide", className),
|
|
1455
|
+
...rest,
|
|
1456
|
+
children: [
|
|
1457
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1458
|
+
"path",
|
|
1459
|
+
{
|
|
1460
|
+
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",
|
|
1461
|
+
fill: "#4285F4"
|
|
1462
|
+
}
|
|
1463
|
+
),
|
|
1464
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1465
|
+
"path",
|
|
1466
|
+
{
|
|
1467
|
+
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",
|
|
1468
|
+
fill: "#34A853"
|
|
1469
|
+
}
|
|
1470
|
+
),
|
|
1471
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1472
|
+
"path",
|
|
1473
|
+
{
|
|
1474
|
+
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",
|
|
1475
|
+
fill: "#FBBC04"
|
|
1476
|
+
}
|
|
1477
|
+
),
|
|
1478
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1479
|
+
"path",
|
|
1480
|
+
{
|
|
1481
|
+
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",
|
|
1482
|
+
fill: "#EA4335"
|
|
1483
|
+
}
|
|
1484
|
+
),
|
|
1485
|
+
children
|
|
1486
|
+
]
|
|
1487
|
+
}
|
|
1488
|
+
)
|
|
1489
|
+
);
|
|
1490
|
+
Google.displayName = "Google";
|
|
1442
1491
|
var Keboola = React26.forwardRef(
|
|
1443
1492
|
({ size = 24, color = "currentColor", className, children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1444
1493
|
"svg",
|
|
@@ -1459,6 +1508,29 @@ var Keboola = React26.forwardRef(
|
|
|
1459
1508
|
)
|
|
1460
1509
|
);
|
|
1461
1510
|
Keboola.displayName = "Keboola";
|
|
1511
|
+
var Microsoft = React26.forwardRef(
|
|
1512
|
+
({ size = 24, className, children, ...rest }, ref) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1513
|
+
"svg",
|
|
1514
|
+
{
|
|
1515
|
+
ref,
|
|
1516
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1517
|
+
width: size,
|
|
1518
|
+
height: size,
|
|
1519
|
+
viewBox: "0 0 21 21",
|
|
1520
|
+
fill: "none",
|
|
1521
|
+
className: cn("lucide", className),
|
|
1522
|
+
...rest,
|
|
1523
|
+
children: [
|
|
1524
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "0", y: "0", width: "10", height: "10", fill: "#F25022" }),
|
|
1525
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "11", y: "0", width: "10", height: "10", fill: "#7FBA00" }),
|
|
1526
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "0", y: "11", width: "10", height: "10", fill: "#00A4EF" }),
|
|
1527
|
+
/* @__PURE__ */ jsxRuntime.jsx("rect", { x: "11", y: "11", width: "10", height: "10", fill: "#FFB900" }),
|
|
1528
|
+
children
|
|
1529
|
+
]
|
|
1530
|
+
}
|
|
1531
|
+
)
|
|
1532
|
+
);
|
|
1533
|
+
Microsoft.displayName = "Microsoft";
|
|
1462
1534
|
var variants = classVarianceAuthority.cva(
|
|
1463
1535
|
[
|
|
1464
1536
|
"tailwindcss-preflight",
|
|
@@ -3112,6 +3184,184 @@ var CopyField = {
|
|
|
3112
3184
|
/** Small helper text below the box. */
|
|
3113
3185
|
Footer: CopyFooter
|
|
3114
3186
|
};
|
|
3187
|
+
var LABELS = {
|
|
3188
|
+
signin: "Sign in with Microsoft",
|
|
3189
|
+
signup: "Sign up with Microsoft",
|
|
3190
|
+
continue: "Continue with Microsoft"
|
|
3191
|
+
};
|
|
3192
|
+
var MICROSOFT_FONT_STACK = "'Segoe UI', 'Helvetica Neue', Arial, sans-serif";
|
|
3193
|
+
var CLASSES = [
|
|
3194
|
+
"tailwindcss-preflight",
|
|
3195
|
+
"tw-inline-flex",
|
|
3196
|
+
"tw-items-center",
|
|
3197
|
+
"tw-justify-center",
|
|
3198
|
+
"tw-gap-3",
|
|
3199
|
+
"tw-h-[41px]",
|
|
3200
|
+
"tw-px-3",
|
|
3201
|
+
"tw-rounded-none",
|
|
3202
|
+
"tw-border",
|
|
3203
|
+
"tw-text-[15px]",
|
|
3204
|
+
"tw-font-normal",
|
|
3205
|
+
"tw-leading-none",
|
|
3206
|
+
"tw-whitespace-nowrap",
|
|
3207
|
+
"tw-select-none",
|
|
3208
|
+
"tw-cursor-pointer",
|
|
3209
|
+
"tw-transition-colors",
|
|
3210
|
+
"[&_svg]:tw-shrink-0",
|
|
3211
|
+
// focus — Microsoft's brand blue ring, independent of the active brand.
|
|
3212
|
+
"focus-visible:tw-outline-none",
|
|
3213
|
+
"focus-visible:tw-ring-2",
|
|
3214
|
+
"focus-visible:tw-ring-[#0067b8]/60",
|
|
3215
|
+
// disabled
|
|
3216
|
+
"disabled:tw-cursor-not-allowed",
|
|
3217
|
+
"disabled:tw-opacity-60",
|
|
3218
|
+
// light treatment — the base.
|
|
3219
|
+
"tw-bg-white",
|
|
3220
|
+
"tw-text-[#5e5e5e]",
|
|
3221
|
+
"tw-border-[#8c8c8c]",
|
|
3222
|
+
"hover:not-disabled:tw-bg-[#f3f3f3]",
|
|
3223
|
+
// dark treatment — auto-applied under html[data-theme=dark] (the ancestor
|
|
3224
|
+
// selector out-specifies the plain light classes above).
|
|
3225
|
+
"[[data-theme=dark]_&]:tw-bg-[#2f2f2f]",
|
|
3226
|
+
"[[data-theme=dark]_&]:tw-text-white",
|
|
3227
|
+
"[[data-theme=dark]_&]:tw-border-[#2f2f2f]",
|
|
3228
|
+
"[[data-theme=dark]_&]:hover:not-disabled:tw-bg-[#3b3b3b]"
|
|
3229
|
+
];
|
|
3230
|
+
var MicrosoftButton = ({
|
|
3231
|
+
ref,
|
|
3232
|
+
label = "signin",
|
|
3233
|
+
isLoading = false,
|
|
3234
|
+
disabled = false,
|
|
3235
|
+
type = "button",
|
|
3236
|
+
className,
|
|
3237
|
+
children,
|
|
3238
|
+
style,
|
|
3239
|
+
...buttonProps
|
|
3240
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3241
|
+
"button",
|
|
3242
|
+
{
|
|
3243
|
+
...buttonProps,
|
|
3244
|
+
ref,
|
|
3245
|
+
type,
|
|
3246
|
+
disabled: disabled || isLoading,
|
|
3247
|
+
"aria-disabled": disabled || isLoading,
|
|
3248
|
+
style: { fontFamily: MICROSOFT_FONT_STACK, ...style },
|
|
3249
|
+
className: cn(CLASSES, className),
|
|
3250
|
+
children: [
|
|
3251
|
+
isLoading ? /* @__PURE__ */ jsxRuntime.jsx(icons_exports.Loader2, { className: "tw-size-[21px] tw-shrink-0 tw-animate-spin", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx(Microsoft, { className: "tw-size-[21px]" }),
|
|
3252
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { children: children ?? LABELS[label] })
|
|
3253
|
+
]
|
|
3254
|
+
}
|
|
3255
|
+
);
|
|
3256
|
+
var LABELS2 = {
|
|
3257
|
+
signin: "Sign in with Google",
|
|
3258
|
+
signup: "Sign up with Google",
|
|
3259
|
+
continue: "Continue with Google",
|
|
3260
|
+
"signin-short": "Sign in"
|
|
3261
|
+
};
|
|
3262
|
+
var GOOGLE_FONT_STACK = "'Roboto', arial, sans-serif";
|
|
3263
|
+
var variants3 = classVarianceAuthority.cva(
|
|
3264
|
+
[
|
|
3265
|
+
"tailwindcss-preflight",
|
|
3266
|
+
"tw-inline-flex",
|
|
3267
|
+
"tw-items-center",
|
|
3268
|
+
"tw-justify-center",
|
|
3269
|
+
"tw-h-10",
|
|
3270
|
+
"tw-border",
|
|
3271
|
+
"tw-text-sm",
|
|
3272
|
+
"tw-font-medium",
|
|
3273
|
+
"tw-leading-none",
|
|
3274
|
+
"tw-whitespace-nowrap",
|
|
3275
|
+
"tw-select-none",
|
|
3276
|
+
"tw-cursor-pointer",
|
|
3277
|
+
"tw-transition-shadow",
|
|
3278
|
+
"[&_svg]:tw-shrink-0",
|
|
3279
|
+
// focus — a neutral Google-blue ring, independent of the active brand.
|
|
3280
|
+
"focus-visible:tw-outline-none",
|
|
3281
|
+
"focus-visible:tw-ring-2",
|
|
3282
|
+
"focus-visible:tw-ring-[#4285f4]/60",
|
|
3283
|
+
// disabled
|
|
3284
|
+
"disabled:tw-cursor-not-allowed",
|
|
3285
|
+
"disabled:tw-opacity-60",
|
|
3286
|
+
// dark treatment — auto-applied under html[data-theme=dark], overriding
|
|
3287
|
+
// whichever `variant` is active (the ancestor selector out-specifies the
|
|
3288
|
+
// variant's plain color classes).
|
|
3289
|
+
"[[data-theme=dark]_&]:tw-bg-[#131314]",
|
|
3290
|
+
"[[data-theme=dark]_&]:tw-text-[#e3e3e3]",
|
|
3291
|
+
"[[data-theme=dark]_&]:tw-border-[#8e918f]",
|
|
3292
|
+
"[[data-theme=dark]_&]:hover:not-disabled:tw-bg-[#1e1f20]",
|
|
3293
|
+
"[[data-theme=dark]_&]:hover:not-disabled:tw-shadow-none"
|
|
3294
|
+
],
|
|
3295
|
+
{
|
|
3296
|
+
defaultVariants: {
|
|
3297
|
+
variant: "default",
|
|
3298
|
+
shape: "rectangular",
|
|
3299
|
+
size: "default"
|
|
3300
|
+
},
|
|
3301
|
+
variants: {
|
|
3302
|
+
// Google's approved light-scheme treatments; dark (above) overrides both.
|
|
3303
|
+
variant: {
|
|
3304
|
+
default: [
|
|
3305
|
+
"tw-bg-white",
|
|
3306
|
+
"tw-text-[#1f1f1f]",
|
|
3307
|
+
"tw-border-[#747775]",
|
|
3308
|
+
"hover:not-disabled:tw-bg-[#f7f8f8]",
|
|
3309
|
+
"hover:not-disabled:tw-shadow-[0_1px_2px_0_rgba(60,64,67,0.30),0_1px_3px_1px_rgba(60,64,67,0.15)]"
|
|
3310
|
+
],
|
|
3311
|
+
neutral: [
|
|
3312
|
+
"tw-bg-[#f2f2f2]",
|
|
3313
|
+
"tw-text-[#1f1f1f]",
|
|
3314
|
+
"tw-border-transparent",
|
|
3315
|
+
"hover:not-disabled:tw-bg-[#e8eaed]"
|
|
3316
|
+
]
|
|
3317
|
+
},
|
|
3318
|
+
shape: {
|
|
3319
|
+
rectangular: ["tw-rounded"],
|
|
3320
|
+
circle: ["tw-rounded-full"]
|
|
3321
|
+
},
|
|
3322
|
+
size: {
|
|
3323
|
+
default: ["tw-gap-2.5", "tw-px-3"],
|
|
3324
|
+
icon: ["tw-w-10", "tw-p-0"]
|
|
3325
|
+
}
|
|
3326
|
+
}
|
|
3327
|
+
}
|
|
3328
|
+
);
|
|
3329
|
+
var GoogleButton = ({
|
|
3330
|
+
ref,
|
|
3331
|
+
variant = "default",
|
|
3332
|
+
shape = "rectangular",
|
|
3333
|
+
size = "default",
|
|
3334
|
+
label = "signin",
|
|
3335
|
+
isLoading = false,
|
|
3336
|
+
disabled = false,
|
|
3337
|
+
type = "button",
|
|
3338
|
+
className,
|
|
3339
|
+
children,
|
|
3340
|
+
style,
|
|
3341
|
+
...buttonProps
|
|
3342
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
3343
|
+
"button",
|
|
3344
|
+
{
|
|
3345
|
+
...buttonProps,
|
|
3346
|
+
ref,
|
|
3347
|
+
type,
|
|
3348
|
+
disabled,
|
|
3349
|
+
style: { ...style, fontFamily: GOOGLE_FONT_STACK },
|
|
3350
|
+
className: cn(variants3({ variant, shape, size }), className),
|
|
3351
|
+
children: [
|
|
3352
|
+
isLoading ? /* @__PURE__ */ jsxRuntime.jsx(icons_exports.Loader2, { className: "tw-size-5 tw-shrink-0 tw-animate-spin", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntime.jsx(Google, { className: "tw-size-5" }),
|
|
3353
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
3354
|
+
"span",
|
|
3355
|
+
{
|
|
3356
|
+
className: cn({
|
|
3357
|
+
"tw-sr-only": size === "icon"
|
|
3358
|
+
}),
|
|
3359
|
+
children: children ?? LABELS2[label]
|
|
3360
|
+
}
|
|
3361
|
+
)
|
|
3362
|
+
]
|
|
3363
|
+
}
|
|
3364
|
+
);
|
|
3115
3365
|
var Link = ({
|
|
3116
3366
|
ref,
|
|
3117
3367
|
children,
|
|
@@ -4317,12 +4567,17 @@ Sheet.Title = SheetTitle;
|
|
|
4317
4567
|
Sheet.Header = SheetHeader;
|
|
4318
4568
|
Sheet.Footer = SheetFooter;
|
|
4319
4569
|
Sheet.Body = SheetBody;
|
|
4320
|
-
var
|
|
4570
|
+
var variants4 = classVarianceAuthority.cva(
|
|
4321
4571
|
[
|
|
4322
4572
|
"tailwindcss-preflight",
|
|
4323
4573
|
"tw-group/popover-content",
|
|
4324
4574
|
"tw-z-[1055]",
|
|
4325
4575
|
"focus-visible:tw-outline-none",
|
|
4576
|
+
// An open Radix Dialog locks `pointer-events: none` on <body>. Popover content
|
|
4577
|
+
// is portalled to <body> as a sibling of the dialog, so it inherits the lock
|
|
4578
|
+
// and clicks fall through — re-enable pointer events on the content itself
|
|
4579
|
+
// (dismiss-on-outside-click still works, it listens on document).
|
|
4580
|
+
"tw-pointer-events-auto",
|
|
4326
4581
|
// sizing
|
|
4327
4582
|
"tw-min-w-32",
|
|
4328
4583
|
"tw-max-h-[var(--radix-popover-content-available-height)]",
|
|
@@ -4389,7 +4644,7 @@ var PopoverContent = ({
|
|
|
4389
4644
|
ref,
|
|
4390
4645
|
align: matchTriggerWidth ? "start" : align,
|
|
4391
4646
|
sideOffset,
|
|
4392
|
-
className: cn(
|
|
4647
|
+
className: cn(variants4({ className, matchTriggerWidth, variant: effectiveVariant })),
|
|
4393
4648
|
onEscapeKeyDown: (event) => {
|
|
4394
4649
|
event.stopPropagation();
|
|
4395
4650
|
onEscapeKeyDown?.(event);
|
|
@@ -9333,8 +9588,15 @@ var inputGroupVariants = classVarianceAuthority.cva(
|
|
|
9333
9588
|
"tw-border-input",
|
|
9334
9589
|
"tw-text-foreground",
|
|
9335
9590
|
"has-[:is(input,textarea):disabled]:tw-opacity-50",
|
|
9591
|
+
// readonly: keep the themed input surface/border. The base layer's fixed
|
|
9592
|
+
// `neutral-150` (a light grey) is correct for the legacy light chrome but
|
|
9593
|
+
// collides with argo's themed `foreground` text — light-on-light, invisible
|
|
9594
|
+
// in dark mode. Re-pin to the same `muted`/`input` tokens the editable argo
|
|
9595
|
+
// input uses (validated AA), so readonly stays legible in every scheme.
|
|
9596
|
+
"has-[:is(input,textarea)[readonly]]:tw-bg-muted",
|
|
9597
|
+
"has-[:is(input,textarea)[readonly]]:tw-border-input",
|
|
9336
9598
|
// higher specificity than has-[:is(input,textarea):focus] — prevents focus border on readonly
|
|
9337
|
-
"has-[:is(input,textarea)[readonly]:focus]:tw-border-
|
|
9599
|
+
"has-[:is(input,textarea)[readonly]:focus]:tw-border-input",
|
|
9338
9600
|
// aria-invalid on the control surfaces the error chrome without a `state` prop — the
|
|
9339
9601
|
// accessible path (uses the themeable `destructive` status token).
|
|
9340
9602
|
"has-[:is(input,textarea)[aria-invalid=true]]:tw-border-destructive",
|
|
@@ -11405,7 +11667,7 @@ var SelectSeparator = ({ className, ...props }) => /* @__PURE__ */ jsxRuntime.js
|
|
|
11405
11667
|
className: cn("tw-mx-2 tw-my-1 tw-h-px tw-bg-border", className)
|
|
11406
11668
|
}
|
|
11407
11669
|
);
|
|
11408
|
-
var
|
|
11670
|
+
var variants5 = classVarianceAuthority.cva(
|
|
11409
11671
|
[
|
|
11410
11672
|
"tailwindcss-preflight",
|
|
11411
11673
|
"tw-group",
|
|
@@ -11568,7 +11830,7 @@ var SelectTrigger = ({
|
|
|
11568
11830
|
SelectPrimitive__namespace.Trigger,
|
|
11569
11831
|
{
|
|
11570
11832
|
ref,
|
|
11571
|
-
className: cn(
|
|
11833
|
+
className: cn(variants5({ variant: effectiveVariant, state, sizing }), className),
|
|
11572
11834
|
...props,
|
|
11573
11835
|
children: [
|
|
11574
11836
|
/* @__PURE__ */ jsxRuntime.jsx(SelectPrimitive__namespace.Value, { placeholder }),
|
|
@@ -11864,7 +12126,7 @@ var BadgeLabel = ({
|
|
|
11864
12126
|
var badgeColors = {
|
|
11865
12127
|
gray: "tw-bg-neutral-400 tw-text-white tw-decoration-neutral-400",
|
|
11866
12128
|
"gray-darker": "tw-bg-neutral-500 tw-text-white tw-decoration-neutral-500",
|
|
11867
|
-
"gray-inverse": "tw-bg-neutral-100 tw-text-neutral-
|
|
12129
|
+
"gray-inverse": "tw-bg-neutral-100 tw-text-neutral-500 tw-decoration-neutral-100 [[data-theme=dark]_&]:tw-bg-neutral-700 [[data-theme=dark]_&]:tw-text-neutral-300 [[data-theme=dark]_&]:tw-decoration-neutral-700",
|
|
11868
12130
|
green: "tw-bg-green-500 tw-text-white tw-decoration-green-500",
|
|
11869
12131
|
"green-darker": "tw-bg-green-600 tw-text-white tw-decoration-green-600",
|
|
11870
12132
|
"green-inverse": "tw-bg-green-100 tw-text-green-900 tw-decoration-green-100 [[data-theme=dark]_&]:tw-bg-green-900 [[data-theme=dark]_&]:tw-text-green-200 [[data-theme=dark]_&]:tw-decoration-green-900",
|
|
@@ -15648,7 +15910,7 @@ var TableHeader = ({
|
|
|
15648
15910
|
"thead",
|
|
15649
15911
|
{
|
|
15650
15912
|
className: cn(
|
|
15651
|
-
"tw-sticky tw-top-0 tw-z-10 [&_tr]:tw-bg-
|
|
15913
|
+
"tw-sticky tw-top-0 tw-z-10 [&_tr]:tw-bg-table-header [&_tr]:tw-border-b [&_tr]:tw-border-border",
|
|
15652
15914
|
{ "tw-shadow-table": withShadow },
|
|
15653
15915
|
className
|
|
15654
15916
|
),
|
|
@@ -16873,7 +17135,7 @@ var PromptInput = ({
|
|
|
16873
17135
|
) : formEl });
|
|
16874
17136
|
};
|
|
16875
17137
|
PromptInput.Action = PromptInputAction;
|
|
16876
|
-
var
|
|
17138
|
+
var variants6 = classVarianceAuthority.cva(
|
|
16877
17139
|
["tw-relative", "tw-flex", "tw-items-center", "tw-z-0", "tw-overflow-x-hidden", "tw-w-full"],
|
|
16878
17140
|
{
|
|
16879
17141
|
defaultVariants: {
|
|
@@ -16899,7 +17161,7 @@ var Progress = ({
|
|
|
16899
17161
|
variant,
|
|
16900
17162
|
size,
|
|
16901
17163
|
...props
|
|
16902
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx(reactProgress.Root, { ...props, ref, className: cn(
|
|
17164
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(reactProgress.Root, { ...props, ref, className: cn(variants6({ variant, size, className })), value, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
16903
17165
|
reactProgress.Indicator,
|
|
16904
17166
|
{
|
|
16905
17167
|
"data-slot": "progress-indicator",
|
|
@@ -17892,7 +18154,7 @@ var ToastTitle = ({
|
|
|
17892
18154
|
children
|
|
17893
18155
|
}
|
|
17894
18156
|
);
|
|
17895
|
-
var
|
|
18157
|
+
var variants7 = classVarianceAuthority.cva(
|
|
17896
18158
|
[
|
|
17897
18159
|
"tailwindcss-preflight",
|
|
17898
18160
|
"tw-group/toast",
|
|
@@ -17962,7 +18224,7 @@ var ToastRoot = ({
|
|
|
17962
18224
|
"data-variant": variant,
|
|
17963
18225
|
"data-argo": renderArgo,
|
|
17964
18226
|
className: cn(
|
|
17965
|
-
|
|
18227
|
+
variants7({ variant }),
|
|
17966
18228
|
"data-[variant=default]:data-[argo=true]:tw-bg-background"
|
|
17967
18229
|
),
|
|
17968
18230
|
children: [
|
|
@@ -20855,7 +21117,7 @@ var NavbarHeader = ({ children, className, ...rest }) => (
|
|
|
20855
21117
|
// renders null when the active brand ships no logo, so no provider gate needed.
|
|
20856
21118
|
/* @__PURE__ */ jsxRuntime.jsx("div", { ...rest, className: cn("tw-overflow-hidden", "tw-py-1.5", className), children: children ?? /* @__PURE__ */ jsxRuntime.jsx(BrandLogo, { variant: "wordmark", className: "tw-h-7" }) })
|
|
20857
21119
|
);
|
|
20858
|
-
var
|
|
21120
|
+
var variants8 = classVarianceAuthority.cva(["tw-p-0", "tw-flex", "tw-items-center", "tw-justify-center", "tw-gap-2"], {
|
|
20859
21121
|
variants: {
|
|
20860
21122
|
marker: {
|
|
20861
21123
|
none: [],
|
|
@@ -20875,7 +21137,7 @@ var variants7 = classVarianceAuthority.cva(["tw-p-0", "tw-flex", "tw-items-cente
|
|
|
20875
21137
|
marker: "none"
|
|
20876
21138
|
}
|
|
20877
21139
|
});
|
|
20878
|
-
var NavbarMenu = ({ className, marker, ...rest }) => /* @__PURE__ */ jsxRuntime.jsx("ul", { ...rest, className:
|
|
21140
|
+
var NavbarMenu = ({ className, marker, ...rest }) => /* @__PURE__ */ jsxRuntime.jsx("ul", { ...rest, className: variants8({ marker, className }) });
|
|
20879
21141
|
var NavbarMenuAvatar = ({
|
|
20880
21142
|
ref,
|
|
20881
21143
|
className,
|
|
@@ -20927,7 +21189,7 @@ var NavbarMenuAvatar = ({
|
|
|
20927
21189
|
}
|
|
20928
21190
|
);
|
|
20929
21191
|
};
|
|
20930
|
-
var
|
|
21192
|
+
var variants9 = classVarianceAuthority.cva(
|
|
20931
21193
|
[
|
|
20932
21194
|
"tw-flex",
|
|
20933
21195
|
"tw-justify-center",
|
|
@@ -20978,9 +21240,9 @@ var NavbarMenuItemAdornment = ({
|
|
|
20978
21240
|
...props
|
|
20979
21241
|
}) => {
|
|
20980
21242
|
const Comp = asChild ? reactSlot.Slot : "span";
|
|
20981
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Comp, { ...props, ref, className:
|
|
21243
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Comp, { ...props, ref, className: variants9({ variant, className }) });
|
|
20982
21244
|
};
|
|
20983
|
-
var
|
|
21245
|
+
var variants10 = classVarianceAuthority.cva(
|
|
20984
21246
|
[
|
|
20985
21247
|
"tw-group/navbar-menu-button",
|
|
20986
21248
|
"tw-box-border",
|
|
@@ -21078,7 +21340,7 @@ var NavbarMenuButton = ({
|
|
|
21078
21340
|
ref,
|
|
21079
21341
|
type,
|
|
21080
21342
|
"data-variant": variant,
|
|
21081
|
-
className: cn(
|
|
21343
|
+
className: cn(variants10({ className, variant })),
|
|
21082
21344
|
children: [
|
|
21083
21345
|
adornment && /* @__PURE__ */ jsxRuntime.jsx(NavbarMenuItemAdornment, { variant: adornmentVariant, children: adornment }),
|
|
21084
21346
|
/* @__PURE__ */ jsxRuntime.jsx(reactSlot.Slottable, { children })
|
|
@@ -22342,7 +22604,7 @@ Pagination.Button = PaginationButton;
|
|
|
22342
22604
|
Pagination.Previous = PaginationPrevious;
|
|
22343
22605
|
Pagination.Next = PaginationNext;
|
|
22344
22606
|
Pagination.Ellipsis = PaginationEllipsis;
|
|
22345
|
-
var
|
|
22607
|
+
var variants11 = classVarianceAuthority.cva(["tw-p-0.5", "tw-text-inherit", "tw-inline-flex"], {
|
|
22346
22608
|
variants: {
|
|
22347
22609
|
diff: {
|
|
22348
22610
|
added: ["tw-bg-green-200"],
|
|
@@ -22350,8 +22612,8 @@ var variants10 = classVarianceAuthority.cva(["tw-p-0.5", "tw-text-inherit", "tw-
|
|
|
22350
22612
|
}
|
|
22351
22613
|
}
|
|
22352
22614
|
});
|
|
22353
|
-
var DiffViewMark = ({ diff, children, className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("mark", { ...props, className: cn(
|
|
22354
|
-
var
|
|
22615
|
+
var DiffViewMark = ({ diff, children, className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx("mark", { ...props, className: cn(variants11({ diff, className })), children });
|
|
22616
|
+
var variants12 = classVarianceAuthority.cva(
|
|
22355
22617
|
[
|
|
22356
22618
|
// reset global styles
|
|
22357
22619
|
"[&_pre]:tw-p-0",
|
|
@@ -22419,7 +22681,7 @@ var variants11 = classVarianceAuthority.cva(
|
|
|
22419
22681
|
);
|
|
22420
22682
|
var DiffViewTd = ({ diff, variant = "default", children, className, ...props }) => {
|
|
22421
22683
|
const needsCodeFormatting = variant === "code" || variant === "gutter";
|
|
22422
|
-
return /* @__PURE__ */ jsxRuntime.jsx("td", { ...props, className: cn(
|
|
22684
|
+
return /* @__PURE__ */ jsxRuntime.jsx("td", { ...props, className: cn(variants12({ variant, className, diff })), children: needsCodeFormatting ? /* @__PURE__ */ jsxRuntime.jsx("pre", { children }) : children });
|
|
22423
22685
|
};
|
|
22424
22686
|
var DiffViewTh = ({ variant = "default", children, className, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
22425
22687
|
"th",
|
|
@@ -24645,6 +24907,7 @@ exports.FormGroup = FormGroup;
|
|
|
24645
24907
|
exports.FullScreenModal = FullScreenModal;
|
|
24646
24908
|
exports.FullScreenModalBody = FullScreenModalBody;
|
|
24647
24909
|
exports.FullScreenModalHeader = FullScreenModalHeader;
|
|
24910
|
+
exports.GoogleButton = GoogleButton;
|
|
24648
24911
|
exports.HelpBlock = HelpBlock;
|
|
24649
24912
|
exports.HoverCard = HoverCard;
|
|
24650
24913
|
exports.InlineStepDetail = InlineStepDetail;
|
|
@@ -24656,6 +24919,7 @@ exports.Link = Link;
|
|
|
24656
24919
|
exports.Markdown = Markdown;
|
|
24657
24920
|
exports.MarkedText = MarkedText;
|
|
24658
24921
|
exports.MessageBubble = MessageBubble;
|
|
24922
|
+
exports.MicrosoftButton = MicrosoftButton;
|
|
24659
24923
|
exports.Modal = Modal;
|
|
24660
24924
|
exports.MultiActionButtonGroup = MultiActionButtonGroup;
|
|
24661
24925
|
exports.MultiCombobox = MultiCombobox;
|