@coffic/cosy-ui 0.9.73 → 0.9.74

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.
@@ -109,6 +109,7 @@ let alertMessage = "";
109
109
  <Container
110
110
  rounded="lg"
111
111
  height="full"
112
+ padding="none"
112
113
  class="cosy:h-full cosy:overflow-y-auto cosy:overscroll-y-contain"
113
114
  background={backgroundColor || 'accent/90'}>
114
115
  <slot />
@@ -25,9 +25,12 @@ const { aspectRatio, fit, rounded, hasExplicitHeight } = Astro.props as Props;
25
25
  <ExplicitHeightAspectRatioBox
26
26
  aspectRatio={aspectRatio}
27
27
  fit={fit}
28
- rounded={rounded}
29
- />
28
+ rounded={rounded}>
29
+ <slot />
30
+ </ExplicitHeightAspectRatioBox>
30
31
  ) : (
31
- <DefaultAspectRatioBox aspectRatio={aspectRatio} rounded={rounded} />
32
+ <DefaultAspectRatioBox aspectRatio={aspectRatio} rounded={rounded}>
33
+ <slot />
34
+ </DefaultAspectRatioBox>
32
35
  )
33
36
  }
@@ -102,8 +102,9 @@ const computedInlineStyles = fitEnabled
102
102
  aspectRatio={aspectRatio!}
103
103
  fit={fit}
104
104
  rounded={rounded}
105
- hasExplicitHeight={hasExplicitHeight}
106
- />
105
+ hasExplicitHeight={hasExplicitHeight}>
106
+ <slot />
107
+ </AspectRatioBox>
107
108
  )
108
109
  }
109
110
 
@@ -106,6 +106,7 @@ const getScaleRatio = () => {
106
106
  <Container
107
107
  rounded="lg"
108
108
  height="full"
109
+ padding="none"
109
110
  class="cosy:h-full cosy:overflow-y-auto cosy:overscroll-y-contain"
110
111
  :background="backgroundColor || 'accent/90'">
111
112
  <slot />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coffic/cosy-ui",
3
- "version": "0.9.73",
3
+ "version": "0.9.74",
4
4
  "description": "An astro component library",
5
5
  "author": {
6
6
  "name": "nookery",