@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/rjsf.js CHANGED
@@ -379,9 +379,58 @@ var HelpBlock = ({ children, className, state = "default", ...rest }) => {
379
379
  // src/icons/index.ts
380
380
  var icons_exports = {};
381
381
  __export(icons_exports, {
382
- Keboola: () => Keboola
382
+ Google: () => Google,
383
+ Keboola: () => Keboola,
384
+ Microsoft: () => Microsoft
383
385
  });
384
386
  __reExport(icons_exports, lucide_react_star);
387
+ var Google = forwardRef(
388
+ ({ size = 24, className, children, ...rest }, ref) => /* @__PURE__ */ jsxs(
389
+ "svg",
390
+ {
391
+ ref,
392
+ xmlns: "http://www.w3.org/2000/svg",
393
+ width: size,
394
+ height: size,
395
+ viewBox: "12 10 20 20",
396
+ fill: "none",
397
+ className: cn("lucide", className),
398
+ ...rest,
399
+ children: [
400
+ /* @__PURE__ */ jsx(
401
+ "path",
402
+ {
403
+ 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",
404
+ fill: "#4285F4"
405
+ }
406
+ ),
407
+ /* @__PURE__ */ jsx(
408
+ "path",
409
+ {
410
+ 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",
411
+ fill: "#34A853"
412
+ }
413
+ ),
414
+ /* @__PURE__ */ jsx(
415
+ "path",
416
+ {
417
+ 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",
418
+ fill: "#FBBC04"
419
+ }
420
+ ),
421
+ /* @__PURE__ */ jsx(
422
+ "path",
423
+ {
424
+ 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",
425
+ fill: "#EA4335"
426
+ }
427
+ ),
428
+ children
429
+ ]
430
+ }
431
+ )
432
+ );
433
+ Google.displayName = "Google";
385
434
  var Keboola = forwardRef(
386
435
  ({ size = 24, color = "currentColor", className, children, ...rest }, ref) => /* @__PURE__ */ jsxs(
387
436
  "svg",
@@ -402,6 +451,29 @@ var Keboola = forwardRef(
402
451
  )
403
452
  );
404
453
  Keboola.displayName = "Keboola";
454
+ var Microsoft = forwardRef(
455
+ ({ size = 24, className, children, ...rest }, ref) => /* @__PURE__ */ jsxs(
456
+ "svg",
457
+ {
458
+ ref,
459
+ xmlns: "http://www.w3.org/2000/svg",
460
+ width: size,
461
+ height: size,
462
+ viewBox: "0 0 21 21",
463
+ fill: "none",
464
+ className: cn("lucide", className),
465
+ ...rest,
466
+ children: [
467
+ /* @__PURE__ */ jsx("rect", { x: "0", y: "0", width: "10", height: "10", fill: "#F25022" }),
468
+ /* @__PURE__ */ jsx("rect", { x: "11", y: "0", width: "10", height: "10", fill: "#7FBA00" }),
469
+ /* @__PURE__ */ jsx("rect", { x: "0", y: "11", width: "10", height: "10", fill: "#00A4EF" }),
470
+ /* @__PURE__ */ jsx("rect", { x: "11", y: "11", width: "10", height: "10", fill: "#FFB900" }),
471
+ children
472
+ ]
473
+ }
474
+ )
475
+ );
476
+ Microsoft.displayName = "Microsoft";
405
477
  var variants = cva(
406
478
  [
407
479
  "tailwindcss-preflight",
@@ -2544,8 +2616,15 @@ var inputGroupVariants = cva(
2544
2616
  "tw-border-input",
2545
2617
  "tw-text-foreground",
2546
2618
  "has-[:is(input,textarea):disabled]:tw-opacity-50",
2619
+ // readonly: keep the themed input surface/border. The base layer's fixed
2620
+ // `neutral-150` (a light grey) is correct for the legacy light chrome but
2621
+ // collides with argo's themed `foreground` text — light-on-light, invisible
2622
+ // in dark mode. Re-pin to the same `muted`/`input` tokens the editable argo
2623
+ // input uses (validated AA), so readonly stays legible in every scheme.
2624
+ "has-[:is(input,textarea)[readonly]]:tw-bg-muted",
2625
+ "has-[:is(input,textarea)[readonly]]:tw-border-input",
2547
2626
  // higher specificity than has-[:is(input,textarea):focus] — prevents focus border on readonly
2548
- "has-[:is(input,textarea)[readonly]:focus]:tw-border-neutral-150",
2627
+ "has-[:is(input,textarea)[readonly]:focus]:tw-border-input",
2549
2628
  // aria-invalid on the control surfaces the error chrome without a `state` prop — the
2550
2629
  // accessible path (uses the themeable `destructive` status token).
2551
2630
  "has-[:is(input,textarea)[aria-invalid=true]]:tw-border-destructive",
@@ -7321,6 +7400,11 @@ var variants2 = cva(
7321
7400
  "tw-group/popover-content",
7322
7401
  "tw-z-[1055]",
7323
7402
  "focus-visible:tw-outline-none",
7403
+ // An open Radix Dialog locks `pointer-events: none` on <body>. Popover content
7404
+ // is portalled to <body> as a sibling of the dialog, so it inherits the lock
7405
+ // and clicks fall through — re-enable pointer events on the content itself
7406
+ // (dismiss-on-outside-click still works, it listens on document).
7407
+ "tw-pointer-events-auto",
7324
7408
  // sizing
7325
7409
  "tw-min-w-32",
7326
7410
  "tw-max-h-[var(--radix-popover-content-available-height)]",
@@ -8323,7 +8407,7 @@ var BadgeLabel = ({
8323
8407
  var badgeColors = {
8324
8408
  gray: "tw-bg-neutral-400 tw-text-white tw-decoration-neutral-400",
8325
8409
  "gray-darker": "tw-bg-neutral-500 tw-text-white tw-decoration-neutral-500",
8326
- "gray-inverse": "tw-bg-neutral-100 tw-text-neutral-400 tw-decoration-neutral-100 [[data-theme=dark]_&]:tw-bg-neutral-800 [[data-theme=dark]_&]:tw-text-neutral-300 [[data-theme=dark]_&]:tw-decoration-neutral-800",
8410
+ "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",
8327
8411
  green: "tw-bg-green-500 tw-text-white tw-decoration-green-500",
8328
8412
  "green-darker": "tw-bg-green-600 tw-text-white tw-decoration-green-600",
8329
8413
  "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",