Skip to content
This repository was archived by the owner on Nov 5, 2023. It is now read-only.

Commit 3a84964

Browse files
committed
DWrapShape - slot for shape content
1 parent 3141f04 commit 3a84964

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

components/d/wrap/Shape.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ defineProps<{
2121
<div class="d-shape">
2222
<div class="d-shape__bg-filter" :class="filterClass" :style="filterStyle">
2323
<div class="d-shape__bg-wrapper">
24-
<div class="d-shape__bg" :class="shapeClass" :style="shapeStyle" />
24+
<div class="d-shape__bg" :class="shapeClass" :style="shapeStyle" >
25+
<slot name="shape-content" />
26+
</div>
2527
<slot name="bg-overlay" />
2628
</div>
2729
</div>

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@d0rich/nuxt-design-system",
3-
"version": "0.6.2",
3+
"version": "0.6.3",
44
"main": "./nuxt.config.ts",
55
"description": "🖼️ Design system for d0rich's projects based on Nuxt 3 and Tailwind CSS",
66
"keywords": [

0 commit comments

Comments
 (0)