@redseed/redseed-ui-vue3 2.19.1 → 2.20.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-vue3",
3
- "version": "2.19.1",
3
+ "version": "2.20.0",
4
4
  "description": "RedSeed UI Vue 3 components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,23 @@
1
+ <script setup>
2
+ import Image from './Image.vue'
3
+
4
+ defineOptions({
5
+ inheritAttrs: false,
6
+ })
7
+ </script>
8
+ <template>
9
+ <div class="rsui-image-64/25">
10
+ <Image v-bind="$attrs">
11
+ <template v-for="(_, name) in $slots"
12
+ v-slot:[name]="slotProps"
13
+ >
14
+ <slot :name="name" v-bind="slotProps"></slot>
15
+ </template>
16
+ </Image>
17
+ </div>
18
+ </template>
19
+ <style lang="scss" scoped>
20
+ .rsui-image-64\/25 {
21
+ @apply aspect-64/25 overflow-hidden;
22
+ }
23
+ </style>
@@ -3,11 +3,12 @@ import Image3By1 from './Image3By1.vue'
3
3
  import Image9By16 from './Image9By16.vue'
4
4
  import Image16By9 from './Image16By9.vue'
5
5
  import ImageCircle from './ImageCircle.vue'
6
-
6
+ import Image64by25 from './Image64by25.vue'
7
7
  export {
8
8
  Image,
9
9
  Image3By1,
10
10
  Image9By16,
11
11
  Image16By9,
12
12
  ImageCircle,
13
- }
13
+ Image64by25,
14
+ }