@bifrostui/react 1.3.1-beta.0 → 1.3.2
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/dist/ActionSheet/ActionSheet.css +3 -6
- package/dist/ActionSheet/ActionSheetItem.css +6 -10
- package/dist/Alert/index.css +8 -14
- package/dist/Avatar/Avatar.css +9 -13
- package/dist/Avatar/AvatarGroup.css +8 -15
- package/dist/Backdrop/Backdrop.css +1 -2
- package/dist/Badge/Badge.css +17 -27
- package/dist/Button/Button.css +17 -26
- package/dist/Calendar/Calendar.css +18 -33
- package/dist/Calendar/Calendar.d.ts +1 -1
- package/dist/Calendar/Calendar.js +17 -38
- package/dist/Calendar/Calendar.types.d.ts +0 -21
- package/dist/Card/CardFooter.css +1 -2
- package/dist/Card/CardHeader.css +1 -3
- package/dist/Checkbox/Checkbox.css +5 -7
- package/dist/CitySelector/CitySelector.css +15 -29
- package/dist/CitySelector/CitySelectorCore.js +16 -25
- package/dist/CitySelector/Selector/index.css +4 -4
- package/dist/Countdown/Countdown.css +1 -2
- package/dist/Dialog/Dialog.d.ts +2 -2
- package/dist/Dialog/Dialog.js +8 -20
- package/dist/Dialog/Dialog.types.d.ts +1 -12
- package/dist/Dialog/FunctionalDialog.js +2 -38
- package/dist/Dialog/index.css +18 -27
- package/dist/Divider/Divider.css +4 -6
- package/dist/IconButton/IconButton.css +7 -9
- package/dist/Image/index.css +1 -2
- package/dist/Input/Input.css +5 -10
- package/dist/List/List.css +0 -3
- package/dist/List/ListItem.css +3 -3
- package/dist/List/ListItemContent.css +1 -1
- package/dist/Loading/Loading.css +2 -4
- package/dist/Modal/Modal.miniapp.d.ts +1 -1
- package/dist/NavBar/NavBar.css +5 -9
- package/dist/Picker/Picker.css +29 -25
- package/dist/Picker/Picker.js +11 -31
- package/dist/Picker/Picker.types.d.ts +0 -4
- package/dist/Picker/PickerPanel.css +8 -8
- package/dist/Picker/PickerPanel.js +8 -14
- package/dist/Picker/utils.d.ts +0 -16
- package/dist/Picker/utils.js +2 -32
- package/dist/Portal/Portal.types.d.ts +0 -4
- package/dist/Portal/PortalCore.js +1 -8
- package/dist/Progress/Progress.css +6 -8
- package/dist/Radio/Radio.css +1 -2
- package/dist/Rating/Rating.css +4 -8
- package/dist/Select/Select.css +10 -21
- package/dist/Select/Select.js +1 -1
- package/dist/Select/SelectOption.js +0 -3
- package/dist/Skeleton/Skeleton.css +2 -3
- package/dist/Slider/Slider.css +13 -24
- package/dist/Steps/Step.css +11 -11
- package/dist/Steps/Steps.css +5 -14
- package/dist/Swiper/Swiper.css +1 -2
- package/dist/Switch/Switch.css +16 -31
- package/dist/TabBar/TabBar.css +3 -7
- package/dist/TabBar/TabBarItem.css +1 -0
- package/dist/Tabs/Tab.css +6 -2
- package/dist/Tabs/Tabs.css +4 -7
- package/dist/Tag/Tag.css +10 -7
- package/dist/Tag/TagGroup.css +1 -9
- package/dist/TextArea/TextArea.css +8 -14
- package/dist/Toast/FunctionalToast.js +0 -18
- package/dist/Toast/Toast.css +14 -15
- package/dist/Toast/Toast.d.ts +2 -2
- package/dist/Toast/Toast.js +48 -52
- package/dist/Toast/Toast.types.d.ts +1 -15
- package/dist/index.d.ts +0 -7
- package/dist/index.js +1 -15
- package/es/ActionSheet/ActionSheet.css +3 -6
- package/es/ActionSheet/ActionSheetItem.css +6 -10
- package/es/Alert/index.css +8 -14
- package/es/Avatar/Avatar.css +9 -13
- package/es/Avatar/AvatarGroup.css +8 -15
- package/es/Backdrop/Backdrop.css +1 -2
- package/es/Badge/Badge.css +17 -27
- package/es/Button/Button.css +17 -26
- package/es/Calendar/Calendar.css +18 -33
- package/es/Calendar/Calendar.d.ts +1 -1
- package/es/Calendar/Calendar.js +17 -38
- package/es/Calendar/Calendar.types.d.ts +0 -21
- package/es/Card/CardFooter.css +1 -2
- package/es/Card/CardHeader.css +1 -3
- package/es/Checkbox/Checkbox.css +5 -7
- package/es/CitySelector/CitySelector.css +15 -29
- package/es/CitySelector/CitySelectorCore.js +16 -25
- package/es/CitySelector/Selector/index.css +4 -4
- package/es/Countdown/Countdown.css +1 -2
- package/es/Dialog/Dialog.d.ts +2 -2
- package/es/Dialog/Dialog.js +8 -20
- package/es/Dialog/Dialog.types.d.ts +1 -12
- package/es/Dialog/FunctionalDialog.js +2 -38
- package/es/Dialog/index.css +18 -27
- package/es/Divider/Divider.css +4 -6
- package/es/IconButton/IconButton.css +7 -9
- package/es/Image/index.css +1 -2
- package/es/Input/Input.css +5 -10
- package/es/List/List.css +0 -3
- package/es/List/ListItem.css +3 -3
- package/es/List/ListItemContent.css +1 -1
- package/es/Loading/Loading.css +2 -4
- package/es/Modal/Modal.miniapp.d.ts +1 -1
- package/es/NavBar/NavBar.css +5 -9
- package/es/Picker/Picker.css +29 -25
- package/es/Picker/Picker.js +12 -32
- package/es/Picker/Picker.types.d.ts +0 -4
- package/es/Picker/PickerPanel.css +8 -8
- package/es/Picker/PickerPanel.js +8 -14
- package/es/Picker/utils.d.ts +0 -16
- package/es/Picker/utils.js +1 -29
- package/es/Portal/Portal.types.d.ts +0 -4
- package/es/Portal/PortalCore.js +1 -8
- package/es/Progress/Progress.css +6 -8
- package/es/Radio/Radio.css +1 -2
- package/es/Rating/Rating.css +4 -8
- package/es/Select/Select.css +10 -21
- package/es/Select/Select.js +1 -1
- package/es/Select/SelectOption.js +0 -3
- package/es/Skeleton/Skeleton.css +2 -3
- package/es/Slider/Slider.css +13 -24
- package/es/Steps/Step.css +11 -11
- package/es/Steps/Steps.css +5 -14
- package/es/Swiper/Swiper.css +1 -2
- package/es/Switch/Switch.css +16 -31
- package/es/TabBar/TabBar.css +3 -7
- package/es/TabBar/TabBarItem.css +1 -0
- package/es/Tabs/Tab.css +6 -2
- package/es/Tabs/Tabs.css +4 -7
- package/es/Tag/Tag.css +10 -7
- package/es/Tag/TagGroup.css +1 -9
- package/es/TextArea/TextArea.css +8 -14
- package/es/Toast/FunctionalToast.js +0 -18
- package/es/Toast/Toast.css +14 -15
- package/es/Toast/Toast.d.ts +2 -2
- package/es/Toast/Toast.js +49 -53
- package/es/Toast/Toast.types.d.ts +1 -15
- package/es/index.d.ts +0 -7
- package/es/index.js +0 -7
- package/package.json +5 -5
- package/dist/Breadcrumb/Breadcrumb.css +0 -34
- package/dist/Breadcrumb/Breadcrumb.d.ts +0 -5
- package/dist/Breadcrumb/Breadcrumb.js +0 -128
- package/dist/Breadcrumb/Breadcrumb.types.d.ts +0 -49
- package/dist/Breadcrumb/Breadcrumb.types.js +0 -15
- package/dist/Breadcrumb/BreadcrumbItem.d.ts +0 -4
- package/dist/Breadcrumb/BreadcrumbItem.js +0 -78
- package/dist/Breadcrumb/index.d.ts +0 -4
- package/dist/Breadcrumb/index.js +0 -45
- package/dist/Collapse/Collapse.css +0 -6
- package/dist/Collapse/Collapse.d.ts +0 -5
- package/dist/Collapse/Collapse.js +0 -165
- package/dist/Collapse/Collapse.types.d.ts +0 -16
- package/dist/Collapse/Collapse.types.js +0 -15
- package/dist/Collapse/index.d.ts +0 -2
- package/dist/Collapse/index.js +0 -41
- package/dist/CollapsePanel/CollapsePanel.css +0 -32
- package/dist/CollapsePanel/CollapsePanel.d.ts +0 -5
- package/dist/CollapsePanel/CollapsePanel.js +0 -159
- package/dist/CollapsePanel/CollapsePanel.types.d.ts +0 -64
- package/dist/CollapsePanel/CollapsePanel.types.js +0 -15
- package/dist/CollapsePanel/CollapsePanelItem.d.ts +0 -4
- package/dist/CollapsePanel/CollapsePanelItem.js +0 -112
- package/dist/CollapsePanel/index.d.ts +0 -4
- package/dist/CollapsePanel/index.js +0 -45
- package/dist/Popover/Popover.css +0 -97
- package/dist/Popover/Popover.d.ts +0 -5
- package/dist/Popover/Popover.js +0 -186
- package/dist/Popover/Popover.types.d.ts +0 -60
- package/dist/Popover/Popover.types.js +0 -15
- package/dist/Popover/index.d.ts +0 -2
- package/dist/Popover/index.js +0 -41
- package/dist/ThemeProvider/ThemeProvider.d.ts +0 -4
- package/dist/ThemeProvider/ThemeProvider.js +0 -90
- package/dist/ThemeProvider/ThemeProvider.types.d.ts +0 -127
- package/dist/ThemeProvider/ThemeProvider.types.js +0 -27
- package/dist/ThemeProvider/hooks/ThemeContext.d.ts +0 -4
- package/dist/ThemeProvider/hooks/ThemeContext.js +0 -35
- package/dist/ThemeProvider/hooks/createTheme.d.ts +0 -2
- package/dist/ThemeProvider/hooks/createTheme.js +0 -55
- package/dist/ThemeProvider/hooks/index.d.ts +0 -4
- package/dist/ThemeProvider/hooks/index.js +0 -43
- package/dist/ThemeProvider/hooks/useTheme.d.ts +0 -1
- package/dist/ThemeProvider/hooks/useTheme.js +0 -39
- package/dist/ThemeProvider/index.d.ts +0 -4
- package/dist/ThemeProvider/index.js +0 -45
- package/dist/ThemeProvider/utils/constants.d.ts +0 -38
- package/dist/ThemeProvider/utils/constants.js +0 -65
- package/dist/ThemeProvider/utils/index.d.ts +0 -2
- package/dist/ThemeProvider/utils/index.js +0 -23
- package/dist/ThemeProvider/utils/mountTokens.d.ts +0 -26
- package/dist/ThemeProvider/utils/mountTokens.js +0 -123
- package/dist/Tooltip/Tooltip.css +0 -91
- package/dist/Tooltip/Tooltip.d.ts +0 -5
- package/dist/Tooltip/Tooltip.js +0 -177
- package/dist/Tooltip/Tooltip.types.d.ts +0 -51
- package/dist/Tooltip/Tooltip.types.js +0 -15
- package/dist/Tooltip/index.d.ts +0 -2
- package/dist/Tooltip/index.js +0 -41
- package/dist/locales/base.d.ts +0 -40
- package/dist/locales/base.js +0 -15
- package/dist/locales/en-US.d.ts +0 -3
- package/dist/locales/en-US.js +0 -69
- package/dist/locales/hooks/useLocaleText.d.ts +0 -3
- package/dist/locales/hooks/useLocaleText.js +0 -43
- package/dist/locales/index.d.ts +0 -5
- package/dist/locales/index.js +0 -49
- package/dist/locales/zh-CN.d.ts +0 -3
- package/dist/locales/zh-CN.js +0 -51
- package/dist/locales/zh-TW.d.ts +0 -3
- package/dist/locales/zh-TW.js +0 -51
- package/es/Breadcrumb/Breadcrumb.css +0 -34
- package/es/Breadcrumb/Breadcrumb.d.ts +0 -5
- package/es/Breadcrumb/Breadcrumb.js +0 -101
- package/es/Breadcrumb/Breadcrumb.types.d.ts +0 -49
- package/es/Breadcrumb/Breadcrumb.types.js +0 -1
- package/es/Breadcrumb/BreadcrumbItem.d.ts +0 -4
- package/es/Breadcrumb/BreadcrumbItem.js +0 -51
- package/es/Breadcrumb/index.d.ts +0 -4
- package/es/Breadcrumb/index.js +0 -9
- package/es/Collapse/Collapse.css +0 -6
- package/es/Collapse/Collapse.d.ts +0 -5
- package/es/Collapse/Collapse.js +0 -144
- package/es/Collapse/Collapse.types.d.ts +0 -16
- package/es/Collapse/Collapse.types.js +0 -1
- package/es/Collapse/index.d.ts +0 -2
- package/es/Collapse/index.js +0 -6
- package/es/CollapsePanel/CollapsePanel.css +0 -32
- package/es/CollapsePanel/CollapsePanel.d.ts +0 -5
- package/es/CollapsePanel/CollapsePanel.js +0 -132
- package/es/CollapsePanel/CollapsePanel.types.d.ts +0 -64
- package/es/CollapsePanel/CollapsePanel.types.js +0 -1
- package/es/CollapsePanel/CollapsePanelItem.d.ts +0 -4
- package/es/CollapsePanel/CollapsePanelItem.js +0 -85
- package/es/CollapsePanel/index.d.ts +0 -4
- package/es/CollapsePanel/index.js +0 -9
- package/es/Popover/Popover.css +0 -97
- package/es/Popover/Popover.d.ts +0 -5
- package/es/Popover/Popover.js +0 -159
- package/es/Popover/Popover.types.d.ts +0 -60
- package/es/Popover/Popover.types.js +0 -1
- package/es/Popover/index.d.ts +0 -2
- package/es/Popover/index.js +0 -6
- package/es/ThemeProvider/ThemeProvider.d.ts +0 -4
- package/es/ThemeProvider/ThemeProvider.js +0 -61
- package/es/ThemeProvider/ThemeProvider.types.d.ts +0 -127
- package/es/ThemeProvider/ThemeProvider.types.js +0 -1
- package/es/ThemeProvider/hooks/ThemeContext.d.ts +0 -4
- package/es/ThemeProvider/hooks/ThemeContext.js +0 -6
- package/es/ThemeProvider/hooks/createTheme.d.ts +0 -2
- package/es/ThemeProvider/hooks/createTheme.js +0 -38
- package/es/ThemeProvider/hooks/index.d.ts +0 -4
- package/es/ThemeProvider/hooks/index.js +0 -8
- package/es/ThemeProvider/hooks/useTheme.d.ts +0 -1
- package/es/ThemeProvider/hooks/useTheme.js +0 -10
- package/es/ThemeProvider/index.d.ts +0 -4
- package/es/ThemeProvider/index.js +0 -8
- package/es/ThemeProvider/utils/constants.d.ts +0 -38
- package/es/ThemeProvider/utils/constants.js +0 -40
- package/es/ThemeProvider/utils/index.d.ts +0 -2
- package/es/ThemeProvider/utils/index.js +0 -2
- package/es/ThemeProvider/utils/mountTokens.d.ts +0 -26
- package/es/ThemeProvider/utils/mountTokens.js +0 -88
- package/es/Tooltip/Tooltip.css +0 -91
- package/es/Tooltip/Tooltip.d.ts +0 -5
- package/es/Tooltip/Tooltip.js +0 -150
- package/es/Tooltip/Tooltip.types.d.ts +0 -51
- package/es/Tooltip/Tooltip.types.js +0 -1
- package/es/Tooltip/index.d.ts +0 -2
- package/es/Tooltip/index.js +0 -6
- package/es/locales/base.d.ts +0 -40
- package/es/locales/base.js +0 -0
- package/es/locales/en-US.d.ts +0 -3
- package/es/locales/en-US.js +0 -50
- package/es/locales/hooks/useLocaleText.d.ts +0 -3
- package/es/locales/hooks/useLocaleText.js +0 -26
- package/es/locales/index.d.ts +0 -5
- package/es/locales/index.js +0 -11
- package/es/locales/zh-CN.d.ts +0 -3
- package/es/locales/zh-CN.js +0 -32
- package/es/locales/zh-TW.d.ts +0 -3
- package/es/locales/zh-TW.js +0 -32
package/dist/Toast/Toast.js
CHANGED
|
@@ -63,59 +63,55 @@ var import_clsx = __toESM(require("clsx"));
|
|
|
63
63
|
var import_react = __toESM(require("react"));
|
|
64
64
|
var import_icons = require("@bifrostui/icons");
|
|
65
65
|
var import_Fade = __toESM(require("../Fade"));
|
|
66
|
-
var import_ThemeProvider = require("../ThemeProvider");
|
|
67
66
|
var import_Toast2 = require("./Toast.css");
|
|
68
67
|
const prefixCls = "bui-toast";
|
|
69
|
-
const ToastComponent = /* @__PURE__ */ import_react.default.forwardRef(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
message
|
|
118
|
-
));
|
|
119
|
-
});
|
|
68
|
+
const ToastComponent = /* @__PURE__ */ import_react.default.forwardRef(
|
|
69
|
+
(props, ref) => {
|
|
70
|
+
const _a = props, {
|
|
71
|
+
className,
|
|
72
|
+
style,
|
|
73
|
+
open,
|
|
74
|
+
type,
|
|
75
|
+
icon,
|
|
76
|
+
message,
|
|
77
|
+
position = "center",
|
|
78
|
+
disableClick = false
|
|
79
|
+
} = _a, others = __objRest(_a, [
|
|
80
|
+
"className",
|
|
81
|
+
"style",
|
|
82
|
+
"open",
|
|
83
|
+
"type",
|
|
84
|
+
"icon",
|
|
85
|
+
"message",
|
|
86
|
+
"position",
|
|
87
|
+
"disableClick"
|
|
88
|
+
]);
|
|
89
|
+
const iconMap = {
|
|
90
|
+
fail: /* @__PURE__ */ import_react.default.createElement(import_icons.ErrorCircleFilledBoldIcon, { htmlColor: "#ffffff" }),
|
|
91
|
+
loading: /* @__PURE__ */ import_react.default.createElement(import_icons.AccessTimeCircleFilledBoldIcon, { htmlColor: "#ffffff" }),
|
|
92
|
+
warning: /* @__PURE__ */ import_react.default.createElement(import_icons.AlertCircleFilledBoldIcon, { htmlColor: "#ffffff" }),
|
|
93
|
+
success: /* @__PURE__ */ import_react.default.createElement(import_icons.SuccessCircleFilledBoldIcon, { htmlColor: "#ffffff" })
|
|
94
|
+
};
|
|
95
|
+
const iconDom = iconMap[type] || icon;
|
|
96
|
+
return /* @__PURE__ */ import_react.default.createElement(import_Fade.default, __spreadProps(__spreadValues({}, others), { in: open, appear: false, unmountOnExit: true }), /* @__PURE__ */ import_react.default.createElement(
|
|
97
|
+
"div",
|
|
98
|
+
{
|
|
99
|
+
className: (0, import_clsx.default)(
|
|
100
|
+
prefixCls,
|
|
101
|
+
`${prefixCls}-${position}`,
|
|
102
|
+
{
|
|
103
|
+
[`${prefixCls}-icon`]: !!iconDom,
|
|
104
|
+
[`${prefixCls}-allow-click`]: !disableClick
|
|
105
|
+
},
|
|
106
|
+
className
|
|
107
|
+
),
|
|
108
|
+
ref,
|
|
109
|
+
style
|
|
110
|
+
},
|
|
111
|
+
iconDom,
|
|
112
|
+
message
|
|
113
|
+
));
|
|
114
|
+
}
|
|
115
|
+
);
|
|
120
116
|
ToastComponent.displayName = "BuiToast";
|
|
121
117
|
var Toast_default = ToastComponent;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FadeProps } from '../Fade/Fade.types';
|
|
3
|
-
import { ThemeProps } from '../ThemeProvider/ThemeProvider.types';
|
|
4
|
-
export type ToastRef = {
|
|
5
|
-
theme?: ThemeProps;
|
|
6
|
-
};
|
|
7
3
|
/**
|
|
8
4
|
* 提示类型
|
|
9
5
|
*/
|
|
@@ -40,10 +36,6 @@ export interface ToastProps extends FadeProps {
|
|
|
40
36
|
* 自定义图标
|
|
41
37
|
*/
|
|
42
38
|
icon?: React.ReactNode;
|
|
43
|
-
/**
|
|
44
|
-
* theme 主题定制
|
|
45
|
-
*/
|
|
46
|
-
theme?: ThemeProps;
|
|
47
39
|
/**
|
|
48
40
|
* 展示Toast时,页面内容是否可以点击
|
|
49
41
|
* @default false
|
|
@@ -70,7 +62,7 @@ export type ToastReturnType = {
|
|
|
70
62
|
/**
|
|
71
63
|
* Toast Instance
|
|
72
64
|
*/
|
|
73
|
-
export interface
|
|
65
|
+
export interface ToastInstance {
|
|
74
66
|
(options: ToastOptions): ToastReturnType;
|
|
75
67
|
/**
|
|
76
68
|
* 警告提示
|
|
@@ -93,9 +85,3 @@ export interface ToastFunction {
|
|
|
93
85
|
*/
|
|
94
86
|
clear: () => void;
|
|
95
87
|
}
|
|
96
|
-
export interface ToastInstance extends ToastFunction {
|
|
97
|
-
/**
|
|
98
|
-
* 获取toast静态方法 & contextHolder
|
|
99
|
-
*/
|
|
100
|
-
useToast: () => [ToastFunction, React.JSX.Element];
|
|
101
|
-
}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ export * from './Button';
|
|
|
7
7
|
export * from './Calendar';
|
|
8
8
|
export * from './Card';
|
|
9
9
|
export * from './Checkbox';
|
|
10
|
-
export * from './Collapse';
|
|
11
10
|
export * from './Divider';
|
|
12
11
|
export * from './Drawer';
|
|
13
12
|
export * from './Fade';
|
|
@@ -16,7 +15,6 @@ export * from './Image';
|
|
|
16
15
|
export * from './Input';
|
|
17
16
|
export * from './List';
|
|
18
17
|
export * from './Modal';
|
|
19
|
-
export * from './Popover';
|
|
20
18
|
export * from './Portal';
|
|
21
19
|
export * from './Progress';
|
|
22
20
|
export * from './Radio';
|
|
@@ -34,16 +32,11 @@ export * from './Tabs';
|
|
|
34
32
|
export * from './Tag';
|
|
35
33
|
export * from './TextArea';
|
|
36
34
|
export * from './Transition';
|
|
37
|
-
export * from './Tooltip';
|
|
38
35
|
export * from './NavBar';
|
|
39
36
|
export * from './Loading';
|
|
40
37
|
export * from './TabBar';
|
|
41
38
|
export * from './Countdown';
|
|
42
39
|
export * from './CitySelector';
|
|
43
40
|
export * from './Picker';
|
|
44
|
-
export * from './CollapsePanel';
|
|
45
|
-
export * from './Breadcrumb';
|
|
46
41
|
export * from './Toast';
|
|
47
42
|
export * from './Dialog';
|
|
48
|
-
export * from './ThemeProvider';
|
|
49
|
-
export * from './locales';
|
package/dist/index.js
CHANGED
|
@@ -23,7 +23,6 @@ __reExport(src_exports, require("./Button"), module.exports);
|
|
|
23
23
|
__reExport(src_exports, require("./Calendar"), module.exports);
|
|
24
24
|
__reExport(src_exports, require("./Card"), module.exports);
|
|
25
25
|
__reExport(src_exports, require("./Checkbox"), module.exports);
|
|
26
|
-
__reExport(src_exports, require("./Collapse"), module.exports);
|
|
27
26
|
__reExport(src_exports, require("./Divider"), module.exports);
|
|
28
27
|
__reExport(src_exports, require("./Drawer"), module.exports);
|
|
29
28
|
__reExport(src_exports, require("./Fade"), module.exports);
|
|
@@ -32,7 +31,6 @@ __reExport(src_exports, require("./Image"), module.exports);
|
|
|
32
31
|
__reExport(src_exports, require("./Input"), module.exports);
|
|
33
32
|
__reExport(src_exports, require("./List"), module.exports);
|
|
34
33
|
__reExport(src_exports, require("./Modal"), module.exports);
|
|
35
|
-
__reExport(src_exports, require("./Popover"), module.exports);
|
|
36
34
|
__reExport(src_exports, require("./Portal"), module.exports);
|
|
37
35
|
__reExport(src_exports, require("./Progress"), module.exports);
|
|
38
36
|
__reExport(src_exports, require("./Radio"), module.exports);
|
|
@@ -50,19 +48,14 @@ __reExport(src_exports, require("./Tabs"), module.exports);
|
|
|
50
48
|
__reExport(src_exports, require("./Tag"), module.exports);
|
|
51
49
|
__reExport(src_exports, require("./TextArea"), module.exports);
|
|
52
50
|
__reExport(src_exports, require("./Transition"), module.exports);
|
|
53
|
-
__reExport(src_exports, require("./Tooltip"), module.exports);
|
|
54
51
|
__reExport(src_exports, require("./NavBar"), module.exports);
|
|
55
52
|
__reExport(src_exports, require("./Loading"), module.exports);
|
|
56
53
|
__reExport(src_exports, require("./TabBar"), module.exports);
|
|
57
54
|
__reExport(src_exports, require("./Countdown"), module.exports);
|
|
58
55
|
__reExport(src_exports, require("./CitySelector"), module.exports);
|
|
59
56
|
__reExport(src_exports, require("./Picker"), module.exports);
|
|
60
|
-
__reExport(src_exports, require("./CollapsePanel"), module.exports);
|
|
61
|
-
__reExport(src_exports, require("./Breadcrumb"), module.exports);
|
|
62
57
|
__reExport(src_exports, require("./Toast"), module.exports);
|
|
63
58
|
__reExport(src_exports, require("./Dialog"), module.exports);
|
|
64
|
-
__reExport(src_exports, require("./ThemeProvider"), module.exports);
|
|
65
|
-
__reExport(src_exports, require("./locales"), module.exports);
|
|
66
59
|
// Annotate the CommonJS export names for ESM import in node:
|
|
67
60
|
0 && (module.exports = {
|
|
68
61
|
...require("./ActionSheet"),
|
|
@@ -74,7 +67,6 @@ __reExport(src_exports, require("./locales"), module.exports);
|
|
|
74
67
|
...require("./Calendar"),
|
|
75
68
|
...require("./Card"),
|
|
76
69
|
...require("./Checkbox"),
|
|
77
|
-
...require("./Collapse"),
|
|
78
70
|
...require("./Divider"),
|
|
79
71
|
...require("./Drawer"),
|
|
80
72
|
...require("./Fade"),
|
|
@@ -83,7 +75,6 @@ __reExport(src_exports, require("./locales"), module.exports);
|
|
|
83
75
|
...require("./Input"),
|
|
84
76
|
...require("./List"),
|
|
85
77
|
...require("./Modal"),
|
|
86
|
-
...require("./Popover"),
|
|
87
78
|
...require("./Portal"),
|
|
88
79
|
...require("./Progress"),
|
|
89
80
|
...require("./Radio"),
|
|
@@ -101,17 +92,12 @@ __reExport(src_exports, require("./locales"), module.exports);
|
|
|
101
92
|
...require("./Tag"),
|
|
102
93
|
...require("./TextArea"),
|
|
103
94
|
...require("./Transition"),
|
|
104
|
-
...require("./Tooltip"),
|
|
105
95
|
...require("./NavBar"),
|
|
106
96
|
...require("./Loading"),
|
|
107
97
|
...require("./TabBar"),
|
|
108
98
|
...require("./Countdown"),
|
|
109
99
|
...require("./CitySelector"),
|
|
110
100
|
...require("./Picker"),
|
|
111
|
-
...require("./CollapsePanel"),
|
|
112
|
-
...require("./Breadcrumb"),
|
|
113
101
|
...require("./Toast"),
|
|
114
|
-
...require("./Dialog")
|
|
115
|
-
...require("./ThemeProvider"),
|
|
116
|
-
...require("./locales")
|
|
102
|
+
...require("./Dialog")
|
|
117
103
|
});
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
.bui-action-sheet {
|
|
2
|
-
--extra-line-height: var(--bui-action-sheet-extra-line-height, 23px);
|
|
3
|
-
--extra-padding: var(--bui-action-sheet-extra-padding, var(--bui-spacing-xl));
|
|
4
|
-
--extra-magin: var(--bui-action-sheet-extra-magin, 0 var(--bui-spacing-xl));
|
|
5
2
|
font-family: var(--bui-font-family);
|
|
6
3
|
}
|
|
7
4
|
.bui-action-sheet-content {
|
|
@@ -20,11 +17,11 @@
|
|
|
20
17
|
}
|
|
21
18
|
.bui-action-sheet-extra {
|
|
22
19
|
font-size: var(--bui-text-size-1);
|
|
23
|
-
line-height:
|
|
24
|
-
padding: var(--
|
|
20
|
+
line-height: 23px;
|
|
21
|
+
padding: var(--bui-spacing-xl);
|
|
25
22
|
color: var(--bui-color-fg-muted);
|
|
26
23
|
background: var(--bui-color-bg-view);
|
|
27
24
|
text-align: center;
|
|
28
25
|
border-bottom: 1px solid var(--bui-color-border-default);
|
|
29
|
-
margin: var(--
|
|
26
|
+
margin: 0 var(--bui-spacing-xl);
|
|
30
27
|
}
|
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
.bui-action-sheet-item {
|
|
2
|
-
--
|
|
3
|
-
--
|
|
4
|
-
--line-height: var(--bui-action-sheet-item-line-height, 24px);
|
|
5
|
-
--color: var(--bui-action-sheet-item-color, var(--bui-color-fg-default));
|
|
6
|
-
--margin: var(--bui-action-sheet-item-margin, 0 var(--bui-spacing-xl));
|
|
7
|
-
--description-line-height: var(--bui-action-sheet-item-description-line-height, 19px);
|
|
2
|
+
--font-size: var(--bui-title-size-2);
|
|
3
|
+
--color: var(--bui-color-fg-default);
|
|
8
4
|
font-family: var(--bui-font-family);
|
|
9
5
|
position: relative;
|
|
10
|
-
padding: var(--
|
|
6
|
+
padding: var(--bui-spacing-xl);
|
|
11
7
|
cursor: pointer;
|
|
12
8
|
background: var(--bui-color-bg-view);
|
|
13
9
|
font-size: var(--font-size);
|
|
14
10
|
text-align: center;
|
|
15
|
-
line-height:
|
|
11
|
+
line-height: 24px;
|
|
16
12
|
color: var(--color);
|
|
17
13
|
border-top: 1px solid var(--bui-color-border-default);
|
|
18
|
-
margin: var(--
|
|
14
|
+
margin: 0 var(--bui-spacing-xl);
|
|
19
15
|
}
|
|
20
16
|
.bui-action-sheet-item:first-child {
|
|
21
17
|
border-top: none;
|
|
@@ -50,6 +46,6 @@
|
|
|
50
46
|
}
|
|
51
47
|
.bui-action-sheet-item-description {
|
|
52
48
|
font-size: var(--bui-text-size-2);
|
|
53
|
-
line-height:
|
|
49
|
+
line-height: 19px;
|
|
54
50
|
color: var(--bui-color-fg-subtle);
|
|
55
51
|
}
|
package/es/Alert/index.css
CHANGED
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
.bui-alert {
|
|
2
|
-
--
|
|
3
|
-
--padding: var(--bui-alert-padding, 8px);
|
|
4
|
-
--line-height: var(--bui-alert-line-height, 16px);
|
|
5
|
-
--default-icon-font-size: var(--bui-alert-default-icon-font-size, 15px);
|
|
6
|
-
--action-margin-left: var(--bui-alert-action-margin-left, 16px);
|
|
7
|
-
--icon-margin-right: var(--bui-alert-icon-margin-right, var(--bui-spacing-xs));
|
|
8
|
-
--icon-font-size: var(--bui-alert-icon-font-size, var(--bui-title-size-4));
|
|
2
|
+
--bui-alert-marquee-speed: var(--bui-alert-marquee-seed, 10s);
|
|
9
3
|
display: flex;
|
|
10
|
-
padding:
|
|
4
|
+
padding: 8px;
|
|
11
5
|
border-radius: var(--bui-shape-radius-default);
|
|
12
6
|
align-items: center;
|
|
13
|
-
line-height:
|
|
7
|
+
line-height: 16px;
|
|
14
8
|
font-size: var(--bui-text-size-3);
|
|
15
9
|
font-family: var(--bui-font-family);
|
|
16
10
|
}
|
|
@@ -55,14 +49,14 @@
|
|
|
55
49
|
color: var(--bui-color-warning);
|
|
56
50
|
}
|
|
57
51
|
.bui-alert-default-icon {
|
|
58
|
-
font-size:
|
|
52
|
+
font-size: 15px;
|
|
59
53
|
}
|
|
60
54
|
.bui-alert-content {
|
|
61
55
|
flex-grow: 1;
|
|
62
56
|
}
|
|
63
57
|
.bui-alert-action {
|
|
64
58
|
flex-shrink: 0;
|
|
65
|
-
margin-left:
|
|
59
|
+
margin-left: 16px;
|
|
66
60
|
word-wrap: keep-all;
|
|
67
61
|
font-size: var(--bui-text-size-3);
|
|
68
62
|
cursor: pointer;
|
|
@@ -74,9 +68,9 @@
|
|
|
74
68
|
.bui-alert-icon {
|
|
75
69
|
display: flex;
|
|
76
70
|
align-items: center;
|
|
77
|
-
|
|
71
|
+
padding-right: 4px;
|
|
78
72
|
vertical-align: middle;
|
|
79
|
-
font-size:
|
|
73
|
+
font-size: 15px;
|
|
80
74
|
cursor: pointer;
|
|
81
75
|
}
|
|
82
76
|
.bui-alert-marquee {
|
|
@@ -86,7 +80,7 @@
|
|
|
86
80
|
display: inline-block;
|
|
87
81
|
padding-left: 100%;
|
|
88
82
|
white-space: nowrap;
|
|
89
|
-
animation: marquee var(--
|
|
83
|
+
animation: marquee var(--bui-alert-marquee-speed) linear infinite both;
|
|
90
84
|
}
|
|
91
85
|
@keyframes marquee {
|
|
92
86
|
100% {
|
package/es/Avatar/Avatar.css
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
.bui-avatar {
|
|
2
|
-
--large-size: var(--bui-avatar-large-size, 60px);
|
|
3
|
-
--medium-size: var(--bui-avatar-medium-size, 42px);
|
|
4
|
-
--small-size: var(--bui-avatar-small-size, 30px);
|
|
5
|
-
--xsmall-size: var(--bui-avatar-xsmall-size, 24px);
|
|
6
2
|
display: flex;
|
|
7
3
|
justify-content: center;
|
|
8
4
|
align-items: center;
|
|
9
|
-
font-size:
|
|
5
|
+
font-size: 12px;
|
|
10
6
|
background-color: var(--bui-color-bg-default);
|
|
11
7
|
font-family: var(--bui-font-family);
|
|
12
8
|
}
|
|
@@ -16,20 +12,20 @@
|
|
|
16
12
|
text-overflow: ellipsis;
|
|
17
13
|
}
|
|
18
14
|
.bui-avatar-large {
|
|
19
|
-
width:
|
|
20
|
-
height:
|
|
15
|
+
width: 60px;
|
|
16
|
+
height: 60px;
|
|
21
17
|
}
|
|
22
18
|
.bui-avatar-medium {
|
|
23
|
-
width:
|
|
24
|
-
height:
|
|
19
|
+
width: 42px;
|
|
20
|
+
height: 42px;
|
|
25
21
|
}
|
|
26
22
|
.bui-avatar-small {
|
|
27
|
-
width:
|
|
28
|
-
height:
|
|
23
|
+
width: 30px;
|
|
24
|
+
height: 30px;
|
|
29
25
|
}
|
|
30
26
|
.bui-avatar-xsmall {
|
|
31
|
-
width:
|
|
32
|
-
height:
|
|
27
|
+
width: 24px;
|
|
28
|
+
height: 24px;
|
|
33
29
|
}
|
|
34
30
|
.bui-avatar-rounded {
|
|
35
31
|
border-radius: 50%;
|
|
@@ -1,38 +1,31 @@
|
|
|
1
1
|
.bui-avatar-group {
|
|
2
|
-
--xsmall-margin-left: var(--bui-avatar-group-xsmall-margin-left, -5px);
|
|
3
|
-
--small-margin-left: var(--bui-avatar-group-small-margin-left, -9px);
|
|
4
|
-
--small-box-shadow: var(--bui-avatar-group-small-box-shadow, 0 0 0 1px var(--bui-color-bg-view));
|
|
5
|
-
--medium-margin-left: var(--bui-avatar-group-medium-margin-left, -13px);
|
|
6
|
-
--medium-box-shadow: var(--bui-avatar-group-medium-box-shadow, 0 0 0 2px var(--bui-color-bg-view));
|
|
7
|
-
--large-margin-left: var(--bui-avatar-group-large-margin-left, -21px);
|
|
8
|
-
--large-box-shadow: var(--bui-avatar-group-large-box-shadow, 0 0 0 3px var(--bui-color-bg-view));
|
|
9
2
|
display: flex;
|
|
10
3
|
flex-direction: row;
|
|
11
4
|
font-family: var(--bui-font-family);
|
|
12
5
|
}
|
|
13
6
|
.bui-avatar-group-avatar,
|
|
14
7
|
.bui-avatar-group-extra {
|
|
15
|
-
box-shadow: var(--
|
|
8
|
+
box-shadow: 0 0 0 2px var(--bui-color-bg-view);
|
|
16
9
|
color: var(--bui-color-fg-default);
|
|
17
10
|
}
|
|
18
11
|
.bui-avatar-group .bui-avatar-xsmall:not(:first-child) {
|
|
19
|
-
margin-left:
|
|
12
|
+
margin-left: -5px;
|
|
20
13
|
}
|
|
21
14
|
.bui-avatar-group .bui-avatar-small {
|
|
22
|
-
box-shadow: var(--
|
|
15
|
+
box-shadow: 0 0 0 1px var(--bui-color-bg-view);
|
|
23
16
|
}
|
|
24
17
|
.bui-avatar-group .bui-avatar-small:not(:first-child) {
|
|
25
|
-
margin-left:
|
|
18
|
+
margin-left: -9px;
|
|
26
19
|
}
|
|
27
20
|
.bui-avatar-group .bui-avatar-large {
|
|
28
|
-
box-shadow: var(--
|
|
21
|
+
box-shadow: 0 0 0 3px var(--bui-color-bg-view);
|
|
29
22
|
}
|
|
30
23
|
.bui-avatar-group .bui-avatar-large:not(:first-child) {
|
|
31
|
-
margin-left:
|
|
24
|
+
margin-left: -21px;
|
|
32
25
|
}
|
|
33
26
|
.bui-avatar-group .bui-avatar-medium {
|
|
34
|
-
box-shadow: var(--
|
|
27
|
+
box-shadow: 0 0 0 2px var(--bui-color-bg-view);
|
|
35
28
|
}
|
|
36
29
|
.bui-avatar-group .bui-avatar-medium:not(:first-child) {
|
|
37
|
-
margin-left:
|
|
30
|
+
margin-left: -13px;
|
|
38
31
|
}
|
package/es/Backdrop/Backdrop.css
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
.bui-backdrop {
|
|
2
|
-
--background-color: var(--bui-backdrop-background-color, rgba(0, 0, 0, 0.68));
|
|
3
2
|
position: fixed;
|
|
4
3
|
display: flex;
|
|
5
4
|
align-items: center;
|
|
@@ -8,7 +7,7 @@
|
|
|
8
7
|
bottom: 0;
|
|
9
8
|
left: 0;
|
|
10
9
|
top: 0;
|
|
11
|
-
background-color:
|
|
10
|
+
background-color: rgba(0, 0, 0, 0.68);
|
|
12
11
|
}
|
|
13
12
|
.bui-backdrop-invisible {
|
|
14
13
|
background-color: transparent;
|
package/es/Badge/Badge.css
CHANGED
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
.bui-badge {
|
|
2
|
-
--badge-position: var(--bui-badge-position, 14%);
|
|
3
|
-
--min-width: var(--bui-badge-min-width, 15px);
|
|
4
|
-
--height: var(--bui-badge-height, 15px);
|
|
5
|
-
--line-height: var(--bui-badge-line-height, 15px);
|
|
6
|
-
--padding: var(--bui-badge-padding, 0 3px);
|
|
7
|
-
--border-radius: var(--bui-badge-border-radius, 8px);
|
|
8
|
-
--outlined-padding: var(--bui-badge-outlined-padding, 0 2px);
|
|
9
|
-
--dot-size: var(--bui-badge-dot-size, 9px);
|
|
10
|
-
--bubble-padding: var(--bui-badge-bubble-padding, 0 5px);
|
|
11
|
-
--bubble-border-radius: var(--bui-badge-bubble-border-radius, 6px 6px 6px 0);
|
|
12
2
|
display: inline-block;
|
|
13
3
|
font-family: var(--bui-font-family);
|
|
14
4
|
}
|
|
@@ -18,18 +8,18 @@
|
|
|
18
8
|
.bui-badge-position .bui-badge-contained,
|
|
19
9
|
.bui-badge-position .bui-badge-outlined {
|
|
20
10
|
position: absolute;
|
|
21
|
-
top:
|
|
22
|
-
right:
|
|
11
|
+
top: 14%;
|
|
12
|
+
right: 14%;
|
|
23
13
|
transform: scale(1) translate(50%, -50%);
|
|
24
14
|
}
|
|
25
15
|
.bui-badge-position .bui-badge-dot {
|
|
26
|
-
top:
|
|
27
|
-
right:
|
|
16
|
+
top: 14%;
|
|
17
|
+
right: 14%;
|
|
28
18
|
transform: scale(1) translate(50%, -50%);
|
|
29
19
|
}
|
|
30
20
|
.bui-badge-position .bui-badge-bubble {
|
|
31
|
-
top:
|
|
32
|
-
right:
|
|
21
|
+
top: 14%;
|
|
22
|
+
right: 14%;
|
|
33
23
|
transform: scale(1) translate(50%, -50%);
|
|
34
24
|
}
|
|
35
25
|
.bui-badge-contained,
|
|
@@ -38,18 +28,18 @@
|
|
|
38
28
|
box-sizing: border-box;
|
|
39
29
|
align-items: center;
|
|
40
30
|
justify-content: center;
|
|
41
|
-
min-width:
|
|
42
|
-
height:
|
|
43
|
-
line-height:
|
|
44
|
-
padding:
|
|
31
|
+
min-width: 15px;
|
|
32
|
+
height: 15px;
|
|
33
|
+
line-height: 15px;
|
|
34
|
+
padding: 0 3px;
|
|
45
35
|
font-size: var(--bui-text-size-4);
|
|
46
|
-
border-radius:
|
|
36
|
+
border-radius: 8px;
|
|
47
37
|
color: var(--bui-color-bg-view);
|
|
48
38
|
white-space: nowrap;
|
|
49
39
|
z-index: 1;
|
|
50
40
|
}
|
|
51
41
|
.bui-badge-outlined {
|
|
52
|
-
padding:
|
|
42
|
+
padding: 0 2px;
|
|
53
43
|
}
|
|
54
44
|
.bui-badge-primary {
|
|
55
45
|
background-color: var(--bui-color-primary);
|
|
@@ -67,15 +57,15 @@
|
|
|
67
57
|
background-color: var(--bui-color-danger);
|
|
68
58
|
}
|
|
69
59
|
.bui-badge-dot {
|
|
70
|
-
width:
|
|
60
|
+
width: 9px;
|
|
71
61
|
min-width: 0;
|
|
72
|
-
height:
|
|
62
|
+
height: 9px;
|
|
73
63
|
padding: 0;
|
|
74
64
|
border-radius: 100%;
|
|
75
65
|
}
|
|
76
66
|
.bui-badge-bubble {
|
|
77
|
-
border-radius:
|
|
78
|
-
padding:
|
|
67
|
+
border-radius: 6px 6px 6px 0;
|
|
68
|
+
padding: 0 5px;
|
|
79
69
|
}
|
|
80
70
|
.bui-badge-outlined {
|
|
81
71
|
background: var(--bui-color-bg-view);
|
|
@@ -101,5 +91,5 @@
|
|
|
101
91
|
color: var(--bui-color-danger);
|
|
102
92
|
}
|
|
103
93
|
.bui-badge-outlined.bui-badge-bubble {
|
|
104
|
-
border-radius:
|
|
94
|
+
border-radius: 6px 6px 6px 0;
|
|
105
95
|
}
|
package/es/Button/Button.css
CHANGED
|
@@ -1,23 +1,14 @@
|
|
|
1
1
|
.bui-btn {
|
|
2
|
-
--border-radius: var(--bui-button-border-radius, 100px);
|
|
3
2
|
--bg-color: var(--bui-button-default-bg-color, var(--bui-color-neutral-5));
|
|
3
|
+
--text-color: var(--bui-button-text-color, var(--bui-color-fg-muted));
|
|
4
4
|
--border-color: var(--bui-button-border-color, var(--bui-color-neutral-4));
|
|
5
|
-
--
|
|
6
|
-
--
|
|
7
|
-
--icon-start-margin-left: var(--bui-button-icon-start-margin-left, var(--bui-spacing-xs));
|
|
8
|
-
--disabled-opacity: var(--bui-button-disabled-opacity, 0.5);
|
|
9
|
-
--small-padding: var(--bui-button-small-padding, 0 11px);
|
|
10
|
-
--small-height: var(--bui-button-small-height, 24px);
|
|
11
|
-
--medium-padding: var(--bui-button-medium-padding, 0 14px);
|
|
12
|
-
--large-padding: var(--bui-button-large-padding, 0 14px);
|
|
13
|
-
--large-height: var(--bui-button-large-height, 33px);
|
|
14
|
-
--full-font-size: var(--bui-button-full-font-size, var(--bui-title-size-4));
|
|
15
|
-
--full-height: var(--bui-button-full-height, 42px);
|
|
5
|
+
--border-radius: var(--bui-button-border-radius, 100px);
|
|
6
|
+
--font-weight: var(--bui-button-font-weight, var(--bui-font-weight-medium));
|
|
16
7
|
border: 1px solid transparent;
|
|
17
8
|
outline: 0;
|
|
18
9
|
background-color: transparent;
|
|
19
10
|
cursor: pointer;
|
|
20
|
-
color: var(--
|
|
11
|
+
color: var(--text-color);
|
|
21
12
|
box-sizing: border-box;
|
|
22
13
|
position: relative;
|
|
23
14
|
display: inline-flex;
|
|
@@ -26,9 +17,9 @@
|
|
|
26
17
|
justify-content: center;
|
|
27
18
|
white-space: nowrap;
|
|
28
19
|
font-size: var(--bui-text-size-3);
|
|
29
|
-
font-weight: var(--
|
|
20
|
+
font-weight: var(--font-weight);
|
|
30
21
|
border-radius: var(--border-radius);
|
|
31
|
-
height:
|
|
22
|
+
height: 27px;
|
|
32
23
|
line-height: var(--bui-line-height);
|
|
33
24
|
font-family: var(--bui-font-family);
|
|
34
25
|
}
|
|
@@ -64,36 +55,36 @@
|
|
|
64
55
|
display: inline-flex;
|
|
65
56
|
align-self: center;
|
|
66
57
|
flex-shrink: 0;
|
|
67
|
-
margin-right: var(--
|
|
58
|
+
margin-right: var(--bui-spacing-xs);
|
|
68
59
|
}
|
|
69
60
|
.bui-btn-icon-end {
|
|
70
61
|
display: inline-flex;
|
|
71
62
|
align-self: center;
|
|
72
63
|
flex-shrink: 0;
|
|
73
|
-
margin-left: var(--
|
|
64
|
+
margin-left: var(--bui-spacing-xs);
|
|
74
65
|
}
|
|
75
66
|
.bui-btn-disabled {
|
|
76
67
|
pointer-events: none;
|
|
77
|
-
opacity:
|
|
68
|
+
opacity: 0.5;
|
|
78
69
|
}
|
|
79
70
|
.bui-btn-small {
|
|
80
71
|
font-size: var(--bui-text-size-4);
|
|
81
|
-
padding:
|
|
82
|
-
height:
|
|
72
|
+
padding: 0 11px;
|
|
73
|
+
height: 24px;
|
|
83
74
|
}
|
|
84
75
|
.bui-btn-medium {
|
|
85
|
-
padding:
|
|
86
|
-
height:
|
|
76
|
+
padding: 0 14px;
|
|
77
|
+
height: 27px;
|
|
87
78
|
}
|
|
88
79
|
.bui-btn-large {
|
|
89
80
|
font-size: var(--bui-text-size-2);
|
|
90
|
-
padding:
|
|
91
|
-
height:
|
|
81
|
+
padding: 0 14px;
|
|
82
|
+
height: 33px;
|
|
92
83
|
}
|
|
93
84
|
.bui-btn-full {
|
|
94
|
-
font-size: var(--
|
|
85
|
+
font-size: var(--bui-title-size-4);
|
|
95
86
|
width: 100%;
|
|
96
|
-
height:
|
|
87
|
+
height: 42px;
|
|
97
88
|
}
|
|
98
89
|
.bui-btn-text.bui-btn-primary {
|
|
99
90
|
color: var(--bui-color-primary);
|