@fluid-topics/ft-modal 1.3.19 → 1.3.20

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.
@@ -1154,7 +1154,7 @@ Also for action icons.`,s.colorGray200),contentGlobalSubtle:t.extend("--ft-conte
1154
1154
  <span class="ft-i18n">
1155
1155
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
1156
1156
  </span>
1157
- `}update(r){var o;super.update(r),["context","key","defaultMessage"].some(n=>r.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};_e.elementDefinitions={};_e.styles=Zi;Sr([(0,go.redux)()],_e.prototype,"editorMode",void 0);Sr([(0,mo.property)()],_e.prototype,"context",void 0);Sr([(0,mo.property)()],_e.prototype,"key",void 0);Sr([(0,go.jsonProperty)([])],_e.prototype,"args",void 0);Sr([(0,mo.property)()],_e.prototype,"defaultMessage",void 0);var bo=class e{static build(r){return new e(r)}static buildCustom(r){return new e(r,!0)}static fromGwt(r){return new e(r)}get service(){return this.custom?Gr:Kt}constructor(r,o=!1){this.name=r,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return c=>({context:this.name,key:i,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)})}};(0,Pc.customElement)("ft-i18n")(_e);var Rn=bo.build("dsModal"),kc={closeModal:"Close modal"};var Tn=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Nn=class extends Event{constructor(){super("close")}},Pe=class extends ho(xo.FtdsBase){constructor(){super(),this.heading="",this.size=ge.small,this.addI18nContext(Rn,kc)}render(){let r={"ftds-modal":!0,...this.getDesignSystemBaseClasses()};return Or.html`
1157
+ `}update(r){var o;super.update(r),["context","key","defaultMessage"].some(n=>r.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};_e.elementDefinitions={};_e.styles=Zi;Sr([(0,go.redux)()],_e.prototype,"editorMode",void 0);Sr([(0,mo.property)()],_e.prototype,"context",void 0);Sr([(0,mo.property)()],_e.prototype,"key",void 0);Sr([(0,go.jsonProperty)([])],_e.prototype,"args",void 0);Sr([(0,mo.property)()],_e.prototype,"defaultMessage",void 0);var bo=class e{static build(r){return new e(r)}static buildCustom(r){return new e(r,!0)}static fromGwt(r){return new e(r)}get service(){return this.custom?Gr:Kt}constructor(r,o=!1){this.name=r,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return c=>({context:this.name,key:i,custom:this.custom,args:typeof c=="function"?void 0:c,argsProvider:typeof c=="function"?c:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)}),this.keys=new Proxy({},{get:(n,a)=>()=>a})}};(0,Pc.customElement)("ft-i18n")(_e);var Rn=bo.build("dsModal"),kc={closeModal:"Close modal"};var Tn=function(e,r,o,n){var a=arguments.length,i=a<3?r:n===null?n=Object.getOwnPropertyDescriptor(r,o):n,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,r,o,n);else for(var l=e.length-1;l>=0;l--)(c=e[l])&&(i=(a<3?c(i):a>3?c(r,o,i):c(r,o))||i);return a>3&&i&&Object.defineProperty(r,o,i),i},Nn=class extends Event{constructor(){super("close")}},Pe=class extends ho(xo.FtdsBase){constructor(){super(),this.heading="",this.size=ge.small,this.addI18nContext(Rn,kc)}render(){let r={"ftds-modal":!0,...this.getDesignSystemBaseClasses()};return Or.html`
1158
1158
  <div class="${(0,Dc.classMap)(r)}" part="container">
1159
1159
  <dialog part="dialog"
1160
1160
  @close="${()=>this.dispatchEvent(new Nn)}">
@@ -1221,7 +1221,7 @@ Also for action icons.`,c.colorGray200),contentGlobalSubtle:r.extend("--ft-conte
1221
1221
  <span class="ft-i18n">
1222
1222
  ${this.i18n({context:this.context,key:this.key,args:Array.isArray(this.args)?this.args:[]})}
1223
1223
  </span>
1224
- `}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Me.elementDefinitions={};Me.styles=Ll;Xr([Oo()],Me.prototype,"editorMode",void 0);Xr([A()],Me.prototype,"context",void 0);Xr([A()],Me.prototype,"key",void 0);Xr([We([])],Me.prototype,"args",void 0);Xr([A()],Me.prototype,"defaultMessage",void 0);var Vo=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?Uo:br}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)})}};oe("ft-i18n")(Me);var _i=Vo.build("dsModal"),Hl={closeModal:"Close modal"};var Ii=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Li=class extends Event{constructor(){super("close")}},Be=class extends jo(Br){constructor(){super(),this.heading="",this.size=pe.small,this.addI18nContext(_i,Hl)}render(){let e={"ftds-modal":!0,...this.getDesignSystemBaseClasses()};return V`
1224
+ `}update(e){var o;super.update(e),["context","key","defaultMessage"].some(n=>e.has(n))&&this.context&&this.key&&this.addI18nContext(this.context,{[this.key]:(o=this.defaultMessage)!==null&&o!==void 0?o:""})}};Me.elementDefinitions={};Me.styles=Ll;Xr([Oo()],Me.prototype,"editorMode",void 0);Xr([A()],Me.prototype,"context",void 0);Xr([A()],Me.prototype,"key",void 0);Xr([We([])],Me.prototype,"args",void 0);Xr([A()],Me.prototype,"defaultMessage",void 0);var Vo=class t{static build(e){return new t(e)}static buildCustom(e){return new t(e,!0)}static fromGwt(e){return new t(e)}get service(){return this.custom?Uo:br}constructor(e,o=!1){this.name=e,this.custom=o,this.properties=new Proxy({},{get:(n,a)=>{let i=a;return s=>({context:this.name,key:i,custom:this.custom,args:typeof s=="function"?void 0:s,argsProvider:typeof s=="function"?s:void 0})}}),this.messages=new Proxy({},{get:(n,a)=>(...i)=>this.service.resolveMessage(this.name,a,...i)}),this.rawMessages=new Proxy({},{get:(n,a)=>this.service.resolveRawMessage(this.name,a)}),this.keys=new Proxy({},{get:(n,a)=>()=>a})}};oe("ft-i18n")(Me);var _i=Vo.build("dsModal"),Hl={closeModal:"Close modal"};var Ii=function(t,e,o,n){var a=arguments.length,i=a<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,o):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(t,e,o,n);else for(var l=t.length-1;l>=0;l--)(s=t[l])&&(i=(a<3?s(i):a>3?s(e,o,i):s(e,o))||i);return a>3&&i&&Object.defineProperty(e,o,i),i},Li=class extends Event{constructor(){super("close")}},Be=class extends jo(Br){constructor(){super(),this.heading="",this.size=pe.small,this.addI18nContext(_i,Hl)}render(){let e={"ftds-modal":!0,...this.getDesignSystemBaseClasses()};return V`
1225
1225
  <div class="${it(e)}" part="container">
1226
1226
  <dialog part="dialog"
1227
1227
  @close="${()=>this.dispatchEvent(new Li)}">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-topics/ft-modal",
3
- "version": "1.3.19",
3
+ "version": "1.3.20",
4
4
  "description": "Modal for Design System V2",
5
5
  "keywords": [
6
6
  "Lit"
@@ -19,11 +19,11 @@
19
19
  "url": "ssh://git@scm.mrs.antidot.net:2222/fluidtopics/ft-web-components.git"
20
20
  },
21
21
  "dependencies": {
22
- "@fluid-topics/ft-wc-utils": "1.3.19",
22
+ "@fluid-topics/ft-wc-utils": "1.3.20",
23
23
  "lit": "3.1.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@fluid-topics/ft-wc-test-utils": "1.3.19"
26
+ "@fluid-topics/ft-wc-test-utils": "1.3.20"
27
27
  },
28
- "gitHead": "d3142bbeffbc47e550279b0d5d4e23ce72aaf514"
28
+ "gitHead": "1bb0c50fc5a4fdb4f14d22b728ab719faddfc15e"
29
29
  }