import { CollapsiblePanelDataAttributes } from "../collapsible/panel/CollapsiblePanelDataAttributes.js";
import { CollapsibleTriggerDataAttributes } from "../collapsible/trigger/CollapsibleTriggerDataAttributes.js";
const PANEL_OPEN_HOOK = {
  [CollapsiblePanelDataAttributes.open]: ""
};
const PANEL_CLOSED_HOOK = {
  [CollapsiblePanelDataAttributes.closed]: ""
};
const triggerOpenStateMapping = {
  open(value) {
    if (value) {
      return {
        [CollapsibleTriggerDataAttributes.panelOpen]: ""
      };
    }
    return null;
  }
};
const collapsibleOpenStateMapping = {
  open(value) {
    if (value) {
      return PANEL_OPEN_HOOK;
    }
    return PANEL_CLOSED_HOOK;
  }
};
export {
  collapsibleOpenStateMapping,
  triggerOpenStateMapping
};
//# sourceMappingURL=collapsibleOpenStateMapping.js.map
