@bcrs-shared-components/base-address 2.0.45 → 2.0.46

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.
@@ -61,5 +61,6 @@ FilledInBaseAddress['args'] = {
61
61
  postalCode: 'V8N 1A1',
62
62
  deliveryInstructions: 'Leave at front door'
63
63
  },
64
- noPoBox: true
64
+ noPoBox: true,
65
+ isInactive: false
65
66
  }
package/BaseAddress.vue CHANGED
@@ -18,6 +18,7 @@
18
18
  <div
19
19
  v-if="!editing"
20
20
  class="address-block"
21
+ :class="{ 'inactive' : isInactive }"
21
22
  >
22
23
  <div class="address-block__info pre-line">
23
24
  <div class="address-block__info-row street-address">
@@ -227,6 +228,9 @@ export default class BaseAddress extends Mixins(ValidationMixin, CountriesProvin
227
228
  @Prop({ default: false })
228
229
  readonly excludeBC: boolean
229
230
 
231
+ @Prop({ default: false })
232
+ readonly isInactive: boolean
233
+
230
234
  resetRegion () {
231
235
  this.addressLocal['addressRegion'] = ''
232
236
  }
@@ -542,6 +546,10 @@ export default class BaseAddress extends Mixins(ValidationMixin, CountriesProvin
542
546
  color: $gray7;
543
547
  }
544
548
 
549
+ .inactive, .inactive .address-block__info-row {
550
+ color: $gray5 !important;
551
+ }
552
+
545
553
  // Form Row Elements
546
554
  .form__row.three-column {
547
555
  align-items: stretch;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bcrs-shared-components/base-address",
3
- "version": "2.0.45",
3
+ "version": "2.0.46",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -14,5 +14,5 @@
14
14
  "vue-property-decorator": "^9.1.2",
15
15
  "vuelidate-property-decorators": "1.0.28"
16
16
  },
17
- "gitHead": "173a0b893023c00ed6b18e3c25fd1b5b0c182971"
17
+ "gitHead": "513fd0f2bb1de514272e80f48d8790b44bb1963d"
18
18
  }