@mekari/pixel-pseudo-box
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -8,4 +8,4 @@ 'use strict'; | ||
/** | ||
* Usage :** ` import { MpPseudoBox } from '@mekari/pixel' ` | ||
**/ | ||
* Usage :** ` import { MpPseudoBox } from '@mekari/pixel' ` | ||
**/ | ||
@@ -12,0 +12,0 @@ const MpPseudoBox = { |
@@ -8,4 +8,4 @@ 'use strict'; | ||
/** | ||
* Usage :** ` import { MpPseudoBox } from '@mekari/pixel' ` | ||
**/ | ||
* Usage :** ` import { MpPseudoBox } from '@mekari/pixel' ` | ||
**/ | ||
@@ -12,0 +12,0 @@ const MpPseudoBox = { |
import { createStyledAttrsMixin } from '@mekari/pixel-utils'; | ||
/** | ||
* Usage :** ` import { MpPseudoBox } from '@mekari/pixel' ` | ||
**/ | ||
* Usage :** ` import { MpPseudoBox } from '@mekari/pixel' ` | ||
**/ | ||
@@ -7,0 +7,0 @@ const MpPseudoBox = { |
{ | ||
"name": "@mekari/pixel-pseudo-box", | ||
"description": "Mekari Pixel | Pseudobox component", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"homepage": "https://mekari.design/", | ||
@@ -31,3 +31,3 @@ "repository": { | ||
"dependencies": { | ||
"@mekari/pixel-utils": "^0.1.0" | ||
"@mekari/pixel-utils": "^0.2.0" | ||
}, | ||
@@ -45,2 +45,2 @@ "devDependencies": { | ||
} | ||
} | ||
} |
@@ -11,2 +11,2 @@ # @mekari/pixel-pseudo-box | ||
npm i @mekari/pixel-pseudo-box | ||
``` | ||
``` |
import { createStyledAttrsMixin } from '@mekari/pixel-utils' | ||
/** | ||
* Usage :** ` import { MpPseudoBox } from '@mekari/pixel' ` | ||
**/ | ||
* Usage :** ` import { MpPseudoBox } from '@mekari/pixel' ` | ||
**/ | ||
export const MpPseudoBox = { | ||
@@ -16,11 +16,15 @@ name: 'MpPseudoBox', | ||
}, | ||
render (h) { | ||
return h(this.as, { | ||
props: { | ||
to: this.to | ||
render(h) { | ||
return h( | ||
this.as, | ||
{ | ||
props: { | ||
to: this.to | ||
}, | ||
class: this.className, | ||
on: this.listeners$, | ||
attrs: this.computedAttrs | ||
}, | ||
class: this.className, | ||
on: this.listeners$, | ||
attrs: this.computedAttrs | ||
}, this.$slots.default) | ||
this.$slots.default | ||
) | ||
} | ||
@@ -27,0 +31,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
3981
119
12
+ Added@mekari/pixel-utils@0.2.0(transitive)
- Removed@mekari/pixel-utils@0.1.1(transitive)
Updated@mekari/pixel-utils@^0.2.0