@tplc/business 0.0.61 → 0.0.62

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.0.62](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.0.61...v0.0.62) (2024-11-20)
6
+
5
7
  ### [0.0.61](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.27...v0.0.61) (2024-11-20)
6
8
 
7
9
 
@@ -5,7 +5,7 @@
5
5
  marginLeft: transformValueUnit(marginHorizontal || 0),
6
6
  marginRight: transformValueUnit(marginHorizontal || 0),
7
7
  padding: `${transformValueUnit(paddingTop || paddingVertical || 0)} ${transformValueUnit(paddingRight || paddingHorizontal || 0)} ${transformValueUnit(paddingBottom || paddingVertical || 0)} ${transformValueUnit(paddingLeft || paddingHorizontal || 0)}`,
8
- borderRadius: transformValueUnit(radius),
8
+ borderRadius: `${transformValueUnit(topRadius || radius)} ${transformValueUnit(topRadius || radius)} ${transformValueUnit(bottomRadius || radius)} ${transformValueUnit(bottomRadius || radius)}`,
9
9
  color,
10
10
  backgroundColor: innerBackgroundColor,
11
11
  backgroundImage: backgroundImage ? `url('${backgroundImage}')` : '',
@@ -27,6 +27,8 @@ export interface LcbBlockProps {
27
27
  color?: string
28
28
  fontSize?: number
29
29
  radius?: number
30
+ topRadius?: number
31
+ bottomRadius?: number
30
32
  customClass?: string
31
33
  backgroundRepeat?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat'
32
34
  backgroundSize?: string
@@ -1,11 +1,13 @@
1
1
  <template>
2
- <wd-gap
3
- :height="transformValueUnit(height)"
4
- :safe-area-bottom="safeAreaBottom"
5
- :bg-color="bgColor"
6
- :safe-area-top="safeAreaTop"
7
- :custom-class="cutomClass"
8
- />
2
+ <lcb-block v-bind="$props">
3
+ <wd-gap
4
+ :height="transformValueUnit(height)"
5
+ :safe-area-bottom="safeAreaBottom"
6
+ :bg-color="bgColor"
7
+ :safe-area-top="safeAreaTop"
8
+ :custom-class="cutomClass"
9
+ />
10
+ </lcb-block>
9
11
  </template>
10
12
 
11
13
  <script setup lang="ts">
@@ -1,4 +1,6 @@
1
- export interface LcbGapProps {
1
+ import { LcbBlockProps } from '../lcb-block/types'
2
+
3
+ export interface LcbGapProps extends LcbBlockProps {
2
4
  height?: number
3
5
  safeAreaBottom?: boolean
4
6
  bgColor?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.0.61",
3
+ "version": "0.0.62",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -26,6 +26,8 @@ export interface LcbBlockProps {
26
26
  color?: string
27
27
  fontSize?: number
28
28
  radius?: number
29
+ topRadius?: number
30
+ bottomRadius?: number
29
31
  customClass?: string
30
32
  backgroundRepeat?: 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat'
31
33
  backgroundSize?: string
@@ -1,4 +1,5 @@
1
- export interface LcbGapProps {
1
+ import { LcbBlockProps } from '../lcb-block/types'
2
+ export interface LcbGapProps extends LcbBlockProps {
2
3
  height?: number
3
4
  safeAreaBottom?: boolean
4
5
  bgColor?: string