@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.
@@ -2976,8 +2976,8 @@ var AlignmentDropdown = ({
2976
2976
  {
2977
2977
  type: "button",
2978
2978
  className: cn(
2979
- "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",
2980
- "hover:tw-bg-neutral-100"
2979
+ "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",
2980
+ "hover:tw-bg-accent"
2981
2981
  ),
2982
2982
  children: [
2983
2983
  /* @__PURE__ */ jsxRuntime.jsx(CurrentAlignmentIcon, { className: "tw-size-4" }),
@@ -3062,8 +3062,8 @@ var BlockTypeDropdown = ({
3062
3062
  {
3063
3063
  type: "button",
3064
3064
  className: cn(
3065
- "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",
3066
- "hover:tw-bg-neutral-100"
3065
+ "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",
3066
+ "hover:tw-bg-accent"
3067
3067
  ),
3068
3068
  children: [
3069
3069
  /* @__PURE__ */ jsxRuntime.jsx(CurrentBlockIcon, { className: "tw-size-4" }),
@@ -4115,8 +4115,8 @@ var ToolbarButton = ({
4115
4115
  disabled,
4116
4116
  onClick,
4117
4117
  className: cn(
4118
- "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",
4119
- "hover:tw-bg-neutral-100 disabled:tw-cursor-not-allowed disabled:tw-opacity-30",
4118
+ "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",
4119
+ "hover:tw-bg-accent disabled:tw-cursor-not-allowed disabled:tw-opacity-30",
4120
4120
  active && "tw-bg-secondary-100 tw-text-secondary-500",
4121
4121
  extraClassName
4122
4122
  ),
@@ -4199,7 +4199,7 @@ var LinkPanel = ({ editor, isLink }) => {
4199
4199
  "div",
4200
4200
  {
4201
4201
  ref: panelRef,
4202
- 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",
4202
+ 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",
4203
4203
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "tw-flex tw-flex-col tw-gap-2", children: [
4204
4204
  /* @__PURE__ */ jsxRuntime.jsxs(FormGroup, { children: [
4205
4205
  /* @__PURE__ */ jsxRuntime.jsx(Label2, { htmlFor: "link-label", className: "tw-mb-1 tw-text-xs", children: "Label" }),
@@ -4239,7 +4239,7 @@ var LinkPanel = ({ editor, isLink }) => {
4239
4239
  )
4240
4240
  ] });
4241
4241
  };
4242
- var ToolbarDivider = () => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "tw-mx-0.5 tw-h-5 tw-w-px tw-bg-neutral-200" });
4242
+ var ToolbarDivider = () => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "tw-mx-0.5 tw-h-5 tw-w-px tw-bg-border" });
4243
4243
  var ELEMENT_FORMAT_TYPES = ["left", "center", "right", "justify", "start", "end", ""];
4244
4244
  var isElementFormatType = (value) => ELEMENT_FORMAT_TYPES.includes(value);
4245
4245
  var toElementFormatType = (value) => isElementFormatType(value) ? value : "left";
@@ -4348,7 +4348,7 @@ var ToolbarPlugin = () => {
4348
4348
  "aria-label": "Formatting options",
4349
4349
  onMouseDown: (e) => e.preventDefault(),
4350
4350
  style: { top: position.top, left: position.left },
4351
- 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",
4351
+ 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",
4352
4352
  children: [
4353
4353
  /* @__PURE__ */ jsxRuntime.jsx(BlockTypeDropdown, { editor, blockType }),
4354
4354
  /* @__PURE__ */ jsxRuntime.jsx(ToolbarDivider, {}),