@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.
@@ -538,6 +538,59 @@ var init_Skeleton = __esm({
538
538
  };
539
539
  }
540
540
  });
541
+ var Google;
542
+ var init_Google = __esm({
543
+ "src/icons/Google.tsx"() {
544
+ init_utils2();
545
+ Google = forwardRef(
546
+ ({ size = 24, className, children, ...rest }, ref) => /* @__PURE__ */ jsxs(
547
+ "svg",
548
+ {
549
+ ref,
550
+ xmlns: "http://www.w3.org/2000/svg",
551
+ width: size,
552
+ height: size,
553
+ viewBox: "12 10 20 20",
554
+ fill: "none",
555
+ className: cn("lucide", className),
556
+ ...rest,
557
+ children: [
558
+ /* @__PURE__ */ jsx(
559
+ "path",
560
+ {
561
+ 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",
562
+ fill: "#4285F4"
563
+ }
564
+ ),
565
+ /* @__PURE__ */ jsx(
566
+ "path",
567
+ {
568
+ 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",
569
+ fill: "#34A853"
570
+ }
571
+ ),
572
+ /* @__PURE__ */ jsx(
573
+ "path",
574
+ {
575
+ 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",
576
+ fill: "#FBBC04"
577
+ }
578
+ ),
579
+ /* @__PURE__ */ jsx(
580
+ "path",
581
+ {
582
+ 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",
583
+ fill: "#EA4335"
584
+ }
585
+ ),
586
+ children
587
+ ]
588
+ }
589
+ )
590
+ );
591
+ Google.displayName = "Google";
592
+ }
593
+ });
541
594
  var Keboola;
542
595
  var init_Keboola = __esm({
543
596
  "src/icons/Keboola.tsx"() {
@@ -564,16 +617,49 @@ var init_Keboola = __esm({
564
617
  Keboola.displayName = "Keboola";
565
618
  }
566
619
  });
620
+ var Microsoft;
621
+ var init_Microsoft = __esm({
622
+ "src/icons/Microsoft.tsx"() {
623
+ init_utils2();
624
+ Microsoft = forwardRef(
625
+ ({ size = 24, className, children, ...rest }, ref) => /* @__PURE__ */ jsxs(
626
+ "svg",
627
+ {
628
+ ref,
629
+ xmlns: "http://www.w3.org/2000/svg",
630
+ width: size,
631
+ height: size,
632
+ viewBox: "0 0 21 21",
633
+ fill: "none",
634
+ className: cn("lucide", className),
635
+ ...rest,
636
+ children: [
637
+ /* @__PURE__ */ jsx("rect", { x: "0", y: "0", width: "10", height: "10", fill: "#F25022" }),
638
+ /* @__PURE__ */ jsx("rect", { x: "11", y: "0", width: "10", height: "10", fill: "#7FBA00" }),
639
+ /* @__PURE__ */ jsx("rect", { x: "0", y: "11", width: "10", height: "10", fill: "#00A4EF" }),
640
+ /* @__PURE__ */ jsx("rect", { x: "11", y: "11", width: "10", height: "10", fill: "#FFB900" }),
641
+ children
642
+ ]
643
+ }
644
+ )
645
+ );
646
+ Microsoft.displayName = "Microsoft";
647
+ }
648
+ });
567
649
 
568
650
  // src/icons/index.ts
569
651
  var icons_exports = {};
570
652
  __export(icons_exports, {
571
- Keboola: () => Keboola
653
+ Google: () => Google,
654
+ Keboola: () => Keboola,
655
+ Microsoft: () => Microsoft
572
656
  });
573
657
  var init_icons = __esm({
574
658
  "src/icons/index.ts"() {
575
659
  __reExport(icons_exports, lucide_react_star);
660
+ init_Google();
576
661
  init_Keboola();
662
+ init_Microsoft();
577
663
  }
578
664
  });
579
665
  var variants, argoVariants;
@@ -3458,8 +3544,15 @@ var inputGroupVariants = cva(
3458
3544
  "tw-border-input",
3459
3545
  "tw-text-foreground",
3460
3546
  "has-[:is(input,textarea):disabled]:tw-opacity-50",
3547
+ // readonly: keep the themed input surface/border. The base layer's fixed
3548
+ // `neutral-150` (a light grey) is correct for the legacy light chrome but
3549
+ // collides with argo's themed `foreground` text — light-on-light, invisible
3550
+ // in dark mode. Re-pin to the same `muted`/`input` tokens the editable argo
3551
+ // input uses (validated AA), so readonly stays legible in every scheme.
3552
+ "has-[:is(input,textarea)[readonly]]:tw-bg-muted",
3553
+ "has-[:is(input,textarea)[readonly]]:tw-border-input",
3461
3554
  // higher specificity than has-[:is(input,textarea):focus] — prevents focus border on readonly
3462
- "has-[:is(input,textarea)[readonly]:focus]:tw-border-neutral-150",
3555
+ "has-[:is(input,textarea)[readonly]:focus]:tw-border-input",
3463
3556
  // aria-invalid on the control surfaces the error chrome without a `state` prop — the
3464
3557
  // accessible path (uses the themeable `destructive` status token).
3465
3558
  "has-[:is(input,textarea)[aria-invalid=true]]:tw-border-destructive",
@@ -4170,7 +4263,7 @@ var LinkPanel = ({ editor, isLink }) => {
4170
4263
  "div",
4171
4264
  {
4172
4265
  ref: panelRef,
4173
- 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-p-3 tw-shadow-lg",
4266
+ 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",
4174
4267
  children: /* @__PURE__ */ jsxs("div", { className: "tw-flex tw-flex-col tw-gap-2", children: [
4175
4268
  /* @__PURE__ */ jsxs(FormGroup, { children: [
4176
4269
  /* @__PURE__ */ jsx(Label2, { htmlFor: "link-label", className: "tw-mb-1 tw-text-xs", children: "Label" }),
@@ -4319,7 +4412,7 @@ var ToolbarPlugin = () => {
4319
4412
  "aria-label": "Formatting options",
4320
4413
  onMouseDown: (e) => e.preventDefault(),
4321
4414
  style: { top: position.top, left: position.left },
4322
- 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-text-popover-foreground tw-px-1.5 tw-py-1 tw-shadow-lg",
4415
+ 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",
4323
4416
  children: [
4324
4417
  /* @__PURE__ */ jsx(BlockTypeDropdown, { editor, blockType }),
4325
4418
  /* @__PURE__ */ jsx(ToolbarDivider, {}),