@skdx/web-components-blocks 0.35.0 → 0.37.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.
Files changed (56) hide show
  1. package/custom-elements.json +1015 -1319
  2. package/dist/chat-composer/ChatComposer.cjs +1 -1
  3. package/dist/chat-composer/ChatComposer.js +1 -1
  4. package/dist/chat-message/ChatMessage.cjs +12 -12
  5. package/dist/chat-message/ChatMessage.js +1 -1
  6. package/dist/comment/Comment.cjs +2 -2
  7. package/dist/comment/Comment.js +2 -2
  8. package/dist/comment-thread/CommentThread.cjs +1 -1
  9. package/dist/comment-thread/CommentThread.js +1 -1
  10. package/dist/empty-state/EmptyState.cjs +10 -10
  11. package/dist/empty-state/EmptyState.js +5 -5
  12. package/dist/filter-bar/FilterBar.cjs +9 -9
  13. package/dist/filter-bar/FilterBar.d.cts +9 -0
  14. package/dist/filter-bar/FilterBar.d.ts +9 -0
  15. package/dist/filter-bar/FilterBar.js +19 -19
  16. package/dist/forgot-password-page/ForgotPasswordPage.cjs +2 -2
  17. package/dist/forgot-password-page/ForgotPasswordPage.js +6 -6
  18. package/dist/form-section/FormSection.cjs +5 -5
  19. package/dist/form-section/FormSection.js +2 -2
  20. package/dist/index.cjs +1 -1
  21. package/dist/index.d.cts +0 -1
  22. package/dist/index.d.ts +0 -1
  23. package/dist/index.js +1 -1
  24. package/dist/internal/slots.cjs +1 -1
  25. package/dist/internal/slots.js +1 -1
  26. package/dist/notification-center/NotificationCenter.cjs +1 -1
  27. package/dist/notification-center/NotificationCenter.js +1 -1
  28. package/dist/page-container/PageContainer.cjs +5 -5
  29. package/dist/page-container/PageContainer.js +2 -2
  30. package/dist/reset-password-page/ResetPasswordPage.cjs +15 -5
  31. package/dist/reset-password-page/ResetPasswordPage.js +15 -5
  32. package/dist/sign-up-page/SignUpPage.cjs +13 -5
  33. package/dist/sign-up-page/SignUpPage.d.cts +1 -1
  34. package/dist/sign-up-page/SignUpPage.d.ts +1 -1
  35. package/dist/sign-up-page/SignUpPage.js +14 -6
  36. package/dist/stat-card/StatCard.cjs +1 -1
  37. package/dist/stat-card/StatCard.js +11 -11
  38. package/dist/usage-card/UsageCard.cjs +1 -1
  39. package/dist/usage-card/UsageCard.js +1 -1
  40. package/dist/user-menu/UserMenu.cjs +5 -3
  41. package/dist/user-menu/UserMenu.js +8 -6
  42. package/dist/verification-page/VerificationPage.cjs +4 -6
  43. package/dist/verification-page/VerificationPage.d.cts +1 -1
  44. package/dist/verification-page/VerificationPage.d.ts +1 -1
  45. package/dist/verification-page/VerificationPage.js +4 -6
  46. package/dist/workspace-switcher/WorkspaceSwitcher.cjs +1 -1
  47. package/dist/workspace-switcher/WorkspaceSwitcher.js +1 -1
  48. package/package.json +3 -17
  49. package/dist/confirm-dialog/ConfirmDialog.cjs +0 -38
  50. package/dist/confirm-dialog/ConfirmDialog.d.cts +0 -101
  51. package/dist/confirm-dialog/ConfirmDialog.d.ts +0 -101
  52. package/dist/confirm-dialog/ConfirmDialog.js +0 -38
  53. package/dist/confirm-dialog/index.cjs +0 -1
  54. package/dist/confirm-dialog/index.d.cts +0 -1
  55. package/dist/confirm-dialog/index.d.ts +0 -1
  56. package/dist/confirm-dialog/index.js +0 -1
