@rei/cdr-activity-card
Advanced tools
Comparing version 0.1.1 to 0.1.3
@@ -1,1 +0,1 @@ | ||
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@rei/cdr-img"),require("@rei/cdr-card"),require("@rei/cdr-text"),require("@rei/cdr-media-object"),require("@rei/cdr-rating"),require("@rei/cdr-list")):"function"==typeof define&&define.amd?define("CdrActivityCard",["@rei/cdr-img","@rei/cdr-card","@rei/cdr-text","@rei/cdr-media-object","@rei/cdr-rating","@rei/cdr-list"],r):"object"==typeof exports?exports.CdrActivityCard=r(require("@rei/cdr-img"),require("@rei/cdr-card"),require("@rei/cdr-text"),require("@rei/cdr-media-object"),require("@rei/cdr-rating"),require("@rei/cdr-list")):t.CdrActivityCard=r(t["@rei/cdr-img"],t["@rei/cdr-card"],t["@rei/cdr-text"],t["@rei/cdr-media-object"],t["@rei/cdr-rating"],t["@rei/cdr-list"])}("undefined"!=typeof self?self:this,function(t,r,e,i,n,c){return function(t){var r={};function e(i){if(r[i])return r[i].exports;var n=r[i]={i:i,l:!1,exports:{}};return t[i].call(n.exports,n,n.exports,e),n.l=!0,n.exports}return e.m=t,e.c=r,e.d=function(t,r,i){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="/",e(e.s=1)}([function(t,r,e){"use strict";var i=e(4),n=(e.n(i),e(5)),c=(e.n(n),e(6)),a=(e.n(c),e(7)),o=(e.n(a),e(8)),d=(e.n(o),e(9));e.n(d);r.a={name:"CdrActivityCard",components:{CdrCard:i.CdrCard,CdrText:n.CdrText,cdrImg:c.cdrImg,CdrMediaObject:a.CdrMediaObject,CdrRating:o.CdrRating,CdrList:d.CdrList},props:{media:String,mediaAlt:{type:String,default:" "},mediaRatio:String,mediaCover:Boolean,mediaCrop:String,title:String,titleUrl:{type:String,required:!0},titleLevel:{type:[String,Number],default:"2"},label:String,location:String,snapshot:{type:Array,required:!1},rating:{type:[String,Number]},count:{type:[String,Number]}}}},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i=e(2);e.d(r,"CdrActivityCard",function(){return i.a})},function(t,r,e){"use strict";var i=e(0),n=e(10),c=e(11);var a=function(t){e(3)},o=Object(c.a)(i.a,n.a,n.b,!1,a,null,null);r.a=o.exports},function(t,r){},function(t,e){t.exports=r},function(t,r){t.exports=e},function(r,e){r.exports=t},function(t,r){t.exports=i},function(t,r){t.exports=n},function(t,r){t.exports=c},function(t,r,e){"use strict";e.d(r,"a",function(){return i}),e.d(r,"b",function(){return n});var i=function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("cdr-card",{attrs:{modifier:"activity"}},[e("section",{staticClass:"cdr-inset cdr-inset--remove-top"},[e("cdr-media-object",{attrs:{"img-src":t.media,"img-alt":t.mediaAlt,"img-crop":t.mediaCrop,"img-cover":t.mediaCover,"img-ratio":t.mediaRatio,"img-class":"cdr-card--activity__image","img-modifier":"responsive",modifier:"top stretch","img-radius":"top"}},[null!=t.label?e("div",{staticClass:"cdr-card--activity__label"},[t._v(t._s(t.label))]):t._e(),t._v(" "),null!=t.title?e("cdr-text",{attrs:{tag:"h"+t.titleLevel,modifier:"heading-small"}},[e("a",{staticClass:"cdr-card--activity__title cdr-card--activity__title--action",attrs:{href:t.titleUrl}},[t._v(t._s(t.title))])]):t._e(),t._v(" "),t.snapshot?e("cdr-list",{staticClass:"cdr-card--activity__snapshot",attrs:{modifier:"inline disc compact"}},t._l(t.snapshot,function(r,i){return e("li",{key:i},[t._v("\n "+t._s(r)+"\n ")])})):t._e(),t._v(" "),t.location?e("div",{staticClass:"cdr-card--activity__location"},[t._v("\n "+t._s(t.location)+"\n ")]):t._e(),t._v(" "),null!=t.rating?e("cdr-rating",{staticClass:"cdr-card--activity__rating",attrs:{rating:t.rating,count:t.count,modifier:"medium"}}):t._e()],1)],1)])},n=[]},function(t,r,e){"use strict";r.a=function(t,r,e,i,n,c,a,o){var d=typeof(t=t||{}).default;"object"!==d&&"function"!==d||(t=t.default);var s,u="function"==typeof t?t.options:t;r&&(u.render=r,u.staticRenderFns=e,u._compiled=!0);i&&(u.functional=!0);c&&(u._scopeId=c);a?(s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=s):n&&(s=o?function(){n.call(this,this.$root.$options.shadowRoot)}:n);if(s)if(u.functional){u._injectStyles=s;var l=u.render;u.render=function(t,r){return s.call(r),l(t,r)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,s):[s]}return{exports:t,options:u}}}])}); | ||
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@rei/cdr-card"),require("@rei/cdr-text"),require("@rei/cdr-img"),require("@rei/cdr-media-object"),require("@rei/cdr-rating"),require("@rei/cdr-list")):"function"==typeof define&&define.amd?define("CdrActivityCard",["@rei/cdr-card","@rei/cdr-text","@rei/cdr-img","@rei/cdr-media-object","@rei/cdr-rating","@rei/cdr-list"],r):"object"==typeof exports?exports.CdrActivityCard=r(require("@rei/cdr-card"),require("@rei/cdr-text"),require("@rei/cdr-img"),require("@rei/cdr-media-object"),require("@rei/cdr-rating"),require("@rei/cdr-list")):t.CdrActivityCard=r(t["@rei/cdr-card"],t["@rei/cdr-text"],t["@rei/cdr-img"],t["@rei/cdr-media-object"],t["@rei/cdr-rating"],t["@rei/cdr-list"])}("undefined"!=typeof self?self:this,function(t,r,e,i,c,a){return function(t){var r={};function e(i){if(r[i])return r[i].exports;var c=r[i]={i:i,l:!1,exports:{}};return t[i].call(c.exports,c,c.exports,e),c.l=!0,c.exports}return e.m=t,e.c=r,e.d=function(t,r,i){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},e.p="/",e(e.s=3)}([function(t,r,e){"use strict";var i=e(1);r.a=i.a},function(t,r,e){"use strict";var i=e(7),c=(e.n(i),e(8)),a=(e.n(c),e(9)),n=(e.n(a),e(10)),d=(e.n(n),e(11)),o=(e.n(d),e(12));e.n(o);r.a={name:"CdrActivityCard",components:{CdrCard:i.CdrCard,CdrText:c.CdrText,cdrImg:a.cdrImg,CdrMediaObject:n.CdrMediaObject,CdrRating:d.CdrRating,CdrList:o.CdrList},props:{media:String,mediaAlt:{type:String,default:" "},mediaRatio:String,mediaCover:Boolean,mediaCrop:String,title:String,titleUrl:{type:String,required:!0},titleLevel:{type:[String,Number],default:"2"},label:String,location:String,snapshot:{type:Array,required:!1},rating:{type:[String,Number]},count:{type:[String,Number]}}}},function(t,r){t.exports={"cdr-card--activity":"cdr-card--activity_0.1.3","cdr-card--activity__action":"cdr-card--activity__action_0.1.3","cdr-card--activity__snapshot":"cdr-card--activity__snapshot_0.1.3","cdr-card--activity__label":"cdr-card--activity__label_0.1.3","cdr-card--activity__location":"cdr-card--activity__location_0.1.3","cdr-card--activity__image":"cdr-card--activity__image_0.1.3","cdr-card--activity__title":"cdr-card--activity__title_0.1.3","cdr-card--activity__title--action":"cdr-card--activity__title--action_0.1.3","cdr-card--activity__rating":"cdr-card--activity__rating_0.1.3"}},function(t,r,e){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i=e(4);e.d(r,"CdrActivityCard",function(){return i.a})},function(t,r,e){"use strict";var i=e(5),c=e(0),a=e(13),n=e(14);var d=Object(n.a)(c.a,i.a,i.b,!1,function(t){this.$style=a.default.locals||a.default},null,null);r.a=d.exports},function(t,r,e){"use strict";var i=e(6);e.d(r,"a",function(){return i.a}),e.d(r,"b",function(){return i.b})},function(t,r,e){"use strict";e.d(r,"a",function(){return i}),e.d(r,"b",function(){return c});var i=function(){var t=this,r=t.$createElement,e=t._self._c||r;return e("cdr-card",{class:t.$style["cdr-card--activity"]},[e("section",{staticClass:"cdr-inset cdr-inset--remove-top"},[e("cdr-media-object",{attrs:{"img-src":t.media,"img-alt":t.mediaAlt,"img-crop":t.mediaCrop,"img-cover":t.mediaCover,"img-ratio":t.mediaRatio,"img-class":t.$style["cdr-card--activity__image"],"img-modifier":"responsive",modifier:"top stretch"}},[null!=t.label?e("div",{class:t.$style["cdr-card--activity__label"]},[t._v(t._s(t.label))]):t._e(),t._v(" "),null!=t.title?e("cdr-text",{attrs:{tag:"h"+t.titleLevel,modifier:"heading-small"}},[e("a",{class:[t.$style["cdr-card--activity__title"],t.$style["cdr-card--activity__title--action"]],attrs:{href:t.titleUrl}},[t._v(t._s(t.title))])]):t._e(),t._v(" "),t.snapshot?e("cdr-list",{class:t.$style["cdr-card--activity__snapshot"],attrs:{modifier:"unordered inline compact"}},t._l(t.snapshot,function(r,i){return e("li",{key:i},[t._v("\n "+t._s(r)+"\n ")])})):t._e(),t._v(" "),t.location?e("div",{class:t.$style["cdr-card--activity__location"]},[t._v("\n "+t._s(t.location)+"\n ")]):t._e(),t._v(" "),null!=t.rating?e("cdr-rating",{class:t.$style["cdr-card--activity__rating"],attrs:{rating:t.rating,count:t.count,modifier:"medium"}}):t._e()],1)],1)])},c=[]},function(r,e){r.exports=t},function(t,e){t.exports=r},function(t,r){t.exports=e},function(t,r){t.exports=i},function(t,r){t.exports=c},function(t,r){t.exports=a},function(t,r,e){"use strict";var i=e(2),c=e.n(i);r.default=c.a},function(t,r,e){"use strict";r.a=function(t,r,e,i,c,a,n,d){var o,s="function"==typeof t?t.options:t;r&&(s.render=r,s.staticRenderFns=e,s._compiled=!0);i&&(s.functional=!0);a&&(s._scopeId="data-v-"+a);n?(o=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),c&&c.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(n)},s._ssrRegister=o):c&&(o=d?function(){c.call(this,this.$root.$options.shadowRoot)}:c);if(o)if(s.functional){s._injectStyles=o;var l=s.render;s.render=function(t,r){return o.call(r),l(t,r)}}else{var u=s.beforeCreate;s.beforeCreate=u?[].concat(u,o):[o]}return{exports:t,options:s}}}])}); |
{ | ||
"name": "@rei/cdr-activity-card", | ||
"version": "0.1.1", | ||
"version": "0.1.3", | ||
"author": "REI Software Engineering", | ||
@@ -17,4 +17,7 @@ "description": "REI Cedar Style Framework - Vue Component for Activity Card", | ||
"files": [ | ||
"dist" | ||
"dist" | ||
], | ||
"config": { | ||
"vue_file": "CdrActivityCard" | ||
}, | ||
"main": "dist/cdr-activity-card.js", | ||
@@ -24,26 +27,30 @@ "style": "dist/cdr-activity-card.css", | ||
"prepublishOnly": "npm run build && pkg-ok", | ||
"build": "node build/build.js" | ||
"build": "node build/build.js", | ||
"build:docs": "node build/docs-build.js" | ||
}, | ||
"peerDependencies": { | ||
"@rei/cdr-assets": "^0.1.0", | ||
"@rei/cdr-card": "^0.1.0", | ||
"@rei/cdr-icon": "^0.1.0", | ||
"@rei/cdr-img": "^0.1.0", | ||
"@rei/cdr-list": "^0.1.0", | ||
"@rei/cdr-assets": "^0.3.0", | ||
"@rei/cdr-card": "^0.2.0", | ||
"@rei/cdr-icon": "^1.0.0", | ||
"@rei/cdr-img": "^1.0.0", | ||
"@rei/cdr-list": "^1.0.0", | ||
"@rei/cdr-media-object": "^0.1.0", | ||
"@rei/cdr-rating": "^0.1.0", | ||
"@rei/cdr-text": "^0.2.0", | ||
"@rei/cdr-rating": "^1.0.0-alpha.1", | ||
"@rei/cdr-text": "^1.0.0", | ||
"vue": "^2.5.13" | ||
}, | ||
"devDependencies": { | ||
"@rei/cdr-assets": "^0.1.0", | ||
"@rei/cdr-card": "^0.1.0", | ||
"@rei/cdr-icon": "^0.1.0", | ||
"@rei/cdr-img": "^0.1.0", | ||
"@rei/cdr-list": "^0.1.0", | ||
"@rei/cdr-assets": "^0.3.0", | ||
"@rei/cdr-card": "^0.2.0", | ||
"@rei/cdr-icon": "^1.0.0", | ||
"@rei/cdr-img": "^1.0.0", | ||
"@rei/cdr-list": "^1.0.0", | ||
"@rei/cdr-media-object": "^0.1.0", | ||
"@rei/cdr-rating": "^0.1.0", | ||
"@rei/cdr-text": "^0.2.0", | ||
"@rei/cdr-rating": "^1.0.0-alpha.1", | ||
"@rei/cdr-text": "^1.0.0", | ||
"pkg-ok": "^1.1.0" | ||
}, | ||
"dependencies": { | ||
"@rei/cdr-link": "^1.0.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
197193
6
10
2
+ Added@rei/cdr-link@^1.0.0
+ Added@rei/cdr-card@0.2.4(transitive)
+ Added@rei/cdr-icon@1.0.0(transitive)
+ Added@rei/cdr-list@1.0.3(transitive)
+ Added@rei/cdr-rating@1.0.2(transitive)
+ Added@rei/cdr-text@1.0.3(transitive)
- Removed@rei/cdr-assets@0.1.0(transitive)
- Removed@rei/cdr-card@0.1.0(transitive)
- Removed@rei/cdr-icon@0.1.0(transitive)
- Removed@rei/cdr-img@0.1.0(transitive)
- Removed@rei/cdr-list@0.1.0(transitive)
- Removed@rei/cdr-rating@0.1.1(transitive)
- Removed@rei/cdr-text@0.2.1(transitive)
- Removedsvgxuse@1.2.6(transitive)