@mekari/pixel-avatar
Advanced tools
Comparing version 0.3.2 to 0.4.0
@@ -442,2 +442,3 @@ 'use strict'; | ||
groupSize: [Number, String, Array], | ||
// **deprecated** | ||
size: { | ||
@@ -524,3 +525,3 @@ type: [Number, String, Array], | ||
created() { | ||
if (typeof this.groupSize !== 'undefined') console.warn('[Pixel warn]: Deprecated on `groupSize` prop and use `size` instead.'); | ||
if (typeof this.groupSize !== 'undefined') console.error('[Pixel error]: Deprecated on `groupSize` prop and use `size` instead.'); | ||
}, | ||
@@ -527,0 +528,0 @@ |
@@ -442,2 +442,3 @@ 'use strict'; | ||
groupSize: [Number, String, Array], | ||
// **deprecated** | ||
size: { | ||
@@ -524,3 +525,3 @@ type: [Number, String, Array], | ||
created() { | ||
if (typeof this.groupSize !== 'undefined') console.warn('[Pixel warn]: Deprecated on `groupSize` prop and use `size` instead.'); | ||
if (typeof this.groupSize !== 'undefined') console.error('[Pixel error]: Deprecated on `groupSize` prop and use `size` instead.'); | ||
}, | ||
@@ -527,0 +528,0 @@ |
@@ -438,2 +438,3 @@ import { MpBox } from '@mekari/pixel-box'; | ||
groupSize: [Number, String, Array], | ||
// **deprecated** | ||
size: { | ||
@@ -520,3 +521,3 @@ type: [Number, String, Array], | ||
created() { | ||
if (typeof this.groupSize !== 'undefined') console.warn('[Pixel warn]: Deprecated on `groupSize` prop and use `size` instead.'); | ||
if (typeof this.groupSize !== 'undefined') console.error('[Pixel error]: Deprecated on `groupSize` prop and use `size` instead.'); | ||
}, | ||
@@ -523,0 +524,0 @@ |
{ | ||
"name": "@mekari/pixel-avatar", | ||
"version": "0.3.2", | ||
"version": "0.4.0", | ||
"description": "Mekari Pixel | Avatar component", | ||
@@ -5,0 +5,0 @@ "homepage": "https://mekari.design/", |
@@ -73,3 +73,3 @@ import { MpFlex } from '@mekari/pixel-flex' | ||
if (typeof this.groupSize !== 'undefined') | ||
console.warn('[Pixel warn]: Deprecated on `groupSize` prop and use `size` instead.') | ||
console.error('[Pixel error]: Deprecated on `groupSize` prop and use `size` instead.') | ||
}, | ||
@@ -76,0 +76,0 @@ render(h) { |
@@ -12,3 +12,3 @@ /** | ||
export const useAvatarGroupProps = { | ||
groupSize: [Number, String, Array], | ||
groupSize: [Number, String, Array], // **deprecated** | ||
size: { type: [Number, String, Array], default: 'md' }, | ||
@@ -15,0 +15,0 @@ borderColor: [String, Array], |
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
58162
2189