@@ -1,4 +1,4 @@
1
- "use strict";var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var y=(l,a)=>{for(var e in a)d(l,e,{get:a[e],enumerable:!0})},x=(l,a,e,r)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of v(a))!b.call(l,i)&&i!==e&&d(l,i,{get:()=>a[i],enumerable:!(r=p(a,i))||r.enumerable});return l};var f=l=>x(d({},"__esModule",{value:!0}),l),n=(l,a,e,r)=>{for(var i=r>1?void 0:r?p(a,e):a,u=l.length-1,h;u>=0;u--)(h=l[u])&&(i=(r?h(a,e,i):h(i))||i);return r&&i&&d(a,e,i),i};var V={};y(V,{SkdxChatComposer:()=>s});module.exports=f(V);var t=require("lit"),o=require("lit/decorators.js"),m=require("../internal/define.cjs"),c=require("../internal/events.cjs"),g=require("../internal/slots.cjs"),S=require("@skdx/web-components/button"),_=require("@skdx/web-components/textarea");var k="data-skdx-chat-composer-generated",s=class extends t.LitElement{constructor(){super(...arguments);this.defaultValue="";this.label="Message";this.sendLabel="Send";this.submitKey="enter";this.maxRows=8;this.disabled=!1;this.pending=!1;this.handleValueChange=e=>{e.stopPropagation(),this.setValue(e.detail,"keyboard")};this.send=()=>{let e=this.currentValue;this.disabled||this.pending||e.trim().length===0||((0,c.emit)(this,"send",{value:e}),this.value===void 0&&this.setValue("","programmatic"))};this.handleKeyDown=e=>{this.submitKey==="none"||e.key!=="Enter"||e.isComposing||!(this.submitKey==="enter"?!e.shiftKey:e.metaKey||e.ctrlKey)||(e.preventDefault(),this.send())}}createRenderRoot(){return this}get currentValue(){return this.value??this.uncontrolledValue??this.defaultValue}get canSend(){return this.currentValue.trim().length>0}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}hasSlotted(e){return this.querySelector(`[slot="${e}"]`)!==null}region(e){return this.querySelector(`.skdx-chat-composer__${e}`)}setValue(e,r){let i=this.currentValue;this.uncontrolledValue=e,this.requestUpdate(),(0,c.emit)(this,"value-change",{value:e,previousValue:i,reason:r})}updated(){this.pending?this.setAttribute("data-state","pending"):this.removeAttribute("data-state");let e=this.querySelector(".skdx-chat-composer__textarea");e&&(e.value=this.currentValue),(0,g.placeSlotted)(this,k,{attachments:this.region("attachments"),leading:this.region("leading"),trailing:this.region("trailing"),footer:this.region("footer"),"send-icon":this.region("send")},null)}render(){let e=this.currentValue,r=this.hasSlotted("send-icon");return t.html`
1
+ "use strict";var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var y=(l,a)=>{for(var e in a)d(l,e,{get:a[e],enumerable:!0})},x=(l,a,e,r)=>{if(a&&typeof a=="object"||typeof a=="function")for(let i of v(a))!b.call(l,i)&&i!==e&&d(l,i,{get:()=>a[i],enumerable:!(r=p(a,i))||r.enumerable});return l};var f=l=>x(d({},"__esModule",{value:!0}),l),n=(l,a,e,r)=>{for(var i=r>1?void 0:r?p(a,e):a,u=l.length-1,h;u>=0;u--)(h=l[u])&&(i=(r?h(a,e,i):h(i))||i);return r&&i&&d(a,e,i),i};var $={};y($,{SkdxChatComposer:()=>s});module.exports=f($);var t=require("lit"),o=require("lit/decorators.js"),m=require("../internal/define.cjs"),c=require("../internal/events.cjs"),g=require("../internal/slots.cjs"),S=require("@skdx/web-components/button"),_=require("@skdx/web-components/textarea");var k="data-skdx-chat-composer-generated",s=class extends t.LitElement{constructor(){super(...arguments);this.defaultValue="";this.label="Message";this.sendLabel="Send";this.submitKey="enter";this.maxRows=8;this.disabled=!1;this.pending=!1;this.handleValueChange=e=>{e.stopPropagation(),this.setValue(e.detail,"keyboard")};this.send=()=>{let e=this.currentValue;this.disabled||this.pending||e.trim().length===0||((0,c.emit)(this,"send",{value:e}),this.value===void 0&&this.setValue("","programmatic"))};this.handleKeyDown=e=>{this.submitKey==="none"||e.key!=="Enter"||e.isComposing||!(this.submitKey==="enter"?!e.shiftKey:e.metaKey||e.ctrlKey)||(e.preventDefault(),this.send())}}createRenderRoot(){return this}get currentValue(){return this.value??this.uncontrolledValue??this.defaultValue}get canSend(){return this.currentValue.trim().length>0}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}hasSlotted(e){return this.querySelector(`[slot="${e}"], [data-skdx-slot="${e}"]`)!==null}region(e){return this.querySelector(`.skdx-chat-composer__${e}`)}setValue(e,r){let i=this.currentValue;this.uncontrolledValue=e,this.requestUpdate(),(0,c.emit)(this,"value-change",{value:e,previousValue:i,reason:r})}updated(){this.pending?this.setAttribute("data-state","pending"):this.removeAttribute("data-state");let e=this.querySelector(".skdx-chat-composer__textarea");e&&(e.value=this.currentValue),(0,g.placeSlotted)(this,k,{attachments:this.region("attachments"),leading:this.region("leading"),trailing:this.region("trailing"),footer:this.region("footer"),"send-icon":this.region("send")},null)}render(){let e=this.currentValue,r=this.hasSlotted("send-icon");return t.html`
2
2
  ${this.hasSlotted("attachments")?t.html`<div
3
3
  class="skdx-chat-composer__attachments"
4
4
  data-skdx-chat-composer-generated
@@ -1,4 +1,4 @@
1
- var p=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var a=(d,l,e,i)=>{for(var r=i>1?void 0:i?m(l,e):l,u=d.length-1,h;u>=0;u--)(h=d[u])&&(r=(i?h(l,e,r):h(r))||r);return i&&r&&p(l,e,r),r};import{html as o,LitElement as g,nothing as n}from"lit";import{property as s}from"lit/decorators.js";import{customElement as v}from"../internal/define.js";import{emit as c}from"../internal/events.js";import{placeSlotted as b}from"../internal/slots.js";import"@skdx/web-components/button";import"@skdx/web-components/textarea";var y="data-skdx-chat-composer-generated",t=class extends g{constructor(){super(...arguments);this.defaultValue="";this.label="Message";this.sendLabel="Send";this.submitKey="enter";this.maxRows=8;this.disabled=!1;this.pending=!1;this.handleValueChange=e=>{e.stopPropagation(),this.setValue(e.detail,"keyboard")};this.send=()=>{let e=this.currentValue;this.disabled||this.pending||e.trim().length===0||(c(this,"send",{value:e}),this.value===void 0&&this.setValue("","programmatic"))};this.handleKeyDown=e=>{this.submitKey==="none"||e.key!=="Enter"||e.isComposing||!(this.submitKey==="enter"?!e.shiftKey:e.metaKey||e.ctrlKey)||(e.preventDefault(),this.send())}}createRenderRoot(){return this}get currentValue(){return this.value??this.uncontrolledValue??this.defaultValue}get canSend(){return this.currentValue.trim().length>0}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}hasSlotted(e){return this.querySelector(`[slot="${e}"]`)!==null}region(e){return this.querySelector(`.skdx-chat-composer__${e}`)}setValue(e,i){let r=this.currentValue;this.uncontrolledValue=e,this.requestUpdate(),c(this,"value-change",{value:e,previousValue:r,reason:i})}updated(){this.pending?this.setAttribute("data-state","pending"):this.removeAttribute("data-state");let e=this.querySelector(".skdx-chat-composer__textarea");e&&(e.value=this.currentValue),b(this,y,{attachments:this.region("attachments"),leading:this.region("leading"),trailing:this.region("trailing"),footer:this.region("footer"),"send-icon":this.region("send")},null)}render(){let e=this.currentValue,i=this.hasSlotted("send-icon");return o`
1
+ var p=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var a=(d,l,e,i)=>{for(var r=i>1?void 0:i?m(l,e):l,u=d.length-1,h;u>=0;u--)(h=d[u])&&(r=(i?h(l,e,r):h(r))||r);return i&&r&&p(l,e,r),r};import{html as o,LitElement as g,nothing as n}from"lit";import{property as s}from"lit/decorators.js";import{customElement as v}from"../internal/define.js";import{emit as c}from"../internal/events.js";import{placeSlotted as b}from"../internal/slots.js";import"@skdx/web-components/button";import"@skdx/web-components/textarea";var y="data-skdx-chat-composer-generated",t=class extends g{constructor(){super(...arguments);this.defaultValue="";this.label="Message";this.sendLabel="Send";this.submitKey="enter";this.maxRows=8;this.disabled=!1;this.pending=!1;this.handleValueChange=e=>{e.stopPropagation(),this.setValue(e.detail,"keyboard")};this.send=()=>{let e=this.currentValue;this.disabled||this.pending||e.trim().length===0||(c(this,"send",{value:e}),this.value===void 0&&this.setValue("","programmatic"))};this.handleKeyDown=e=>{this.submitKey==="none"||e.key!=="Enter"||e.isComposing||!(this.submitKey==="enter"?!e.shiftKey:e.metaKey||e.ctrlKey)||(e.preventDefault(),this.send())}}createRenderRoot(){return this}get currentValue(){return this.value??this.uncontrolledValue??this.defaultValue}get canSend(){return this.currentValue.trim().length>0}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}hasSlotted(e){return this.querySelector(`[slot="${e}"], [data-skdx-slot="${e}"]`)!==null}region(e){return this.querySelector(`.skdx-chat-composer__${e}`)}setValue(e,i){let r=this.currentValue;this.uncontrolledValue=e,this.requestUpdate(),c(this,"value-change",{value:e,previousValue:r,reason:i})}updated(){this.pending?this.setAttribute("data-state","pending"):this.removeAttribute("data-state");let e=this.querySelector(".skdx-chat-composer__textarea");e&&(e.value=this.currentValue),b(this,y,{attachments:this.region("attachments"),leading:this.region("leading"),trailing:this.region("trailing"),footer:this.region("footer"),"send-icon":this.region("send")},null)}render(){let e=this.currentValue,i=this.hasSlotted("send-icon");return o`
2
2
  ${this.hasSlotted("attachments")?o`<div
3
3
  class="skdx-chat-composer__attachments"
4
4
  data-skdx-chat-composer-generated
@@ -1,26 +1,26 @@
1
- "use strict";var h=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var f=(a,e)=>{for(var r in e)h(a,r,{get:e[r],enumerable:!0})},_=(a,e,r,d)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of p(e))!v.call(a,s)&&s!==r&&h(a,s,{get:()=>e[s],enumerable:!(d=c(e,s))||d.enumerable});return a};var b=a=>_(h({},"__esModule",{value:!0}),a),n=(a,e,r,d)=>{for(var s=d>1?void 0:d?c(e,r):e,u=a.length-1,m;u>=0;u--)(m=a[u])&&(s=(d?m(e,r,s):m(s))||s);return d&&s&&h(e,r,s),s};var k={};f(k,{SkdxChatMessage:()=>i});module.exports=b(k);var t=require("lit"),o=require("lit/decorators.js"),l=require("../internal/define.cjs"),g=require("../internal/slots.cjs"),y=require("@skdx/web-components/time");var $="data-skdx-chat-message-generated",i=class extends t.LitElement{createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","article"),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-chat-message__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"]`)!==null}updated(){this.setAttribute("data-sender",this.sender??""),this.status===void 0?this.removeAttribute("data-status"):this.setAttribute("data-status",this.status),this.status==="pending"?this.setAttribute("aria-busy","true"):this.removeAttribute("aria-busy"),(0,g.placeSlotted)(this,$,{avatar:this.region("avatar"),attachments:this.region("attachments"),footer:this.region("footer"),actions:this.region("actions")},this.region("content"))}render(){let e=this.author!==void 0||this.timestamp!==void 0||this.statusLabel!==void 0;return t.html`
2
- ${this.hasSlotted("avatar")?t.html`<div
1
+ "use strict";var h=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var f=(a,t)=>{for(var r in t)h(a,r,{get:t[r],enumerable:!0})},_=(a,t,r,d)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of p(t))!v.call(a,s)&&s!==r&&h(a,s,{get:()=>t[s],enumerable:!(d=m(t,s))||d.enumerable});return a};var b=a=>_(h({},"__esModule",{value:!0}),a),n=(a,t,r,d)=>{for(var s=d>1?void 0:d?m(t,r):t,u=a.length-1,l;u>=0;u--)(l=a[u])&&(s=(d?l(t,r,s):l(s))||s);return d&&s&&h(t,r,s),s};var k={};f(k,{SkdxChatMessage:()=>i});module.exports=b(k);var e=require("lit"),o=require("lit/decorators.js"),c=require("../internal/define.cjs"),g=require("../internal/slots.cjs"),y=require("@skdx/web-components/time");var $="data-skdx-chat-message-generated",i=class extends e.LitElement{createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","article"),queueMicrotask(()=>this.requestUpdate())}region(t){return this.querySelector(`.skdx-chat-message__${t}`)}hasSlotted(t){return this.querySelector(`[slot="${t}"], [data-skdx-slot="${t}"]`)!==null}updated(){this.setAttribute("data-sender",this.sender??""),this.status===void 0?this.removeAttribute("data-status"):this.setAttribute("data-status",this.status),this.status==="pending"?this.setAttribute("aria-busy","true"):this.removeAttribute("aria-busy"),(0,g.placeSlotted)(this,$,{avatar:this.region("avatar"),attachments:this.region("attachments"),footer:this.region("footer"),actions:this.region("actions")},this.region("content"))}render(){let t=this.author!==void 0||this.timestamp!==void 0||this.statusLabel!==void 0;return e.html`
2
+ ${this.hasSlotted("avatar")?e.html`<div
3
3
  class="skdx-chat-message__avatar"
4
4
  aria-hidden="true"
5
5
  data-skdx-chat-message-generated
6
- ></div>`:t.nothing}
6
+ ></div>`:e.nothing}
7
7
  <div
8
8
  class="skdx-chat-message__main"
9
9
  data-skdx-chat-message-generated
10
10
  >
11
- ${e?t.html`<div class="skdx-chat-message__header">
12
- ${this.author===void 0?t.nothing:t.html`<span class="skdx-chat-message__author">${this.author}</span>`}
13
- ${this.timestamp===void 0?t.nothing:t.html`<skdx-time
11
+ ${t?e.html`<div class="skdx-chat-message__header">
12
+ ${this.author===void 0?e.nothing:e.html`<span class="skdx-chat-message__author">${this.author}</span>`}
13
+ ${this.timestamp===void 0?e.nothing:e.html`<skdx-time
14
14
  class="skdx-chat-message__time"
15
15
  relative
16
16
  .value=${this.timestamp}
17
17
  .now=${this.now}
18
18
  ></skdx-time>`}
19
- ${this.statusLabel===void 0?t.nothing:t.html`<span class="skdx-chat-message__status">${this.statusLabel}</span>`}
20
- </div>`:t.nothing}
19
+ ${this.statusLabel===void 0?e.nothing:e.html`<span class="skdx-chat-message__status">${this.statusLabel}</span>`}
20
+ </div>`:e.nothing}
21
21
  <div class="skdx-chat-message__content"></div>
22
- ${this.hasSlotted("attachments")?t.html`<div class="skdx-chat-message__attachments"></div>`:t.nothing}
23
- ${this.hasSlotted("footer")?t.html`<div class="skdx-chat-message__footer"></div>`:t.nothing}
24
- ${this.hasSlotted("actions")?t.html`<div class="skdx-chat-message__actions"></div>`:t.nothing}
22
+ ${this.hasSlotted("attachments")?e.html`<div class="skdx-chat-message__attachments"></div>`:e.nothing}
23
+ ${this.hasSlotted("footer")?e.html`<div class="skdx-chat-message__footer"></div>`:e.nothing}
24
+ ${this.hasSlotted("actions")?e.html`<div class="skdx-chat-message__actions"></div>`:e.nothing}
25
25
  </div>
26
- `}};n([(0,o.property)({type:String})],i.prototype,"sender",2),n([(0,o.property)({type:String})],i.prototype,"author",2),n([(0,o.property)({type:String})],i.prototype,"timestamp",2),n([(0,o.property)({attribute:!1})],i.prototype,"now",2),n([(0,o.property)({type:String})],i.prototype,"status",2),n([(0,o.property)({type:String,attribute:"status-label"})],i.prototype,"statusLabel",2),i=n([(0,l.customElement)("skdx-chat-message","chat-message","root")],i);0&&(module.exports={SkdxChatMessage});
26
+ `}};n([(0,o.property)({type:String})],i.prototype,"sender",2),n([(0,o.property)({type:String})],i.prototype,"author",2),n([(0,o.property)({type:String})],i.prototype,"timestamp",2),n([(0,o.property)({attribute:!1})],i.prototype,"now",2),n([(0,o.property)({type:String})],i.prototype,"status",2),n([(0,o.property)({type:String,attribute:"status-label"})],i.prototype,"statusLabel",2),i=n([(0,c.customElement)("skdx-chat-message","chat-message","root")],i);0&&(module.exports={SkdxChatMessage});
@@ -1,4 +1,4 @@
1
- var c=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var a=(o,t,h,d)=>{for(var r=d>1?void 0:d?l(t,h):t,u=o.length-1,m;u>=0;u--)(m=o[u])&&(r=(d?m(t,h,r):m(r))||r);return d&&r&&c(t,h,r),r};import{html as s,LitElement as g,nothing as i}from"lit";import{property as n}from"lit/decorators.js";import{customElement as p}from"../internal/define.js";import{placeSlotted as v}from"../internal/slots.js";import"@skdx/web-components/time";var f="data-skdx-chat-message-generated",e=class extends g{createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","article"),queueMicrotask(()=>this.requestUpdate())}region(t){return this.querySelector(`.skdx-chat-message__${t}`)}hasSlotted(t){return this.querySelector(`[slot="${t}"]`)!==null}updated(){this.setAttribute("data-sender",this.sender??""),this.status===void 0?this.removeAttribute("data-status"):this.setAttribute("data-status",this.status),this.status==="pending"?this.setAttribute("aria-busy","true"):this.removeAttribute("aria-busy"),v(this,f,{avatar:this.region("avatar"),attachments:this.region("attachments"),footer:this.region("footer"),actions:this.region("actions")},this.region("content"))}render(){let t=this.author!==void 0||this.timestamp!==void 0||this.statusLabel!==void 0;return s`
1
+ var m=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var a=(o,t,h,d)=>{for(var r=d>1?void 0:d?c(t,h):t,u=o.length-1,l;u>=0;u--)(l=o[u])&&(r=(d?l(t,h,r):l(r))||r);return d&&r&&m(t,h,r),r};import{html as s,LitElement as g,nothing as i}from"lit";import{property as n}from"lit/decorators.js";import{customElement as p}from"../internal/define.js";import{placeSlotted as v}from"../internal/slots.js";import"@skdx/web-components/time";var f="data-skdx-chat-message-generated",e=class extends g{createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","article"),queueMicrotask(()=>this.requestUpdate())}region(t){return this.querySelector(`.skdx-chat-message__${t}`)}hasSlotted(t){return this.querySelector(`[slot="${t}"], [data-skdx-slot="${t}"]`)!==null}updated(){this.setAttribute("data-sender",this.sender??""),this.status===void 0?this.removeAttribute("data-status"):this.setAttribute("data-status",this.status),this.status==="pending"?this.setAttribute("aria-busy","true"):this.removeAttribute("aria-busy"),v(this,f,{avatar:this.region("avatar"),attachments:this.region("attachments"),footer:this.region("footer"),actions:this.region("actions")},this.region("content"))}render(){let t=this.author!==void 0||this.timestamp!==void 0||this.statusLabel!==void 0;return s`
2
2
  ${this.hasSlotted("avatar")?s`<div
3
3
  class="skdx-chat-message__avatar"
4
4
  aria-hidden="true"
@@ -1,4 +1,4 @@
1
- "use strict";var m=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var _=Object.prototype.hasOwnProperty;var g=(i,e)=>{for(var s in e)m(i,s,{get:e[s],enumerable:!0})},k=(i,e,s,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of v(e))!_.call(i,a)&&a!==s&&m(i,a,{get:()=>e[a],enumerable:!(r=h(e,a))||r.enumerable});return i};var x=i=>k(m({},"__esModule",{value:!0}),i),d=(i,e,s,r)=>{for(var a=r>1?void 0:r?h(e,s):e,c=i.length-1,l;c>=0;c--)(l=i[c])&&(a=(r?l(e,s,a):l(a))||a);return r&&a&&m(e,s,a),a};var b={};g(b,{SkdxComment:()=>n});module.exports=x(b);var t=require("lit"),o=require("lit/decorators.js"),p=require("../internal/define.cjs"),u=require("../internal/slots.cjs"),E=require("@skdx/web-components/time");var $="data-skdx-comment-generated",n=class extends t.LitElement{constructor(){super(...arguments);this.edited=!1;this.editedLabel="Edited"}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","article"),queueMicrotask(()=>this.requestUpdate())}region(s){return this.querySelector(`.skdx-comment__${s}`)}hasSlotted(s){return this.querySelector(`[slot="${s}"]`)!==null}updated(){(0,u.placeSlotted)(this,$,{avatar:this.region("avatar"),metadata:this.region("metadata"),attachments:this.region("attachments"),actions:this.region("actions")},this.region("content"))}render(){return t.html`
1
+ "use strict";var m=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var _=Object.prototype.hasOwnProperty;var g=(i,e)=>{for(var a in e)m(i,a,{get:e[a],enumerable:!0})},k=(i,e,a,d)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of v(e))!_.call(i,s)&&s!==a&&m(i,s,{get:()=>e[s],enumerable:!(d=h(e,s))||d.enumerable});return i};var x=i=>k(m({},"__esModule",{value:!0}),i),r=(i,e,a,d)=>{for(var s=d>1?void 0:d?h(e,a):e,c=i.length-1,l;c>=0;c--)(l=i[c])&&(s=(d?l(e,a,s):l(s))||s);return d&&s&&m(e,a,s),s};var b={};g(b,{SkdxComment:()=>n});module.exports=x(b);var t=require("lit"),o=require("lit/decorators.js"),p=require("../internal/define.cjs"),u=require("../internal/slots.cjs"),E=require("@skdx/web-components/time");var $="data-skdx-comment-generated",n=class extends t.LitElement{constructor(){super(...arguments);this.edited=!1;this.editedLabel="Edited"}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","article"),queueMicrotask(()=>this.requestUpdate())}region(a){return this.querySelector(`.skdx-comment__${a}`)}hasSlotted(a){return this.querySelector(`[slot="${a}"], [data-skdx-slot="${a}"]`)!==null}updated(){(0,u.placeSlotted)(this,$,{avatar:this.region("avatar"),metadata:this.region("metadata"),attachments:this.region("attachments"),actions:this.region("actions")},this.region("content"))}render(){return t.html`
2
2
  ${this.hasSlotted("avatar")?t.html`<div
3
3
  class="skdx-comment__avatar"
4
4
  aria-hidden="true"
@@ -23,4 +23,4 @@
23
23
  ${this.hasSlotted("attachments")?t.html`<div class="skdx-comment__attachments"></div>`:t.nothing}
24
24
  ${this.hasSlotted("actions")?t.html`<div class="skdx-comment__actions"></div>`:t.nothing}
25
25
  </div>
26
- `}};d([(0,o.property)({type:String})],n.prototype,"author",2),d([(0,o.property)({type:String})],n.prototype,"timestamp",2),d([(0,o.property)({attribute:!1})],n.prototype,"now",2),d([(0,o.property)({type:Boolean})],n.prototype,"edited",2),d([(0,o.property)({type:String,attribute:"edited-label"})],n.prototype,"editedLabel",2),n=d([(0,p.customElement)("skdx-comment","comment","root")],n);0&&(module.exports={SkdxComment});
26
+ `}};r([(0,o.property)({type:String})],n.prototype,"author",2),r([(0,o.property)({type:String})],n.prototype,"timestamp",2),r([(0,o.property)({attribute:!1})],n.prototype,"now",2),r([(0,o.property)({type:Boolean})],n.prototype,"edited",2),r([(0,o.property)({type:String,attribute:"edited-label"})],n.prototype,"editedLabel",2),n=r([(0,p.customElement)("skdx-comment","comment","root")],n);0&&(module.exports={SkdxComment});
@@ -1,4 +1,4 @@
1
- var h=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var s=(m,r,e,o)=>{for(var a=o>1?void 0:o?p(r,e):r,c=m.length-1,l;c>=0;c--)(l=m[c])&&(a=(o?l(r,e,a):l(a))||a);return o&&a&&h(r,e,a),a};import{html as i,LitElement as u,nothing as n}from"lit";import{property as d}from"lit/decorators.js";import{customElement as v}from"../internal/define.js";import{placeSlotted as _}from"../internal/slots.js";import"@skdx/web-components/time";var g="data-skdx-comment-generated",t=class extends u{constructor(){super(...arguments);this.edited=!1;this.editedLabel="Edited"}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","article"),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-comment__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"]`)!==null}updated(){_(this,g,{avatar:this.region("avatar"),metadata:this.region("metadata"),attachments:this.region("attachments"),actions:this.region("actions")},this.region("content"))}render(){return i`
1
+ var h=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var s=(m,d,e,o)=>{for(var a=o>1?void 0:o?p(d,e):d,c=m.length-1,l;c>=0;c--)(l=m[c])&&(a=(o?l(d,e,a):l(a))||a);return o&&a&&h(d,e,a),a};import{html as i,LitElement as u,nothing as n}from"lit";import{property as r}from"lit/decorators.js";import{customElement as v}from"../internal/define.js";import{placeSlotted as _}from"../internal/slots.js";import"@skdx/web-components/time";var g="data-skdx-comment-generated",t=class extends u{constructor(){super(...arguments);this.edited=!1;this.editedLabel="Edited"}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","article"),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-comment__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"], [data-skdx-slot="${e}"]`)!==null}updated(){_(this,g,{avatar:this.region("avatar"),metadata:this.region("metadata"),attachments:this.region("attachments"),actions:this.region("actions")},this.region("content"))}render(){return i`
2
2
  ${this.hasSlotted("avatar")?i`<div
3
3
  class="skdx-comment__avatar"
4
4
  aria-hidden="true"
@@ -23,4 +23,4 @@ var h=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var s=(m,r,e,o
23
23
  ${this.hasSlotted("attachments")?i`<div class="skdx-comment__attachments"></div>`:n}
24
24
  ${this.hasSlotted("actions")?i`<div class="skdx-comment__actions"></div>`:n}
25
25
  </div>
26
- `}};s([d({type:String})],t.prototype,"author",2),s([d({type:String})],t.prototype,"timestamp",2),s([d({attribute:!1})],t.prototype,"now",2),s([d({type:Boolean})],t.prototype,"edited",2),s([d({type:String,attribute:"edited-label"})],t.prototype,"editedLabel",2),t=s([v("skdx-comment","comment","root")],t);export{t as SkdxComment};
26
+ `}};s([r({type:String})],t.prototype,"author",2),s([r({type:String})],t.prototype,"timestamp",2),s([r({attribute:!1})],t.prototype,"now",2),s([r({type:Boolean})],t.prototype,"edited",2),s([r({type:String,attribute:"edited-label"})],t.prototype,"editedLabel",2),t=s([v("skdx-comment","comment","root")],t);export{t as SkdxComment};
@@ -1,4 +1,4 @@
1
- "use strict";var i=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var E=(t,o)=>{for(var e in o)i(t,e,{get:o[e],enumerable:!0})},k=(t,o,e,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of b(o))!v.call(t,s)&&s!==e&&i(t,s,{get:()=>o[s],enumerable:!(a=m(o,s))||a.enumerable});return t};var f=t=>k(i({},"__esModule",{value:!0}),t),l=(t,o,e,a)=>{for(var s=a>1?void 0:a?m(o,e):o,p=t.length-1,c;p>=0;p--)(c=t[p])&&(s=(a?c(o,e,s):c(s))||s);return a&&s&&i(o,e,s),s};var L={};E(L,{SkdxCommentThread:()=>d});module.exports=f(L);var n=require("lit"),r=require("lit/decorators.js"),u=require("../internal/define.cjs"),g=require("../internal/events.cjs"),x=require("../internal/slots.cjs"),M=require("@skdx/web-components/collapsible"),$=require("@skdx/web-components/primitives/collapsible");var R="data-skdx-comment-thread-generated",h={fromAttribute:t=>t!=="false"};function _(t){t.stopPropagation()}var d=class extends n.LitElement{constructor(){super(...arguments);this.defaultExpanded=!0;this.handleOpenChange=e=>{e.stopPropagation();let a=e.detail;this.uncontrolledExpanded=a,this.requestUpdate(),(0,g.emit)(this,"expanded-change",{expanded:a})}}createRenderRoot(){return this}get isExpanded(){return this.expanded??this.uncontrolledExpanded??this.defaultExpanded}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-comment-thread__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"]`)!==null}updated(){let e=this.isExpanded;this.setAttribute("data-state",e?"expanded":"collapsed");let a=this.querySelector(":scope > skdx-collapsible");a&&(a.open=e),(0,x.placeSlotted)(this,R,{replies:this.region("replies"),"load-more":this.region("load-more"),composer:this.region("composer")},this.region("comment"))}repliesRegion(){if(!this.showRepliesLabel)return n.html`<div
1
+ "use strict";var i=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var E=(t,o)=>{for(var e in o)i(t,e,{get:o[e],enumerable:!0})},k=(t,o,e,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let s of b(o))!v.call(t,s)&&s!==e&&i(t,s,{get:()=>o[s],enumerable:!(a=m(o,s))||a.enumerable});return t};var f=t=>k(i({},"__esModule",{value:!0}),t),l=(t,o,e,a)=>{for(var s=a>1?void 0:a?m(o,e):o,p=t.length-1,c;p>=0;p--)(c=t[p])&&(s=(a?c(o,e,s):c(s))||s);return a&&s&&i(o,e,s),s};var L={};E(L,{SkdxCommentThread:()=>d});module.exports=f(L);var n=require("lit"),r=require("lit/decorators.js"),u=require("../internal/define.cjs"),g=require("../internal/events.cjs"),x=require("../internal/slots.cjs"),y=require("@skdx/web-components/collapsible"),M=require("@skdx/web-components/primitives/collapsible");var R="data-skdx-comment-thread-generated",h={fromAttribute:t=>t!=="false"};function _(t){t.stopPropagation()}var d=class extends n.LitElement{constructor(){super(...arguments);this.defaultExpanded=!0;this.handleOpenChange=e=>{e.stopPropagation();let a=e.detail;this.uncontrolledExpanded=a,this.requestUpdate(),(0,g.emit)(this,"expanded-change",{expanded:a})}}createRenderRoot(){return this}get isExpanded(){return this.expanded??this.uncontrolledExpanded??this.defaultExpanded}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-comment-thread__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"], [data-skdx-slot="${e}"]`)!==null}updated(){let e=this.isExpanded;this.setAttribute("data-state",e?"expanded":"collapsed");let a=this.querySelector(":scope > skdx-collapsible");a&&(a.open=e),(0,x.placeSlotted)(this,R,{replies:this.region("replies"),"load-more":this.region("load-more"),composer:this.region("composer")},this.region("comment"))}repliesRegion(){if(!this.showRepliesLabel)return n.html`<div
2
2
  class="skdx-comment-thread__replies"
3
3
  data-skdx-comment-thread-generated
4
4
  ></div>`;let e=this.isExpanded?this.hideRepliesLabel??this.showRepliesLabel:this.showRepliesLabel;return n.html`<skdx-collapsible
@@ -1,4 +1,4 @@
1
- var h=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var n=(a,d,e,t)=>{for(var s=t>1?void 0:t?u(d,e):d,i=a.length-1,p;i>=0;i--)(p=a[i])&&(s=(t?p(d,e,s):p(s))||s);return t&&s&&h(d,e,s),s};import{html as l,LitElement as g,nothing as c}from"lit";import{property as r}from"lit/decorators.js";import{customElement as x}from"../internal/define.js";import{emit as b}from"../internal/events.js";import{placeSlotted as v}from"../internal/slots.js";import"@skdx/web-components/collapsible";import"@skdx/web-components/primitives/collapsible";var E="data-skdx-comment-thread-generated",m={fromAttribute:a=>a!=="false"};function k(a){a.stopPropagation()}var o=class extends g{constructor(){super(...arguments);this.defaultExpanded=!0;this.handleOpenChange=e=>{e.stopPropagation();let t=e.detail;this.uncontrolledExpanded=t,this.requestUpdate(),b(this,"expanded-change",{expanded:t})}}createRenderRoot(){return this}get isExpanded(){return this.expanded??this.uncontrolledExpanded??this.defaultExpanded}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-comment-thread__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"]`)!==null}updated(){let e=this.isExpanded;this.setAttribute("data-state",e?"expanded":"collapsed");let t=this.querySelector(":scope > skdx-collapsible");t&&(t.open=e),v(this,E,{replies:this.region("replies"),"load-more":this.region("load-more"),composer:this.region("composer")},this.region("comment"))}repliesRegion(){if(!this.showRepliesLabel)return l`<div
1
+ var h=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var n=(a,d,e,t)=>{for(var s=t>1?void 0:t?u(d,e):d,i=a.length-1,p;i>=0;i--)(p=a[i])&&(s=(t?p(d,e,s):p(s))||s);return t&&s&&h(d,e,s),s};import{html as l,LitElement as g,nothing as c}from"lit";import{property as r}from"lit/decorators.js";import{customElement as x}from"../internal/define.js";import{emit as b}from"../internal/events.js";import{placeSlotted as v}from"../internal/slots.js";import"@skdx/web-components/collapsible";import"@skdx/web-components/primitives/collapsible";var E="data-skdx-comment-thread-generated",m={fromAttribute:a=>a!=="false"};function k(a){a.stopPropagation()}var o=class extends g{constructor(){super(...arguments);this.defaultExpanded=!0;this.handleOpenChange=e=>{e.stopPropagation();let t=e.detail;this.uncontrolledExpanded=t,this.requestUpdate(),b(this,"expanded-change",{expanded:t})}}createRenderRoot(){return this}get isExpanded(){return this.expanded??this.uncontrolledExpanded??this.defaultExpanded}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-comment-thread__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"], [data-skdx-slot="${e}"]`)!==null}updated(){let e=this.isExpanded;this.setAttribute("data-state",e?"expanded":"collapsed");let t=this.querySelector(":scope > skdx-collapsible");t&&(t.open=e),v(this,E,{replies:this.region("replies"),"load-more":this.region("load-more"),composer:this.region("composer")},this.region("comment"))}repliesRegion(){if(!this.showRepliesLabel)return l`<div
2
2
  class="skdx-comment-thread__replies"
3
3
  data-skdx-comment-thread-generated
4
4
  ></div>`;let e=this.isExpanded?this.hideRepliesLabel??this.showRepliesLabel:this.showRepliesLabel;return l`<skdx-collapsible
@@ -1,9 +1,9 @@
1
- "use strict";var l=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var x=(n,t)=>{for(var i in t)l(n,i,{get:t[i],enumerable:!0})},k=(n,t,i,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of v(t))!y.call(n,e)&&e!==i&&l(n,e,{get:()=>t[e],enumerable:!(r=m(t,e))||r.enumerable});return n};var $=n=>k(l({},"__esModule",{value:!0}),n),d=(n,t,i,r)=>{for(var e=r>1?void 0:r?m(t,i):t,p=n.length-1,c;p>=0;p--)(c=n[p])&&(e=(r?c(t,i,e):c(e))||e);return r&&e&&l(t,i,e),e};var b={};x(b,{SkdxEmptyState:()=>a});module.exports=$(b);var s=require("lit"),o=require("lit/decorators.js"),u=require("../internal/define.cjs"),h=require("../internal/slots.cjs"),T=require("@skdx/web-components/heading"),L=require("@skdx/web-components/text");var g="data-skdx-empty-state-generated",_=0,a=class extends s.LitElement{constructor(){super(...arguments);this.headingLevel=3;this.align="center";this.titleId=`skdx-empty-state-title-${++_}`}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}region(i){return this.querySelector(`.skdx-empty-state__${i}`)}hasSlotted(i){return this.querySelector(`[slot="${i}"]`)!==null}get hasContent(){return(0,h.hasUnslottedChild)(this,g)||(this.region("content")?.hasChildNodes()??!1)}updated(){this.setAttribute("data-align",this.align),this.size===void 0?this.removeAttribute("data-size"):this.setAttribute("data-size",this.size),(0,h.placeSlotted)(this,g,{icon:this.region("icon"),actions:this.region("actions")},this.region("content"))}render(){return s.html`
2
- ${this.hasSlotted("icon")?s.html`<div
1
+ "use strict";var l=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var x=(a,t)=>{for(var e in t)l(a,e,{get:t[e],enumerable:!0})},k=(a,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of v(t))!y.call(a,s)&&s!==e&&l(a,s,{get:()=>t[s],enumerable:!(r=m(t,s))||r.enumerable});return a};var $=a=>k(l({},"__esModule",{value:!0}),a),d=(a,t,e,r)=>{for(var s=r>1?void 0:r?m(t,e):t,p=a.length-1,c;p>=0;p--)(c=a[p])&&(s=(r?c(t,e,s):c(s))||s);return r&&s&&l(t,e,s),s};var b={};x(b,{SkdxEmptyState:()=>n});module.exports=$(b);var i=require("lit"),o=require("lit/decorators.js"),u=require("../internal/define.cjs"),h=require("../internal/slots.cjs"),T=require("@skdx/web-components/heading"),L=require("@skdx/web-components/text");var g="data-skdx-empty-state-generated",_=0,n=class extends i.LitElement{constructor(){super(...arguments);this.headingLevel=3;this.align="center";this.titleId=`skdx-empty-state-title-${++_}`}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-empty-state__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"], [data-skdx-slot="${e}"]`)!==null}get hasContent(){return(0,h.hasUnslottedChild)(this,g)||(this.region("content")?.hasChildNodes()??!1)}updated(){this.setAttribute("data-align",this.align),this.size===void 0?this.removeAttribute("data-size"):this.setAttribute("data-size",this.size),(0,h.placeSlotted)(this,g,{icon:this.region("icon"),actions:this.region("actions")},this.region("content"))}render(){return i.html`
2
+ ${this.hasSlotted("icon")?i.html`<div
3
3
  class="skdx-empty-state__icon"
4
4
  aria-hidden="true"
5
5
  data-skdx-empty-state-generated
6
- ></div>`:s.nothing}
6
+ ></div>`:i.nothing}
7
7
  <skdx-heading
8
8
  class="skdx-empty-state__title"
9
9
  as=${`h${this.headingLevel}`}
@@ -11,19 +11,19 @@
11
11
  data-skdx-empty-state-generated
12
12
  >${this.title??""}</skdx-heading
13
13
  >
14
- ${this.description?s.html`<skdx-text
14
+ ${this.description?i.html`<skdx-text
15
15
  class="skdx-empty-state__description"
16
16
  as="p"
17
17
  .tone=${"muted"}
18
18
  data-skdx-empty-state-generated
19
19
  >${this.description}</skdx-text
20
- >`:s.nothing}
21
- ${this.hasContent?s.html`<div
20
+ >`:i.nothing}
21
+ ${this.hasContent?i.html`<div
22
22
  class="skdx-empty-state__content"
23
23
  data-skdx-empty-state-generated
24
- ></div>`:s.nothing}
25
- ${this.hasSlotted("actions")?s.html`<div
24
+ ></div>`:i.nothing}
25
+ ${this.hasSlotted("actions")?i.html`<div
26
26
  class="skdx-empty-state__actions"
27
27
  data-skdx-empty-state-generated
28
- ></div>`:s.nothing}
29
- `}};d([(0,o.property)({type:String})],a.prototype,"title",2),d([(0,o.property)({type:String})],a.prototype,"description",2),d([(0,o.property)({type:Number,attribute:"heading-level"})],a.prototype,"headingLevel",2),d([(0,o.property)({type:String})],a.prototype,"size",2),d([(0,o.property)({type:String})],a.prototype,"align",2),a=d([(0,u.customElement)("skdx-empty-state","empty-state","root")],a);0&&(module.exports={SkdxEmptyState});
28
+ ></div>`:i.nothing}
29
+ `}};d([(0,o.property)({type:String})],n.prototype,"title",2),d([(0,o.property)({type:String})],n.prototype,"description",2),d([(0,o.property)({type:Number,attribute:"heading-level"})],n.prototype,"headingLevel",2),d([(0,o.property)({type:String})],n.prototype,"size",2),d([(0,o.property)({type:String})],n.prototype,"align",2),n=d([(0,u.customElement)("skdx-empty-state","empty-state","root")],n);0&&(module.exports={SkdxEmptyState});
@@ -1,5 +1,5 @@
1
- var m=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var i=(l,n,e,d)=>{for(var s=d>1?void 0:d?g(n,e):n,h=l.length-1,p;h>=0;h--)(p=l[h])&&(s=(d?p(n,e,s):p(s))||s);return d&&s&&m(n,e,s),s};import{html as a,LitElement as u,nothing as o}from"lit";import{property as r}from"lit/decorators.js";import{customElement as v}from"../internal/define.js";import{hasUnslottedChild as y,placeSlotted as x}from"../internal/slots.js";import"@skdx/web-components/heading";import"@skdx/web-components/text";var c="data-skdx-empty-state-generated",k=0,t=class extends u{constructor(){super(...arguments);this.headingLevel=3;this.align="center";this.titleId=`skdx-empty-state-title-${++k}`}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-empty-state__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"]`)!==null}get hasContent(){return y(this,c)||(this.region("content")?.hasChildNodes()??!1)}updated(){this.setAttribute("data-align",this.align),this.size===void 0?this.removeAttribute("data-size"):this.setAttribute("data-size",this.size),x(this,c,{icon:this.region("icon"),actions:this.region("actions")},this.region("content"))}render(){return a`
2
- ${this.hasSlotted("icon")?a`<div
1
+ var m=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var i=(l,a,e,d)=>{for(var s=d>1?void 0:d?g(a,e):a,h=l.length-1,p;h>=0;h--)(p=l[h])&&(s=(d?p(a,e,s):p(s))||s);return d&&s&&m(a,e,s),s};import{html as n,LitElement as u,nothing as o}from"lit";import{property as r}from"lit/decorators.js";import{customElement as v}from"../internal/define.js";import{hasUnslottedChild as y,placeSlotted as x}from"../internal/slots.js";import"@skdx/web-components/heading";import"@skdx/web-components/text";var c="data-skdx-empty-state-generated",k=0,t=class extends u{constructor(){super(...arguments);this.headingLevel=3;this.align="center";this.titleId=`skdx-empty-state-title-${++k}`}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-empty-state__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"], [data-skdx-slot="${e}"]`)!==null}get hasContent(){return y(this,c)||(this.region("content")?.hasChildNodes()??!1)}updated(){this.setAttribute("data-align",this.align),this.size===void 0?this.removeAttribute("data-size"):this.setAttribute("data-size",this.size),x(this,c,{icon:this.region("icon"),actions:this.region("actions")},this.region("content"))}render(){return n`
2
+ ${this.hasSlotted("icon")?n`<div
3
3
  class="skdx-empty-state__icon"
4
4
  aria-hidden="true"
5
5
  data-skdx-empty-state-generated
@@ -11,18 +11,18 @@ var m=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var i=(l,n,e,d
11
11
  data-skdx-empty-state-generated
12
12
  >${this.title??""}</skdx-heading
13
13
  >
14
- ${this.description?a`<skdx-text
14
+ ${this.description?n`<skdx-text
15
15
  class="skdx-empty-state__description"
16
16
  as="p"
17
17
  .tone=${"muted"}
18
18
  data-skdx-empty-state-generated
19
19
  >${this.description}</skdx-text
20
20
  >`:o}
21
- ${this.hasContent?a`<div
21
+ ${this.hasContent?n`<div
22
22
  class="skdx-empty-state__content"
23
23
  data-skdx-empty-state-generated
24
24
  ></div>`:o}
25
- ${this.hasSlotted("actions")?a`<div
25
+ ${this.hasSlotted("actions")?n`<div
26
26
  class="skdx-empty-state__actions"
27
27
  data-skdx-empty-state-generated
28
28
  ></div>`:o}
@@ -1,4 +1,4 @@
1
- "use strict";var o=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var x=(s,r)=>{for(var e in r)o(s,e,{get:r[e],enumerable:!0})},k=(s,r,e,t)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of g(r))!m.call(s,a)&&a!==e&&o(s,a,{get:()=>r[a],enumerable:!(t=p(r,a))||t.enumerable});return s};var y=s=>k(o({},"__esModule",{value:!0}),s),n=(s,r,e,t)=>{for(var a=t>1?void 0:t?p(r,e):r,u=s.length-1,b;u>=0;u--)(b=s[u])&&(a=(t?b(r,e,a):b(a))||a);return t&&a&&o(r,e,a),a};var S={};x(S,{SkdxFilterBar:()=>l});module.exports=y(S);var i=require("lit"),d=require("lit/decorators.js"),f=require("../internal/define.cjs"),c=require("../internal/events.cjs"),h=require("../internal/slots.cjs"),_=require("@skdx/web-components/button"),L=require("@skdx/web-components/tag-group"),E=require("@skdx/web-components/text-field");var v="data-skdx-filter-bar-generated",l=class extends i.LitElement{constructor(){super(...arguments);this.label="Filters";this.defaultSearchValue="";this.clearSearchLabel="Clear search";this.activeFiltersLabel="Active filters";this.clearLabel="Clear filters";this.handleSearchValueChange=e=>{e.stopPropagation();let t=e.detail;this.uncontrolledSearchValue=t,this.requestUpdate(),(0,c.emit)(this,"search-value-change",{value:t}),this.syncSearchField()};this.handleRemove=e=>{e.stopPropagation();let{index:t}=e.detail,a=(this.activeFilters??[])[t];a&&(0,c.emit)(this,"remove-filter",a)};this.handleClear=()=>{(0,c.emit)(this,"clear")}}createRenderRoot(){return this}get searchText(){return this.searchValue??this.uncontrolledSearchValue??this.defaultSearchValue}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-filter-bar__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"]`)!==null}get hasFilters(){return(0,h.hasUnslottedChild)(this,v)||(this.region("filters")?.hasChildNodes()??!1)}syncSearchField(){let e=this.querySelector(".skdx-filter-bar__search > skdx-text-field");if(!e)return;let t=this.searchText;e.value!==t&&(e.value=t);let a=e.querySelector("input");a&&a.value!==t&&(a.value=t)}updated(){this.setAttribute("aria-label",this.label),this.syncSearchField(),(0,h.placeSlotted)(this,v,{actions:this.region("actions")},this.region("filters"))}render(){let e=this.activeFilters??[];return i.html`
1
+ "use strict";var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var L=(n,a)=>{for(var e in a)d(n,e,{get:a[e],enumerable:!0})},E=(n,a,e,t)=>{if(a&&typeof a=="object"||typeof a=="function")for(let r of g(a))!m.call(n,r)&&r!==e&&d(n,r,{get:()=>a[r],enumerable:!(t=p(a,r))||t.enumerable});return n};var x=n=>E(d({},"__esModule",{value:!0}),n),l=(n,a,e,t)=>{for(var r=t>1?void 0:t?p(a,e):a,v=n.length-1,u;v>=0;v--)(u=n[v])&&(r=(t?u(a,e,r):u(r))||r);return t&&r&&d(a,e,r),r};var k={};L(k,{SkdxFilterBar:()=>s});module.exports=x(k);var i=require("lit"),o=require("lit/decorators.js"),f=require("../internal/define.cjs"),c=require("../internal/events.cjs"),h=require("../internal/slots.cjs"),M=require("@skdx/web-components/button"),S=require("@skdx/web-components/tag-group"),$=require("@skdx/web-components/text-field");var b="data-skdx-filter-bar-generated",s=class extends i.LitElement{constructor(){super(...arguments);this.label="Filters";this.defaultSearchValue="";this.clearSearchLabel="Clear search";this.activeFiltersLabel="Active filters";this.clearLabel="Clear filters";this.clearListeners=0;this.handleSearchValueChange=e=>{e.stopPropagation();let t=e.detail;this.uncontrolledSearchValue=t,this.requestUpdate(),(0,c.emit)(this,"search-value-change",{value:t}),this.syncSearchField()};this.handleRemove=e=>{e.stopPropagation();let{index:t}=e.detail,r=(this.activeFilters??[])[t];r&&(0,c.emit)(this,"remove-filter",r)};this.handleClear=()=>{(0,c.emit)(this,"clear")}}createRenderRoot(){return this}get searchText(){return this.searchValue??this.uncontrolledSearchValue??this.defaultSearchValue}addEventListener(e,t,r){super.addEventListener(e,t,r),this.countClearListener(e,1)}removeEventListener(e,t,r){super.removeEventListener(e,t,r),this.countClearListener(e,-1)}countClearListener(e,t){e==="clear"&&(this.clearListeners=Math.max(0,this.clearListeners+t),this.requestUpdate())}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-filter-bar__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"], [data-skdx-slot="${e}"]`)!==null}get hasFilters(){return(0,h.hasUnslottedChild)(this,b)||(this.region("filters")?.hasChildNodes()??!1)}syncSearchField(){let e=this.querySelector(".skdx-filter-bar__search > skdx-text-field");if(!e)return;let t=this.searchText;e.value!==t&&(e.value=t);let r=e.querySelector("input");r&&r.value!==t&&(r.value=t)}updated(){this.setAttribute("aria-label",this.label),this.syncSearchField(),(0,h.placeSlotted)(this,b,{actions:this.region("actions")},this.region("filters"))}render(){let e=this.activeFilters??[];return i.html`
2
2
  ${this.searchLabel?i.html`<div
3
3
  class="skdx-filter-bar__search"
4
4
  data-skdx-filter-bar-generated
@@ -33,12 +33,12 @@
33
33
  .tags=${e.map(t=>({value:t.id,label:t.label}))}
34
34
  @remove=${this.handleRemove}
35
35
  ></skdx-tag-group>
36
- <skdx-button
37
- class="skdx-filter-bar__clear"
38
- .variant=${"ghost"}
39
- .size=${"sm"}
40
- @click=${this.handleClear}
41
- >${this.clearLabel}</skdx-button
42
- >
36
+ ${this.clearListeners>0?i.html`<skdx-button
37
+ class="skdx-filter-bar__clear"
38
+ .variant=${"ghost"}
39
+ .size=${"sm"}
40
+ @click=${this.handleClear}
41
+ >${this.clearLabel}</skdx-button
42
+ >`:i.nothing}
43
43
  </div>`:i.nothing}
44
- `}};n([(0,d.property)({type:String})],l.prototype,"label",2),n([(0,d.property)({type:String,attribute:"search-label"})],l.prototype,"searchLabel",2),n([(0,d.property)({type:String,attribute:"search-placeholder"})],l.prototype,"searchPlaceholder",2),n([(0,d.property)({type:String,attribute:"search-value"})],l.prototype,"searchValue",2),n([(0,d.property)({type:String,attribute:"default-search-value"})],l.prototype,"defaultSearchValue",2),n([(0,d.property)({type:String,attribute:"clear-search-label"})],l.prototype,"clearSearchLabel",2),n([(0,d.property)({attribute:!1})],l.prototype,"activeFilters",2),n([(0,d.property)({type:String,attribute:"active-filters-label"})],l.prototype,"activeFiltersLabel",2),n([(0,d.property)({type:String,attribute:"clear-label"})],l.prototype,"clearLabel",2),l=n([(0,f.customElement)("skdx-filter-bar","filter-bar","root")],l);0&&(module.exports={SkdxFilterBar});
44
+ `}};l([(0,o.property)({type:String})],s.prototype,"label",2),l([(0,o.property)({type:String,attribute:"search-label"})],s.prototype,"searchLabel",2),l([(0,o.property)({type:String,attribute:"search-placeholder"})],s.prototype,"searchPlaceholder",2),l([(0,o.property)({type:String,attribute:"search-value"})],s.prototype,"searchValue",2),l([(0,o.property)({type:String,attribute:"default-search-value"})],s.prototype,"defaultSearchValue",2),l([(0,o.property)({type:String,attribute:"clear-search-label"})],s.prototype,"clearSearchLabel",2),l([(0,o.property)({attribute:!1})],s.prototype,"activeFilters",2),l([(0,o.property)({type:String,attribute:"active-filters-label"})],s.prototype,"activeFiltersLabel",2),l([(0,o.property)({type:String,attribute:"clear-label"})],s.prototype,"clearLabel",2),s=l([(0,f.customElement)("skdx-filter-bar","filter-bar","root")],s);0&&(module.exports={SkdxFilterBar});
@@ -91,6 +91,15 @@ export declare class SkdxFilterBar extends LitElement {
91
91
  private uncontrolledSearchValue?;
92
92
  /** The text the search field must show right now, controlled or not. */
93
93
  private get searchText();
94
+ /** How many `clear` listeners are bound; the clear button renders only while one is. */
95
+ private clearListeners;
96
+ /** @internal Standard DOM registration, counted so the clear button knows it has a listener. */
97
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
98
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
99
+ /** @internal Standard DOM removal, counted so the clear button knows it lost its listener. */
100
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
101
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
102
+ private countClearListener;
94
103
  connectedCallback(): void;
95
104
  private region;
96
105
  /** Whether the consumer supplied anything for `name` — still true once it has been moved in. */
@@ -91,6 +91,15 @@ export declare class SkdxFilterBar extends LitElement {
91
91
  private uncontrolledSearchValue?;
92
92
  /** The text the search field must show right now, controlled or not. */
93
93
  private get searchText();
94
+ /** How many `clear` listeners are bound; the clear button renders only while one is. */
95
+ private clearListeners;
96
+ /** @internal Standard DOM registration, counted so the clear button knows it has a listener. */
97
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
98
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
99
+ /** @internal Standard DOM removal, counted so the clear button knows it lost its listener. */
100
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
101
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
102
+ private countClearListener;
94
103
  connectedCallback(): void;
95
104
  private region;
96
105
  /** Whether the consumer supplied anything for `name` — still true once it has been moved in. */
@@ -1,28 +1,28 @@
1
- var p=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var i=(o,n,e,t)=>{for(var a=t>1?void 0:t?v(n,e):n,c=o.length-1,h;c>=0;c--)(h=o[c])&&(a=(t?h(n,e,a):h(a))||a);return t&&a&&p(n,e,a),a};import{html as d,LitElement as f,nothing as s}from"lit";import{property as l}from"lit/decorators.js";import{customElement as g}from"../internal/define.js";import{emit as u}from"../internal/events.js";import{hasUnslottedChild as m,placeSlotted as x}from"../internal/slots.js";import"@skdx/web-components/button";import"@skdx/web-components/tag-group";import"@skdx/web-components/text-field";var b="data-skdx-filter-bar-generated",r=class extends f{constructor(){super(...arguments);this.label="Filters";this.defaultSearchValue="";this.clearSearchLabel="Clear search";this.activeFiltersLabel="Active filters";this.clearLabel="Clear filters";this.handleSearchValueChange=e=>{e.stopPropagation();let t=e.detail;this.uncontrolledSearchValue=t,this.requestUpdate(),u(this,"search-value-change",{value:t}),this.syncSearchField()};this.handleRemove=e=>{e.stopPropagation();let{index:t}=e.detail,a=(this.activeFilters??[])[t];a&&u(this,"remove-filter",a)};this.handleClear=()=>{u(this,"clear")}}createRenderRoot(){return this}get searchText(){return this.searchValue??this.uncontrolledSearchValue??this.defaultSearchValue}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-filter-bar__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"]`)!==null}get hasFilters(){return m(this,b)||(this.region("filters")?.hasChildNodes()??!1)}syncSearchField(){let e=this.querySelector(".skdx-filter-bar__search > skdx-text-field");if(!e)return;let t=this.searchText;e.value!==t&&(e.value=t);let a=e.querySelector("input");a&&a.value!==t&&(a.value=t)}updated(){this.setAttribute("aria-label",this.label),this.syncSearchField(),x(this,b,{actions:this.region("actions")},this.region("filters"))}render(){let e=this.activeFilters??[];return d`
2
- ${this.searchLabel?d`<div
1
+ var p=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var a=(d,o,e,t)=>{for(var r=t>1?void 0:t?b(o,e):o,c=d.length-1,h;c>=0;c--)(h=d[c])&&(r=(t?h(o,e,r):h(r))||r);return t&&r&&p(o,e,r),r};import{html as l,LitElement as f,nothing as n}from"lit";import{property as s}from"lit/decorators.js";import{customElement as g}from"../internal/define.js";import{emit as v}from"../internal/events.js";import{hasUnslottedChild as m,placeSlotted as L}from"../internal/slots.js";import"@skdx/web-components/button";import"@skdx/web-components/tag-group";import"@skdx/web-components/text-field";var u="data-skdx-filter-bar-generated",i=class extends f{constructor(){super(...arguments);this.label="Filters";this.defaultSearchValue="";this.clearSearchLabel="Clear search";this.activeFiltersLabel="Active filters";this.clearLabel="Clear filters";this.clearListeners=0;this.handleSearchValueChange=e=>{e.stopPropagation();let t=e.detail;this.uncontrolledSearchValue=t,this.requestUpdate(),v(this,"search-value-change",{value:t}),this.syncSearchField()};this.handleRemove=e=>{e.stopPropagation();let{index:t}=e.detail,r=(this.activeFilters??[])[t];r&&v(this,"remove-filter",r)};this.handleClear=()=>{v(this,"clear")}}createRenderRoot(){return this}get searchText(){return this.searchValue??this.uncontrolledSearchValue??this.defaultSearchValue}addEventListener(e,t,r){super.addEventListener(e,t,r),this.countClearListener(e,1)}removeEventListener(e,t,r){super.removeEventListener(e,t,r),this.countClearListener(e,-1)}countClearListener(e,t){e==="clear"&&(this.clearListeners=Math.max(0,this.clearListeners+t),this.requestUpdate())}connectedCallback(){super.connectedCallback(),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-filter-bar__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"], [data-skdx-slot="${e}"]`)!==null}get hasFilters(){return m(this,u)||(this.region("filters")?.hasChildNodes()??!1)}syncSearchField(){let e=this.querySelector(".skdx-filter-bar__search > skdx-text-field");if(!e)return;let t=this.searchText;e.value!==t&&(e.value=t);let r=e.querySelector("input");r&&r.value!==t&&(r.value=t)}updated(){this.setAttribute("aria-label",this.label),this.syncSearchField(),L(this,u,{actions:this.region("actions")},this.region("filters"))}render(){let e=this.activeFilters??[];return l`
2
+ ${this.searchLabel?l`<div
3
3
  class="skdx-filter-bar__search"
4
4
  data-skdx-filter-bar-generated
5
5
  >
6
6
  <skdx-text-field @value-change=${this.handleSearchValueChange}>
7
7
  <skdx-text-field-input
8
8
  type="search"
9
- aria-label=${this.searchLabel??s}
10
- placeholder=${this.searchPlaceholder??s}
9
+ aria-label=${this.searchLabel??n}
10
+ placeholder=${this.searchPlaceholder??n}
11
11
  ></skdx-text-field-input>
12
12
  <skdx-text-field-clear-button
13
13
  label=${this.clearSearchLabel}
14
14
  ></skdx-text-field-clear-button>
15
15
  </skdx-text-field>
16
- </div>`:s}
17
- ${this.hasFilters?d`<div
16
+ </div>`:n}
17
+ ${this.hasFilters?l`<div
18
18
  class="skdx-filter-bar__filters"
19
19
  data-skdx-filter-bar-generated
20
- ></div>`:s}
21
- ${this.hasSlotted("actions")?d`<div
20
+ ></div>`:n}
21
+ ${this.hasSlotted("actions")?l`<div
22
22
  class="skdx-filter-bar__actions"
23
23
  data-skdx-filter-bar-generated
24
- ></div>`:s}
25
- ${e.length>0?d`<div
24
+ ></div>`:n}
25
+ ${e.length>0?l`<div
26
26
  class="skdx-filter-bar__active"
27
27
  data-skdx-filter-bar-generated
28
28
  >
@@ -33,12 +33,12 @@ var p=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var i=(o,n,e,t
33
33
  .tags=${e.map(t=>({value:t.id,label:t.label}))}
34
34
  @remove=${this.handleRemove}
35
35
  ></skdx-tag-group>
36
- <skdx-button
37
- class="skdx-filter-bar__clear"
38
- .variant=${"ghost"}
39
- .size=${"sm"}
40
- @click=${this.handleClear}
41
- >${this.clearLabel}</skdx-button
42
- >
43
- </div>`:s}
44
- `}};i([l({type:String})],r.prototype,"label",2),i([l({type:String,attribute:"search-label"})],r.prototype,"searchLabel",2),i([l({type:String,attribute:"search-placeholder"})],r.prototype,"searchPlaceholder",2),i([l({type:String,attribute:"search-value"})],r.prototype,"searchValue",2),i([l({type:String,attribute:"default-search-value"})],r.prototype,"defaultSearchValue",2),i([l({type:String,attribute:"clear-search-label"})],r.prototype,"clearSearchLabel",2),i([l({attribute:!1})],r.prototype,"activeFilters",2),i([l({type:String,attribute:"active-filters-label"})],r.prototype,"activeFiltersLabel",2),i([l({type:String,attribute:"clear-label"})],r.prototype,"clearLabel",2),r=i([g("skdx-filter-bar","filter-bar","root")],r);export{r as SkdxFilterBar};
36
+ ${this.clearListeners>0?l`<skdx-button
37
+ class="skdx-filter-bar__clear"
38
+ .variant=${"ghost"}
39
+ .size=${"sm"}
40
+ @click=${this.handleClear}
41
+ >${this.clearLabel}</skdx-button
42
+ >`:n}
43
+ </div>`:n}
44
+ `}};a([s({type:String})],i.prototype,"label",2),a([s({type:String,attribute:"search-label"})],i.prototype,"searchLabel",2),a([s({type:String,attribute:"search-placeholder"})],i.prototype,"searchPlaceholder",2),a([s({type:String,attribute:"search-value"})],i.prototype,"searchValue",2),a([s({type:String,attribute:"default-search-value"})],i.prototype,"defaultSearchValue",2),a([s({type:String,attribute:"clear-search-label"})],i.prototype,"clearSearchLabel",2),a([s({attribute:!1})],i.prototype,"activeFilters",2),a([s({type:String,attribute:"active-filters-label"})],i.prototype,"activeFiltersLabel",2),a([s({type:String,attribute:"clear-label"})],i.prototype,"clearLabel",2),i=a([g("skdx-filter-bar","filter-bar","root")],i);export{i as SkdxFilterBar};
@@ -1,4 +1,4 @@
1
- "use strict";var n=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var b=(o,e)=>{for(var t in e)n(o,t,{get:e[t],enumerable:!0})},v=(o,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of x(e))!k.call(o,s)&&s!==t&&n(o,s,{get:()=>e[s],enumerable:!(a=u(e,s))||a.enumerable});return o};var $=o=>v(n({},"__esModule",{value:!0}),o),l=(o,e,t,a)=>{for(var s=a>1?void 0:a?u(e,t):e,m=o.length-1,c;m>=0;m--)(c=o[m])&&(s=(a?c(e,t,s):c(s))||s);return a&&s&&n(e,t,s),s};var E={};b(E,{SkdxForgotPasswordPage:()=>i});module.exports=$(E);var r=require("lit"),d=require("lit/decorators.js"),h=require("../internal/define.cjs"),f=require("../internal/events.cjs"),p=require("../internal/slots.cjs"),T=require("@skdx/web-components/alert"),w=require("@skdx/web-components/button"),S=require("@skdx/web-components/field"),q=require("@skdx/web-components/form"),C=require("@skdx/web-components/heading"),M=require("@skdx/web-components/text"),R=require("@skdx/web-components/text-field");var g="data-skdx-forgot-password-page-generated",y="data-skdx-forgot-password-page-content",_=0,i=class extends r.LitElement{constructor(){super(...arguments);this.title="Reset your password";this.pending=!1;this.emailLabel="Email";this.submitLabel="Send reset link";this.titleId=`skdx-forgot-password-page-title-${++_}`;this.handleSubmit=t=>{let a=t.target?.closest("skdx-form");if(!a)return;t.preventDefault();let s=a.querySelector('[name="email"]');(0,f.emit)(this,"request-reset",{email:s?.value??""})}}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-labelledby",this.titleId),this.addEventListener("submit",this.handleSubmit),queueMicrotask(()=>this.requestUpdate())}disconnectedCallback(){this.removeEventListener("submit",this.handleSubmit),super.disconnectedCallback()}hasSlotted(t){return this.querySelector(`[slot="${t}"]`)!==null}region(t){return this.querySelector(`.skdx-forgot-password-page__${t}`)}get contentRegion(){return this.querySelector(`[${y}]`)}get hasContent(){return(0,p.hasUnslottedChild)(this,g)||(this.contentRegion?.hasChildNodes()??!1)}updated(){(0,p.placeSlotted)(this,g,{footer:this.region("footer")},this.contentRegion)}render(){return r.html`
1
+ "use strict";var n=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var k=Object.prototype.hasOwnProperty;var b=(o,t)=>{for(var e in t)n(o,e,{get:t[e],enumerable:!0})},v=(o,t,e,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of x(t))!k.call(o,s)&&s!==e&&n(o,s,{get:()=>t[s],enumerable:!(a=u(t,s))||a.enumerable});return o};var $=o=>v(n({},"__esModule",{value:!0}),o),d=(o,t,e,a)=>{for(var s=a>1?void 0:a?u(t,e):t,m=o.length-1,c;m>=0;m--)(c=o[m])&&(s=(a?c(t,e,s):c(s))||s);return a&&s&&n(t,e,s),s};var E={};b(E,{SkdxForgotPasswordPage:()=>i});module.exports=$(E);var r=require("lit"),l=require("lit/decorators.js"),h=require("../internal/define.cjs"),f=require("../internal/events.cjs"),p=require("../internal/slots.cjs"),T=require("@skdx/web-components/alert"),w=require("@skdx/web-components/button"),S=require("@skdx/web-components/field"),q=require("@skdx/web-components/form"),C=require("@skdx/web-components/heading"),M=require("@skdx/web-components/text"),R=require("@skdx/web-components/text-field");var g="data-skdx-forgot-password-page-generated",y="data-skdx-forgot-password-page-content",_=0,i=class extends r.LitElement{constructor(){super(...arguments);this.title="Reset your password";this.pending=!1;this.emailLabel="Email";this.submitLabel="Send reset link";this.titleId=`skdx-forgot-password-page-title-${++_}`;this.handleSubmit=e=>{let a=e.target?.closest("skdx-form");if(!a)return;e.preventDefault();let s=a.querySelector('[name="email"]');(0,f.emit)(this,"request-reset",{email:s?.value??""})}}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-labelledby",this.titleId),this.addEventListener("submit",this.handleSubmit),queueMicrotask(()=>this.requestUpdate())}disconnectedCallback(){this.removeEventListener("submit",this.handleSubmit),super.disconnectedCallback()}hasSlotted(e){return this.querySelector(`[slot="${e}"], [data-skdx-slot="${e}"]`)!==null}region(e){return this.querySelector(`.skdx-forgot-password-page__${e}`)}get contentRegion(){return this.querySelector(`[${y}]`)}get hasContent(){return(0,p.hasUnslottedChild)(this,g)||(this.contentRegion?.hasChildNodes()??!1)}updated(){(0,p.placeSlotted)(this,g,{footer:this.region("footer")},this.contentRegion)}render(){return r.html`
2
2
  <div
3
3
  class="skdx-forgot-password-page__panel"
4
4
  data-skdx-forgot-password-page-generated
@@ -54,4 +54,4 @@
54
54
  </skdx-form>`}
55
55
  ${this.hasSlotted("footer")?r.html`<div class="skdx-forgot-password-page__footer"></div>`:r.nothing}
56
56
  </div>
57
- `}};l([(0,d.property)({type:String})],i.prototype,"title",2),l([(0,d.property)({type:String})],i.prototype,"description",2),l([(0,d.property)({type:String})],i.prototype,"error",2),l([(0,d.property)({type:String})],i.prototype,"success",2),l([(0,d.property)({type:Boolean})],i.prototype,"pending",2),l([(0,d.property)({type:String,attribute:"email-label"})],i.prototype,"emailLabel",2),l([(0,d.property)({type:String,attribute:"submit-label"})],i.prototype,"submitLabel",2),i=l([(0,h.customElement)("skdx-forgot-password-page","forgot-password-page","root")],i);0&&(module.exports={SkdxForgotPasswordPage});
57
+ `}};d([(0,l.property)({type:String})],i.prototype,"title",2),d([(0,l.property)({type:String})],i.prototype,"description",2),d([(0,l.property)({type:String})],i.prototype,"error",2),d([(0,l.property)({type:String})],i.prototype,"success",2),d([(0,l.property)({type:Boolean})],i.prototype,"pending",2),d([(0,l.property)({type:String,attribute:"email-label"})],i.prototype,"emailLabel",2),d([(0,l.property)({type:String,attribute:"submit-label"})],i.prototype,"submitLabel",2),i=d([(0,h.customElement)("skdx-forgot-password-page","forgot-password-page","root")],i);0&&(module.exports={SkdxForgotPasswordPage});
@@ -1,4 +1,4 @@
1
- var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var r=(n,l,t,i)=>{for(var s=i>1?void 0:i?g(l,t):l,p=n.length-1,m;p>=0;p--)(m=n[p])&&(s=(i?m(l,t,s):m(s))||s);return i&&s&&u(l,t,s),s};import{html as o,LitElement as h,nothing as d}from"lit";import{property as a}from"lit/decorators.js";import{customElement as f}from"../internal/define.js";import{emit as x}from"../internal/events.js";import{hasUnslottedChild as k,placeSlotted as b}from"../internal/slots.js";import"@skdx/web-components/alert";import"@skdx/web-components/button";import"@skdx/web-components/field";import"@skdx/web-components/form";import"@skdx/web-components/heading";import"@skdx/web-components/text";import"@skdx/web-components/text-field";var c="data-skdx-forgot-password-page-generated",v="data-skdx-forgot-password-page-content",$=0,e=class extends h{constructor(){super(...arguments);this.title="Reset your password";this.pending=!1;this.emailLabel="Email";this.submitLabel="Send reset link";this.titleId=`skdx-forgot-password-page-title-${++$}`;this.handleSubmit=t=>{let i=t.target?.closest("skdx-form");if(!i)return;t.preventDefault();let s=i.querySelector('[name="email"]');x(this,"request-reset",{email:s?.value??""})}}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-labelledby",this.titleId),this.addEventListener("submit",this.handleSubmit),queueMicrotask(()=>this.requestUpdate())}disconnectedCallback(){this.removeEventListener("submit",this.handleSubmit),super.disconnectedCallback()}hasSlotted(t){return this.querySelector(`[slot="${t}"]`)!==null}region(t){return this.querySelector(`.skdx-forgot-password-page__${t}`)}get contentRegion(){return this.querySelector(`[${v}]`)}get hasContent(){return k(this,c)||(this.contentRegion?.hasChildNodes()??!1)}updated(){b(this,c,{footer:this.region("footer")},this.contentRegion)}render(){return o`
1
+ var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var r=(n,d,e,i)=>{for(var s=i>1?void 0:i?g(d,e):d,p=n.length-1,m;p>=0;p--)(m=n[p])&&(s=(i?m(d,e,s):m(s))||s);return i&&s&&u(d,e,s),s};import{html as o,LitElement as h,nothing as l}from"lit";import{property as a}from"lit/decorators.js";import{customElement as f}from"../internal/define.js";import{emit as x}from"../internal/events.js";import{hasUnslottedChild as k,placeSlotted as b}from"../internal/slots.js";import"@skdx/web-components/alert";import"@skdx/web-components/button";import"@skdx/web-components/field";import"@skdx/web-components/form";import"@skdx/web-components/heading";import"@skdx/web-components/text";import"@skdx/web-components/text-field";var c="data-skdx-forgot-password-page-generated",v="data-skdx-forgot-password-page-content",$=0,t=class extends h{constructor(){super(...arguments);this.title="Reset your password";this.pending=!1;this.emailLabel="Email";this.submitLabel="Send reset link";this.titleId=`skdx-forgot-password-page-title-${++$}`;this.handleSubmit=e=>{let i=e.target?.closest("skdx-form");if(!i)return;e.preventDefault();let s=i.querySelector('[name="email"]');x(this,"request-reset",{email:s?.value??""})}}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-labelledby",this.titleId),this.addEventListener("submit",this.handleSubmit),queueMicrotask(()=>this.requestUpdate())}disconnectedCallback(){this.removeEventListener("submit",this.handleSubmit),super.disconnectedCallback()}hasSlotted(e){return this.querySelector(`[slot="${e}"], [data-skdx-slot="${e}"]`)!==null}region(e){return this.querySelector(`.skdx-forgot-password-page__${e}`)}get contentRegion(){return this.querySelector(`[${v}]`)}get hasContent(){return k(this,c)||(this.contentRegion?.hasChildNodes()??!1)}updated(){b(this,c,{footer:this.region("footer")},this.contentRegion)}render(){return o`
2
2
  <div
3
3
  class="skdx-forgot-password-page__panel"
4
4
  data-skdx-forgot-password-page-generated
@@ -13,13 +13,13 @@ var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var r=(n,l,t,i
13
13
  class="skdx-forgot-password-page__error"
14
14
  .status=${"danger"}
15
15
  >${this.error}</skdx-alert
16
- >`:d}
16
+ >`:l}
17
17
  ${this.description?o`<skdx-text
18
18
  class="skdx-forgot-password-page__description"
19
19
  as="p"
20
20
  .tone=${"muted"}
21
21
  >${this.description}</skdx-text
22
- >`:d}
22
+ >`:l}
23
23
  ${this.success?o`<skdx-alert
24
24
  class="skdx-forgot-password-page__success"
25
25
  .status=${"success"}
@@ -42,7 +42,7 @@ var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var r=(n,l,t,i
42
42
  ></skdx-text-field-input>
43
43
  </skdx-text-field>
44
44
  </skdx-field>
45
- ${this.hasContent?o`<div data-skdx-forgot-password-page-content></div>`:d}
45
+ ${this.hasContent?o`<div data-skdx-forgot-password-page-content></div>`:l}
46
46
  <skdx-button
47
47
  class="skdx-forgot-password-page__submit"
48
48
  type="submit"
@@ -52,6 +52,6 @@ var u=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var r=(n,l,t,i
52
52
  >
53
53
  </form>
54
54
  </skdx-form>`}
55
- ${this.hasSlotted("footer")?o`<div class="skdx-forgot-password-page__footer"></div>`:d}
55
+ ${this.hasSlotted("footer")?o`<div class="skdx-forgot-password-page__footer"></div>`:l}
56
56
  </div>
57
- `}};r([a({type:String})],e.prototype,"title",2),r([a({type:String})],e.prototype,"description",2),r([a({type:String})],e.prototype,"error",2),r([a({type:String})],e.prototype,"success",2),r([a({type:Boolean})],e.prototype,"pending",2),r([a({type:String,attribute:"email-label"})],e.prototype,"emailLabel",2),r([a({type:String,attribute:"submit-label"})],e.prototype,"submitLabel",2),e=r([f("skdx-forgot-password-page","forgot-password-page","root")],e);export{e as SkdxForgotPasswordPage};
57
+ `}};r([a({type:String})],t.prototype,"title",2),r([a({type:String})],t.prototype,"description",2),r([a({type:String})],t.prototype,"error",2),r([a({type:String})],t.prototype,"success",2),r([a({type:Boolean})],t.prototype,"pending",2),r([a({type:String,attribute:"email-label"})],t.prototype,"emailLabel",2),r([a({type:String,attribute:"submit-label"})],t.prototype,"submitLabel",2),t=r([f("skdx-forgot-password-page","forgot-password-page","root")],t);export{t as SkdxForgotPasswordPage};
@@ -1,4 +1,4 @@
1
- "use strict";var l=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var b=Object.prototype.hasOwnProperty;var x=(i,e)=>{for(var t in e)l(i,t,{get:e[t],enumerable:!0})},k=(i,e,t,d)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of v(e))!b.call(i,r)&&r!==t&&l(i,r,{get:()=>e[r],enumerable:!(d=m(e,r))||d.enumerable});return i};var y=i=>k(l({},"__esModule",{value:!0}),i),o=(i,e,t,d)=>{for(var r=d>1?void 0:d?m(e,t):e,c=i.length-1,p;c>=0;c--)(p=i[c])&&(r=(d?p(e,t,r):p(r))||r);return d&&r&&l(e,t,r),r};var _={};x(_,{SkdxFormSection:()=>s});module.exports=y(_);var n=require("lit"),a=require("lit/decorators.js"),f=require("../internal/define.cjs"),g=require("../internal/slots.cjs"),T=require("@skdx/web-components/heading"),L=require("@skdx/web-components/text");var $="data-skdx-form-section-generated",h=0;function u(i,e,t){t===void 0?i.removeAttribute(e):i.setAttribute(e,t)}var s=class extends n.LitElement{constructor(){super(...arguments);this.headingLevel=2;this.titleId=`skdx-form-section-title-${++h}`;this.descriptionId=`skdx-form-section-description-${h}`}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-labelledby",this.titleId),queueMicrotask(()=>this.requestUpdate())}region(t){return this.querySelector(`.skdx-form-section__${t}`)}hasSlotted(t){return this.querySelector(`[slot="${t}"]`)!==null}updated(){u(this,"data-variant",this.variant),u(this,"aria-describedby",this.description?this.descriptionId:void 0),(0,g.placeSlotted)(this,$,{actions:this.region("footer")},this.region("content"))}render(){return n.html`
1
+ "use strict";var l=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var x=Object.prototype.hasOwnProperty;var b=(i,e)=>{for(var t in e)l(i,t,{get:e[t],enumerable:!0})},k=(i,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of v(e))!x.call(i,r)&&r!==t&&l(i,r,{get:()=>e[r],enumerable:!(n=m(e,r))||n.enumerable});return i};var $=i=>k(l({},"__esModule",{value:!0}),i),o=(i,e,t,n)=>{for(var r=n>1?void 0:n?m(e,t):e,c=i.length-1,p;c>=0;c--)(p=i[c])&&(r=(n?p(e,t,r):p(r))||r);return n&&r&&l(e,t,r),r};var _={};b(_,{SkdxFormSection:()=>s});module.exports=$(_);var d=require("lit"),a=require("lit/decorators.js"),f=require("../internal/define.cjs"),g=require("../internal/slots.cjs"),T=require("@skdx/web-components/heading"),L=require("@skdx/web-components/text");var y="data-skdx-form-section-generated",h=0;function u(i,e,t){t===void 0?i.removeAttribute(e):i.setAttribute(e,t)}var s=class extends d.LitElement{constructor(){super(...arguments);this.headingLevel=2;this.titleId=`skdx-form-section-title-${++h}`;this.descriptionId=`skdx-form-section-description-${h}`}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-labelledby",this.titleId),queueMicrotask(()=>this.requestUpdate())}region(t){return this.querySelector(`.skdx-form-section__${t}`)}hasSlotted(t){return this.querySelector(`[slot="${t}"], [data-skdx-slot="${t}"]`)!==null}updated(){u(this,"data-variant",this.variant),u(this,"aria-describedby",this.description?this.descriptionId:void 0),(0,g.placeSlotted)(this,y,{actions:this.region("footer")},this.region("content"))}render(){return d.html`
2
2
  <div
3
3
  class="skdx-form-section__header"
4
4
  data-skdx-form-section-generated
@@ -9,20 +9,20 @@
9
9
  id=${this.titleId}
10
10
  >${this.title??""}</skdx-heading
11
11
  >
12
- ${this.description?n.html`<skdx-text
12
+ ${this.description?d.html`<skdx-text
13
13
  class="skdx-form-section__description"
14
14
  as="p"
15
15
  .tone=${"muted"}
16
16
  id=${this.descriptionId}
17
17
  >${this.description}</skdx-text
18
- >`:n.nothing}
18
+ >`:d.nothing}
19
19
  </div>
20
20
  <div
21
21
  class="skdx-form-section__content"
22
22
  data-skdx-form-section-generated
23
23
  ></div>
24
- ${this.hasSlotted("actions")?n.html`<div
24
+ ${this.hasSlotted("actions")?d.html`<div
25
25
  class="skdx-form-section__footer"
26
26
  data-skdx-form-section-generated
27
- ></div>`:n.nothing}
27
+ ></div>`:d.nothing}
28
28
  `}};o([(0,a.property)({type:String})],s.prototype,"title",2),o([(0,a.property)({type:String})],s.prototype,"description",2),o([(0,a.property)({type:Number,attribute:"heading-level"})],s.prototype,"headingLevel",2),o([(0,a.property)({type:String})],s.prototype,"variant",2),s=o([(0,f.customElement)("skdx-form-section","form-section","root")],s);0&&(module.exports={SkdxFormSection});
@@ -1,4 +1,4 @@
1
- var u=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var n=(s,t,e,d)=>{for(var r=d>1?void 0:d?f(t,e):t,a=s.length-1,l;a>=0;a--)(l=s[a])&&(r=(d?l(t,e,r):l(r))||r);return d&&r&&u(t,e,r),r};import{html as c,LitElement as g,nothing as p}from"lit";import{property as o}from"lit/decorators.js";import{customElement as v}from"../internal/define.js";import{placeSlotted as b}from"../internal/slots.js";import"@skdx/web-components/heading";import"@skdx/web-components/text";var x="data-skdx-form-section-generated",m=0;function h(s,t,e){e===void 0?s.removeAttribute(t):s.setAttribute(t,e)}var i=class extends g{constructor(){super(...arguments);this.headingLevel=2;this.titleId=`skdx-form-section-title-${++m}`;this.descriptionId=`skdx-form-section-description-${m}`}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-labelledby",this.titleId),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-form-section__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"]`)!==null}updated(){h(this,"data-variant",this.variant),h(this,"aria-describedby",this.description?this.descriptionId:void 0),b(this,x,{actions:this.region("footer")},this.region("content"))}render(){return c`
1
+ var u=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var d=(s,t,e,n)=>{for(var r=n>1?void 0:n?f(t,e):t,a=s.length-1,l;a>=0;a--)(l=s[a])&&(r=(n?l(t,e,r):l(r))||r);return n&&r&&u(t,e,r),r};import{html as c,LitElement as g,nothing as p}from"lit";import{property as o}from"lit/decorators.js";import{customElement as v}from"../internal/define.js";import{placeSlotted as x}from"../internal/slots.js";import"@skdx/web-components/heading";import"@skdx/web-components/text";var b="data-skdx-form-section-generated",m=0;function h(s,t,e){e===void 0?s.removeAttribute(t):s.setAttribute(t,e)}var i=class extends g{constructor(){super(...arguments);this.headingLevel=2;this.titleId=`skdx-form-section-title-${++m}`;this.descriptionId=`skdx-form-section-description-${m}`}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.setAttribute("role","region"),this.setAttribute("aria-labelledby",this.titleId),queueMicrotask(()=>this.requestUpdate())}region(e){return this.querySelector(`.skdx-form-section__${e}`)}hasSlotted(e){return this.querySelector(`[slot="${e}"], [data-skdx-slot="${e}"]`)!==null}updated(){h(this,"data-variant",this.variant),h(this,"aria-describedby",this.description?this.descriptionId:void 0),x(this,b,{actions:this.region("footer")},this.region("content"))}render(){return c`
2
2
  <div
3
3
  class="skdx-form-section__header"
4
4
  data-skdx-form-section-generated
@@ -25,4 +25,4 @@ var u=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var n=(s,t,e,d
25
25
  class="skdx-form-section__footer"
26
26
  data-skdx-form-section-generated
27
27
  ></div>`:p}
28
- `}};n([o({type:String})],i.prototype,"title",2),n([o({type:String})],i.prototype,"description",2),n([o({type:Number,attribute:"heading-level"})],i.prototype,"headingLevel",2),n([o({type:String})],i.prototype,"variant",2),i=n([v("skdx-form-section","form-section","root")],i);export{i as SkdxFormSection};
28
+ `}};d([o({type:String})],i.prototype,"title",2),d([o({type:String})],i.prototype,"description",2),d([o({type:Number,attribute:"heading-level"})],i.prototype,"headingLevel",2),d([o({type:String})],i.prototype,"variant",2),i=d([v("skdx-form-section","form-section","root")],i);export{i as SkdxFormSection};
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";var i=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var F=Object.getOwnPropertyNames;var L=Object.prototype.hasOwnProperty;var N=(t,e)=>{for(var r in e)i(t,r,{get:e[r],enumerable:!0})},U=(t,e,r,x)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of F(e))!L.call(t,o)&&o!==r&&i(t,o,{get:()=>e[o],enumerable:!(x=v(e,o))||x.enumerable});return t};var B=t=>U(i({},"__esModule",{value:!0}),t);var O={};N(O,{SkdxChatComposer:()=>P.SkdxChatComposer,SkdxChatMessage:()=>h.SkdxChatMessage,SkdxComment:()=>g.SkdxComment,SkdxCommentThread:()=>l.SkdxCommentThread,SkdxConfirmDialog:()=>p.SkdxConfirmDialog,SkdxConversationList:()=>c.SkdxConversationList,SkdxDashboardLayout:()=>d.SkdxDashboardLayout,SkdxEmptyState:()=>k.SkdxEmptyState,SkdxFilterBar:()=>C.SkdxFilterBar,SkdxForgotPasswordPage:()=>b.SkdxForgotPasswordPage,SkdxFormSection:()=>m.SkdxFormSection,SkdxNotificationCenter:()=>y.SkdxNotificationCenter,SkdxOnboardingChecklist:()=>s.SkdxOnboardingChecklist,SkdxPageContainer:()=>S.SkdxPageContainer,SkdxResetPasswordPage:()=>w.SkdxResetPasswordPage,SkdxSignInPage:()=>a.SkdxSignInPage,SkdxSignUpPage:()=>I.SkdxSignUpPage,SkdxStatCard:()=>n.SkdxStatCard,SkdxUsageCard:()=>f.SkdxUsageCard,SkdxUserMenu:()=>D.SkdxUserMenu,SkdxVerificationPage:()=>V.SkdxVerificationPage,SkdxWorkspaceSwitcher:()=>u.SkdxWorkspaceSwitcher,defaultProviderLabel:()=>a.defaultProviderLabel});module.exports=B(O);var d=require("./dashboard-layout/index.cjs"),S=require("./page-container/index.cjs"),a=require("./sign-in-page/index.cjs"),p=require("./confirm-dialog/index.cjs"),k=require("./empty-state/index.cjs"),n=require("./stat-card/index.cjs"),m=require("./form-section/index.cjs"),s=require("./onboarding-checklist/index.cjs"),f=require("./usage-card/index.cjs"),C=require("./filter-bar/index.cjs"),g=require("./comment/index.cjs"),l=require("./comment-thread/index.cjs"),y=require("./notification-center/index.cjs"),c=require("./conversation-list/index.cjs"),h=require("./chat-message/index.cjs"),D=require("./user-menu/index.cjs"),P=require("./chat-composer/index.cjs"),u=require("./workspace-switcher/index.cjs"),I=require("./sign-up-page/index.cjs"),b=require("./forgot-password-page/index.cjs"),w=require("./reset-password-page/index.cjs"),V=require("./verification-page/index.cjs");0&&(module.exports={SkdxChatComposer,SkdxChatMessage,SkdxComment,SkdxCommentThread,SkdxConfirmDialog,SkdxConversationList,SkdxDashboardLayout,SkdxEmptyState,SkdxFilterBar,SkdxForgotPasswordPage,SkdxFormSection,SkdxNotificationCenter,SkdxOnboardingChecklist,SkdxPageContainer,SkdxResetPasswordPage,SkdxSignInPage,SkdxSignUpPage,SkdxStatCard,SkdxUsageCard,SkdxUserMenu,SkdxVerificationPage,SkdxWorkspaceSwitcher,defaultProviderLabel});
1
+ "use strict";var i=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var L=(t,e)=>{for(var r in e)i(t,r,{get:e[r],enumerable:!0})},N=(t,e,r,x)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of v(e))!F.call(t,o)&&o!==r&&i(t,o,{get:()=>e[o],enumerable:!(x=V(e,o))||x.enumerable});return t};var U=t=>N(i({},"__esModule",{value:!0}),t);var B={};L(B,{SkdxChatComposer:()=>D.SkdxChatComposer,SkdxChatMessage:()=>c.SkdxChatMessage,SkdxComment:()=>f.SkdxComment,SkdxCommentThread:()=>g.SkdxCommentThread,SkdxConversationList:()=>y.SkdxConversationList,SkdxDashboardLayout:()=>d.SkdxDashboardLayout,SkdxEmptyState:()=>p.SkdxEmptyState,SkdxFilterBar:()=>C.SkdxFilterBar,SkdxForgotPasswordPage:()=>I.SkdxForgotPasswordPage,SkdxFormSection:()=>n.SkdxFormSection,SkdxNotificationCenter:()=>l.SkdxNotificationCenter,SkdxOnboardingChecklist:()=>m.SkdxOnboardingChecklist,SkdxPageContainer:()=>S.SkdxPageContainer,SkdxResetPasswordPage:()=>b.SkdxResetPasswordPage,SkdxSignInPage:()=>a.SkdxSignInPage,SkdxSignUpPage:()=>u.SkdxSignUpPage,SkdxStatCard:()=>k.SkdxStatCard,SkdxUsageCard:()=>s.SkdxUsageCard,SkdxUserMenu:()=>h.SkdxUserMenu,SkdxVerificationPage:()=>w.SkdxVerificationPage,SkdxWorkspaceSwitcher:()=>P.SkdxWorkspaceSwitcher,defaultProviderLabel:()=>a.defaultProviderLabel});module.exports=U(B);var d=require("./dashboard-layout/index.cjs"),S=require("./page-container/index.cjs"),a=require("./sign-in-page/index.cjs"),p=require("./empty-state/index.cjs"),k=require("./stat-card/index.cjs"),n=require("./form-section/index.cjs"),m=require("./onboarding-checklist/index.cjs"),s=require("./usage-card/index.cjs"),C=require("./filter-bar/index.cjs"),f=require("./comment/index.cjs"),g=require("./comment-thread/index.cjs"),l=require("./notification-center/index.cjs"),y=require("./conversation-list/index.cjs"),c=require("./chat-message/index.cjs"),h=require("./user-menu/index.cjs"),D=require("./chat-composer/index.cjs"),P=require("./workspace-switcher/index.cjs"),u=require("./sign-up-page/index.cjs"),I=require("./forgot-password-page/index.cjs"),b=require("./reset-password-page/index.cjs"),w=require("./verification-page/index.cjs");0&&(module.exports={SkdxChatComposer,SkdxChatMessage,SkdxComment,SkdxCommentThread,SkdxConversationList,SkdxDashboardLayout,SkdxEmptyState,SkdxFilterBar,SkdxForgotPasswordPage,SkdxFormSection,SkdxNotificationCenter,SkdxOnboardingChecklist,SkdxPageContainer,SkdxResetPasswordPage,SkdxSignInPage,SkdxSignUpPage,SkdxStatCard,SkdxUsageCard,SkdxUserMenu,SkdxVerificationPage,SkdxWorkspaceSwitcher,defaultProviderLabel});