@bifrostui/react 2.0.0-alpha.5 → 2.0.0-alpha.7

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.
@@ -20,8 +20,8 @@ xhs-page {
20
20
  --bui-btn-small-padding: 0 11px;
21
21
  --bui-btn-padding: 0 14px;
22
22
  --bui-btn-large-padding: 0 14px;
23
+ --bui-btn-large-font-size: var(--bui-text-size-2);
23
24
  --bui-btn-full-font-size: var(--bui-title-size-4);
24
- --bui-btn-full-font-family: var(--bui-font-family);
25
25
  }
26
26
  .bui-btn {
27
27
  outline: 0;
@@ -95,13 +95,12 @@ xhs-page {
95
95
  border-radius: var(--bui-btn-small-border-radius);
96
96
  }
97
97
  .bui-btn-large {
98
- font-size: var(--bui-text-size-2);
98
+ font-size: var(--bui-btn-large-font-size);
99
99
  padding: var(--bui-btn-large-padding);
100
100
  height: var(--bui-btn-large-height);
101
101
  border-radius: var(--bui-btn-large-border-radius);
102
102
  }
103
103
  .bui-btn-full {
104
- font-family: var(--bui-btn-full-font-family);
105
104
  font-size: var(--bui-btn-full-font-size);
106
105
  width: 100%;
107
106
  height: var(--bui-btn-full-height);
@@ -20,8 +20,8 @@ xhs-page {
20
20
  --bui-btn-small-padding: 0 11px;
21
21
  --bui-btn-padding: 0 14px;
22
22
  --bui-btn-large-padding: 0 14px;
23
+ --bui-btn-large-font-size: var(--bui-text-size-2);
23
24
  --bui-btn-full-font-size: var(--bui-title-size-4);
24
- --bui-btn-full-font-family: var(--bui-font-family);
25
25
  }
26
26
  .bui-btn {
27
27
  outline: 0;
@@ -95,13 +95,12 @@ xhs-page {
95
95
  border-radius: var(--bui-btn-small-border-radius);
96
96
  }
97
97
  .bui-btn-large {
98
- font-size: var(--bui-text-size-2);
98
+ font-size: var(--bui-btn-large-font-size);
99
99
  padding: var(--bui-btn-large-padding);
100
100
  height: var(--bui-btn-large-height);
101
101
  border-radius: var(--bui-btn-large-border-radius);
102
102
  }
103
103
  .bui-btn-full {
104
- font-family: var(--bui-btn-full-font-family);
105
104
  font-size: var(--bui-btn-full-font-size);
106
105
  width: 100%;
107
106
  height: var(--bui-btn-full-height);
@@ -12,5 +12,5 @@ declare const Modal: React.ForwardRefExoticComponent<Omit<ViewProps & {
12
12
  keepMounted?: boolean;
13
13
  } & import("@bifrostui/types").ICommonProps & Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
14
14
  ref?: React.Ref<HTMLDivElement>;
15
- }, "open" | "container" | keyof import("@bifrostui/types").ICommonProps | "disablePortal" | "hideBackdrop" | "BackdropProps" | "onClose" | "disableScrollLock" | "keepMounted">, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
+ }, keyof import("@bifrostui/types").ICommonProps | "open" | "container" | "disablePortal" | "hideBackdrop" | "BackdropProps" | "onClose" | "disableScrollLock" | "keepMounted">, "ref"> & React.RefAttributes<HTMLDivElement>>;
16
16
  export default Modal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bifrostui/react",
3
- "version": "2.0.0-alpha.5",
3
+ "version": "2.0.0-alpha.7",
4
4
  "description": "React components for building mobile application",
5
5
  "homepage": "http://bui.taopiaopiao.com",
6
6
  "license": "MIT",
@@ -43,10 +43,10 @@
43
43
  "clsx": "^2.1.1",
44
44
  "dayjs": "^1.11.7",
45
45
  "swiper": "^8.1.5",
46
- "@bifrostui/icons": "2.0.0-alpha.5",
47
- "@bifrostui/styles": "2.0.0-alpha.5",
48
- "@bifrostui/utils": "2.0.0-alpha.5",
49
- "@bifrostui/types": "2.0.0-alpha.5"
46
+ "@bifrostui/icons": "2.0.0-alpha.7",
47
+ "@bifrostui/styles": "2.0.0-alpha.7",
48
+ "@bifrostui/utils": "2.0.0-alpha.7",
49
+ "@bifrostui/types": "2.0.0-alpha.7"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@tarojs/components": "^3.0.0",