"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../../../_virtual/jsx-runtime.js"),c=require("../../../../utils/index.js"),h=require("../../../Chip/Chip.js"),j=require("../../dateUtils.js"),i=require("../../styles.js");function m({width:a,height:o,locale:n,currentMonth:u,"data-testid":r,updateCurrentMonth:d}){const l=c.getId(r),p=s=>{d(s)};return t.jsxRuntimeExports.jsx(i.PeriodWrapper,{style:{width:a,height:o},"data-testid":r,children:[...Array(12)].map((s,e)=>t.jsxRuntimeExports.jsx(i.PeriodName,{children:t.jsxRuntimeExports.jsx(h.Chip,{selected:e===u,onClick:()=>p(e),label:j.getMonthName(e,n,"short"),variant:"ghost","data-testid":l(`chip-${e}`)})},e))})}exports.Month=m;
