@keboola/design 6.3.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
@@ -380,7 +380,8 @@ var HelpBlock = ({ children, className, state = "default", ...rest }) => {
380
380
  var icons_exports = {};
381
381
  __export(icons_exports, {
382
382
  Google: () => Google,
383
- Keboola: () => Keboola
383
+ Keboola: () => Keboola,
384
+ Microsoft: () => Microsoft
384
385
  });
385
386
  __reExport(icons_exports, lucide_react_star);
386
387
  var Google = forwardRef(
@@ -450,6 +451,29 @@ var Keboola = forwardRef(
450
451
  )
451
452
  );
452
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";
453
477
  var variants = cva(
454
478
  [
455
479
  "tailwindcss-preflight",
@@ -2592,8 +2616,15 @@ var inputGroupVariants = cva(
2592
2616
  "tw-border-input",
2593
2617
  "tw-text-foreground",
2594
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",
2595
2626
  // higher specificity than has-[:is(input,textarea):focus] — prevents focus border on readonly
2596
- "has-[:is(input,textarea)[readonly]:focus]:tw-border-neutral-150",
2627
+ "has-[:is(input,textarea)[readonly]:focus]:tw-border-input",
2597
2628
  // aria-invalid on the control surfaces the error chrome without a `state` prop — the
2598
2629
  // accessible path (uses the themeable `destructive` status token).
2599
2630
  "has-[:is(input,textarea)[aria-invalid=true]]:tw-border-destructive",
@@ -7369,6 +7400,11 @@ var variants2 = cva(
7369
7400
  "tw-group/popover-content",
7370
7401
  "tw-z-[1055]",
7371
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",
7372
7408
  // sizing
7373
7409
  "tw-min-w-32",
7374
7410
  "tw-max-h-[var(--radix-popover-content-available-height)]",
@@ -8371,7 +8407,7 @@ var BadgeLabel = ({
8371
8407
  var badgeColors = {
8372
8408
  gray: "tw-bg-neutral-400 tw-text-white tw-decoration-neutral-400",
8373
8409
  "gray-darker": "tw-bg-neutral-500 tw-text-white tw-decoration-neutral-500",
8374
- "gray-inverse": "tw-bg-neutral-100 tw-text-neutral-500 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",
8375
8411
  green: "tw-bg-green-500 tw-text-white tw-decoration-green-500",
8376
8412
  "green-darker": "tw-bg-green-600 tw-text-white tw-decoration-green-600",
8377
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",