@pontive/pontkit-core 1.25.0 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1623,6 +1623,7 @@
1623
1623
  ></div>
1624
1624
  `}};ae.ROOT=`${U.ROOT}-slot`;ae.TAG=`${j}-${ae.ROOT}`;ae.FOCUS_EVENT=`${ae.TAG}:focus`;Fl([a({type:Number})],ae.prototype,"index",2);Fl([a({type:Boolean})],ae.prototype,"invalid",2);ae=Fl([p("pont-input-otp-slot")],ae);var $_=Object.defineProperty,P_=Object.getOwnPropertyDescriptor,Ko=(e,t,r,o)=>{for(var n=o>1?void 0:o?P_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=(o?s(t,r,n):s(n))||n);return o&&n&&$_(t,r,n),n};let zn=class extends f{constructor(){super(...arguments),this.variant="default",this.size="default"}createRenderRoot(){return this}get _rootSlot(){return this.querySelector('[data-slot="item"]')}firstUpdated(){const e=this._rootSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return this.href?l`
1625
1625
  <a
1626
+ data-pont-item
1626
1627
  data-slot="item"
1627
1628
  data-variant="${this.variant}"
1628
1629
  data-size="${this.size}"
@@ -1631,18 +1632,28 @@
1631
1632
  ></a>
1632
1633
  `:l`
1633
1634
  <div
1635
+ data-pont-item
1634
1636
  data-slot="item"
1635
1637
  data-variant="${this.variant}"
1636
1638
  data-size="${this.size}"
1637
1639
  ></div>
1638
- `}};Ko([a({type:String})],zn.prototype,"variant",2);Ko([a({type:String})],zn.prototype,"size",2);Ko([a({type:String})],zn.prototype,"href",2);Ko([a({type:String})],zn.prototype,"target",2);zn=Ko([p("pont-item")],zn);var C_=Object.getOwnPropertyDescriptor,E_=(e,t,r,o)=>{for(var n=o>1?void 0:o?C_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let wc=class extends f{createRenderRoot(){return this}get _actionsSlot(){return this.querySelector('[data-slot="item-actions"]')}firstUpdated(){const e=this._actionsSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<div data-slot="item-actions"></div>`}};wc=E_([p("pont-item-actions")],wc);var S_=Object.getOwnPropertyDescriptor,x_=(e,t,r,o)=>{for(var n=o>1?void 0:o?S_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let $c=class extends f{createRenderRoot(){return this}get _contentSlot(){return this.querySelector('[data-slot="item-content"]')}firstUpdated(){const e=this._contentSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<div data-slot="item-content"></div>`}};$c=x_([p("pont-item-content")],$c);var O_=Object.getOwnPropertyDescriptor,R_=(e,t,r,o)=>{for(var n=o>1?void 0:o?O_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let Pc=class extends f{createRenderRoot(){return this}get _descriptionSlot(){return this.querySelector('[data-slot="item-description"]')}firstUpdated(){const e=this._descriptionSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<p data-slot="item-description"></p>`}};Pc=R_([p("pont-item-description")],Pc);var I_=Object.getOwnPropertyDescriptor,T_=(e,t,r,o)=>{for(var n=o>1?void 0:o?I_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let Cc=class extends f{createRenderRoot(){return this}get _footerSlot(){return this.querySelector('[data-slot="item-footer"]')}firstUpdated(){const e=this._footerSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<div data-slot="item-footer"></div>`}};Cc=T_([p("pont-item-footer")],Cc);var A_=Object.getOwnPropertyDescriptor,D_=(e,t,r,o)=>{for(var n=o>1?void 0:o?A_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let Ec=class extends f{createRenderRoot(){return this}get _groupSlot(){return this.querySelector('[data-slot="item-group"]')}firstUpdated(){const e=this._groupSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<div data-slot="item-group" role="list"></div>`}};Ec=D_([p("pont-item-group")],Ec);var L_=Object.getOwnPropertyDescriptor,F_=(e,t,r,o)=>{for(var n=o>1?void 0:o?L_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let Sc=class extends f{createRenderRoot(){return this}get _headerSlot(){return this.querySelector('[data-slot="item-header"]')}firstUpdated(){const e=this._headerSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<div data-slot="item-header"></div>`}};Sc=F_([p("pont-item-header")],Sc);var k_=Object.defineProperty,N_=Object.getOwnPropertyDescriptor,Yh=(e,t,r,o)=>{for(var n=o>1?void 0:o?N_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=(o?s(t,r,n):s(n))||n);return o&&n&&k_(t,r,n),n};let Na=class extends f{constructor(){super(...arguments),this.variant="default"}createRenderRoot(){return this}get _mediaSlot(){return this.querySelector('[data-slot="item-media"]')}firstUpdated(){const e=this._mediaSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`
1639
- <div data-slot="item-media" data-variant="${this.variant}"></div>
1640
+ `}};Ko([a({type:String})],zn.prototype,"variant",2);Ko([a({type:String})],zn.prototype,"size",2);Ko([a({type:String})],zn.prototype,"href",2);Ko([a({type:String})],zn.prototype,"target",2);zn=Ko([p("pont-item")],zn);var C_=Object.getOwnPropertyDescriptor,E_=(e,t,r,o)=>{for(var n=o>1?void 0:o?C_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let wc=class extends f{createRenderRoot(){return this}get _actionsSlot(){return this.querySelector('[data-slot="item-actions"]')}firstUpdated(){const e=this._actionsSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<div data-pont-item-actions data-slot="item-actions"></div>`}};wc=E_([p("pont-item-actions")],wc);var S_=Object.getOwnPropertyDescriptor,x_=(e,t,r,o)=>{for(var n=o>1?void 0:o?S_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let $c=class extends f{createRenderRoot(){return this}get _contentSlot(){return this.querySelector('[data-slot="item-content"]')}firstUpdated(){const e=this._contentSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<div data-pont-item-content data-slot="item-content"></div>`}};$c=x_([p("pont-item-content")],$c);var O_=Object.getOwnPropertyDescriptor,R_=(e,t,r,o)=>{for(var n=o>1?void 0:o?O_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let Pc=class extends f{createRenderRoot(){return this}get _descriptionSlot(){return this.querySelector('[data-slot="item-description"]')}firstUpdated(){const e=this._descriptionSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`
1641
+ <p data-pont-item-description data-slot="item-description"></p>
1642
+ `}};Pc=R_([p("pont-item-description")],Pc);var I_=Object.getOwnPropertyDescriptor,T_=(e,t,r,o)=>{for(var n=o>1?void 0:o?I_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let Cc=class extends f{createRenderRoot(){return this}get _footerSlot(){return this.querySelector('[data-slot="item-footer"]')}firstUpdated(){const e=this._footerSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<div data-pont-item-footer data-slot="item-footer"></div>`}};Cc=T_([p("pont-item-footer")],Cc);var A_=Object.getOwnPropertyDescriptor,D_=(e,t,r,o)=>{for(var n=o>1?void 0:o?A_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let Ec=class extends f{createRenderRoot(){return this}get _groupSlot(){return this.querySelector('[data-slot="item-group"]')}firstUpdated(){const e=this._groupSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`
1643
+ <div data-pont-item-group data-slot="item-group" role="list"></div>
1644
+ `}};Ec=D_([p("pont-item-group")],Ec);var L_=Object.getOwnPropertyDescriptor,F_=(e,t,r,o)=>{for(var n=o>1?void 0:o?L_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let Sc=class extends f{createRenderRoot(){return this}get _headerSlot(){return this.querySelector('[data-slot="item-header"]')}firstUpdated(){const e=this._headerSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<div data-pont-item-header data-slot="item-header"></div>`}};Sc=F_([p("pont-item-header")],Sc);var k_=Object.defineProperty,N_=Object.getOwnPropertyDescriptor,Yh=(e,t,r,o)=>{for(var n=o>1?void 0:o?N_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=(o?s(t,r,n):s(n))||n);return o&&n&&k_(t,r,n),n};let Na=class extends f{constructor(){super(...arguments),this.variant="default"}createRenderRoot(){return this}get _mediaSlot(){return this.querySelector('[data-slot="item-media"]')}firstUpdated(){const e=this._mediaSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`
1645
+ <div
1646
+ data-pont-item-media
1647
+ data-slot="item-media"
1648
+ data-variant="${this.variant}"
1649
+ ></div>
1640
1650
  `}};Yh([a({type:String})],Na.prototype,"variant",2);Na=Yh([p("pont-item-media")],Na);var M_=Object.getOwnPropertyDescriptor,U_=(e,t,r,o)=>{for(var n=o>1?void 0:o?M_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let xc=class extends f{createRenderRoot(){return this}get _separatorSlot(){return this.querySelector('[data-slot="item-separator"]')}firstUpdated(){const e=this._separatorSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`
1641
1651
  <pont-separator
1652
+ data-pont-item-separator
1642
1653
  data-slot="item-separator"
1643
1654
  orientation="horizontal"
1644
1655
  ></pont-separator>
1645
- `}};xc=U_([p("pont-item-separator")],xc);var B_=Object.getOwnPropertyDescriptor,q_=(e,t,r,o)=>{for(var n=o>1?void 0:o?B_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let Oc=class extends f{createRenderRoot(){return this}get _titleSlot(){return this.querySelector('[data-slot="item-title"]')}firstUpdated(){const e=this._titleSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<div data-slot="item-title"></div>`}};Oc=q_([p("pont-item-title")],Oc);var j_=Object.getOwnPropertyDescriptor,z_=(e,t,r,o)=>{for(var n=o>1?void 0:o?j_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let Rc=class extends f{createRenderRoot(){return this}get _rootSlot(){return this.querySelector('[data-slot="kbd"]')}firstUpdated(){const e=this._rootSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<kbd data-slot="kbd"></kbd>`}};Rc=z_([p("pont-kbd")],Rc);var V_=Object.getOwnPropertyDescriptor,G_=(e,t,r,o)=>{for(var n=o>1?void 0:o?V_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let Ic=class extends f{createRenderRoot(){return this}get _groupSlot(){return this.querySelector('[data-slot="kbd-group"]')}firstUpdated(){const e=this._groupSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<kbd data-slot="kbd-group"></kbd>`}};Ic=G_([p("pont-kbd-group")],Ic);const xt={root:["pont-flex","pont-gap-menubar-space-gap pont-items-center","pont-p-menubar-space-p","pont-h-menubar-space-h","pont-bg-menubar-color-bg","pont-rounded-menubar-radius pont-border-menubar-width-border pont-border-menubar-color-border"],menu:[""],group:[""],trigger:["pont-flex","pont-items-center","pont-px-menubar-trigger-space-px pont-py-menubar-trigger-space-py","pont-text-menubar-trigger-font pont-font-menubar-trigger-font-weight","pont-rounded-menubar-trigger-radius pont-outline-hidden","pont-select-none","focus:pont-text-menubar-trigger-color-text-focus focus:pont-bg-menubar-trigger-color-bg-focus","hover:pont-text-menubar-trigger-color-text-active hover:pont-bg-menubar-trigger-color-bg-active"],content:["pont-absolute pont-overflow-hidden pont-z-50","pont-p-menubar-content-space-p","pont-min-w-menubar-content-space-min-w","pont-text-menubar-content-color-text","pont-bg-menubar-content-color-bg","pont-rounded-menubar-content-radius pont-border-menubar-content-width-border pont-border-menubar-content-color-border","pont-shadow-menubar-content-shadow","pont-translate-y-2","pont-slide-in-from-top-2","data-[state=open]:pont-animate-in data-[state=open]:pont-fade-in-0 data-[state=open]:pont-zoom-in-95","data-[state=closed]:pont-animate-out data-[state=closed]:pont-fade-out-0 data-[state=closed]:pont-zoom-out-95"],item:["pont-flex pont-relative","pont-gap-menubar-item-space-gap pont-items-center","pont-px-menubar-item-space-px pont-py-menubar-item-space-py","pont-text-menubar-item-font","pont-rounded-menubar-item-radius pont-outline-hidden","pont-cursor-default pont-select-none","aria-selected:pont-text-menubar-item-color-text-active aria-selected:pont-bg-menubar-item-color-bg-active","data-[disabled]:pont-opacity-menubar-item-opacity-disabled data-[disabled]:pont-pointer-events-none",'[&_svg]:pont-shrink-0 [&_svg:not([class*="pont-size-"])]:pont-size-menubar-item-icon-space-size [&_svg:not([class*="pont-text-"])]:pont-text-menubar-item-icon-color-text [&_svg]:pont-pointer-events-none'],checkboxItem:{base:["pont-flex pont-relative","pont-gap-menubar-checkbox-item-space-gap pont-items-center","pont-pl-menubar-checkbox-item-space-pl pont-pr-menubar-checkbox-item-space-pr pont-py-menubar-checkbox-item-space-py","pont-text-menubar-checkbox-item-font","pont-rounded-menubar-checkbox-item-radius pont-outline-hidden","pont-cursor-default pont-select-none","aria-selected:pont-text-menubar-checkbox-item-color-text-active aria-selected:pont-bg-menubar-checkbox-item-color-bg-active","data-[disabled]:pont-opacity-menubar-checkbox-item-opacity-disabled data-[disabled]:pont-pointer-events-none"],indicator:["pont-flex pont-absolute pont-left-2","pont-justify-center pont-items-center","pont-size-menubar-checkbox-item-indicator-space-size","pont-pointer-events-none"],icon:["pont-shrink-0","pont-size-menubar-checkbox-item-icon-space-size","pont-pointer-events-none"]},radioItem:{base:["pont-flex pont-relative","pont-gap-menubar-radio-item-space-gap pont-items-center","pont-pl-menubar-radio-item-space-pl pont-pr-menubar-radio-item-space-pr pont-py-menubar-radio-item-space-py","pont-text-menubar-radio-item-font","pont-rounded-menubar-radio-item-radius pont-outline-hidden","pont-cursor-default pont-select-none","aria-selected:pont-text-menubar-radio-item-color-text-active aria-selected:pont-bg-menubar-radio-item-color-bg-active","data-[disabled]:pont-opacity-menubar-radio-item-opacity-disabled data-[disabled]:pont-pointer-events-none"],indicator:["pont-flex pont-absolute pont-left-2","pont-justify-center pont-items-center","pont-size-menubar-radio-item-indicator-space-size","pont-pointer-events-none"],icon:["pont-shrink-0","pont-size-menubar-radio-item-icon-space-size","pont-pointer-events-none","pont-fill-current"]},label:["pont-px-menubar-label-space-px pont-py-menubar-label-space-py","pont-text-menubar-label-font pont-font-menubar-label-font-weight"],separator:["pont-mx-menubar-separator-space-mx pont-my-menubar-separator-space-my","pont-h-menubar-separator-space-h","pont-bg-menubar-separator-color-bg"],shortcut:["pont-ml-auto","pont-text-menubar-shortcut-font pont-text-menubar-shortcut-color-text"]};var H_=Object.defineProperty,K_=Object.getOwnPropertyDescriptor,pn=(e,t,r,o)=>{for(var n=o>1?void 0:o?K_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=(o?s(t,r,n):s(n))||n);return o&&n&&H_(t,r,n),n};let le=class extends w{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1,this.checked=!1,this.disabled=!1}get _containerElement(){return this.querySelector("div[part=menubar-checkbox-item]")}getAttributesToExclude(){return["date-testid"]}createRenderRoot(){return this}firstUpdated(e){this.moveLightDomChildrenInto(this._containerElement)}get identifier(){var t,r;if(this._id!=="")return this._id;const e=(r=(t=this.parentElement)==null?void 0:t.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-group]");return e?this._id=`${e.getAttribute("id")}li${le._counter++}`:this._id=`rtgcmdrxgxli${le._counter++}`,this._id}get value(){var e;return((e=this.textContent)==null?void 0:e.trim())||""}handleMouseEvent(e){(e.type==="mouseover"||e.type==="focus")&&(this.selected=!0),e.type==="mouseleave"&&(this.selected=!1)}toggleChecked(){this.checked=!this.checked}render(){return l`
1656
+ `}};xc=U_([p("pont-item-separator")],xc);var B_=Object.getOwnPropertyDescriptor,q_=(e,t,r,o)=>{for(var n=o>1?void 0:o?B_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let Oc=class extends f{createRenderRoot(){return this}get _titleSlot(){return this.querySelector('[data-slot="item-title"]')}firstUpdated(){const e=this._titleSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<div data-pont-item-title data-slot="item-title"></div>`}};Oc=q_([p("pont-item-title")],Oc);var j_=Object.getOwnPropertyDescriptor,z_=(e,t,r,o)=>{for(var n=o>1?void 0:o?j_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let Rc=class extends f{createRenderRoot(){return this}get _rootSlot(){return this.querySelector('[data-slot="kbd"]')}firstUpdated(){const e=this._rootSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<kbd data-slot="kbd"></kbd>`}};Rc=z_([p("pont-kbd")],Rc);var V_=Object.getOwnPropertyDescriptor,G_=(e,t,r,o)=>{for(var n=o>1?void 0:o?V_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=s(n)||n);return n};let Ic=class extends f{createRenderRoot(){return this}get _groupSlot(){return this.querySelector('[data-slot="kbd-group"]')}firstUpdated(){const e=this._groupSlot;if(!e)return;Array.from(this.childNodes).filter(r=>r!==e).forEach(r=>e.appendChild(r))}render(){return l`<kbd data-slot="kbd-group"></kbd>`}};Ic=G_([p("pont-kbd-group")],Ic);const xt={root:["pont-flex","pont-gap-menubar-space-gap pont-items-center","pont-p-menubar-space-p","pont-h-menubar-space-h","pont-bg-menubar-color-bg","pont-rounded-menubar-radius pont-border-menubar-width-border pont-border-menubar-color-border"],menu:[""],group:[""],trigger:["pont-flex","pont-items-center","pont-px-menubar-trigger-space-px pont-py-menubar-trigger-space-py","pont-text-menubar-trigger-font pont-font-menubar-trigger-font-weight","pont-rounded-menubar-trigger-radius pont-outline-hidden","pont-select-none","focus:pont-text-menubar-trigger-color-text-focus focus:pont-bg-menubar-trigger-color-bg-focus","hover:pont-text-menubar-trigger-color-text-active hover:pont-bg-menubar-trigger-color-bg-active"],content:["pont-absolute pont-overflow-hidden pont-z-50","pont-p-menubar-content-space-p","pont-min-w-menubar-content-space-min-w","pont-text-menubar-content-color-text","pont-bg-menubar-content-color-bg","pont-rounded-menubar-content-radius pont-border-menubar-content-width-border pont-border-menubar-content-color-border","pont-shadow-menubar-content-shadow","pont-translate-y-2","pont-slide-in-from-top-2","data-[state=open]:pont-animate-in data-[state=open]:pont-fade-in-0 data-[state=open]:pont-zoom-in-95","data-[state=closed]:pont-animate-out data-[state=closed]:pont-fade-out-0 data-[state=closed]:pont-zoom-out-95"],item:["pont-flex pont-relative","pont-gap-menubar-item-space-gap pont-items-center","pont-px-menubar-item-space-px pont-py-menubar-item-space-py","pont-text-menubar-item-font","pont-rounded-menubar-item-radius pont-outline-hidden","pont-cursor-default pont-select-none","aria-selected:pont-text-menubar-item-color-text-active aria-selected:pont-bg-menubar-item-color-bg-active","data-[disabled]:pont-opacity-menubar-item-opacity-disabled data-[disabled]:pont-pointer-events-none",'[&_svg]:pont-shrink-0 [&_svg:not([class*="pont-size-"])]:pont-size-menubar-item-icon-space-size [&_svg:not([class*="pont-text-"])]:pont-text-menubar-item-icon-color-text [&_svg]:pont-pointer-events-none'],checkboxItem:{base:["pont-flex pont-relative","pont-gap-menubar-checkbox-item-space-gap pont-items-center","pont-pl-menubar-checkbox-item-space-pl pont-pr-menubar-checkbox-item-space-pr pont-py-menubar-checkbox-item-space-py","pont-text-menubar-checkbox-item-font","pont-rounded-menubar-checkbox-item-radius pont-outline-hidden","pont-cursor-default pont-select-none","aria-selected:pont-text-menubar-checkbox-item-color-text-active aria-selected:pont-bg-menubar-checkbox-item-color-bg-active","data-[disabled]:pont-opacity-menubar-checkbox-item-opacity-disabled data-[disabled]:pont-pointer-events-none"],indicator:["pont-flex pont-absolute pont-left-2","pont-justify-center pont-items-center","pont-size-menubar-checkbox-item-indicator-space-size","pont-pointer-events-none"],icon:["pont-shrink-0","pont-size-menubar-checkbox-item-icon-space-size","pont-pointer-events-none"]},radioItem:{base:["pont-flex pont-relative","pont-gap-menubar-radio-item-space-gap pont-items-center","pont-pl-menubar-radio-item-space-pl pont-pr-menubar-radio-item-space-pr pont-py-menubar-radio-item-space-py","pont-text-menubar-radio-item-font","pont-rounded-menubar-radio-item-radius pont-outline-hidden","pont-cursor-default pont-select-none","aria-selected:pont-text-menubar-radio-item-color-text-active aria-selected:pont-bg-menubar-radio-item-color-bg-active","data-[disabled]:pont-opacity-menubar-radio-item-opacity-disabled data-[disabled]:pont-pointer-events-none"],indicator:["pont-flex pont-absolute pont-left-2","pont-justify-center pont-items-center","pont-size-menubar-radio-item-indicator-space-size","pont-pointer-events-none"],icon:["pont-shrink-0","pont-size-menubar-radio-item-icon-space-size","pont-pointer-events-none","pont-fill-current"]},label:["pont-px-menubar-label-space-px pont-py-menubar-label-space-py","pont-text-menubar-label-font pont-font-menubar-label-font-weight"],separator:["pont-mx-menubar-separator-space-mx pont-my-menubar-separator-space-my","pont-h-menubar-separator-space-h","pont-bg-menubar-separator-color-bg"],shortcut:["pont-ml-auto","pont-text-menubar-shortcut-font pont-text-menubar-shortcut-color-text"]};var H_=Object.defineProperty,K_=Object.getOwnPropertyDescriptor,pn=(e,t,r,o)=>{for(var n=o>1?void 0:o?K_(t,r):t,i=e.length-1,s;i>=0;i--)(s=e[i])&&(n=(o?s(t,r,n):s(n))||n);return o&&n&&H_(t,r,n),n};let le=class extends w{constructor(){super(...arguments),this._id="",this._hidden="",this.selected=!1,this.checked=!1,this.disabled=!1}get _containerElement(){return this.querySelector("div[part=menubar-checkbox-item]")}getAttributesToExclude(){return["date-testid"]}createRenderRoot(){return this}firstUpdated(e){this.moveLightDomChildrenInto(this._containerElement)}get identifier(){var t,r;if(this._id!=="")return this._id;const e=(r=(t=this.parentElement)==null?void 0:t.shadowRoot)==null?void 0:r.querySelector("div[rtgcmd-group]");return e?this._id=`${e.getAttribute("id")}li${le._counter++}`:this._id=`rtgcmdrxgxli${le._counter++}`,this._id}get value(){var e;return((e=this.textContent)==null?void 0:e.trim())||""}handleMouseEvent(e){(e.type==="mouseover"||e.type==="focus")&&(this.selected=!0),e.type==="mouseleave"&&(this.selected=!1)}toggleChecked(){this.checked=!this.checked}render(){return l`
1646
1657
  <div
1647
1658
  part="menubar-checkbox-item"
1648
1659
  class=${m(xt.checkboxItem.base,this.disabled&&"pont-opacity-menubar-item-opacity-disabled pont-pointer-events-none",this.className)}