import { merge as a } from "../../../../utilities/merge.es.js";
import { Position as r } from "./types.es.js";
import { ToolbarWrapperPositioningBottom as l } from "./ToolbarWrapper/ToolbarWrapperPositioningBottom.es.js";
import { ToolbarWrapperPositioningFloating as i } from "./ToolbarWrapper/ToolbarWrapperPositioningFloating.es.js";
import { ToolbarWrapperPositioningTop as p } from "./ToolbarWrapper/ToolbarWrapperPositioningTop.es.js";
const s = {
  [r.BOTTOM]: {
    PlateWrapperClassNames: "tw-relative tw-w-full tw-flex tw-flex-col",
    ToolbarWrapper: l
  },
  [r.FLOATING]: {
    PlateWrapperClassNames: "tw-relative tw-w-full",
    ToolbarWrapper: i
  },
  [r.TOP]: {
    PlateWrapperClassNames: "tw-relative tw-w-full tw-flex tw-flex-col-reverse",
    ToolbarWrapper: p
  }
}, b = (o, t) => {
  const e = s[o].PlateWrapperClassNames;
  return a([
    e,
    t && "tw-transition-[border] tw-border tw-border-line-strong hover:tw-border-line-xx-strong tw-rounded"
  ]);
};
export {
  s as EditorPositioningWrapper,
  r as Position,
  b as getEditorWrapperClassNames
};
//# sourceMappingURL=index.es.js.map
