@caweb/template 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ v1.0.2
2
+ - Removed divi reference
3
+
1
4
  v1.0.1
2
5
  - Fixed issue with alerts component
3
6
 
@@ -6,7 +6,7 @@
6
6
  <!-- Card -->
7
7
  <div class="card card-
8
8
  {{~#if this.layout}}{{ this.layout }}{{else}}default{{/if}}
9
- {{~#if this.divi}}{{#ifCond 'blurb' '===' this.divi }} {{ this.divi }} bg-transparent{{/ifCond}}{{/if}}">
9
+ {{#if this.class}} {{ this.class }}{{/if}}">
10
10
  {{#if this.img }}
11
11
  {{#ifCond (ifCond this.imgPlacement '===' 'top' ) '||' (not this.imgPlacement ) }}
12
12
  <img class="{{#if this.imgAlignment }}d-block{{{bsAttr 'spacing' this.imgAlignment }}}{{else}}card-img-top{{/if}}" src="{{ this.img }}" alt="Card image size">
@@ -29,7 +29,7 @@
29
29
  {{/if}}
30
30
  <div class="card-body{{bsAttr 'text' this.contentColor }}">
31
31
  {{#if this.subHeading }}
32
- <div class="card-title{{bsAttr 'text' this.subHeadingAlignment }}">{{~ this.subHeading ~}}</div>
32
+ <div class="card-title{{bsAttr 'text' this.subHeadingAlignment }}"{{#if this.url }} data-url="{{this.url}}"{{/if}}>{{~ this.subHeading ~}}</div>
33
33
  {{/if}}
34
34
  {{{ this.content }}}
35
35
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/template",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "author": "CAWebPublishing",
5
5
  "description": "CAWebPublishing Template",
6
6
  "license": "ISC",
@@ -34,6 +34,6 @@
34
34
  "@caweb/icon-library": "^1.1.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@caweb/webpack": "^1.4.2"
37
+ "@caweb/webpack": "^1.4.3"
38
38
  }
39
39
  }