@keboola/design 6.1.0 → 6.2.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.
@@ -2947,8 +2947,8 @@ var AlignmentDropdown = ({
2947
2947
  {
2948
2948
  type: "button",
2949
2949
  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"
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-muted-foreground",
2951
+ "hover:tw-bg-accent"
2952
2952
  ),
2953
2953
  children: [
2954
2954
  /* @__PURE__ */ jsx(CurrentAlignmentIcon, { className: "tw-size-4" }),
@@ -3033,8 +3033,8 @@ var BlockTypeDropdown = ({
3033
3033
  {
3034
3034
  type: "button",
3035
3035
  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"
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-muted-foreground",
3037
+ "hover:tw-bg-accent"
3038
3038
  ),
3039
3039
  children: [
3040
3040
  /* @__PURE__ */ jsx(CurrentBlockIcon, { className: "tw-size-4" }),
@@ -4086,8 +4086,8 @@ var ToolbarButton = ({
4086
4086
  disabled,
4087
4087
  onClick,
4088
4088
  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",
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-muted-foreground",
4090
+ "hover:tw-bg-accent disabled:tw-cursor-not-allowed disabled:tw-opacity-30",
4091
4091
  active && "tw-bg-secondary-100 tw-text-secondary-500",
4092
4092
  extraClassName
4093
4093
  ),
@@ -4170,7 +4170,7 @@ var LinkPanel = ({ editor, isLink }) => {
4170
4170
  "div",
4171
4171
  {
4172
4172
  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",
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",
4174
4174
  children: /* @__PURE__ */ jsxs("div", { className: "tw-flex tw-flex-col tw-gap-2", children: [
4175
4175
  /* @__PURE__ */ jsxs(FormGroup, { children: [
4176
4176
  /* @__PURE__ */ jsx(Label2, { htmlFor: "link-label", className: "tw-mb-1 tw-text-xs", children: "Label" }),
@@ -4210,7 +4210,7 @@ var LinkPanel = ({ editor, isLink }) => {
4210
4210
  )
4211
4211
  ] });
4212
4212
  };
4213
- var ToolbarDivider = () => /* @__PURE__ */ jsx("div", { className: "tw-mx-0.5 tw-h-5 tw-w-px tw-bg-neutral-200" });
4213
+ var ToolbarDivider = () => /* @__PURE__ */ jsx("div", { className: "tw-mx-0.5 tw-h-5 tw-w-px tw-bg-border" });
4214
4214
  var ELEMENT_FORMAT_TYPES = ["left", "center", "right", "justify", "start", "end", ""];
4215
4215
  var isElementFormatType = (value) => ELEMENT_FORMAT_TYPES.includes(value);
4216
4216
  var toElementFormatType = (value) => isElementFormatType(value) ? value : "left";
@@ -4319,7 +4319,7 @@ var ToolbarPlugin = () => {
4319
4319
  "aria-label": "Formatting options",
4320
4320
  onMouseDown: (e) => e.preventDefault(),
4321
4321
  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",
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",
4323
4323
  children: [
4324
4324
  /* @__PURE__ */ jsx(BlockTypeDropdown, { editor, blockType }),
4325
4325
  /* @__PURE__ */ jsx(ToolbarDivider, {}),