From 8552184cac8b2cd049f59a4ed9c08c85aa2510ca Mon Sep 17 00:00:00 2001 From: ImCoolNowRight Date: Wed, 18 Oct 2023 20:35:09 +0000 Subject: [PATCH] deploy: c9b7bd546c214593ad566c3463d9270e303a65f3 --- iframe.html | 2 +- index.html | 2 +- ...ain.0c2e8cbb94cbc9d065ee.manager.bundle.js | 2 +- ...undle.js => main.8ebd2971.iframe.bundle.js | 83 ++++++++++++------- project.json | 2 +- 5 files changed, 57 insertions(+), 34 deletions(-) rename main.5626e3eeac5236cfeadc.manager.bundle.js => main.0c2e8cbb94cbc9d065ee.manager.bundle.js (99%) rename main.ee9230e3.iframe.bundle.js => main.8ebd2971.iframe.bundle.js (99%) diff --git a/iframe.html b/iframe.html index e96b850aa..5ad386e7a 100644 --- a/iframe.html +++ b/iframe.html @@ -363,4 +363,4 @@ - window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"*.stories.@(js|jsx|ts|tsx|mdx)","importPathMatcher":"^\\.[\\\\/](?:src\\/(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx|mdx))$"},{"titlePrefix":"","directory":"../../@lightningjs/ui-components/src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^(?:\\.\\.\\/\\.\\.\\/@lightningjs\\/ui-components\\/src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"},{"titlePrefix":"","directory":"../../@lightningjs/ui-components/src/docs","files":"*.stories.@(js|jsx|ts|tsx|mdx)","importPathMatcher":"^(?:\\.\\.\\/\\.\\.\\/@lightningjs\\/ui-components\\/src\\/docs\\/(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx|mdx))$"},{"titlePrefix":"","directory":"../../@lightningjs/ui-components-test-utils/src/docs","files":"*.stories.@(js|jsx|ts|tsx|mdx)","importPathMatcher":"^(?:\\.\\.\\/\\.\\.\\/@lightningjs\\/ui-components-test-utils\\/src\\/docs\\/(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx|mdx))$"},{"titlePrefix":"","directory":"../../@lightningjs/ui-components-test-utils/src/docs","files":"**/*.stories.@(js|jsx|ts|tsx|mdx)","importPathMatcher":"^(?:\\.\\.\\/\\.\\.\\/@lightningjs\\/ui-components-test-utils\\/src\\/docs(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx|mdx))$"}]; \ No newline at end of file + window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"*.stories.@(js|jsx|ts|tsx|mdx)","importPathMatcher":"^\\.[\\\\/](?:src\\/(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx|mdx))$"},{"titlePrefix":"","directory":"../../@lightningjs/ui-components/src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^(?:\\.\\.\\/\\.\\.\\/@lightningjs\\/ui-components\\/src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"},{"titlePrefix":"","directory":"../../@lightningjs/ui-components/src/docs","files":"*.stories.@(js|jsx|ts|tsx|mdx)","importPathMatcher":"^(?:\\.\\.\\/\\.\\.\\/@lightningjs\\/ui-components\\/src\\/docs\\/(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx|mdx))$"},{"titlePrefix":"","directory":"../../@lightningjs/ui-components-test-utils/src/docs","files":"*.stories.@(js|jsx|ts|tsx|mdx)","importPathMatcher":"^(?:\\.\\.\\/\\.\\.\\/@lightningjs\\/ui-components-test-utils\\/src\\/docs\\/(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx|mdx))$"},{"titlePrefix":"","directory":"../../@lightningjs/ui-components-test-utils/src/docs","files":"**/*.stories.@(js|jsx|ts|tsx|mdx)","importPathMatcher":"^(?:\\.\\.\\/\\.\\.\\/@lightningjs\\/ui-components-test-utils\\/src\\/docs(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx|mdx))$"}]; \ No newline at end of file diff --git a/index.html b/index.html index 356f554e7..ee5cb2427 100644 --- a/index.html +++ b/index.html @@ -105,4 +105,4 @@ - window['DOCS_MODE'] = false; \ No newline at end of file + window['DOCS_MODE'] = false; \ No newline at end of file diff --git a/main.5626e3eeac5236cfeadc.manager.bundle.js b/main.0c2e8cbb94cbc9d065ee.manager.bundle.js similarity index 99% rename from main.5626e3eeac5236cfeadc.manager.bundle.js rename to main.0c2e8cbb94cbc9d065ee.manager.bundle.js index 2efdf891a..4f4312205 100644 --- a/main.5626e3eeac5236cfeadc.manager.bundle.js +++ b/main.0c2e8cbb94cbc9d065ee.manager.bundle.js @@ -1,4 +1,4 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{444:function(k){k.exports=JSON.parse('{"a":"2.14.1"}')},467:function(k,U,s){s(468),s(868),s(864),s(869),s(865),s(859),s(862),s(863),s(861),s(866),s(867),s(870),k.exports=s(860)},525:function(k,U){},860:function(k,U,s){"use strict";s.r(U);var p=s(0),c=s.n(p),m=s(103),E=s(143),B="lui-addons",M="".concat(B,"/downloadbutton"),J="".concat(B,"/announcetoggle"),z="".concat(B,"/gridoverlaypanel"),ie="".concat(B,"/themepanel"),ue="".concat(B,"/componentstylespanel"),K="".concat(B,"/themepicker"),xe={},Z="".concat(B,"/stagecolortoggle"),xn=s(75),Ln=s(8),Un=s(15),Qn=s(5),Dn=s(18),Fn=s(16),jn=s(10),Pn=s(13),Hn=s(22),Wn=s(19),Gn=s(23),O=s(3),y=s(2);function Le(e,n){return Fe(e)||De(e,n)||Qe(e,n)||Ue()}function Ue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{444:function(k){k.exports=JSON.parse('{"a":"2.14.2"}')},467:function(k,U,s){s(468),s(868),s(864),s(869),s(865),s(859),s(862),s(863),s(861),s(866),s(867),s(870),k.exports=s(860)},525:function(k,U){},860:function(k,U,s){"use strict";s.r(U);var p=s(0),c=s.n(p),m=s(103),E=s(143),B="lui-addons",M="".concat(B,"/downloadbutton"),J="".concat(B,"/announcetoggle"),z="".concat(B,"/gridoverlaypanel"),ie="".concat(B,"/themepanel"),ue="".concat(B,"/componentstylespanel"),K="".concat(B,"/themepicker"),xe={},Z="".concat(B,"/stagecolortoggle"),xn=s(75),Ln=s(8),Un=s(15),Qn=s(5),Dn=s(18),Fn=s(16),jn=s(10),Pn=s(13),Hn=s(22),Wn=s(19),Gn=s(23),O=s(3),y=s(2);function Le(e,n){return Fe(e)||De(e,n)||Qe(e,n)||Ue()}function Ue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qe(e,n){if(e){if(typeof e=="string")return se(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return se(e,n)}}function se(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);te.length)&&(n=e.length);for(var t=0,r=new Array(n);t=0?r=setTimeout(i,n-A):(r=null,t||(l=e.apply(o,a),o=a=null))}var f=function(){o=this,a=arguments,u=Date.now();var d=t&&!r;return r||(r=setTimeout(i,n)),d&&(l=e.apply(o,a),o=a=null),l};return f.clear=function(){r&&(clearTimeout(r),r=null)},f.flush=function(){r&&(l=e.apply(o,a),o=a=null,clearTimeout(r),r=null)},f}function q(e,n,t,r){var a=e-t,o=n-r;return Math.sqrt(Math.pow(a,2)+Math.sqrt(Math.pow(o,2)))}function br(e,n){var t=x(e,2),r=t[0],a=t[1],o=n.core?n.core.getAbsoluteCoords(0,0):[0,0],u=x(o,2),l=u[0],i=u[1],f=q(r,a,l,i),A=q(r,a,l+n.w/2,i+n.h/2),d=q(r,a,l+n.w,i+n.h);return Math.min(f,A,d)}function pr(e){if(!e)return!1;var n=e.w,t=e.h,r=e.core;r=r===void 0?{}:r;var a=r.renderContext,o=a.px,u=a.py,l=r._scissor,i=l===void 0?[]:l,f=e.stage.h/e.stage.getRenderPrecision(),A=e.stage.w/e.stage.getRenderPrecision(),d=o>=0&&o+n<=A,g=u>=0&&u+t<=f;if(!d||!g)return!1;if(i&&i.length){var v=x(i,4),C=v[0],F=C===void 0?null:C,V=v[1],b=V===void 0?null:V,h=v[2],I=h===void 0?null:h,L=v[3],S=L===void 0?null:L,j=Math.round(o+n)>=Math.round(F),le=Math.round(o)<=Math.round(F+I),P=Math.round(u+t)>=Math.round(b),kn=Math.round(u+t)<=Math.round(b+S);return j&&le&&P&&kn}return!0}function Q(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,t=e.layout.screenW,r=e.layout.columnCount,a=e.layout.marginX,o=e.layout.gutterX;if(n<1||n>r){console.error("Column expects a number between 1 & ".concat(r,". Received ").concat(n));return}var u=t-a*2,l=(n-1)*o,i=u-l;return i/n}function qe(e,n){var t=e.layout.columnCount,r=e.layout.gutterX;return Q(e,t)*n+r*(n-1)}function Sr(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,t=e.layout.columnCount,r=e.layout.marginX,a=e.layout.gutterX;return r+(Q(e,t)+a)*n}function $e(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=n.w,a=n.h,o=n.ratioX,u=n.ratioY,l=n.upCount,i=t.w||0,f=t.h||0,A={};return r&&a?A={w:r,h:a}:a&&o&&u?A={w:Math.round(a*o/u),h:a}:o&&u&&l?A=_e(e,o,u,l):a&&l?A={w:Math.round(Q(e,l)),h:a}:a?A={w:i,h:a}:r?A={w:r,h:f}:A={w:i,h:f},A=Object.assign({},A,{ratioX:o,ratioY:u,upCount:l}),A}function _e(e,n,t,r){var a,o;return n&&t&&r?(a=Math.round(Q(e,r)),o=Math.round(a/n*t)):(a=0,o=0),{w:a,h:o}}function et(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"16:9",t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:":",r=n.split(t),a=x(r,2),o=a[0],u=a[1];return e*(o/u)}function tt(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"16:9",t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:":",r=n.split(t),a=x(r,2),o=a[0],u=a[1];return e/(o/u)}function de(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;if(!e)return 0;typeof e=="number"&&(e=e.toString(16).slice(2)),e=e.replace("#","");var t=Math.round(n*255).toString(16),r="0x".concat(t).concat(e);return Number(r)}function nt(e){if(/^0x[0-9a-fA-F]{8}/g.test(e))return Number(e);if(/^#[0-9a-fA-F]{6}/g.test(e))return de(e.substr(1,6));if(typeof e=="string"&&/^[0-9]{8,10}/g.test(e))return parseInt(e);if(typeof e=="number"&&/^[0-9]{8,10}/g.test(e.toString()))return e;if(typeof e=="string"&&e.indexOf("rgba")>-1)return ge(e);if(typeof e=="string"&&e.indexOf("rgb")>-1){var n=[].concat(fe(e.replace(/rgb\(|\)/g,"").split(",")),["255"]);return Y.a.StageUtils.getArgbNumber(n)}return null}function rt(e){for(var n=x(e,2),t=n[0],r=n[1],a=t;a>0;a--)if(!(t%a)&&!(r%a))return[t/a,r/a]}function at(e){return rt(e.split("/").map(function(n){return+n})).join("/")}var ot=function(n,t){return typeof t=="string"&&(t=t.split(".").filter(function(r){return r.length})),t.reduce(function(r,a){return r&&r[a]},n)};function ge(e){var n=e.replace(/rgba\(|\)/g,"").split(",");return n[3]=n[3]*255,Y.a.StageUtils.getArgbNumber(n)}function lt(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Cr(e){return e.charAt(0).toLowerCase()+e.slice(1)}var it={getWidth:function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Object.assign({padding:0,paddingLeft:0,paddingRight:0,strokeWidth:0},t),a=r.padding,o=r.paddingLeft,u=r.paddingRight,l=r.strokeWidth;return n?n-(o||a)-(u||a)-l:0},getHeight:function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Object.assign({padding:0,paddingBottom:0,paddingTop:0,strokeWidth:0},t),a=r.padding,o=r.paddingBottom,u=r.paddingTop,l=r.strokeWidth;return n?n-(o||a)-(u||a)-l:0}};function me(e,n){var t=Object.create(Object.getPrototypeOf(e));if(Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)),!n||e===n)return t;for(var r in n){var a=n[r];e.hasOwnProperty(r)?t[r]=ye(r,e,n):t[r]=a}return t}function ye(e,n,t){var r=n[e],a=t[e],o=typeof r,u=typeof a;return o!==u||u==="function"||Array.isArray(a)?a:a&&u==="object"?me(r,a):a}function ut(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=document.createElement("canvas"),t=n.getContext("2d"),r=e.fontStyle,a=e.fontWeight,o=e.fontSize,u=e.fontFamily,l=u===void 0?e.fontFace||"sans-serif":u,i=[r,a,o?"".concat(o,"px"):"0","'".concat(l,"'")].filter(Boolean).join(" ");t.font=i;var f=t.measureText(e.text||"");return Math.round(f.width)}function st(){for(var e=arguments.length,n=new Array(e),t=0;t1&&arguments[1]!==void 0?arguments[1]:16;setTimeout(e,n)}function dt(e,n,t){var r=["plain","json"];r.includes(t)||(t="plain");var a="data:text/".concat(t,";charset=utf-8,")+encodeURIComponent(JSON.stringify(e)),o=document.createElement("a");o.setAttribute("href",a),o.setAttribute("download",n),o.click()}var gt=function(n){return n*(Math.PI/180)},he=/({ICON.*?}|{BADGE:.*?}|{NEWLINE}|{TEXT:.*?})/g;function mt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return typeof e!="string"?!1:he.test(e)}function Or(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",n=[];if(e&&typeof e=="string"||e.text){var t=typeof e=="string"?e:e.text,r=/^{ICON:(.*?)?\|(.*?)?}$/g,a=/^{BADGE:(.*?)}$/g,o=/^{NEWLINE}$/g,u=/^{TEXT:(.*?)?\|(.*?)?}$/g,l=t.split(he);l&&l.length&&l.forEach(function(i){var f=i,A=a.exec(i),d=r.exec(i),g=o.exec(i),v=u.exec(i);A&&A[1]?f={badge:A[1]}:d&&d[1]?f={title:d[1],icon:d[2]||d[1]}:g?f={newline:!0}:v&&v[1]&&(f={text:v[1],style:v[2]}),n.push(f)})}return n}function wr(){if(arguments){var e=Array.from(arguments).filter(function(n){return!isNaN(n)&&n!=null});if(e.length)return Math.max.apply(Math,fe(e))}}function yt(e,n){!e.zIndex&&typeof n!="undefined"&&n!==0&&(e.forceZIndexContext=!0,e.zIndex=0)}function vt(e){var n,t=e.element,r=e.watchProps,a=r===void 0?[]:r,o=e.sideEffect,u=o===void 0?function(){}:o;t!=null&&t.isElement||Me.error("watchForUpdates: Expected a Lightning Element passed to element parameter, received ".concat(typeof t));var l=(n=t.__core)===null||n===void 0?void 0:n._onAfterUpdate;return t.onAfterUpdate=function(i){var f=!1;a.forEach(function(A){if(!(i.transition(A)&&i.transition(A).isRunning())){var d="__watchPrev".concat(A),g=i[A];g!==i[d]&&(i[d]=g,f=!0)}}),f&&u(),l&&l(i)}.bind(this),t}function ht(e){switch(e){case"left":return"flex-start";case"center":return"center";case"right":return"flex-end";default:return console.warn('Expected "textAlign" values are "left," "center," and "right," but instead, '.concat(e,' was received and will fall back to "left."')),"flex-start"}}var bt={isMarkupString:mt,capitalizeFirstLetter:lt,degreesToRadians:gt,downloadFile:dt,delayForAnimation:At,stringifyCompare:ft,objectPropertyOf:ct,flatten:ve,getDimension:D,getFirstNumber:st,measureTextWidth:ut,clone:me,getMergeValue:ye,RoundRect:it,rgba2argb:ge,getValFromObjPath:ot,reduceFraction:at,getValidColor:nt,getHexColor:de,getAspectRatioH:tt,getAspectRatioW:et,getWidthByUpCount:Q,getDimensions:$e,getWidthByColumnSpan:qe,createConditionalZContext:yt,watchForUpdates:vt,convertTextAlignToFlexJustify:ht},w=bt,pt=s(228),be=s.n(pt),St=function(){return document&&document.querySelector("iframe")&&document.querySelector("iframe").contentWindow&&document.querySelector("iframe").contentWindow.APP},H=function(){return document&&document.querySelector("iframe")&&document.querySelector("iframe").contentWindow&&document.querySelector("iframe").contentWindow.CONTEXT},W=function(){var n=H();return n&&n.theme},$=function(){return W()||Pe};function pe(e,n){document&&document.querySelector("iframe")&&document.querySelector("iframe").contentWindow&&document.querySelector("iframe").contentWindow.postMessage({theme:e}),n&&n({LUITheme:e})}var _=function(n,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,a=H();if(a&&(a.updateTheme(n),r)){var o=W(),u=Object.keys(o).reduce(function(l,i){return typeof o[i]=="function"&&(l[i]=o[i]),l},{});H().storybookCustomTheme=Object.assign({},JSON.parse(JSON.stringify(W())),u),t({LUITheme:"custom"})}},Ct=be()(function(e,n,t){var r;_({color:(r={},r[e]=w.getValidColor(n),r)},t)},500);function Et(){Ct.apply(void 0,arguments)}function Bt(e){return Ot(e)||It(e)||Se(e)||Tt()}function Tt(){throw new TypeError(`Invalid attempt to spread non-iterable instance. diff --git a/main.ee9230e3.iframe.bundle.js b/main.8ebd2971.iframe.bundle.js similarity index 99% rename from main.ee9230e3.iframe.bundle.js rename to main.8ebd2971.iframe.bundle.js index 6992596fe..97f10956f 100644 --- a/main.ee9230e3.iframe.bundle.js +++ b/main.8ebd2971.iframe.bundle.js @@ -1461,7 +1461,7 @@ componentMeta.parameters.docs = Object.assign({}, componentMeta.parameters.docs /***/ "../../@lightningjs/ui-components/package.json": /***/ (function(module) { -module.exports = JSON.parse("{\"a\":\"2.14.1\"}"); +module.exports = JSON.parse("{\"a\":\"2.14.2\"}"); /***/ }), @@ -56688,8 +56688,8 @@ var base = function base(theme) { return { animationEntrance: theme.animation.standardEntrance, animationExit: theme.animation.standardExit, - iconWidth: theme.spacer.lg * 5, - iconHeight: theme.spacer.xxl + theme.spacer.md, + logoWidth: theme.spacer.lg * 5, + logoHeight: theme.spacer.xxl + theme.spacer.md, metadataLocation: 'standard', paddingX: theme.spacer.xl, paddingY: theme.spacer.lg, @@ -56850,7 +56850,7 @@ var Tile_Tile = /*#__PURE__*/function (_Surface) { this._updateLabel(); this._updateCheckbox(); this._updateProgressBar(); - this._updateIcon(); + this._updateLogo(); this._updateMetadata(); } @@ -56907,25 +56907,25 @@ var Tile_Tile = /*#__PURE__*/function (_Surface) { }, {})); } - /* ------------------------------ Icon ------------------------------ */ + /* ------------------------------ Logo ------------------------------ */ }, { - key: "_updateIcon", - value: function _updateIcon() { - var iconObject = { - w: this.style.iconWidth, - h: this.style.iconHeight, - icon: this.iconSrc, + key: "_updateLogo", + value: function _updateLogo() { + var logoObject = { + w: this.style.logoWidth, + h: this.style.logoHeight, + icon: this.logo, alpha: this.style.alpha, mountY: 1, x: this.style.paddingX, - y: this._calculateIconYPosition() + y: this._calculateLogoYPosition() }; - if (this.iconSrc && (this.persistentMetadata || this._isFocusedMode)) { - if (!this._Icon) { - iconObject.type = Icon["a" /* default */]; + if (this.logo && (this.persistentMetadata || this._isFocusedMode)) { + if (!this._Logo) { + logoObject.type = Icon["a" /* default */]; } this.patch({ - Icon: iconObject + Icon: logoObject }); } else { this.patch({ @@ -56934,8 +56934,8 @@ var Tile_Tile = /*#__PURE__*/function (_Surface) { } } }, { - key: "_calculateIconYPosition", - value: function _calculateIconYPosition() { + key: "_calculateLogoYPosition", + value: function _calculateLogoYPosition() { if (this._isInsetMetadata) { return this._metadataY - (this._Metadata ? this._Metadata.h : 0); } else { @@ -57286,7 +57286,7 @@ var Tile_Tile = /*#__PURE__*/function (_Surface) { key: "_metadataLoaded", value: function _metadataLoaded() { this._animateMetadata(); - this._updateIcon(); + this._updateLogo(); // Send event to columns/rows that the height has been updated since metadata will be displayed below the Tile if (!this._isInsetMetadata) { this.fireAncestors('$itemChanged'); @@ -57341,7 +57341,26 @@ var Tile_Tile = /*#__PURE__*/function (_Surface) { }, { key: "properties", get: function get() { - return ['artwork', 'badge', 'checkbox', 'circle', 'label', 'iconSrc', 'metadata', 'metadataLocation', 'persistentMetadata', 'progressBar', 'src']; + return ['artwork', 'badge', 'checkbox', 'circle', 'label', 'logo', 'metadata', 'metadataLocation', 'persistentMetadata', 'progressBar', 'src']; + } + }, { + key: "aliasStyles", + get: function get() { + return [{ + prev: 'iconHeight', + curr: 'logoHeight' + }, { + prev: 'iconWidth', + curr: 'logoWidth' + }]; + } + }, { + key: "aliasProperties", + get: function get() { + return [{ + prev: 'iconSrc', + curr: 'logo' + }]; } }, { key: "tags", @@ -57353,8 +57372,8 @@ var Tile_Tile = /*#__PURE__*/function (_Surface) { name: 'Checkbox', path: 'Content.Checkbox' }, { - name: 'Icon', - path: 'Content.Icon' + name: 'Logo', + path: 'Content.Logo' }, { name: 'Metadata', path: 'Content.Metadata' @@ -57600,7 +57619,7 @@ function MDXContent(_ref) { }, Object(esm["b" /* mdx */])("td", { parentName: "tr", "align": null - }, "iconSrc"), Object(esm["b" /* mdx */])("td", { + }, "logo"), Object(esm["b" /* mdx */])("td", { parentName: "tr", "align": null }, "string"), Object(esm["b" /* mdx */])("td", { @@ -57612,7 +57631,7 @@ function MDXContent(_ref) { }, "undefined"), Object(esm["b" /* mdx */])("td", { parentName: "tr", "align": null - }, "Source of icon")), Object(esm["b" /* mdx */])("tr", { + }, "Source of logo")), Object(esm["b" /* mdx */])("tr", { parentName: "tbody" }, Object(esm["b" /* mdx */])("td", { parentName: "tr", @@ -57880,7 +57899,7 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g /* eslint-disable */ // @ts-nocheck // @ts-ignore -var __STORY__ = "\n \n // @ts-nocheck\n // @ts-ignore\n var __STORY__ = \"/**\\n * Copyright 2023 Comcast Cable Communications Management, LLC\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n */\\n\\nimport lng from '@lightningjs/core';\\nimport mdx from './Tile.mdx';\\nimport { default as TileComponent } from '.';\\nimport { createModeControl, generateSubStory } from '../../docs/utils';\\nimport { CATEGORIES } from '../../docs/constants';\\nimport { Artwork as ArtworkStory } from '../Artwork/Artwork.stories.js';\\nimport { Checkbox as CheckboxStory } from '../Checkbox/Checkbox.stories.js';\\nimport { MetadataTile as MetadataTileStory } from '../MetadataTile/MetadataTile.stories';\\nimport { withLayout as ItemLayoutStory } from '../../mixins/withLayout/withLayout.stories.js';\\nimport { Label as LabelStory } from '../Label/Label.stories.js';\\nimport { ProgressBar as ProgressBarStory } from '../ProgressBar/ProgressBar.stories';\\nimport { Text as BadgeStory } from '../Badge/Badge.stories.js';\\nimport xfinityLogo from '../../assets/images/Xfinity-Provider-Logo-2x1.png';\\n\\nexport default {\\n title: `${CATEGORIES[8]}/Tile`,\\n parameters: {\\n docs: {\\n page: mdx\\n }\\n }\\n};\\n\\nexport const Tile = () =>\\n class Tile extends lng.Component {\\n static _template() {\\n return {\\n Tile: {\\n type: TileComponent,\\n itemLayout: {\\n ratioX: 16,\\n ratioY: 9,\\n upCount: 3\\n },\\n artwork: {\\n src: 'https://image.tmdb.org/t/p/w500/zHdQ6yaqDf3OQO5uhr0auAgwK6O.jpg'\\n }\\n }\\n };\\n }\\n };\\n\\nTile.args = {\\n metadataLocation: 'standard',\\n iconSrc: xfinityLogo,\\n persistentMetadata: false,\\n mode: 'focused'\\n};\\n\\nTile.argTypes = {\\n ...createModeControl({ summaryValue: Tile.args.mode }),\\n persistentMetadata: {\\n control: 'boolean',\\n description: 'Show metadata if exists regardless of focusState',\\n table: {\\n defaultValue: { summary: false }\\n }\\n },\\n metadataLocation: {\\n control: 'radio',\\n options: ['standard', 'inset'],\\n description:\\n 'Controls where metadata is positioned in relationship to the Tile',\\n table: {\\n defaultValue: { summary: 'standard' }\\n }\\n },\\n iconSrc: {\\n control: 'select',\\n options: [xfinityLogo, 'null'],\\n description: 'Icon source',\\n table: {\\n defaultValue: { summary: 'undefined' }\\n }\\n }\\n};\\n\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: MetadataTileStory,\\n targetProperty: 'metadata',\\n include: ['title', 'description']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: ItemLayoutStory,\\n targetProperty: 'itemLayout',\\n include: ['ratioX', 'ratioY', 'upCount', 'circle']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: BadgeStory,\\n targetProperty: 'badge',\\n include: ['title']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: LabelStory,\\n targetProperty: 'label',\\n include: ['title']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: ArtworkStory,\\n targetProperty: 'artwork',\\n include: ['blur', 'foregroundSrc', 'format', 'fill']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: ProgressBarStory,\\n targetProperty: 'progressBar',\\n include: ['progress']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: CheckboxStory,\\n targetProperty: 'checkbox',\\n include: ['checked']\\n});\\n\";\n // @ts-ignore\n var __LOCATIONS_MAP__ = {\"Tile\":{\"startLoc\":{\"col\":20,\"line\":42},\"endLoc\":{\"col\":3,\"line\":59},\"startBody\":{\"col\":20,\"line\":42},\"endBody\":{\"col\":3,\"line\":59}}};\n \n/**\n * Copyright 2023 Comcast Cable Communications Management, LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport lng from '@lightningjs/core';\nimport mdx from './Tile.mdx';\nimport { default as TileComponent } from '.';\nimport { createModeControl, generateSubStory } from '../../docs/utils';\nimport { CATEGORIES } from '../../docs/constants';\nimport { Artwork as ArtworkStory } from '../Artwork/Artwork.stories.js';\nimport { Checkbox as CheckboxStory } from '../Checkbox/Checkbox.stories.js';\nimport { MetadataTile as MetadataTileStory } from '../MetadataTile/MetadataTile.stories';\nimport { withLayout as ItemLayoutStory } from '../../mixins/withLayout/withLayout.stories.js';\nimport { Label as LabelStory } from '../Label/Label.stories.js';\nimport { ProgressBar as ProgressBarStory } from '../ProgressBar/ProgressBar.stories';\nimport { Text as BadgeStory } from '../Badge/Badge.stories.js';\nimport xfinityLogo from '../../assets/images/Xfinity-Provider-Logo-2x1.png';\n\nexport default {\n title: `${CATEGORIES[8]}/Tile`,\n parameters: {\"storySource\":{\"source\":\"/**\\n * Copyright 2023 Comcast Cable Communications Management, LLC\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n */\\n\\nimport lng from '@lightningjs/core';\\nimport mdx from './Tile.mdx';\\nimport { default as TileComponent } from '.';\\nimport { createModeControl, generateSubStory } from '../../docs/utils';\\nimport { CATEGORIES } from '../../docs/constants';\\nimport { Artwork as ArtworkStory } from '../Artwork/Artwork.stories.js';\\nimport { Checkbox as CheckboxStory } from '../Checkbox/Checkbox.stories.js';\\nimport { MetadataTile as MetadataTileStory } from '../MetadataTile/MetadataTile.stories';\\nimport { withLayout as ItemLayoutStory } from '../../mixins/withLayout/withLayout.stories.js';\\nimport { Label as LabelStory } from '../Label/Label.stories.js';\\nimport { ProgressBar as ProgressBarStory } from '../ProgressBar/ProgressBar.stories';\\nimport { Text as BadgeStory } from '../Badge/Badge.stories.js';\\nimport xfinityLogo from '../../assets/images/Xfinity-Provider-Logo-2x1.png';\\n\\nexport default {\\n title: `${CATEGORIES[8]}/Tile`,\\n parameters: {\\n docs: {\\n page: mdx\\n }\\n }\\n};\\n\\nexport const Tile = () =>\\n class Tile extends lng.Component {\\n static _template() {\\n return {\\n Tile: {\\n type: TileComponent,\\n itemLayout: {\\n ratioX: 16,\\n ratioY: 9,\\n upCount: 3\\n },\\n artwork: {\\n src: 'https://image.tmdb.org/t/p/w500/zHdQ6yaqDf3OQO5uhr0auAgwK6O.jpg'\\n }\\n }\\n };\\n }\\n };\\n\\nTile.args = {\\n metadataLocation: 'standard',\\n iconSrc: xfinityLogo,\\n persistentMetadata: false,\\n mode: 'focused'\\n};\\n\\nTile.argTypes = {\\n ...createModeControl({ summaryValue: Tile.args.mode }),\\n persistentMetadata: {\\n control: 'boolean',\\n description: 'Show metadata if exists regardless of focusState',\\n table: {\\n defaultValue: { summary: false }\\n }\\n },\\n metadataLocation: {\\n control: 'radio',\\n options: ['standard', 'inset'],\\n description:\\n 'Controls where metadata is positioned in relationship to the Tile',\\n table: {\\n defaultValue: { summary: 'standard' }\\n }\\n },\\n iconSrc: {\\n control: 'select',\\n options: [xfinityLogo, 'null'],\\n description: 'Icon source',\\n table: {\\n defaultValue: { summary: 'undefined' }\\n }\\n }\\n};\\n\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: MetadataTileStory,\\n targetProperty: 'metadata',\\n include: ['title', 'description']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: ItemLayoutStory,\\n targetProperty: 'itemLayout',\\n include: ['ratioX', 'ratioY', 'upCount', 'circle']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: BadgeStory,\\n targetProperty: 'badge',\\n include: ['title']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: LabelStory,\\n targetProperty: 'label',\\n include: ['title']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: ArtworkStory,\\n targetProperty: 'artwork',\\n include: ['blur', 'foregroundSrc', 'format', 'fill']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: ProgressBarStory,\\n targetProperty: 'progressBar',\\n include: ['progress']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: CheckboxStory,\\n targetProperty: 'checkbox',\\n include: ['checked']\\n});\\n\",\"locationsMap\":{\"tile\":{\"startLoc\":{\"col\":20,\"line\":42},\"endLoc\":{\"col\":3,\"line\":59},\"startBody\":{\"col\":20,\"line\":42},\"endBody\":{\"col\":3,\"line\":59}}}},\n docs: {\n page: mdx\n }\n },};\n\nexport const Tile = () =>\n class Tile extends lng.Component {\n static _template() {\n return {\n Tile: {\n type: TileComponent,\n itemLayout: {\n ratioX: 16,\n ratioY: 9,\n upCount: 3\n },\n artwork: {\n src: 'https://image.tmdb.org/t/p/w500/zHdQ6yaqDf3OQO5uhr0auAgwK6O.jpg'\n }\n }\n };\n }\n };\n\nTile.args = {\n metadataLocation: 'standard',\n iconSrc: xfinityLogo,\n persistentMetadata: false,\n mode: 'focused'\n};\n\nTile.argTypes = {\n ...createModeControl({ summaryValue: Tile.args.mode }),\n persistentMetadata: {\n control: 'boolean',\n description: 'Show metadata if exists regardless of focusState',\n table: {\n defaultValue: { summary: false }\n }\n },\n metadataLocation: {\n control: 'radio',\n options: ['standard', 'inset'],\n description:\n 'Controls where metadata is positioned in relationship to the Tile',\n table: {\n defaultValue: { summary: 'standard' }\n }\n },\n iconSrc: {\n control: 'select',\n options: [xfinityLogo, 'null'],\n description: 'Icon source',\n table: {\n defaultValue: { summary: 'undefined' }\n }\n }\n};\n\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: MetadataTileStory,\n targetProperty: 'metadata',\n include: ['title', 'description']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ItemLayoutStory,\n targetProperty: 'itemLayout',\n include: ['ratioX', 'ratioY', 'upCount', 'circle']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: BadgeStory,\n targetProperty: 'badge',\n include: ['title']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: LabelStory,\n targetProperty: 'label',\n include: ['title']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ArtworkStory,\n targetProperty: 'artwork',\n include: ['blur', 'foregroundSrc', 'format', 'fill']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ProgressBarStory,\n targetProperty: 'progressBar',\n include: ['progress']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: CheckboxStory,\n targetProperty: 'checkbox',\n include: ['checked']\n});\n"; +var __STORY__ = "\n \n // @ts-nocheck\n // @ts-ignore\n var __STORY__ = \"/**\\n * Copyright 2023 Comcast Cable Communications Management, LLC\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n */\\n\\nimport lng from '@lightningjs/core';\\nimport mdx from './Tile.mdx';\\nimport { default as TileComponent } from '.';\\nimport { createModeControl, generateSubStory } from '../../docs/utils';\\nimport { CATEGORIES } from '../../docs/constants';\\nimport { Artwork as ArtworkStory } from '../Artwork/Artwork.stories.js';\\nimport { Checkbox as CheckboxStory } from '../Checkbox/Checkbox.stories.js';\\nimport { MetadataTile as MetadataTileStory } from '../MetadataTile/MetadataTile.stories';\\nimport { withLayout as ItemLayoutStory } from '../../mixins/withLayout/withLayout.stories.js';\\nimport { Label as LabelStory } from '../Label/Label.stories.js';\\nimport { ProgressBar as ProgressBarStory } from '../ProgressBar/ProgressBar.stories';\\nimport { Text as BadgeStory } from '../Badge/Badge.stories.js';\\nimport xfinityLogo from '../../assets/images/Xfinity-Provider-Logo-2x1.png';\\n\\nexport default {\\n title: `${CATEGORIES[8]}/Tile`,\\n parameters: {\\n docs: {\\n page: mdx\\n }\\n }\\n};\\n\\nexport const Tile = () =>\\n class Tile extends lng.Component {\\n static _template() {\\n return {\\n Tile: {\\n type: TileComponent,\\n itemLayout: {\\n ratioX: 16,\\n ratioY: 9,\\n upCount: 3\\n },\\n artwork: {\\n src: 'https://image.tmdb.org/t/p/w500/zHdQ6yaqDf3OQO5uhr0auAgwK6O.jpg'\\n }\\n }\\n };\\n }\\n };\\n\\nTile.args = {\\n metadataLocation: 'standard',\\n logo: xfinityLogo,\\n persistentMetadata: false,\\n mode: 'focused'\\n};\\n\\nTile.argTypes = {\\n ...createModeControl({ summaryValue: Tile.args.mode }),\\n persistentMetadata: {\\n control: 'boolean',\\n description: 'Show metadata if exists regardless of focusState',\\n table: {\\n defaultValue: { summary: false }\\n }\\n },\\n metadataLocation: {\\n control: 'radio',\\n options: ['standard', 'inset'],\\n description:\\n 'Controls where metadata is positioned in relationship to the Tile',\\n table: {\\n defaultValue: { summary: 'standard' }\\n }\\n },\\n logo: {\\n control: 'select',\\n options: [xfinityLogo, 'null'],\\n description: 'Icon source',\\n table: {\\n defaultValue: { summary: 'undefined' }\\n }\\n }\\n};\\n\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: MetadataTileStory,\\n targetProperty: 'metadata',\\n include: ['title', 'description']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: ItemLayoutStory,\\n targetProperty: 'itemLayout',\\n include: ['ratioX', 'ratioY', 'upCount', 'circle']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: BadgeStory,\\n targetProperty: 'badge',\\n include: ['title']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: LabelStory,\\n targetProperty: 'label',\\n include: ['title']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: ArtworkStory,\\n targetProperty: 'artwork',\\n include: ['blur', 'foregroundSrc', 'format', 'fill']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: ProgressBarStory,\\n targetProperty: 'progressBar',\\n include: ['progress']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: CheckboxStory,\\n targetProperty: 'checkbox',\\n include: ['checked']\\n});\\n\";\n // @ts-ignore\n var __LOCATIONS_MAP__ = {\"Tile\":{\"startLoc\":{\"col\":20,\"line\":42},\"endLoc\":{\"col\":3,\"line\":59},\"startBody\":{\"col\":20,\"line\":42},\"endBody\":{\"col\":3,\"line\":59}}};\n \n/**\n * Copyright 2023 Comcast Cable Communications Management, LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport lng from '@lightningjs/core';\nimport mdx from './Tile.mdx';\nimport { default as TileComponent } from '.';\nimport { createModeControl, generateSubStory } from '../../docs/utils';\nimport { CATEGORIES } from '../../docs/constants';\nimport { Artwork as ArtworkStory } from '../Artwork/Artwork.stories.js';\nimport { Checkbox as CheckboxStory } from '../Checkbox/Checkbox.stories.js';\nimport { MetadataTile as MetadataTileStory } from '../MetadataTile/MetadataTile.stories';\nimport { withLayout as ItemLayoutStory } from '../../mixins/withLayout/withLayout.stories.js';\nimport { Label as LabelStory } from '../Label/Label.stories.js';\nimport { ProgressBar as ProgressBarStory } from '../ProgressBar/ProgressBar.stories';\nimport { Text as BadgeStory } from '../Badge/Badge.stories.js';\nimport xfinityLogo from '../../assets/images/Xfinity-Provider-Logo-2x1.png';\n\nexport default {\n title: `${CATEGORIES[8]}/Tile`,\n parameters: {\"storySource\":{\"source\":\"/**\\n * Copyright 2023 Comcast Cable Communications Management, LLC\\n *\\n * Licensed under the Apache License, Version 2.0 (the \\\"License\\\");\\n * you may not use this file except in compliance with the License.\\n * You may obtain a copy of the License at\\n *\\n * http://www.apache.org/licenses/LICENSE-2.0\\n *\\n * Unless required by applicable law or agreed to in writing, software\\n * distributed under the License is distributed on an \\\"AS IS\\\" BASIS,\\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\\n * See the License for the specific language governing permissions and\\n * limitations under the License.\\n *\\n * SPDX-License-Identifier: Apache-2.0\\n */\\n\\nimport lng from '@lightningjs/core';\\nimport mdx from './Tile.mdx';\\nimport { default as TileComponent } from '.';\\nimport { createModeControl, generateSubStory } from '../../docs/utils';\\nimport { CATEGORIES } from '../../docs/constants';\\nimport { Artwork as ArtworkStory } from '../Artwork/Artwork.stories.js';\\nimport { Checkbox as CheckboxStory } from '../Checkbox/Checkbox.stories.js';\\nimport { MetadataTile as MetadataTileStory } from '../MetadataTile/MetadataTile.stories';\\nimport { withLayout as ItemLayoutStory } from '../../mixins/withLayout/withLayout.stories.js';\\nimport { Label as LabelStory } from '../Label/Label.stories.js';\\nimport { ProgressBar as ProgressBarStory } from '../ProgressBar/ProgressBar.stories';\\nimport { Text as BadgeStory } from '../Badge/Badge.stories.js';\\nimport xfinityLogo from '../../assets/images/Xfinity-Provider-Logo-2x1.png';\\n\\nexport default {\\n title: `${CATEGORIES[8]}/Tile`,\\n parameters: {\\n docs: {\\n page: mdx\\n }\\n }\\n};\\n\\nexport const Tile = () =>\\n class Tile extends lng.Component {\\n static _template() {\\n return {\\n Tile: {\\n type: TileComponent,\\n itemLayout: {\\n ratioX: 16,\\n ratioY: 9,\\n upCount: 3\\n },\\n artwork: {\\n src: 'https://image.tmdb.org/t/p/w500/zHdQ6yaqDf3OQO5uhr0auAgwK6O.jpg'\\n }\\n }\\n };\\n }\\n };\\n\\nTile.args = {\\n metadataLocation: 'standard',\\n logo: xfinityLogo,\\n persistentMetadata: false,\\n mode: 'focused'\\n};\\n\\nTile.argTypes = {\\n ...createModeControl({ summaryValue: Tile.args.mode }),\\n persistentMetadata: {\\n control: 'boolean',\\n description: 'Show metadata if exists regardless of focusState',\\n table: {\\n defaultValue: { summary: false }\\n }\\n },\\n metadataLocation: {\\n control: 'radio',\\n options: ['standard', 'inset'],\\n description:\\n 'Controls where metadata is positioned in relationship to the Tile',\\n table: {\\n defaultValue: { summary: 'standard' }\\n }\\n },\\n logo: {\\n control: 'select',\\n options: [xfinityLogo, 'null'],\\n description: 'Icon source',\\n table: {\\n defaultValue: { summary: 'undefined' }\\n }\\n }\\n};\\n\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: MetadataTileStory,\\n targetProperty: 'metadata',\\n include: ['title', 'description']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: ItemLayoutStory,\\n targetProperty: 'itemLayout',\\n include: ['ratioX', 'ratioY', 'upCount', 'circle']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: BadgeStory,\\n targetProperty: 'badge',\\n include: ['title']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: LabelStory,\\n targetProperty: 'label',\\n include: ['title']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: ArtworkStory,\\n targetProperty: 'artwork',\\n include: ['blur', 'foregroundSrc', 'format', 'fill']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: ProgressBarStory,\\n targetProperty: 'progressBar',\\n include: ['progress']\\n});\\ngenerateSubStory({\\n componentName: 'Tile',\\n baseStory: Tile,\\n subStory: CheckboxStory,\\n targetProperty: 'checkbox',\\n include: ['checked']\\n});\\n\",\"locationsMap\":{\"tile\":{\"startLoc\":{\"col\":20,\"line\":42},\"endLoc\":{\"col\":3,\"line\":59},\"startBody\":{\"col\":20,\"line\":42},\"endBody\":{\"col\":3,\"line\":59}}}},\n docs: {\n page: mdx\n }\n },};\n\nexport const Tile = () =>\n class Tile extends lng.Component {\n static _template() {\n return {\n Tile: {\n type: TileComponent,\n itemLayout: {\n ratioX: 16,\n ratioY: 9,\n upCount: 3\n },\n artwork: {\n src: 'https://image.tmdb.org/t/p/w500/zHdQ6yaqDf3OQO5uhr0auAgwK6O.jpg'\n }\n }\n };\n }\n };\n\nTile.args = {\n metadataLocation: 'standard',\n logo: xfinityLogo,\n persistentMetadata: false,\n mode: 'focused'\n};\n\nTile.argTypes = {\n ...createModeControl({ summaryValue: Tile.args.mode }),\n persistentMetadata: {\n control: 'boolean',\n description: 'Show metadata if exists regardless of focusState',\n table: {\n defaultValue: { summary: false }\n }\n },\n metadataLocation: {\n control: 'radio',\n options: ['standard', 'inset'],\n description:\n 'Controls where metadata is positioned in relationship to the Tile',\n table: {\n defaultValue: { summary: 'standard' }\n }\n },\n logo: {\n control: 'select',\n options: [xfinityLogo, 'null'],\n description: 'Icon source',\n table: {\n defaultValue: { summary: 'undefined' }\n }\n }\n};\n\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: MetadataTileStory,\n targetProperty: 'metadata',\n include: ['title', 'description']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ItemLayoutStory,\n targetProperty: 'itemLayout',\n include: ['ratioX', 'ratioY', 'upCount', 'circle']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: BadgeStory,\n targetProperty: 'badge',\n include: ['title']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: LabelStory,\n targetProperty: 'label',\n include: ['title']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ArtworkStory,\n targetProperty: 'artwork',\n include: ['blur', 'foregroundSrc', 'format', 'fill']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ProgressBarStory,\n targetProperty: 'progressBar',\n include: ['progress']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: CheckboxStory,\n targetProperty: 'checkbox',\n include: ['checked']\n});\n"; // @ts-ignore var __LOCATIONS_MAP__ = { "Tile": { @@ -57906,7 +57925,7 @@ var __LOCATIONS_MAP__ = { /* eslint-disable */ // @ts-nocheck // @ts-ignore -var __STORY__ = "/**\n * Copyright 2023 Comcast Cable Communications Management, LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport lng from '@lightningjs/core';\nimport mdx from './Tile.mdx';\nimport { default as TileComponent } from '.';\nimport { createModeControl, generateSubStory } from '../../docs/utils';\nimport { CATEGORIES } from '../../docs/constants';\nimport { Artwork as ArtworkStory } from '../Artwork/Artwork.stories.js';\nimport { Checkbox as CheckboxStory } from '../Checkbox/Checkbox.stories.js';\nimport { MetadataTile as MetadataTileStory } from '../MetadataTile/MetadataTile.stories';\nimport { withLayout as ItemLayoutStory } from '../../mixins/withLayout/withLayout.stories.js';\nimport { Label as LabelStory } from '../Label/Label.stories.js';\nimport { ProgressBar as ProgressBarStory } from '../ProgressBar/ProgressBar.stories';\nimport { Text as BadgeStory } from '../Badge/Badge.stories.js';\nimport xfinityLogo from '../../assets/images/Xfinity-Provider-Logo-2x1.png';\n\nexport default {\n title: `${CATEGORIES[8]}/Tile`,\n parameters: {\n docs: {\n page: mdx\n }\n }\n};\n\nexport const Tile = () =>\n class Tile extends lng.Component {\n static _template() {\n return {\n Tile: {\n type: TileComponent,\n itemLayout: {\n ratioX: 16,\n ratioY: 9,\n upCount: 3\n },\n artwork: {\n src: 'https://image.tmdb.org/t/p/w500/zHdQ6yaqDf3OQO5uhr0auAgwK6O.jpg'\n }\n }\n };\n }\n };\n\nTile.args = {\n metadataLocation: 'standard',\n iconSrc: xfinityLogo,\n persistentMetadata: false,\n mode: 'focused'\n};\n\nTile.argTypes = {\n ...createModeControl({ summaryValue: Tile.args.mode }),\n persistentMetadata: {\n control: 'boolean',\n description: 'Show metadata if exists regardless of focusState',\n table: {\n defaultValue: { summary: false }\n }\n },\n metadataLocation: {\n control: 'radio',\n options: ['standard', 'inset'],\n description:\n 'Controls where metadata is positioned in relationship to the Tile',\n table: {\n defaultValue: { summary: 'standard' }\n }\n },\n iconSrc: {\n control: 'select',\n options: [xfinityLogo, 'null'],\n description: 'Icon source',\n table: {\n defaultValue: { summary: 'undefined' }\n }\n }\n};\n\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: MetadataTileStory,\n targetProperty: 'metadata',\n include: ['title', 'description']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ItemLayoutStory,\n targetProperty: 'itemLayout',\n include: ['ratioX', 'ratioY', 'upCount', 'circle']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: BadgeStory,\n targetProperty: 'badge',\n include: ['title']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: LabelStory,\n targetProperty: 'label',\n include: ['title']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ArtworkStory,\n targetProperty: 'artwork',\n include: ['blur', 'foregroundSrc', 'format', 'fill']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ProgressBarStory,\n targetProperty: 'progressBar',\n include: ['progress']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: CheckboxStory,\n targetProperty: 'checkbox',\n include: ['checked']\n});\n"; +var __STORY__ = "/**\n * Copyright 2023 Comcast Cable Communications Management, LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport lng from '@lightningjs/core';\nimport mdx from './Tile.mdx';\nimport { default as TileComponent } from '.';\nimport { createModeControl, generateSubStory } from '../../docs/utils';\nimport { CATEGORIES } from '../../docs/constants';\nimport { Artwork as ArtworkStory } from '../Artwork/Artwork.stories.js';\nimport { Checkbox as CheckboxStory } from '../Checkbox/Checkbox.stories.js';\nimport { MetadataTile as MetadataTileStory } from '../MetadataTile/MetadataTile.stories';\nimport { withLayout as ItemLayoutStory } from '../../mixins/withLayout/withLayout.stories.js';\nimport { Label as LabelStory } from '../Label/Label.stories.js';\nimport { ProgressBar as ProgressBarStory } from '../ProgressBar/ProgressBar.stories';\nimport { Text as BadgeStory } from '../Badge/Badge.stories.js';\nimport xfinityLogo from '../../assets/images/Xfinity-Provider-Logo-2x1.png';\n\nexport default {\n title: `${CATEGORIES[8]}/Tile`,\n parameters: {\n docs: {\n page: mdx\n }\n }\n};\n\nexport const Tile = () =>\n class Tile extends lng.Component {\n static _template() {\n return {\n Tile: {\n type: TileComponent,\n itemLayout: {\n ratioX: 16,\n ratioY: 9,\n upCount: 3\n },\n artwork: {\n src: 'https://image.tmdb.org/t/p/w500/zHdQ6yaqDf3OQO5uhr0auAgwK6O.jpg'\n }\n }\n };\n }\n };\n\nTile.args = {\n metadataLocation: 'standard',\n logo: xfinityLogo,\n persistentMetadata: false,\n mode: 'focused'\n};\n\nTile.argTypes = {\n ...createModeControl({ summaryValue: Tile.args.mode }),\n persistentMetadata: {\n control: 'boolean',\n description: 'Show metadata if exists regardless of focusState',\n table: {\n defaultValue: { summary: false }\n }\n },\n metadataLocation: {\n control: 'radio',\n options: ['standard', 'inset'],\n description:\n 'Controls where metadata is positioned in relationship to the Tile',\n table: {\n defaultValue: { summary: 'standard' }\n }\n },\n logo: {\n control: 'select',\n options: [xfinityLogo, 'null'],\n description: 'Icon source',\n table: {\n defaultValue: { summary: 'undefined' }\n }\n }\n};\n\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: MetadataTileStory,\n targetProperty: 'metadata',\n include: ['title', 'description']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ItemLayoutStory,\n targetProperty: 'itemLayout',\n include: ['ratioX', 'ratioY', 'upCount', 'circle']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: BadgeStory,\n targetProperty: 'badge',\n include: ['title']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: LabelStory,\n targetProperty: 'label',\n include: ['title']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ArtworkStory,\n targetProperty: 'artwork',\n include: ['blur', 'foregroundSrc', 'format', 'fill']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ProgressBarStory,\n targetProperty: 'progressBar',\n include: ['progress']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: CheckboxStory,\n targetProperty: 'checkbox',\n include: ['checked']\n});\n"; // @ts-ignore var __LOCATIONS_MAP__ = { "Tile": { @@ -57964,7 +57983,7 @@ var __LOCATIONS_MAP__ = { title: constants["a" /* CATEGORIES */][8] + "/Tile", parameters: { "storySource": { - "source": "/**\n * Copyright 2023 Comcast Cable Communications Management, LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport lng from '@lightningjs/core';\nimport mdx from './Tile.mdx';\nimport { default as TileComponent } from '.';\nimport { createModeControl, generateSubStory } from '../../docs/utils';\nimport { CATEGORIES } from '../../docs/constants';\nimport { Artwork as ArtworkStory } from '../Artwork/Artwork.stories.js';\nimport { Checkbox as CheckboxStory } from '../Checkbox/Checkbox.stories.js';\nimport { MetadataTile as MetadataTileStory } from '../MetadataTile/MetadataTile.stories';\nimport { withLayout as ItemLayoutStory } from '../../mixins/withLayout/withLayout.stories.js';\nimport { Label as LabelStory } from '../Label/Label.stories.js';\nimport { ProgressBar as ProgressBarStory } from '../ProgressBar/ProgressBar.stories';\nimport { Text as BadgeStory } from '../Badge/Badge.stories.js';\nimport xfinityLogo from '../../assets/images/Xfinity-Provider-Logo-2x1.png';\n\nexport default {\n title: `${CATEGORIES[8]}/Tile`,\n parameters: {\n docs: {\n page: mdx\n }\n }\n};\n\nexport const Tile = () =>\n class Tile extends lng.Component {\n static _template() {\n return {\n Tile: {\n type: TileComponent,\n itemLayout: {\n ratioX: 16,\n ratioY: 9,\n upCount: 3\n },\n artwork: {\n src: 'https://image.tmdb.org/t/p/w500/zHdQ6yaqDf3OQO5uhr0auAgwK6O.jpg'\n }\n }\n };\n }\n };\n\nTile.args = {\n metadataLocation: 'standard',\n iconSrc: xfinityLogo,\n persistentMetadata: false,\n mode: 'focused'\n};\n\nTile.argTypes = {\n ...createModeControl({ summaryValue: Tile.args.mode }),\n persistentMetadata: {\n control: 'boolean',\n description: 'Show metadata if exists regardless of focusState',\n table: {\n defaultValue: { summary: false }\n }\n },\n metadataLocation: {\n control: 'radio',\n options: ['standard', 'inset'],\n description:\n 'Controls where metadata is positioned in relationship to the Tile',\n table: {\n defaultValue: { summary: 'standard' }\n }\n },\n iconSrc: {\n control: 'select',\n options: [xfinityLogo, 'null'],\n description: 'Icon source',\n table: {\n defaultValue: { summary: 'undefined' }\n }\n }\n};\n\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: MetadataTileStory,\n targetProperty: 'metadata',\n include: ['title', 'description']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ItemLayoutStory,\n targetProperty: 'itemLayout',\n include: ['ratioX', 'ratioY', 'upCount', 'circle']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: BadgeStory,\n targetProperty: 'badge',\n include: ['title']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: LabelStory,\n targetProperty: 'label',\n include: ['title']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ArtworkStory,\n targetProperty: 'artwork',\n include: ['blur', 'foregroundSrc', 'format', 'fill']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ProgressBarStory,\n targetProperty: 'progressBar',\n include: ['progress']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: CheckboxStory,\n targetProperty: 'checkbox',\n include: ['checked']\n});\n", + "source": "/**\n * Copyright 2023 Comcast Cable Communications Management, LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport lng from '@lightningjs/core';\nimport mdx from './Tile.mdx';\nimport { default as TileComponent } from '.';\nimport { createModeControl, generateSubStory } from '../../docs/utils';\nimport { CATEGORIES } from '../../docs/constants';\nimport { Artwork as ArtworkStory } from '../Artwork/Artwork.stories.js';\nimport { Checkbox as CheckboxStory } from '../Checkbox/Checkbox.stories.js';\nimport { MetadataTile as MetadataTileStory } from '../MetadataTile/MetadataTile.stories';\nimport { withLayout as ItemLayoutStory } from '../../mixins/withLayout/withLayout.stories.js';\nimport { Label as LabelStory } from '../Label/Label.stories.js';\nimport { ProgressBar as ProgressBarStory } from '../ProgressBar/ProgressBar.stories';\nimport { Text as BadgeStory } from '../Badge/Badge.stories.js';\nimport xfinityLogo from '../../assets/images/Xfinity-Provider-Logo-2x1.png';\n\nexport default {\n title: `${CATEGORIES[8]}/Tile`,\n parameters: {\n docs: {\n page: mdx\n }\n }\n};\n\nexport const Tile = () =>\n class Tile extends lng.Component {\n static _template() {\n return {\n Tile: {\n type: TileComponent,\n itemLayout: {\n ratioX: 16,\n ratioY: 9,\n upCount: 3\n },\n artwork: {\n src: 'https://image.tmdb.org/t/p/w500/zHdQ6yaqDf3OQO5uhr0auAgwK6O.jpg'\n }\n }\n };\n }\n };\n\nTile.args = {\n metadataLocation: 'standard',\n logo: xfinityLogo,\n persistentMetadata: false,\n mode: 'focused'\n};\n\nTile.argTypes = {\n ...createModeControl({ summaryValue: Tile.args.mode }),\n persistentMetadata: {\n control: 'boolean',\n description: 'Show metadata if exists regardless of focusState',\n table: {\n defaultValue: { summary: false }\n }\n },\n metadataLocation: {\n control: 'radio',\n options: ['standard', 'inset'],\n description:\n 'Controls where metadata is positioned in relationship to the Tile',\n table: {\n defaultValue: { summary: 'standard' }\n }\n },\n logo: {\n control: 'select',\n options: [xfinityLogo, 'null'],\n description: 'Icon source',\n table: {\n defaultValue: { summary: 'undefined' }\n }\n }\n};\n\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: MetadataTileStory,\n targetProperty: 'metadata',\n include: ['title', 'description']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ItemLayoutStory,\n targetProperty: 'itemLayout',\n include: ['ratioX', 'ratioY', 'upCount', 'circle']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: BadgeStory,\n targetProperty: 'badge',\n include: ['title']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: LabelStory,\n targetProperty: 'label',\n include: ['title']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ArtworkStory,\n targetProperty: 'artwork',\n include: ['blur', 'foregroundSrc', 'format', 'fill']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: ProgressBarStory,\n targetProperty: 'progressBar',\n include: ['progress']\n});\ngenerateSubStory({\n componentName: 'Tile',\n baseStory: Tile,\n subStory: CheckboxStory,\n targetProperty: 'checkbox',\n include: ['checked']\n});\n", "locationsMap": { "tile": { "startLoc": { @@ -58022,7 +58041,7 @@ var Tile_stories_Tile = function Tile() { }; Tile_stories_Tile.args = { metadataLocation: 'standard', - iconSrc: Xfinity_Provider_Logo_2x1_default.a, + logo: Xfinity_Provider_Logo_2x1_default.a, persistentMetadata: false, mode: 'focused' }; @@ -58048,7 +58067,7 @@ Tile_stories_Tile.argTypes = Object.assign({}, Object(utils["b" /* createModeCon } } }, - iconSrc: { + logo: { control: 'select', options: [Xfinity_Provider_Logo_2x1_default.a, 'null'], description: 'Icon source', @@ -72806,6 +72825,9 @@ var es_array_map = __webpack_require__("../../../node_modules/core-js/modules/es // EXTERNAL MODULE: /home/runner/work/Lightning-UI-Components/Lightning-UI-Components/node_modules/core-js/modules/es.string.search.js var es_string_search = __webpack_require__("../../../node_modules/core-js/modules/es.string.search.js"); +// EXTERNAL MODULE: /home/runner/work/Lightning-UI-Components/Lightning-UI-Components/node_modules/core-js/modules/es.string.replace.js +var es_string_replace = __webpack_require__("../../../node_modules/core-js/modules/es.string.replace.js"); + // EXTERNAL MODULE: /home/runner/work/Lightning-UI-Components/Lightning-UI-Components/packages/@lightningjs/ui-components/src/utils/index.js var utils = __webpack_require__("../../@lightningjs/ui-components/src/utils/index.js"); @@ -72848,6 +72870,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len + /** @@ -73434,7 +73457,7 @@ var replaceAliasValues = function replaceAliasValues(value) { aliasProps.forEach(function (alias) { if (alias && typeof alias.prev === 'string' && typeof alias.curr === 'string') { !alias.skipWarn && str.search("\"" + alias.prev + "\":") >= 0 && console.warn("The style property \"" + alias.prev + "\" is deprecated and will be removed in a future release. Please use \"" + alias.curr + "\" instead."); - str = str.replaceAll("\"" + alias.prev + "\":", "\"" + alias.curr + "\":"); + str = str.replace(new RegExp("\"" + alias.prev + "\":", 'gi'), "\"" + alias.curr + "\":"); } }); return JSON.parse(str); diff --git a/project.json b/project.json index 08f3e5b65..cbd31ce17 100644 --- a/project.json +++ b/project.json @@ -1 +1 @@ -{"generatedAt":1697123681442,"builder":{"name":"webpack4"},"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"monorepo":"Workspaces","packageManager":{"type":"yarn","version":"3.2.3"},"storybookVersion":"6.5.16","language":"javascript","storybookPackages":{"@storybook/addon-actions":{"version":"6.5.16"},"@storybook/addon-interactions":{"version":"6.5.16"},"@storybook/addon-links":{"version":"6.5.16"},"@storybook/builder-webpack4":{"version":"6.5.16"},"@storybook/html":{"version":"6.5.16"},"@storybook/manager-webpack4":{"version":"6.5.16"},"@storybook/manager-webpack5":{"version":"6.5.16"},"@storybook/testing-library":{"version":"0.0.13"},"storybook":{"version":"6.5.16"}},"framework":{"name":"html"},"addons":{"@storybook/addon-docs":{"version":"6.5.16"},"@storybook/addon-essentials":{"version":"6.5.16"},"@storybook/addon-storysource":{"version":"6.5.16"},"./addons":{"version":null},"storybook-addon-turbo-build":{"version":"1.1.0"}}} +{"generatedAt":1697661242395,"builder":{"name":"webpack4"},"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"monorepo":"Workspaces","packageManager":{"type":"yarn","version":"3.2.3"},"storybookVersion":"6.5.16","language":"javascript","storybookPackages":{"@storybook/addon-actions":{"version":"6.5.16"},"@storybook/addon-interactions":{"version":"6.5.16"},"@storybook/addon-links":{"version":"6.5.16"},"@storybook/builder-webpack4":{"version":"6.5.16"},"@storybook/html":{"version":"6.5.16"},"@storybook/manager-webpack4":{"version":"6.5.16"},"@storybook/manager-webpack5":{"version":"6.5.16"},"@storybook/testing-library":{"version":"0.0.13"},"storybook":{"version":"6.5.16"}},"framework":{"name":"html"},"addons":{"@storybook/addon-docs":{"version":"6.5.16"},"@storybook/addon-essentials":{"version":"6.5.16"},"@storybook/addon-storysource":{"version":"6.5.16"},"./addons":{"version":null},"storybook-addon-turbo-build":{"version":"1.1.0"}}}