import { collapsibleOpenStateMapping } from "../../utils/collapsibleOpenStateMapping.js";
import { transitionStatusMapping } from "../../utils/stateAttributesMapping.js";
import { AccordionItemDataAttributes } from "./AccordionItemDataAttributes.js";
const accordionStateAttributesMapping = {
  ...collapsibleOpenStateMapping,
  index: (value) => {
    return Number.isInteger(value) ? {
      [AccordionItemDataAttributes.index]: String(value)
    } : null;
  },
  ...transitionStatusMapping,
  value: () => null
};
export {
  accordionStateAttributesMapping
};
//# sourceMappingURL=stateAttributesMapping.js.map
