@lancom/shared 0.0.300 → 0.0.301

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.
@@ -4,6 +4,10 @@
4
4
  &__wrapper {
5
5
  padding-top: 36px;
6
6
  }
7
+ &__description {
8
+ margin-top: 15px;
9
+ color: rgb(118, 118, 118);
10
+ }
7
11
  &__header {
8
12
  display: flex;
9
13
  align-items: center;
@@ -79,6 +79,13 @@
79
79
  class="EditorProductDetails__available-warning">
80
80
  Product Not Available in {{ country.name }}
81
81
  </div>
82
+ <div
83
+ v-if="product.description"
84
+ class="EditorProductDetails__description">
85
+ <rich-text
86
+ :text="product.description"
87
+ class="EditorProductDetails__description-text" />
88
+ </div>
82
89
  <div class="EditorProductDetails__product-image">
83
90
  <product-side-with-print
84
91
  :key="side"
@@ -116,6 +123,7 @@ import PricingTable from '@lancom/shared/components/common/pricing_table/pricing
116
123
  import { generateProductLink } from '@lancom/shared/assets/js/utils/product';
117
124
  import Price from '@lancom/shared/components/common/price';
118
125
  import ProductSideWithPrint from '@lancom/shared/components/common/product_side_with_print/product-side-with-print';
126
+ import RichText from '@lancom/shared/components/common/rich-text';
119
127
 
120
128
  export default {
121
129
  name: 'EditorProductDetails',
@@ -125,7 +133,8 @@ export default {
125
133
  EditorPricing,
126
134
  PricingTable,
127
135
  Price,
128
- ProductSideWithPrint
136
+ ProductSideWithPrint,
137
+ RichText
129
138
  },
130
139
  filters: {
131
140
  priceWithTax,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.300",
3
+ "version": "0.0.301",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {