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