sling-web-component-table
Advanced tools
Comparing version 0.9.0 to 0.10.0
@@ -20,3 +20,3 @@ 'use strict'; | ||
var formtatCurrencyWithoutSymbol = _cjs.globalFormatters.formtatCurrencyWithoutSymbol; | ||
var formatCurrencyWithoutSymbol = _cjs.globalFormatters.formatCurrencyWithoutSymbol; | ||
@@ -228,3 +228,3 @@ var Table = exports.Table = function (_HTMLElement) { | ||
{ | ||
var value = formtatCurrencyWithoutSymbol(fieldItem); | ||
var value = formatCurrencyWithoutSymbol(fieldItem); | ||
var valueClass = fieldItem < 0 ? 'emd-table__value_negative' : ''; | ||
@@ -231,0 +231,0 @@ cell = '\n <div class="emd-table__currency">\n <span class="emd-table__symbol">' + 'R$' + '</span>\n <span class="emd-table__value ' + valueClass + '">' + value + '</span>\n </div>\n '; |
import { imask, globalFormatters } from 'sling-web-helpers/dist/es'; | ||
import 'sling-web-component-brand-icon/dist/es'; | ||
const { formtatCurrencyWithoutSymbol } = globalFormatters; | ||
const { formatCurrencyWithoutSymbol } = globalFormatters; | ||
@@ -111,3 +111,3 @@ export class Table extends HTMLElement { | ||
{ | ||
const value = formtatCurrencyWithoutSymbol(fieldItem); | ||
const value = formatCurrencyWithoutSymbol(fieldItem); | ||
const valueClass = fieldItem < 0 ? 'emd-table__value_negative' : ''; | ||
@@ -114,0 +114,0 @@ cell = ` |
{ | ||
"name": "sling-web-component-table", | ||
"version": "0.9.0", | ||
"version": "0.10.0", | ||
"description": "Sling Table component", | ||
@@ -28,6 +28,6 @@ "author": "Stone Pagamentos", | ||
"dependencies": { | ||
"sling-web-component-brand-icon": "^0.9.0", | ||
"sling-web-framework": "^0.9.0", | ||
"sling-web-helpers": "^0.9.0" | ||
"sling-web-component-brand-icon": "^0.10.0", | ||
"sling-web-framework": "^0.10.0", | ||
"sling-web-helpers": "^0.10.0" | ||
} | ||
} |
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
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
34098
+ Addedsling-web-component-brand-icon@0.10.1(transitive)
+ Addedsling-web-component-sdk-connect@0.10.1(transitive)
+ Addedsling-web-framework@0.10.1(transitive)
+ Addedsling-web-helpers@0.10.1(transitive)
+ Addedsling-web-sdk@0.10.1(transitive)
- Removed@polymer/lit-element@0.2.3(transitive)
- Removed@polymer/polymer@3.5.2(transitive)
- Removed@webcomponents/shadycss@1.11.2(transitive)
- Removedlit-html@0.9.0(transitive)
- Removedmoment@2.30.1(transitive)
- Removedsling-web-component-brand-icon@0.9.0(transitive)
- Removedsling-web-component-sdk-connect@0.9.0(transitive)
- Removedsling-web-framework@0.9.0(transitive)
- Removedsling-web-helpers@0.9.0(transitive)
- Removedsling-web-sdk@0.9.0(transitive)
Updatedsling-web-framework@^0.10.0
Updatedsling-web-helpers@^0.10.0