@pine-ds/core 4.7.0 → 4.7.2

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.
Files changed (145) hide show
  1. package/components/pds-box2.js +1 -1
  2. package/components/pds-checkbox2.js +1 -1
  3. package/components/pds-chip2.js +1 -1
  4. package/components/pds-combobox.js +1 -1
  5. package/components/pds-copytext.js +1 -1
  6. package/components/pds-drawer.js +1 -1
  7. package/components/pds-dropdown-menu-item.js +1 -1
  8. package/components/pds-modal2.js +1 -1
  9. package/components/pds-multiselect.js +1 -1
  10. package/components/pds-radio.js +1 -1
  11. package/components/pds-row.js +1 -1
  12. package/components/pds-switch.js +1 -1
  13. package/components/pds-table-cell2.js +1 -1
  14. package/components/pds-text2.js +1 -1
  15. package/components/truncation-tooltip.js +1 -1
  16. package/dist/cjs/pds-box.cjs.entry.js +96 -96
  17. package/dist/cjs/pds-checkbox.cjs.entry.js +16 -4
  18. package/dist/cjs/pds-chip.cjs.entry.js +34 -9
  19. package/dist/cjs/pds-combobox.cjs.entry.js +16 -3
  20. package/dist/cjs/pds-copytext.cjs.entry.js +7 -2
  21. package/dist/cjs/pds-drawer.cjs.entry.js +1 -1
  22. package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +2 -2
  23. package/dist/cjs/pds-modal.cjs.entry.js +62 -21
  24. package/dist/cjs/pds-multiselect.cjs.entry.js +37 -7
  25. package/dist/cjs/pds-radio.cjs.entry.js +1 -1
  26. package/dist/cjs/pds-row.cjs.entry.js +7 -7
  27. package/dist/cjs/pds-switch.cjs.entry.js +15 -3
  28. package/dist/cjs/pds-table-cell.cjs.entry.js +24 -4
  29. package/dist/cjs/pds-text.cjs.entry.js +17 -9
  30. package/dist/cjs/{truncation-tooltip-CYgQfBLt.js → truncation-tooltip-DO9xli2e.js} +7 -7
  31. package/dist/collection/components/pds-box/pds-box.js +96 -96
  32. package/dist/collection/components/pds-checkbox/pds-checkbox.css +4 -0
  33. package/dist/collection/components/pds-checkbox/pds-checkbox.js +15 -3
  34. package/dist/collection/components/pds-chip/pds-chip.js +33 -8
  35. package/dist/collection/components/pds-chip/stories/pds-chip.stories.js +17 -0
  36. package/dist/collection/components/pds-combobox/pds-combobox.js +17 -4
  37. package/dist/collection/components/pds-combobox/stories/pds-combobox.stories.js +1 -1
  38. package/dist/collection/components/pds-copytext/pds-copytext.js +6 -1
  39. package/dist/collection/components/pds-drawer/pds-drawer.css +4 -0
  40. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +2 -2
  41. package/dist/collection/components/pds-modal/pds-modal.js +66 -21
  42. package/dist/collection/components/pds-multiselect/pds-multiselect.css +4 -0
  43. package/dist/collection/components/pds-multiselect/pds-multiselect.js +37 -7
  44. package/dist/collection/components/pds-radio/pds-radio.css +6 -0
  45. package/dist/collection/components/pds-row/pds-row.js +7 -7
  46. package/dist/collection/components/pds-switch/pds-switch.js +15 -3
  47. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +23 -3
  48. package/dist/collection/components/pds-text/pds-text.js +16 -8
  49. package/dist/collection/utils/truncation-tooltip.js +7 -7
  50. package/dist/docs.json +7 -3
  51. package/dist/esm/pds-box.entry.js +96 -96
  52. package/dist/esm/pds-checkbox.entry.js +16 -4
  53. package/dist/esm/pds-chip.entry.js +34 -9
  54. package/dist/esm/pds-combobox.entry.js +16 -3
  55. package/dist/esm/pds-copytext.entry.js +7 -2
  56. package/dist/esm/pds-drawer.entry.js +1 -1
  57. package/dist/esm/pds-dropdown-menu-item.entry.js +2 -2
  58. package/dist/esm/pds-modal.entry.js +62 -21
  59. package/dist/esm/pds-multiselect.entry.js +37 -7
  60. package/dist/esm/pds-radio.entry.js +1 -1
  61. package/dist/esm/pds-row.entry.js +7 -7
  62. package/dist/esm/pds-switch.entry.js +15 -3
  63. package/dist/esm/pds-table-cell.entry.js +24 -4
  64. package/dist/esm/pds-text.entry.js +17 -9
  65. package/dist/esm/{truncation-tooltip-_902ENWC.js → truncation-tooltip-DRXsdKk1.js} +7 -7
  66. package/dist/esm-es5/pds-box.entry.js +1 -1
  67. package/dist/esm-es5/pds-checkbox.entry.js +1 -1
  68. package/dist/esm-es5/pds-chip.entry.js +1 -1
  69. package/dist/esm-es5/pds-combobox.entry.js +1 -1
  70. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  71. package/dist/esm-es5/pds-drawer.entry.js +1 -1
  72. package/dist/esm-es5/pds-dropdown-menu-item.entry.js +1 -1
  73. package/dist/esm-es5/pds-modal.entry.js +1 -1
  74. package/dist/esm-es5/pds-multiselect.entry.js +1 -1
  75. package/dist/esm-es5/pds-radio.entry.js +1 -1
  76. package/dist/esm-es5/pds-row.entry.js +1 -1
  77. package/dist/esm-es5/pds-switch.entry.js +1 -1
  78. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  79. package/dist/esm-es5/pds-text.entry.js +1 -1
  80. package/dist/esm-es5/truncation-tooltip-DRXsdKk1.js +1 -0
  81. package/dist/pine-core/{p-9af131d6.system.entry.js → p-11d98408.system.entry.js} +1 -1
  82. package/dist/pine-core/p-1dc5a7e0.system.entry.js +1 -0
  83. package/dist/pine-core/p-355e4cf9.entry.js +1 -0
  84. package/dist/pine-core/p-4435fff6.system.entry.js +1 -0
  85. package/dist/pine-core/p-576cf904.system.entry.js +1 -0
  86. package/dist/pine-core/{p-4f94b4f1.system.entry.js → p-645a482b.system.entry.js} +1 -1
  87. package/dist/pine-core/{p-4fa63723.system.entry.js → p-6d603d16.system.entry.js} +1 -1
  88. package/dist/pine-core/p-7fa66cad.entry.js +1 -0
  89. package/dist/pine-core/p-80a698ae.entry.js +1 -0
  90. package/dist/pine-core/{p-bf7ee3b7.system.entry.js → p-80e6f3a0.system.entry.js} +1 -1
  91. package/dist/pine-core/p-88ff1604.entry.js +1 -0
  92. package/dist/pine-core/p-9713fb36.entry.js +1 -0
  93. package/dist/pine-core/{p-6eec23a7.system.entry.js → p-97d0b89e.system.entry.js} +1 -1
  94. package/dist/pine-core/p-993d1043.entry.js +1 -0
  95. package/dist/pine-core/p-CuSNnuFu.system.js +1 -1
  96. package/dist/pine-core/p-JtdHT_W5.js +1 -0
  97. package/dist/pine-core/p-a939b471.entry.js +1 -0
  98. package/dist/pine-core/p-aa032a5e.system.entry.js +1 -0
  99. package/dist/pine-core/p-bb73ad66.entry.js +2 -0
  100. package/dist/pine-core/p-bd26a5e8.entry.js +1 -0
  101. package/dist/pine-core/p-c36b490e.entry.js +1 -0
  102. package/dist/pine-core/p-c81d8ac8.entry.js +1 -0
  103. package/dist/pine-core/p-ca0a8f5c.entry.js +1 -0
  104. package/dist/pine-core/p-ca0d48e8.entry.js +1 -0
  105. package/dist/pine-core/p-cfc52b95.system.entry.js +1 -0
  106. package/dist/pine-core/{p-ba1f65c2.system.entry.js → p-d8570b4b.system.entry.js} +1 -1
  107. package/dist/pine-core/{p-9e0f920a.system.entry.js → p-e7a95a49.system.entry.js} +1 -1
  108. package/dist/pine-core/p-e803f629.system.entry.js +1 -0
  109. package/dist/pine-core/{p-5a10784e.system.entry.js → p-e836f3ec.system.entry.js} +2 -2
  110. package/dist/pine-core/{p-b8e8a4ce.entry.js → p-f474d7de.entry.js} +1 -1
  111. package/dist/pine-core/{p-CBu9UrXr.system.js → p-qhdoK1Jp.system.js} +1 -1
  112. package/dist/pine-core/pine-core.esm.js +1 -1
  113. package/dist/types/components/pds-checkbox/pds-checkbox.d.ts +4 -0
  114. package/dist/types/components/pds-combobox/pds-combobox.d.ts +6 -1
  115. package/dist/types/components/pds-modal/pds-modal.d.ts +6 -0
  116. package/dist/types/components/pds-multiselect/pds-multiselect.d.ts +8 -2
  117. package/dist/types/components/pds-switch/pds-switch.d.ts +4 -0
  118. package/dist/types/components/pds-table/pds-table-cell/pds-table-cell.d.ts +3 -0
  119. package/dist/types/components/pds-text/pds-text.d.ts +1 -0
  120. package/dist/types/components.d.ts +2 -2
  121. package/dist/types/utils/truncation-tooltip.d.ts +15 -2
  122. package/hydrate/index.js +338 -172
  123. package/hydrate/index.mjs +338 -172
  124. package/package.json +2 -2
  125. package/dist/esm-es5/truncation-tooltip-_902ENWC.js +0 -1
  126. package/dist/pine-core/p-21fe6ee1.system.entry.js +0 -1
  127. package/dist/pine-core/p-24fbbb74.system.entry.js +0 -1
  128. package/dist/pine-core/p-258d5e83.entry.js +0 -1
  129. package/dist/pine-core/p-4849fda7.entry.js +0 -1
  130. package/dist/pine-core/p-4de8f333.entry.js +0 -1
  131. package/dist/pine-core/p-550c2fd3.entry.js +0 -1
  132. package/dist/pine-core/p-6bf853c9.entry.js +0 -1
  133. package/dist/pine-core/p-6d3610f9.entry.js +0 -1
  134. package/dist/pine-core/p-74a05bcc.entry.js +0 -1
  135. package/dist/pine-core/p-84e9b7da.entry.js +0 -1
  136. package/dist/pine-core/p-945fb0b1.entry.js +0 -1
  137. package/dist/pine-core/p-CnM3cCof.js +0 -1
  138. package/dist/pine-core/p-a0344e30.entry.js +0 -2
  139. package/dist/pine-core/p-a85a6ab9.system.entry.js +0 -1
  140. package/dist/pine-core/p-bf5887e8.system.entry.js +0 -1
  141. package/dist/pine-core/p-cf08a6dd.system.entry.js +0 -1
  142. package/dist/pine-core/p-e21ff692.entry.js +0 -1
  143. package/dist/pine-core/p-e800a2b1.entry.js +0 -1
  144. package/dist/pine-core/p-eb5465ce.entry.js +0 -1
  145. package/dist/pine-core/p-f25e4731.system.entry.js +0 -1
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as n,H as o,a as i}from"./p-CmSJytt1.js";import"./p-BLG6RDBt.js";const s=class{constructor(n){e(this,n),this.pdsClick=t(this,"pdsClick"),this.destructive=!1,this.disabled=!1,this.external=!1,this.hasFocus=!1,this.handleFocus=()=>{this.hasFocus=!0},this.handleBlur=()=>{this.hasFocus=!1},this.handleKeyDown=e=>{this.disabled||"Enter"!==e.key||(this.href||e.preventDefault(),this.handleClick())}}async clickItem(){this.handleClick()}handleClick(){var e;const t=Array.from(this.host.parentNode.children).filter((e=>"pds-dropdown-menu-item"===e.tagName.toLowerCase())).indexOf(this.host),n=(null===(e=this.host.textContent)||void 0===e?void 0:e.trim())||"";this.pdsClick.emit({itemIndex:t,item:this.host,content:n})}renderElement(){return void 0!==this.href?n("pds-link",{download:this.download,href:this.disabled?null:this.href,external:this.external,target:this.target,class:{"pds-dropdown-menu-item__content":!0,"has-focus":this.hasFocus},tabIndex:this.disabled?-1:0,onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,"aria-disabled":this.disabled?"true":null},n("slot",null)):n("button",{class:{"pds-dropdown-menu-item__content":!0,"has-focus":this.hasFocus},tabIndex:this.disabled?-1:0,type:"button",part:"button",onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,disabled:this.disabled,"aria-disabled":this.disabled?"true":null},n("slot",null))}render(){return n(o,{key:"33bd645d7c9547e3fd07429cf795302e6a482296",id:this.componentId,class:{"is-disabled":this.disabled,destructive:!this.disabled&&this.destructive},onClick:()=>!this.disabled&&this.handleClick(),role:"none",tabIndex:-1,"aria-disabled":this.disabled?"true":null},this.renderElement())}get host(){return i(this)}};s.style=":host{cursor:pointer;display:-ms-flexbox;display:flex;width:100%;}:host(.is-disabled){cursor:not-allowed !important;opacity:0.5 !important}:host(.is-disabled) .pds-dropdown-menu-item__content{cursor:not-allowed !important;pointer-events:none !important}.pds-dropdown-menu-item__content{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:var(--pine-dimension-xs);color:var(--pine-color-text);display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;font:var(--pine-typography-body-medium);gap:var(--pine-dimension-xs);margin:calc(var(--pine-border-width) + 2px);padding:var(--pine-dimension-xs);text-align:start;width:100%;}.pds-dropdown-menu-item__content:hover{background-color:var(--pine-color-background-muted);color:var(--pine-color-text-hover)}.pds-dropdown-menu-item__content{}.pds-dropdown-menu-item__content:focus,.pds-dropdown-menu-item__content:focus-visible,.pds-dropdown-menu-item__content.has-focus{outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}:host(.destructive) .pds-dropdown-menu-item__content{--pds-context-link-color:var(--pine-color-danger);--pds-context-link-color-hover:var(--pine-color-danger-hover);-ms-flex-align:center;align-items:center;color:var(--pine-color-danger)}:host(.destructive) .pds-dropdown-menu-item__content:hover{background-color:var(--pine-color-danger-disabled);color:var(--pine-color-danger-hover)}:host(.destructive) .pds-dropdown-menu-item__content:focus,:host(.destructive) .pds-dropdown-menu-item__content:focus-visible,:host(.destructive) .pds-dropdown-menu-item__content.has-focus{background-color:var(--pine-color-danger-disabled);outline:var(--pine-outline-focus-danger);outline-offset:var(--pine-border-width)}pds-link::part(link):focus,pds-link::part(link):focus-visible{-webkit-box-shadow:none;box-shadow:none;outline:none}pds-link::part(link){-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs);margin:calc(var(--pine-dimension-xs) * -1);padding:var(--pine-dimension-xs);text-decoration:none;width:calc(100% + var(--pine-dimension-xs) * 2)}";export{s as pds_dropdown_menu_item}
@@ -1 +0,0 @@
1
- System.register(["./p-CGRdQc49.system.js","./p-BxIzb-Wc.system.js","./p-n3_ytl_p.system.js","./p-XW4H0W6i.system.js","./p-BR5nujVX.system.js"],(function(e){"use strict";var i,r,t,n,o,a,s,c,d,l,b,h;return{setters:[function(e){i=e.r;r=e.c;t=e.h;n=e.H;o=e.a},function(e){a=e.e;s=e.i;c=e.m;d=e.a},function(e){l=e.b},function(e){b=e.H;h=e.i},null],execute:function(){var p=function(){return":host{display:inline-block}:host([aria-disabled=true]) label{color:var(--pine-color-text-label-disabled)}:host([aria-readonly=true]) label{color:var(--pine-color-text-label-readonly)}label{color:var(--pine-color-text-label);font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing)}"};var u=function(){return':host{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}:host(.is-invalid) input{border-color:var(--pine-color-border-danger)}:host(.is-invalid) input:checked{background:var(--pine-color-danger)}:host(.is-invalid) input:checked::after{border-color:var(--pine-color-white)}:host(.is-invalid) input:checked:hover{background:var(--pine-color-danger-hover);border-color:var(--pine-color-border-danger-hover)}:host(.is-invalid) input:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}:host(.is-invalid) label,:host(.is-invalid) .pds-checkbox__message--error{color:var(--pine-color-text-message-danger)}:host(.is-indeterminate) input{background:var(--pine-color-accent);border-color:var(--pine-color-accent)}:host(.is-indeterminate) input:hover{background:var(--pine-color-accent);border-color:var(--pine-color-accent-hover)}:host(.is-indeterminate) input::after{border:1px solid var(--pine-color-text-primary);-webkit-border-after:var(--pine-border-width-none);border-block-end:var(--pine-border-width-none);-webkit-border-before:var(--pine-border-width-none);border-block-start:var(--pine-border-width-none);-webkit-border-start:var(--pine-border-width-none);border-inline-start:var(--pine-border-width-none);content:"";display:block;height:7px;inset-block-start:50%;inset-inline-start:50%;position:absolute;-webkit-transform:translate(-50%, -50%) rotate(90deg);transform:translate(-50%, -50%) rotate(90deg);width:4px}input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-dimension-2xs);-ms-flex:none;flex:none;height:var(--pine-dimension-sm);margin:0;-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025);position:relative;width:var(--pine-dimension-sm)}input:hover{background:var(--pine-color-background-container-hover);border:var(--pine-border-hover)}input:checked{background:var(--pine-color-accent);border-color:var(--pine-color-accent)}input:checked:hover{background:var(--pine-color-accent-hover);border-color:var(--pine-color-accent-hover)}input:checked::after{border:1px solid var(--pine-color-text-primary);-webkit-border-before:var(--pine-border-width-none);border-block-start:var(--pine-border-width-none);-webkit-border-start:var(--pine-border-width-none);border-inline-start:var(--pine-border-width-none);content:"";display:block;height:7px;inset-block-start:50%;inset-inline-start:50%;position:absolute;-webkit-transform:translate(-50%, -60%) rotate(43deg);transform:translate(-50%, -60%) rotate(43deg);width:4px}input:disabled{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);cursor:not-allowed}input:disabled:checked{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled)}input:disabled:checked::after{border-color:var(--pine-color-border)}input:disabled+label{cursor:not-allowed}input:disabled~.pds-checkbox__message{color:var(--pine-color-text-disabled)}input:focus-visible{outline:var(--pine-outline-focus)}:host-context([dir=rtl]) input:checked::after{-webkit-transform:translate(-50%, -60%) rotate(-43deg);transform:translate(-50%, -60%) rotate(-43deg)}label{display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs)}:host(.has-label-slot) label{-ms-flex-align:center;align-items:center}:host(.has-label-slot) input{-webkit-margin-before:0;margin-block-start:0}.visually-hidden{border:0;clip:rect(0 0 0 0);-webkit-clip-path:polygon(0 0, 0 0, 0 0);clip-path:polygon(0 0, 0 0, 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.pds-checkbox__message{color:var(--pine-color-text-message);font:var(--pine-typography-body-sm-medium);-webkit-margin-before:6px;margin-block-start:6px;-webkit-margin-start:var(--pine-dimension-md);margin-inline-start:var(--pine-dimension-md);width:100%}.pds-checkbox__message--error{display:-ms-flexbox;display:flex;gap:var(--pine-dimension-2xs)}.pds-checkbox__message--error pds-icon{-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025)}'};var f=e("pds_checkbox",function(){function e(e){var t=this;i(this,e);this.pdsCheckboxChange=r(this,"pdsCheckboxChange");this.pdsCheckboxInput=r(this,"pdsCheckboxInput");this.inheritedAttributes={};this._type="checkbox";this.hostKeeper=new b;this.hasLabelSlot=false;this.checked=false;this.handleCheckboxChange=function(e){if(t.disabled){return}var i=e.target;t.checked=i.checked;t.updateFormValue();t.pdsCheckboxChange.emit({checked:i.checked,value:t.value})};this.handleInput=function(){t.pdsCheckboxInput.emit({checked:t.checked,value:t.value})};this.updateHasLabelSlot=function(){t.hasLabelSlot=Array.from(t.el.children).some((function(e){return e.getAttribute("slot")==="label"}))}}e.prototype.updateIndeterminate=function(){this.indeterminate=undefined};e.prototype.classNames=function(){var e=[];if(this.invalid){e.push("is-invalid")}if(this.indeterminate){e.push("is-indeterminate")}if(this.disabled){e.push("is-disabled")}if(this.hasLabelSlot){e.push("has-label-slot")}return e.join(" ")};e.prototype.connectedCallback=function(){var e=this;this.hostKeeper.connect(this.el);if(this.el.attachInternals&&!this.internals){this.internals=this.el.attachInternals()}a(this.el,(function(){return e._type}))};e.prototype.disconnectedCallback=function(){this.hostKeeper.disconnect()};e.prototype.componentDidLoad=function(){this.updateFormValue()};e.prototype.checkedChanged=function(){this.updateFormValue()};e.prototype.updateFormValue=function(){if(s())return;if(this.internals&&this.internals.setFormValue){var e=this.checked?this.value||"on":null;this.internals.setFormValue(e)}if(this.internals&&this.internals.setValidity){this.internals.setValidity({})}};e.prototype.formStateRestoreCallback=function(e){if(e instanceof FormData){var i=this.value||"on";this.checked=e.get(this.name)===i}else if(typeof e==="string"){this.checked=e===(this.value||"on")}};e.prototype.componentWillLoad=function(){this.inheritedAttributes=Object.assign({},h(this.el));this.updateHasLabelSlot()};e.prototype.render=function(){var e=this.classNames();this.hostKeeper.record(e);return t(n,{key:"2d63feb42a7fa2a0121c1b25625ff7c6b6844fa9",class:e},t("label",{key:"07158e232a025c978c2725bdd938ce8254a244ac",htmlFor:this.componentId},t("input",Object.assign({key:"c1f47d9de63fef8e373f6b76efb1386cb7ab4921",type:"checkbox","aria-describedby":d(this.componentId,this.invalid,this.helperMessage,this.errorMessage),"aria-invalid":this.invalid?"true":undefined,id:this.componentId,indeterminate:this.indeterminate,name:this.name,value:this.value,checked:this.checked,required:this.required,disabled:this.disabled,onChange:this.handleCheckboxChange,onInput:this.handleInput},this.inheritedAttributes)),t("span",{key:"e04db0b2a5600e3da74fb9857a276547f602c7eb",class:this.hideLabel?"visually-hidden":""},t("slot",{key:"3af6b6bf89e9ab74821f63753843fca575aaea2f",name:"label",onSlotchange:this.updateHasLabelSlot}),!this.hasLabelSlot&&this.label)),this.helperMessage&&t("div",{key:"78c2f5f6b0cdc93facee367662ba190906a5421c",class:"pds-checkbox__message",id:c(this.componentId,"helper")},this.helperMessage),this.errorMessage&&t("div",{key:"d776e3539d2ff057c5a2471df4069df8fc3af864",class:"pds-checkbox__message pds-checkbox__message--error",id:c(this.componentId,"error"),"aria-live":"assertive"},t("pds-icon",{key:"f74131e597bc37569062b683b118b676af418a28",icon:l,size:"small"}),this.errorMessage))};Object.defineProperty(e,"formAssociated",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{checked:[{updateIndeterminate:0},{checkedChanged:0}]}},enumerable:false,configurable:true});return e}());f.style=p()+u()}}}));