@bifrostui/react 1.1.5 → 1.1.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.
- package/dist/ActionSheet/ActionSheet.css +27 -0
- package/dist/ActionSheet/ActionSheetItem.css +51 -0
- package/dist/Alert/index.css +89 -0
- package/dist/Avatar/Avatar.css +43 -0
- package/dist/Avatar/AvatarGroup.css +31 -0
- package/dist/Backdrop/{Backdrop.less → Backdrop.css} +3 -4
- package/dist/Badge/Badge.css +95 -0
- package/dist/Button/Button.css +200 -0
- package/dist/Calendar/Calendar.css +105 -0
- package/dist/Card/{Card.less → Card.css} +0 -1
- package/dist/Card/CardHeader.css +45 -0
- package/dist/Checkbox/Checkbox.css +45 -0
- package/dist/CitySelector/CitySelector.css +102 -0
- package/dist/CitySelector/Selector/{index.less → index.css} +0 -2
- package/dist/Countdown/Countdown.css +28 -0
- package/dist/Divider/Divider.css +41 -0
- package/dist/Drawer/Drawer.css +35 -0
- package/dist/IconButton/IconButton.css +130 -0
- package/dist/Image/index.css +35 -0
- package/dist/Input/Input.css +59 -0
- package/dist/List/{List.less → List.css} +0 -1
- package/{es/List/ListItem.less → dist/List/ListItem.css} +6 -17
- package/{es/List/ListItemContent.less → dist/List/ListItemContent.css} +2 -7
- package/{es/List/ListItemFooter.less → dist/List/ListItemFooter.css} +3 -4
- package/dist/Loading/Loading.css +31 -0
- package/{es/Modal/Modal.less → dist/Modal/Modal.css} +6 -8
- package/dist/Modal/Modal.miniapp.d.ts +2 -2
- package/dist/NavBar/NavBar.css +57 -0
- package/dist/Picker/Picker.css +53 -0
- package/dist/Picker/PickerPanel.css +54 -0
- package/dist/Progress/Progress.css +22 -0
- package/dist/Radio/Radio.css +65 -0
- package/dist/Rating/Rating.css +52 -0
- package/dist/ScrollView/{ScrollView.less → ScrollView.css} +0 -4
- package/dist/Select/Select.css +89 -0
- package/dist/Skeleton/Skeleton.css +54 -0
- package/dist/Slider/Slider.css +95 -0
- package/dist/Stack/demo/index.css +23 -0
- package/dist/Steps/Step.css +174 -0
- package/{es/Steps/Steps.less → dist/Steps/Steps.css} +3 -5
- package/dist/Swiper/Swiper.css +20 -0
- package/dist/Switch/Switch.css +127 -0
- package/dist/TabBar/TabBarItem.css +38 -0
- package/dist/Tabs/Tab.css +52 -0
- package/dist/Tabs/TabPanel.css +9 -0
- package/dist/Tabs/Tabs.css +56 -0
- package/dist/Tag/Tag.css +97 -0
- package/dist/Tag/TagGroup.css +43 -0
- package/{es/TextArea/TextArea.less → dist/TextArea/TextArea.css} +19 -27
- package/es/ActionSheet/ActionSheet.css +27 -0
- package/es/ActionSheet/ActionSheetItem.css +51 -0
- package/es/Alert/index.css +89 -0
- package/es/Avatar/Avatar.css +43 -0
- package/es/Avatar/AvatarGroup.css +31 -0
- package/es/Backdrop/{Backdrop.less → Backdrop.css} +3 -4
- package/es/Badge/Badge.css +95 -0
- package/es/Button/Button.css +200 -0
- package/es/Calendar/Calendar.css +105 -0
- package/es/Card/{Card.less → Card.css} +0 -1
- package/es/Card/CardHeader.css +45 -0
- package/es/Checkbox/Checkbox.css +45 -0
- package/es/CitySelector/CitySelector.css +102 -0
- package/es/CitySelector/Selector/{index.less → index.css} +0 -2
- package/es/Countdown/Countdown.css +28 -0
- package/es/Divider/Divider.css +41 -0
- package/es/Drawer/Drawer.css +35 -0
- package/es/IconButton/IconButton.css +130 -0
- package/es/Image/index.css +35 -0
- package/es/Input/Input.css +59 -0
- package/es/List/{List.less → List.css} +0 -1
- package/{dist/List/ListItem.less → es/List/ListItem.css} +6 -17
- package/{dist/List/ListItemContent.less → es/List/ListItemContent.css} +2 -7
- package/{dist/List/ListItemFooter.less → es/List/ListItemFooter.css} +3 -4
- package/es/Loading/Loading.css +31 -0
- package/{dist/Modal/Modal.less → es/Modal/Modal.css} +6 -8
- package/es/Modal/Modal.miniapp.d.ts +2 -2
- package/es/NavBar/NavBar.css +57 -0
- package/es/Picker/Picker.css +53 -0
- package/es/Picker/PickerPanel.css +54 -0
- package/es/Progress/Progress.css +22 -0
- package/es/Radio/Radio.css +65 -0
- package/es/Rating/Rating.css +52 -0
- package/es/ScrollView/{ScrollView.less → ScrollView.css} +0 -4
- package/es/Select/Select.css +89 -0
- package/es/Skeleton/Skeleton.css +54 -0
- package/es/Slider/Slider.css +95 -0
- package/es/Stack/demo/index.css +23 -0
- package/es/Steps/Step.css +174 -0
- package/{dist/Steps/Steps.less → es/Steps/Steps.css} +3 -5
- package/es/Swiper/Swiper.css +20 -0
- package/es/Switch/Switch.css +127 -0
- package/es/TabBar/TabBarItem.css +38 -0
- package/es/Tabs/Tab.css +52 -0
- package/es/Tabs/TabPanel.css +9 -0
- package/es/Tabs/Tabs.css +56 -0
- package/es/Tag/Tag.css +97 -0
- package/es/Tag/TagGroup.css +43 -0
- package/{dist/TextArea/TextArea.less → es/TextArea/TextArea.css} +19 -27
- package/package.json +7 -7
- package/dist/ActionSheet/ActionSheet.less +0 -31
- package/dist/ActionSheet/ActionSheetItem.less +0 -62
- package/dist/Alert/index.less +0 -112
- package/dist/Avatar/Avatar.less +0 -52
- package/dist/Avatar/AvatarGroup.less +0 -39
- package/dist/Badge/Badge.less +0 -118
- package/dist/Button/Button.less +0 -244
- package/dist/Calendar/Calendar.less +0 -126
- package/dist/Card/CardHeader.less +0 -53
- package/dist/Checkbox/Checkbox.less +0 -55
- package/dist/CitySelector/CitySelector.less +0 -122
- package/dist/Countdown/Countdown.less +0 -39
- package/dist/Divider/Divider.less +0 -50
- package/dist/Drawer/Drawer.less +0 -40
- package/dist/IconButton/IconButton.less +0 -167
- package/dist/Image/index.less +0 -40
- package/dist/Input/Input.less +0 -72
- package/dist/Loading/Loading.less +0 -40
- package/dist/NavBar/NavBar.less +0 -67
- package/dist/Picker/Picker.less +0 -62
- package/dist/Picker/PickerPanel.less +0 -67
- package/dist/Progress/Progress.less +0 -24
- package/dist/Radio/Radio.less +0 -81
- package/dist/Rating/Rating.less +0 -64
- package/dist/Select/Select.less +0 -105
- package/dist/Skeleton/Skeleton.less +0 -72
- package/dist/Slider/Slider.less +0 -108
- package/dist/Stack/demo/index.less +0 -27
- package/dist/Steps/Step.less +0 -228
- package/dist/Swiper/Swiper.less +0 -25
- package/dist/Switch/Switch.less +0 -177
- package/dist/TabBar/TabBarItem.less +0 -54
- package/dist/Tabs/Tab.less +0 -60
- package/dist/Tabs/TabPanel.less +0 -11
- package/dist/Tabs/Tabs.less +0 -77
- package/dist/Tag/Tag.less +0 -119
- package/dist/Tag/TagGroup.less +0 -52
- package/es/ActionSheet/ActionSheet.less +0 -31
- package/es/ActionSheet/ActionSheetItem.less +0 -62
- package/es/Alert/index.less +0 -112
- package/es/Avatar/Avatar.less +0 -52
- package/es/Avatar/AvatarGroup.less +0 -39
- package/es/Badge/Badge.less +0 -118
- package/es/Button/Button.less +0 -244
- package/es/Calendar/Calendar.less +0 -126
- package/es/Card/CardHeader.less +0 -53
- package/es/Checkbox/Checkbox.less +0 -55
- package/es/CitySelector/CitySelector.less +0 -122
- package/es/Countdown/Countdown.less +0 -39
- package/es/Divider/Divider.less +0 -50
- package/es/Drawer/Drawer.less +0 -40
- package/es/IconButton/IconButton.less +0 -167
- package/es/Image/index.less +0 -40
- package/es/Input/Input.less +0 -72
- package/es/Loading/Loading.less +0 -40
- package/es/NavBar/NavBar.less +0 -67
- package/es/Picker/Picker.less +0 -62
- package/es/Picker/PickerPanel.less +0 -67
- package/es/Progress/Progress.less +0 -24
- package/es/Radio/Radio.less +0 -81
- package/es/Rating/Rating.less +0 -64
- package/es/Select/Select.less +0 -105
- package/es/Skeleton/Skeleton.less +0 -72
- package/es/Slider/Slider.less +0 -108
- package/es/Stack/demo/index.less +0 -27
- package/es/Steps/Step.less +0 -228
- package/es/Swiper/Swiper.less +0 -25
- package/es/Switch/Switch.less +0 -177
- package/es/TabBar/TabBarItem.less +0 -54
- package/es/Tabs/Tab.less +0 -60
- package/es/Tabs/TabPanel.less +0 -11
- package/es/Tabs/Tabs.less +0 -77
- package/es/Tag/Tag.less +0 -119
- package/es/Tag/TagGroup.less +0 -52
- /package/dist/Card/{CardContent.less → CardContent.css} +0 -0
- /package/dist/Card/{CardFooter.less → CardFooter.css} +0 -0
- /package/dist/CitySelector/{miniapp.less → miniapp.css} +0 -0
- /package/dist/List/{ListItemExtra.less → ListItemExtra.css} +0 -0
- /package/dist/List/{ListItemHeader.less → ListItemHeader.css} +0 -0
- /package/dist/Stack/{Stack.less → Stack.css} +0 -0
- /package/dist/TabBar/{TabBar.less → TabBar.css} +0 -0
- /package/es/Card/{CardContent.less → CardContent.css} +0 -0
- /package/es/Card/{CardFooter.less → CardFooter.css} +0 -0
- /package/es/CitySelector/{miniapp.less → miniapp.css} +0 -0
- /package/es/List/{ListItemExtra.less → ListItemExtra.css} +0 -0
- /package/es/List/{ListItemHeader.less → ListItemHeader.css} +0 -0
- /package/es/Stack/{Stack.less → Stack.css} +0 -0
- /package/es/TabBar/{TabBar.less → TabBar.css} +0 -0
package/dist/Tag/Tag.less
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
.bui-tag {
|
|
2
|
-
--color: var(--bui-tag-color, var(--bui-color-gray));
|
|
3
|
-
--border-color: var(--bui-tag-border-color, var(--bui-color-border-gray));
|
|
4
|
-
--bg-color: var(--bui-tag-bg-color, var(--bui-color-gray));
|
|
5
|
-
position: relative;
|
|
6
|
-
display: inline-flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
white-space: nowrap;
|
|
10
|
-
height: 15px;
|
|
11
|
-
line-height: 15px;
|
|
12
|
-
padding: 0 var(--bui-spacing-xs);
|
|
13
|
-
font-size: var(--bui-text-size-5);
|
|
14
|
-
font-weight: var(--bui-font-weight-normal);
|
|
15
|
-
border-radius: var(--bui-shape-radius-label);
|
|
16
|
-
border: 1px solid transparent;
|
|
17
|
-
box-sizing: border-box;
|
|
18
|
-
color: var(--bui-color-bg-view);
|
|
19
|
-
font-family: var(--bui-font-family);
|
|
20
|
-
// 描边
|
|
21
|
-
&-outlined {
|
|
22
|
-
color: var(--color);
|
|
23
|
-
border: 1px solid var(--border-color);
|
|
24
|
-
|
|
25
|
-
&.bui-tag-primary {
|
|
26
|
-
color: var(--bui-color-primary);
|
|
27
|
-
border: 1px solid var(--bui-color-border-primary);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&.bui-tag-info {
|
|
31
|
-
color: var(--bui-color-info);
|
|
32
|
-
border: 1px solid var(--bui-color-border-info);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.bui-tag-warning {
|
|
36
|
-
color: var(--bui-color-warning);
|
|
37
|
-
border: 1px solid var(--bui-color-border-warning);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.bui-tag-success {
|
|
41
|
-
color: var(--bui-color-success);
|
|
42
|
-
border: 1px solid var(--bui-color-border-success);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&.bui-tag-danger {
|
|
46
|
-
color: var(--bui-color-danger);
|
|
47
|
-
border: 1px solid var(--bui-color-border-danger);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&.bui-tag-vip {
|
|
51
|
-
color: var(--bui-color-red);
|
|
52
|
-
border: 1px solid var(--bui-color-border-primary);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// 实心
|
|
57
|
-
&-contained {
|
|
58
|
-
background-color: var(--bg-color);
|
|
59
|
-
|
|
60
|
-
&.bui-tag-primary {
|
|
61
|
-
background-color: var(--bui-color-primary);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&.bui-tag-info {
|
|
65
|
-
background-color: var(--bui-color-info);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&.bui-tag-warning {
|
|
69
|
-
background-color: var(--bui-color-warning);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&.bui-tag-success {
|
|
73
|
-
background-color: var(--bui-color-success);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&.bui-tag-danger {
|
|
77
|
-
background-color: var(--bui-color-danger);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&.bui-tag-vip {
|
|
81
|
-
background-color: var(--bui-color-vip);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&-light {
|
|
86
|
-
background-color: var(--bui-color-gray-light);
|
|
87
|
-
color: var(--bui-color-gray);
|
|
88
|
-
|
|
89
|
-
&.bui-tag-primary {
|
|
90
|
-
background-color: var(--bui-color-primary-light);
|
|
91
|
-
color: var(--bui-color-primary);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&.bui-tag-info {
|
|
95
|
-
background-color: var(--bui-color-info-light);
|
|
96
|
-
color: var(--bui-color-info);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&.bui-tag-warning {
|
|
100
|
-
background-color: var(--bui-color-warning-light);
|
|
101
|
-
color: var(--bui-color-warning);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&.bui-tag-success {
|
|
105
|
-
background-color: var(--bui-color-success-light);
|
|
106
|
-
color: var(--bui-color-success);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&.bui-tag-danger {
|
|
110
|
-
background-color: var(--bui-color-danger-light);
|
|
111
|
-
color: var(--bui-color-danger);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&.bui-tag-vip {
|
|
115
|
-
background-color: fade(#ff866e, 30%);
|
|
116
|
-
color: var(--bui-color-vip);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
package/dist/Tag/TagGroup.less
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
.bui-tag-group {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
font-family: var(--bui-font-family);
|
|
4
|
-
|
|
5
|
-
.bui-tag-outlined {
|
|
6
|
-
background-color: var(--bui-color-white);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.bui-tag-outlined + .bui-tag-contained {
|
|
10
|
-
margin-left: -1px;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.bui-tag-outlined:not(:last-child) {
|
|
14
|
-
position: relative;
|
|
15
|
-
border-right-style: dotted;
|
|
16
|
-
|
|
17
|
-
&::after {
|
|
18
|
-
top: 0;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&::before {
|
|
22
|
-
bottom: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&::after,
|
|
26
|
-
&::before {
|
|
27
|
-
content: '';
|
|
28
|
-
position: absolute;
|
|
29
|
-
right: -1px;
|
|
30
|
-
width: 1px;
|
|
31
|
-
height: 13%;
|
|
32
|
-
color: #fff;
|
|
33
|
-
background-color: #fff;
|
|
34
|
-
border-right-style: solid;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.bui-tag:not(:last-child) {
|
|
39
|
-
border-top-right-radius: 0;
|
|
40
|
-
border-bottom-right-radius: 0;
|
|
41
|
-
|
|
42
|
-
&:not(.bui-tag-outlined) {
|
|
43
|
-
border-right: 0;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.bui-tag:not(:first-child) {
|
|
48
|
-
border-top-left-radius: 0;
|
|
49
|
-
border-bottom-left-radius: 0;
|
|
50
|
-
border-left: 0;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
.bui-action-sheet {
|
|
2
|
-
font-family: var(--bui-font-family);
|
|
3
|
-
|
|
4
|
-
&-content {
|
|
5
|
-
padding-bottom: constant(safe-area-inset-bottom);
|
|
6
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
7
|
-
border-top-left-radius: var(--bui-shape-radius-drawer);
|
|
8
|
-
border-top-right-radius: var(--bui-shape-radius-drawer);
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.bui-action-sheet-cancel {
|
|
13
|
-
border-top: none;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&-gap {
|
|
17
|
-
height: var(--bui-spacing-md);
|
|
18
|
-
background-color: var(--bui-color-bg-default);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&-extra {
|
|
22
|
-
font-size: var(--bui-text-size-1);
|
|
23
|
-
line-height: 23px;
|
|
24
|
-
padding: var(--bui-spacing-xl);
|
|
25
|
-
color: var(--bui-color-fg-muted);
|
|
26
|
-
background: var(--bui-color-bg-view);
|
|
27
|
-
text-align: center;
|
|
28
|
-
border-bottom: 1px solid var(--bui-color-border-default);
|
|
29
|
-
margin: 0 var(--bui-spacing-xl);
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
.bui-action-sheet-item {
|
|
2
|
-
--font-size: var(--bui-title-size-2);
|
|
3
|
-
--color: var(--bui-color-fg-default);
|
|
4
|
-
font-family: var(--bui-font-family);
|
|
5
|
-
position: relative;
|
|
6
|
-
padding: var(--bui-spacing-xl);
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
background: var(--bui-color-bg-view);
|
|
9
|
-
font-size: var(--font-size);
|
|
10
|
-
text-align: center;
|
|
11
|
-
line-height: 24px;
|
|
12
|
-
color: var(--color);
|
|
13
|
-
border-top: 1px solid var(--bui-color-border-default);
|
|
14
|
-
margin: 0 var(--bui-spacing-xl);
|
|
15
|
-
|
|
16
|
-
&:first-child {
|
|
17
|
-
border-top: none;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&:active {
|
|
21
|
-
background-color: var(--bui-color-bg-default);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&-primary {
|
|
25
|
-
--color: var(--bui-color-primary);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&-info {
|
|
29
|
-
--color: var(--bui-color-info);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-success {
|
|
33
|
-
--color: var(--bui-color-success);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&-warning {
|
|
37
|
-
--color: var(--bui-color-warning);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&-danger {
|
|
41
|
-
--color: var(--bui-color-danger);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&-disabled {
|
|
45
|
-
pointer-events: none;
|
|
46
|
-
|
|
47
|
-
.bui-action-sheet-item-content,
|
|
48
|
-
.bui-action-sheet-item-description {
|
|
49
|
-
opacity: 0.5;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&-bold {
|
|
54
|
-
font-weight: bold;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&-description {
|
|
58
|
-
font-size: var(--bui-text-size-2);
|
|
59
|
-
line-height: 19px;
|
|
60
|
-
color: var(--bui-color-fg-subtle);
|
|
61
|
-
}
|
|
62
|
-
}
|
package/es/Alert/index.less
DELETED
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
.bui-alert {
|
|
2
|
-
--bui-alert-marquee-speed: var(--bui-alert-marquee-seed, 10s);
|
|
3
|
-
display: flex;
|
|
4
|
-
padding: 8px;
|
|
5
|
-
border-radius: var(--bui-shape-radius-default);
|
|
6
|
-
align-items: center;
|
|
7
|
-
line-height: 16px;
|
|
8
|
-
font-size: var(--bui-text-size-3);
|
|
9
|
-
font-family: var(--bui-font-family);
|
|
10
|
-
|
|
11
|
-
&-standard {
|
|
12
|
-
&-primary {
|
|
13
|
-
background-color: var(--bui-color-primary-light);
|
|
14
|
-
color: var(--bui-color-primary);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&-success {
|
|
18
|
-
background-color: var(--bui-color-success-light);
|
|
19
|
-
color: var(--bui-color-success);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&-info {
|
|
23
|
-
background-color: var(--bui-color-info-light);
|
|
24
|
-
color: var(--bui-color-info);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&-danger {
|
|
28
|
-
background-color: var(--bui-color-danger-light);
|
|
29
|
-
color: var(--bui-color-danger);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-warning {
|
|
33
|
-
color: var(--bui-color-warning);
|
|
34
|
-
background-color: var(--bui-color-warning-light);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&-outlined {
|
|
39
|
-
&-primary {
|
|
40
|
-
border: 1px solid var(--bui-color-primary);
|
|
41
|
-
color: var(--bui-color-primary);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&-success {
|
|
45
|
-
border: 1px solid var(--bui-color-success);
|
|
46
|
-
color: var(--bui-color-success);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&-info {
|
|
50
|
-
border: 1px solid var(--bui-color-info);
|
|
51
|
-
color: var(--bui-color-info);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&-danger {
|
|
55
|
-
border: 1px solid var(--bui-color-danger);
|
|
56
|
-
color: var(--bui-color-danger);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&-warning {
|
|
60
|
-
border: 1px solid var(--bui-color-warning);
|
|
61
|
-
color: var(--bui-color-warning);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&-default-icon {
|
|
66
|
-
font-size: 15px;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&-content {
|
|
70
|
-
flex-grow: 1;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&-action {
|
|
74
|
-
// fix 小程序上dom被压缩
|
|
75
|
-
flex-shrink: 0;
|
|
76
|
-
margin-left: 16px;
|
|
77
|
-
word-wrap: keep-all;
|
|
78
|
-
font-size: var(--bui-text-size-3);
|
|
79
|
-
cursor: pointer;
|
|
80
|
-
text-align: center;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&-action.bui-icon-btn {
|
|
84
|
-
padding: 0;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&-icon {
|
|
88
|
-
display: flex;
|
|
89
|
-
align-items: center;
|
|
90
|
-
padding-right: 4px;
|
|
91
|
-
vertical-align: middle;
|
|
92
|
-
font-size: 15px;
|
|
93
|
-
cursor: pointer;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&-marquee {
|
|
97
|
-
overflow: hidden;
|
|
98
|
-
|
|
99
|
-
&-content {
|
|
100
|
-
display: inline-block;
|
|
101
|
-
padding-left: 100%;
|
|
102
|
-
white-space: nowrap;
|
|
103
|
-
animation: marquee var(--bui-alert-marquee-speed) linear infinite both;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
@keyframes marquee {
|
|
108
|
-
100% {
|
|
109
|
-
transform: translateX(-100%);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
package/es/Avatar/Avatar.less
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
.bui-avatar {
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: center;
|
|
4
|
-
align-items: center;
|
|
5
|
-
font-size: 12px;
|
|
6
|
-
background-color: var(--bui-color-bg-default);
|
|
7
|
-
font-family: var(--bui-font-family);
|
|
8
|
-
|
|
9
|
-
&-children {
|
|
10
|
-
white-space: nowrap;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
text-overflow: ellipsis;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&-large {
|
|
16
|
-
width: 60px;
|
|
17
|
-
height: 60px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&-medium {
|
|
21
|
-
width: 42px;
|
|
22
|
-
height: 42px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-small {
|
|
26
|
-
width: 30px;
|
|
27
|
-
height: 30px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&-xsmall {
|
|
31
|
-
width: 24px;
|
|
32
|
-
height: 24px;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.bui-avatar-rounded {
|
|
37
|
-
border-radius: 50%;
|
|
38
|
-
|
|
39
|
-
.bui-avatar-img {
|
|
40
|
-
width: 100%;
|
|
41
|
-
height: 100%;
|
|
42
|
-
border-radius: 50%;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.bui-avatar-square {
|
|
47
|
-
border-radius: var(--bui-shape-radius-poster);
|
|
48
|
-
|
|
49
|
-
.bui-avatar-img {
|
|
50
|
-
border-radius: var(--bui-shape-radius-poster);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
.bui-avatar-group {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: row;
|
|
4
|
-
font-family: var(--bui-font-family);
|
|
5
|
-
|
|
6
|
-
&-avatar,
|
|
7
|
-
&-extra {
|
|
8
|
-
box-shadow: 0 0 0 2px var(--bui-color-bg-view);
|
|
9
|
-
color: var(--bui-color-fg-default);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.bui-avatar-xsmall {
|
|
13
|
-
&:not(:first-child) {
|
|
14
|
-
margin-left: -5px;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.bui-avatar-small {
|
|
19
|
-
&:not(:first-child) {
|
|
20
|
-
margin-left: -9px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
box-shadow: 0 0 0 1px var(--bui-color-bg-view);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.bui-avatar-large {
|
|
27
|
-
&:not(:first-child) {
|
|
28
|
-
margin-left: -21px;
|
|
29
|
-
}
|
|
30
|
-
box-shadow: 0 0 0 3px var(--bui-color-bg-view);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.bui-avatar-medium {
|
|
34
|
-
&:not(:first-child) {
|
|
35
|
-
margin-left: -13px;
|
|
36
|
-
}
|
|
37
|
-
box-shadow: 0 0 0 2px var(--bui-color-bg-view);
|
|
38
|
-
}
|
|
39
|
-
}
|
package/es/Badge/Badge.less
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
.bui-badge-position(@offset) {
|
|
2
|
-
top: @offset;
|
|
3
|
-
right: @offset;
|
|
4
|
-
transform: scale(1) translate(50%, -50%);
|
|
5
|
-
}
|
|
6
|
-
.bui-badge-bubble-radius() {
|
|
7
|
-
border-radius: 6px 6px 6px 0;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.bui-badge {
|
|
11
|
-
display: inline-block;
|
|
12
|
-
font-family: var(--bui-font-family);
|
|
13
|
-
|
|
14
|
-
&-position {
|
|
15
|
-
position: relative;
|
|
16
|
-
|
|
17
|
-
.bui-badge-contained,
|
|
18
|
-
.bui-badge-outlined {
|
|
19
|
-
position: absolute;
|
|
20
|
-
.bui-badge-position(14%);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.bui-badge-dot {
|
|
24
|
-
.bui-badge-position(14%);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.bui-badge-bubble {
|
|
28
|
-
.bui-badge-position(14%);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-contained,
|
|
33
|
-
&-outlined {
|
|
34
|
-
display: flex;
|
|
35
|
-
box-sizing: border-box;
|
|
36
|
-
align-items: center;
|
|
37
|
-
justify-content: center;
|
|
38
|
-
min-width: 15px;
|
|
39
|
-
height: 15px;
|
|
40
|
-
line-height: 15px;
|
|
41
|
-
padding: 0 3px;
|
|
42
|
-
font-size: var(--bui-text-size-4);
|
|
43
|
-
border-radius: 8px;
|
|
44
|
-
color: var(--bui-color-bg-view);
|
|
45
|
-
white-space: nowrap;
|
|
46
|
-
z-index: 1;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
&-outlined {
|
|
50
|
-
padding: 0 2px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&-primary {
|
|
54
|
-
background-color: var(--bui-color-primary);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&-success {
|
|
58
|
-
background-color: var(--bui-color-success);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&-info {
|
|
62
|
-
background-color: var(--bui-color-info);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&-warning {
|
|
66
|
-
background-color: var(--bui-color-warning);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&-danger {
|
|
70
|
-
background-color: var(--bui-color-danger);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&-dot {
|
|
74
|
-
width: 9px;
|
|
75
|
-
min-width: 0;
|
|
76
|
-
height: 9px;
|
|
77
|
-
padding: 0;
|
|
78
|
-
border-radius: 100%;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&-bubble {
|
|
82
|
-
.bui-badge-bubble-radius();
|
|
83
|
-
padding: 0 5px;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&-outlined {
|
|
87
|
-
background: var(--bui-color-bg-view);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&-outlined&-primary {
|
|
91
|
-
border: 1px solid var(--bui-color-primary);
|
|
92
|
-
color: var(--bui-color-primary);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
&-outlined&-success {
|
|
96
|
-
border: 1px solid var(--bui-color-success);
|
|
97
|
-
color: var(--bui-color-success);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&-outlined&-info {
|
|
101
|
-
border: 1px solid var(--bui-color-info);
|
|
102
|
-
color: var(--bui-color-info);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
&-outlined&-warning {
|
|
106
|
-
border: 1px solid var(--bui-color-warning);
|
|
107
|
-
color: var(--bui-color-warning);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&-outlined&-danger {
|
|
111
|
-
border: 1px solid var(--bui-color-danger);
|
|
112
|
-
color: var(--bui-color-danger);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&-outlined&-bubble {
|
|
116
|
-
.bui-badge-bubble-radius();
|
|
117
|
-
}
|
|
118
|
-
}
|