@keboola/design 6.1.0 → 6.3.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"() {
@@ -568,11 +621,13 @@ var init_Keboola = __esm({
568
621
  // src/icons/index.ts
569
622
  var icons_exports = {};
570
623
  __export(icons_exports, {
624
+ Google: () => Google,
571
625
  Keboola: () => Keboola
572
626
  });
573
627
  var init_icons = __esm({
574
628
  "src/icons/index.ts"() {
575
629
  __reExport(icons_exports, lucide_react_star);
630
+ init_Google();
576
631
  init_Keboola();
577
632
  }
578
633
  });
@@ -2947,8 +3002,8 @@ var AlignmentDropdown = ({
2947
3002
  {
2948
3003
  type: "button",
2949
3004
  className: cn(
2950
- "tw-flex tw-h-7 tw-cursor-pointer tw-items-center tw-gap-1 tw-rounded tw-border-0 tw-bg-transparent tw-px-1.5 tw-text-xs tw-text-neutral-600",
2951
- "hover:tw-bg-neutral-100"
3005
+ "tw-flex tw-h-7 tw-cursor-pointer tw-items-center tw-gap-1 tw-rounded tw-border-0 tw-bg-transparent tw-px-1.5 tw-text-xs tw-text-muted-foreground",
3006
+ "hover:tw-bg-accent"
2952
3007
  ),
2953
3008
  children: [
2954
3009
  /* @__PURE__ */ jsx(CurrentAlignmentIcon, { className: "tw-size-4" }),
@@ -3033,8 +3088,8 @@ var BlockTypeDropdown = ({
3033
3088
  {
3034
3089
  type: "button",
3035
3090
  className: cn(
3036
- "tw-flex tw-h-7 tw-cursor-pointer tw-items-center tw-gap-1.5 tw-rounded tw-border-0 tw-bg-transparent tw-px-1.5 tw-text-xs tw-text-neutral-600",
3037
- "hover:tw-bg-neutral-100"
3091
+ "tw-flex tw-h-7 tw-cursor-pointer tw-items-center tw-gap-1.5 tw-rounded tw-border-0 tw-bg-transparent tw-px-1.5 tw-text-xs tw-text-muted-foreground",
3092
+ "hover:tw-bg-accent"
3038
3093
  ),
3039
3094
  children: [
3040
3095
  /* @__PURE__ */ jsx(CurrentBlockIcon, { className: "tw-size-4" }),
@@ -4086,8 +4141,8 @@ var ToolbarButton = ({
4086
4141
  disabled,
4087
4142
  onClick,
4088
4143
  className: cn(
4089
- "tw-flex tw-h-7 tw-min-w-7 tw-cursor-pointer tw-items-center tw-justify-center tw-rounded tw-border-0 tw-bg-transparent tw-px-1 tw-text-xs tw-text-neutral-600",
4090
- "hover:tw-bg-neutral-100 disabled:tw-cursor-not-allowed disabled:tw-opacity-30",
4144
+ "tw-flex tw-h-7 tw-min-w-7 tw-cursor-pointer tw-items-center tw-justify-center tw-rounded tw-border-0 tw-bg-transparent tw-px-1 tw-text-xs tw-text-muted-foreground",
4145
+ "hover:tw-bg-accent disabled:tw-cursor-not-allowed disabled:tw-opacity-30",
4091
4146
  active && "tw-bg-secondary-100 tw-text-secondary-500",
4092
4147
  extraClassName
4093
4148
  ),
@@ -4170,7 +4225,7 @@ var LinkPanel = ({ editor, isLink }) => {
4170
4225
  "div",
4171
4226
  {
4172
4227
  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-neutral-200 tw-bg-white tw-p-3 tw-shadow-lg",
4228
+ 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
4229
  children: /* @__PURE__ */ jsxs("div", { className: "tw-flex tw-flex-col tw-gap-2", children: [
4175
4230
  /* @__PURE__ */ jsxs(FormGroup, { children: [
4176
4231
  /* @__PURE__ */ jsx(Label2, { htmlFor: "link-label", className: "tw-mb-1 tw-text-xs", children: "Label" }),
@@ -4210,7 +4265,7 @@ var LinkPanel = ({ editor, isLink }) => {
4210
4265
  )
4211
4266
  ] });
4212
4267
  };
4213
- var ToolbarDivider = () => /* @__PURE__ */ jsx("div", { className: "tw-mx-0.5 tw-h-5 tw-w-px tw-bg-neutral-200" });
4268
+ var ToolbarDivider = () => /* @__PURE__ */ jsx("div", { className: "tw-mx-0.5 tw-h-5 tw-w-px tw-bg-border" });
4214
4269
  var ELEMENT_FORMAT_TYPES = ["left", "center", "right", "justify", "start", "end", ""];
4215
4270
  var isElementFormatType = (value) => ELEMENT_FORMAT_TYPES.includes(value);
4216
4271
  var toElementFormatType = (value) => isElementFormatType(value) ? value : "left";
@@ -4319,7 +4374,7 @@ var ToolbarPlugin = () => {
4319
4374
  "aria-label": "Formatting options",
4320
4375
  onMouseDown: (e) => e.preventDefault(),
4321
4376
  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-neutral-200 tw-bg-white tw-px-1.5 tw-py-1 tw-shadow-lg",
4377
+ 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
4378
  children: [
4324
4379
  /* @__PURE__ */ jsx(BlockTypeDropdown, { editor, blockType }),
4325
4380
  /* @__PURE__ */ jsx(ToolbarDivider, {}),