@bifrostui/react 1.0.5 → 1.1.5
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.less +31 -0
- package/dist/ActionSheet/ActionSheetItem.less +62 -0
- package/dist/Alert/index.less +112 -0
- package/dist/Avatar/Avatar.less +52 -0
- package/dist/Avatar/AvatarGroup.less +39 -0
- package/dist/Backdrop/{Backdrop.css → Backdrop.less} +4 -3
- package/dist/Badge/Badge.less +118 -0
- package/dist/Button/Button.less +244 -0
- package/dist/Calendar/Calendar.less +126 -0
- package/{es/Card/Card.css → dist/Card/Card.less} +1 -0
- package/dist/Card/CardHeader.less +53 -0
- package/dist/Checkbox/Checkbox.less +55 -0
- package/dist/CitySelector/CitySelector.d.ts +4 -0
- package/dist/CitySelector/CitySelector.js +36 -0
- package/dist/CitySelector/CitySelector.less +122 -0
- package/dist/CitySelector/CitySelector.miniapp.d.ts +5 -0
- package/dist/CitySelector/CitySelector.miniapp.js +79 -0
- package/dist/CitySelector/CitySelector.types.d.ts +47 -0
- package/dist/CitySelector/CitySelector.types.js +5 -0
- package/dist/CitySelector/CitySelectorCore.d.ts +5 -0
- package/dist/CitySelector/CitySelectorCore.js +183 -0
- package/dist/CitySelector/Selector/index.d.ts +9 -0
- package/dist/CitySelector/Selector/index.js +22 -0
- package/dist/CitySelector/Selector/index.less +13 -0
- package/dist/CitySelector/index.d.ts +2 -0
- package/dist/CitySelector/index.js +34 -0
- package/dist/CitySelector/miniapp.less +4 -0
- package/dist/Countdown/Countdown.less +39 -0
- package/dist/Divider/Divider.less +50 -0
- package/dist/Drawer/Drawer.less +40 -0
- package/dist/IconButton/IconButton.less +167 -0
- package/dist/Image/index.less +40 -0
- package/dist/Input/Input.less +72 -0
- package/dist/List/{List.css → List.less} +1 -0
- package/dist/List/{ListItem.css → ListItem.less} +17 -6
- package/dist/List/{ListItemContent.css → ListItemContent.less} +7 -2
- package/dist/List/{ListItemFooter.css → ListItemFooter.less} +4 -3
- package/dist/Loading/Loading.less +40 -0
- package/dist/Modal/{Modal.css → Modal.less} +8 -6
- package/dist/Modal/Modal.miniapp.d.ts +16 -0
- package/dist/Modal/Modal.miniapp.js +73 -0
- package/dist/NavBar/NavBar.less +67 -0
- package/dist/Picker/Picker.d.ts +5 -0
- package/dist/Picker/Picker.js +155 -0
- package/dist/Picker/Picker.less +62 -0
- package/dist/Picker/Picker.types.d.ts +98 -0
- package/dist/Picker/Picker.types.js +5 -0
- package/dist/Picker/PickerPanel.d.ts +5 -0
- package/dist/Picker/PickerPanel.js +210 -0
- package/dist/Picker/PickerPanel.less +67 -0
- package/dist/Picker/index.d.ts +2 -0
- package/dist/Picker/index.js +34 -0
- package/dist/Picker/utils.d.ts +13 -0
- package/dist/Picker/utils.js +66 -0
- package/dist/Progress/Progress.less +24 -0
- package/dist/Radio/Radio.less +81 -0
- package/dist/Rating/Rating.less +64 -0
- package/dist/ScrollView/{ScrollView.css → ScrollView.less} +4 -0
- package/dist/Select/Select.less +105 -0
- package/dist/Skeleton/Skeleton.less +72 -0
- package/dist/Slider/Slider.less +108 -0
- package/dist/Stack/demo/index.less +27 -0
- package/dist/Steps/Step.less +228 -0
- package/{es/Steps/Steps.css → dist/Steps/Steps.less} +5 -3
- package/dist/Swiper/Swiper.less +25 -0
- package/dist/Switch/Switch.less +177 -0
- package/dist/TabBar/TabBarItem.less +54 -0
- package/dist/Tabs/Tab.js +1 -1
- package/dist/Tabs/Tab.less +60 -0
- package/dist/Tabs/TabPanel.less +11 -0
- package/dist/Tabs/Tabs.less +77 -0
- package/dist/Tag/Tag.less +119 -0
- package/dist/Tag/TagGroup.less +52 -0
- package/dist/TextArea/{TextArea.css → TextArea.less} +27 -19
- package/dist/index.d.ts +2 -0
- package/dist/index.js +22 -0
- package/es/ActionSheet/ActionSheet.less +31 -0
- package/es/ActionSheet/ActionSheetItem.less +62 -0
- package/es/Alert/index.less +112 -0
- package/es/Avatar/Avatar.less +52 -0
- package/es/Avatar/AvatarGroup.less +39 -0
- package/es/Backdrop/{Backdrop.css → Backdrop.less} +4 -3
- package/es/Badge/Badge.less +118 -0
- package/es/Button/Button.less +244 -0
- package/es/Calendar/Calendar.less +126 -0
- package/{dist/Card/Card.css → es/Card/Card.less} +1 -0
- package/es/Card/CardHeader.less +53 -0
- package/es/Checkbox/Checkbox.less +55 -0
- package/es/CitySelector/CitySelector.d.ts +4 -0
- package/es/CitySelector/CitySelector.js +36 -0
- package/es/CitySelector/CitySelector.less +122 -0
- package/es/CitySelector/CitySelector.miniapp.d.ts +5 -0
- package/es/CitySelector/CitySelector.miniapp.js +77 -0
- package/es/CitySelector/CitySelector.types.d.ts +47 -0
- package/es/CitySelector/CitySelector.types.js +1 -0
- package/es/CitySelector/CitySelectorCore.d.ts +5 -0
- package/es/CitySelector/CitySelectorCore.js +194 -0
- package/es/CitySelector/Selector/index.d.ts +9 -0
- package/es/CitySelector/Selector/index.js +13 -0
- package/es/CitySelector/Selector/index.less +13 -0
- package/es/CitySelector/index.d.ts +2 -0
- package/es/CitySelector/index.js +2 -0
- package/es/CitySelector/miniapp.less +4 -0
- package/es/Countdown/Countdown.less +39 -0
- package/es/Divider/Divider.less +50 -0
- package/es/Drawer/Drawer.less +40 -0
- package/es/IconButton/IconButton.less +167 -0
- package/es/Image/index.less +40 -0
- package/es/Input/Input.less +72 -0
- package/es/List/{List.css → List.less} +1 -0
- package/es/List/{ListItem.css → ListItem.less} +17 -6
- package/es/List/{ListItemContent.css → ListItemContent.less} +7 -2
- package/es/List/{ListItemFooter.css → ListItemFooter.less} +4 -3
- package/es/Loading/Loading.less +40 -0
- package/es/Modal/{Modal.css → Modal.less} +8 -6
- package/es/Modal/Modal.miniapp.d.ts +16 -0
- package/es/Modal/Modal.miniapp.js +78 -0
- package/es/NavBar/NavBar.less +67 -0
- package/es/Picker/Picker.d.ts +5 -0
- package/es/Picker/Picker.js +171 -0
- package/es/Picker/Picker.less +62 -0
- package/es/Picker/Picker.types.d.ts +98 -0
- package/es/Picker/Picker.types.js +1 -0
- package/es/Picker/PickerPanel.d.ts +5 -0
- package/es/Picker/PickerPanel.js +234 -0
- package/es/Picker/PickerPanel.less +67 -0
- package/es/Picker/index.d.ts +2 -0
- package/es/Picker/index.js +2 -0
- package/es/Picker/utils.d.ts +13 -0
- package/es/Picker/utils.js +65 -0
- package/es/Progress/Progress.less +24 -0
- package/es/Radio/Radio.less +81 -0
- package/es/Rating/Rating.less +64 -0
- package/es/ScrollView/{ScrollView.css → ScrollView.less} +4 -0
- package/es/Select/Select.less +105 -0
- package/es/Skeleton/Skeleton.less +72 -0
- package/es/Slider/Slider.less +108 -0
- package/es/Stack/demo/index.less +27 -0
- package/es/Steps/Step.less +228 -0
- package/{dist/Steps/Steps.css → es/Steps/Steps.less} +5 -3
- package/es/Swiper/Swiper.less +25 -0
- package/es/Switch/Switch.less +177 -0
- package/es/TabBar/TabBarItem.less +54 -0
- package/es/Tabs/Tab.js +1 -1
- package/es/Tabs/Tab.less +60 -0
- package/es/Tabs/TabPanel.less +11 -0
- package/es/Tabs/Tabs.less +77 -0
- package/es/Tag/Tag.less +119 -0
- package/es/Tag/TagGroup.less +52 -0
- package/es/TextArea/{TextArea.css → TextArea.less} +27 -19
- package/es/index.d.ts +2 -0
- package/es/index.js +3 -1
- package/package.json +6 -6
- package/dist/ActionSheet/ActionSheet.css +0 -27
- package/dist/ActionSheet/ActionSheetItem.css +0 -51
- package/dist/Alert/index.css +0 -89
- package/dist/Avatar/Avatar.css +0 -43
- package/dist/Avatar/AvatarGroup.css +0 -31
- package/dist/Badge/Badge.css +0 -95
- package/dist/Button/Button.css +0 -200
- package/dist/Calendar/Calendar.css +0 -105
- package/dist/Card/CardHeader.css +0 -45
- package/dist/Checkbox/Checkbox.css +0 -45
- package/dist/Countdown/Countdown.css +0 -28
- package/dist/Divider/Divider.css +0 -41
- package/dist/Drawer/Drawer.css +0 -35
- package/dist/IconButton/IconButton.css +0 -130
- package/dist/Image/index.css +0 -35
- package/dist/Input/Input.css +0 -59
- package/dist/Loading/Loading.css +0 -31
- package/dist/NavBar/NavBar.css +0 -57
- package/dist/Progress/Progress.css +0 -22
- package/dist/Radio/Radio.css +0 -65
- package/dist/Rating/Rating.css +0 -52
- package/dist/Select/Select.css +0 -89
- package/dist/Skeleton/Skeleton.css +0 -54
- package/dist/Slider/Slider.css +0 -95
- package/dist/Stack/demo/index.css +0 -23
- package/dist/Steps/Step.css +0 -174
- package/dist/Swiper/Swiper.css +0 -20
- package/dist/Switch/Switch.css +0 -127
- package/dist/TabBar/TabBarItem.css +0 -38
- package/dist/Tabs/Tab.css +0 -52
- package/dist/Tabs/TabPanel.css +0 -9
- package/dist/Tabs/Tabs.css +0 -56
- package/dist/Tag/Tag.css +0 -97
- package/dist/Tag/TagGroup.css +0 -43
- package/es/ActionSheet/ActionSheet.css +0 -27
- package/es/ActionSheet/ActionSheetItem.css +0 -51
- package/es/Alert/index.css +0 -89
- package/es/Avatar/Avatar.css +0 -43
- package/es/Avatar/AvatarGroup.css +0 -31
- package/es/Badge/Badge.css +0 -95
- package/es/Button/Button.css +0 -200
- package/es/Calendar/Calendar.css +0 -105
- package/es/Card/CardHeader.css +0 -45
- package/es/Checkbox/Checkbox.css +0 -45
- package/es/Countdown/Countdown.css +0 -28
- package/es/Divider/Divider.css +0 -41
- package/es/Drawer/Drawer.css +0 -35
- package/es/IconButton/IconButton.css +0 -130
- package/es/Image/index.css +0 -35
- package/es/Input/Input.css +0 -59
- package/es/Loading/Loading.css +0 -31
- package/es/NavBar/NavBar.css +0 -57
- package/es/Progress/Progress.css +0 -22
- package/es/Radio/Radio.css +0 -65
- package/es/Rating/Rating.css +0 -52
- package/es/Select/Select.css +0 -89
- package/es/Skeleton/Skeleton.css +0 -54
- package/es/Slider/Slider.css +0 -95
- package/es/Stack/demo/index.css +0 -23
- package/es/Steps/Step.css +0 -174
- package/es/Swiper/Swiper.css +0 -20
- package/es/Switch/Switch.css +0 -127
- package/es/TabBar/TabBarItem.css +0 -38
- package/es/Tabs/Tab.css +0 -52
- package/es/Tabs/TabPanel.css +0 -9
- package/es/Tabs/Tabs.css +0 -56
- package/es/Tag/Tag.css +0 -97
- package/es/Tag/TagGroup.css +0 -43
- /package/dist/Card/{CardContent.css → CardContent.less} +0 -0
- /package/dist/Card/{CardFooter.css → CardFooter.less} +0 -0
- /package/dist/List/{ListItemExtra.css → ListItemExtra.less} +0 -0
- /package/dist/List/{ListItemHeader.css → ListItemHeader.less} +0 -0
- /package/dist/Stack/{Stack.css → Stack.less} +0 -0
- /package/dist/TabBar/{TabBar.css → TabBar.less} +0 -0
- /package/es/Card/{CardContent.css → CardContent.less} +0 -0
- /package/es/Card/{CardFooter.css → CardFooter.less} +0 -0
- /package/es/List/{ListItemExtra.css → ListItemExtra.less} +0 -0
- /package/es/List/{ListItemHeader.css → ListItemHeader.less} +0 -0
- /package/es/Stack/{Stack.css → Stack.less} +0 -0
- /package/es/TabBar/{TabBar.css → TabBar.less} +0 -0
package/dist/Button/Button.css
DELETED
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
.bui-btn {
|
|
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
|
-
--border-color: var(--bui-button-border-color, var(--bui-color-neutral-4));
|
|
5
|
-
--border-radius: var(--bui-button-border-radius, 100px);
|
|
6
|
-
--font-weight: var(--bui-button-font-weight, var(--bui-font-weight-medium));
|
|
7
|
-
border: 1px solid transparent;
|
|
8
|
-
outline: 0;
|
|
9
|
-
background-color: transparent;
|
|
10
|
-
cursor: pointer;
|
|
11
|
-
color: var(--text-color);
|
|
12
|
-
box-sizing: border-box;
|
|
13
|
-
position: relative;
|
|
14
|
-
display: inline-flex;
|
|
15
|
-
margin: 0;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: center;
|
|
18
|
-
white-space: nowrap;
|
|
19
|
-
font-size: var(--bui-text-size-3);
|
|
20
|
-
font-weight: var(--font-weight);
|
|
21
|
-
border-radius: var(--border-radius);
|
|
22
|
-
height: 27px;
|
|
23
|
-
line-height: var(--bui-line-height);
|
|
24
|
-
font-family: var(--bui-font-family);
|
|
25
|
-
}
|
|
26
|
-
@keyframes spin {
|
|
27
|
-
from {
|
|
28
|
-
transform: rotate(0deg);
|
|
29
|
-
}
|
|
30
|
-
to {
|
|
31
|
-
transform: rotate(360deg);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
.bui-btn::after {
|
|
35
|
-
border: 0;
|
|
36
|
-
}
|
|
37
|
-
.bui-btn::before {
|
|
38
|
-
position: absolute;
|
|
39
|
-
top: 50%;
|
|
40
|
-
left: 50%;
|
|
41
|
-
width: 100%;
|
|
42
|
-
height: 100%;
|
|
43
|
-
background-color: var(--bui-color-black);
|
|
44
|
-
border: inherit;
|
|
45
|
-
border-color: var(--bui-color-black);
|
|
46
|
-
border-radius: inherit;
|
|
47
|
-
transform: translate(-50%, -50%);
|
|
48
|
-
opacity: 0;
|
|
49
|
-
content: ' ';
|
|
50
|
-
}
|
|
51
|
-
.bui-btn:active::before {
|
|
52
|
-
opacity: 0.04;
|
|
53
|
-
}
|
|
54
|
-
.bui-btn-icon-start {
|
|
55
|
-
display: inline-flex;
|
|
56
|
-
align-self: center;
|
|
57
|
-
flex-shrink: 0;
|
|
58
|
-
margin-right: var(--bui-spacing-xs);
|
|
59
|
-
}
|
|
60
|
-
.bui-btn-icon-end {
|
|
61
|
-
display: inline-flex;
|
|
62
|
-
align-self: center;
|
|
63
|
-
flex-shrink: 0;
|
|
64
|
-
margin-left: var(--bui-spacing-xs);
|
|
65
|
-
}
|
|
66
|
-
.bui-btn-disabled {
|
|
67
|
-
pointer-events: none;
|
|
68
|
-
opacity: 0.5;
|
|
69
|
-
}
|
|
70
|
-
.bui-btn-small {
|
|
71
|
-
font-size: var(--bui-text-size-4);
|
|
72
|
-
padding: 0 11px;
|
|
73
|
-
height: 24px;
|
|
74
|
-
}
|
|
75
|
-
.bui-btn-medium {
|
|
76
|
-
padding: 0 14px;
|
|
77
|
-
height: 27px;
|
|
78
|
-
}
|
|
79
|
-
.bui-btn-large {
|
|
80
|
-
font-size: var(--bui-text-size-2);
|
|
81
|
-
padding: 0 14px;
|
|
82
|
-
height: 33px;
|
|
83
|
-
}
|
|
84
|
-
.bui-btn-full {
|
|
85
|
-
font-size: var(--bui-title-size-4);
|
|
86
|
-
width: 100%;
|
|
87
|
-
height: 42px;
|
|
88
|
-
}
|
|
89
|
-
.bui-btn-text.bui-btn-primary {
|
|
90
|
-
color: var(--bui-color-primary);
|
|
91
|
-
}
|
|
92
|
-
.bui-btn-text.bui-btn-success {
|
|
93
|
-
color: var(--bui-color-success);
|
|
94
|
-
}
|
|
95
|
-
.bui-btn-text.bui-btn-info {
|
|
96
|
-
color: var(--bui-color-info);
|
|
97
|
-
}
|
|
98
|
-
.bui-btn-text.bui-btn-warning {
|
|
99
|
-
color: var(--bui-color-warning);
|
|
100
|
-
}
|
|
101
|
-
.bui-btn-text.bui-btn-danger {
|
|
102
|
-
color: var(--bui-color-danger);
|
|
103
|
-
}
|
|
104
|
-
.bui-btn-text.bui-btn-vip {
|
|
105
|
-
color: var(--bui-color-vip);
|
|
106
|
-
}
|
|
107
|
-
.bui-btn-contained {
|
|
108
|
-
background-color: var(--bg-color);
|
|
109
|
-
}
|
|
110
|
-
.bui-btn-contained.bui-btn-primary {
|
|
111
|
-
color: var(--bui-color-white);
|
|
112
|
-
background-image: linear-gradient(45deg, var(--bui-color-primary-start) 0%, var(--bui-color-primary-end) 100%);
|
|
113
|
-
}
|
|
114
|
-
.bui-btn-contained.bui-btn-success {
|
|
115
|
-
color: var(--bui-color-white);
|
|
116
|
-
background-image: linear-gradient(45deg, var(--bui-color-success-start) 0%, var(--bui-color-success-end) 100%);
|
|
117
|
-
}
|
|
118
|
-
.bui-btn-contained.bui-btn-info {
|
|
119
|
-
color: var(--bui-color-white);
|
|
120
|
-
background-image: linear-gradient(45deg, var(--bui-color-info-start) 0%, var(--bui-color-info-end) 100%);
|
|
121
|
-
}
|
|
122
|
-
.bui-btn-contained.bui-btn-warning {
|
|
123
|
-
color: var(--bui-color-white);
|
|
124
|
-
background-image: linear-gradient(45deg, var(--bui-color-warning-start) 0%, var(--bui-color-warning-end) 100%);
|
|
125
|
-
}
|
|
126
|
-
.bui-btn-contained.bui-btn-danger {
|
|
127
|
-
color: var(--bui-color-white);
|
|
128
|
-
background-image: linear-gradient(45deg, var(--bui-color-danger-start) 0%, var(--bui-color-danger-end) 100%);
|
|
129
|
-
}
|
|
130
|
-
.bui-btn-contained.bui-btn-vip {
|
|
131
|
-
color: #582331;
|
|
132
|
-
background-image: linear-gradient(90deg, var(--bui-color-vip-start) 3%, var(--bui-color-vip-end) 100%);
|
|
133
|
-
}
|
|
134
|
-
.bui-btn-outlined {
|
|
135
|
-
border: solid 1px var(--border-color);
|
|
136
|
-
}
|
|
137
|
-
.bui-btn-outlined.bui-btn-primary {
|
|
138
|
-
color: var(--bui-color-primary);
|
|
139
|
-
border-color: var(--bui-color-primary);
|
|
140
|
-
}
|
|
141
|
-
.bui-btn-outlined.bui-btn-success {
|
|
142
|
-
color: var(--bui-color-success);
|
|
143
|
-
border-color: var(--bui-color-success);
|
|
144
|
-
}
|
|
145
|
-
.bui-btn-outlined.bui-btn-info {
|
|
146
|
-
color: var(--bui-color-info);
|
|
147
|
-
border-color: var(--bui-color-info);
|
|
148
|
-
}
|
|
149
|
-
.bui-btn-outlined.bui-btn-warning {
|
|
150
|
-
color: var(--bui-color-warning);
|
|
151
|
-
border-color: var(--bui-color-warning);
|
|
152
|
-
}
|
|
153
|
-
.bui-btn-outlined.bui-btn-danger {
|
|
154
|
-
color: var(--bui-color-danger);
|
|
155
|
-
border-color: var(--bui-color-danger);
|
|
156
|
-
}
|
|
157
|
-
.bui-btn-outlined.bui-btn-vip {
|
|
158
|
-
color: var(--bui-color-vip);
|
|
159
|
-
border-color: var(--bui-color-vip);
|
|
160
|
-
}
|
|
161
|
-
.bui-btn-light {
|
|
162
|
-
background-image: none;
|
|
163
|
-
background-color: var(--bui-color-gray-light);
|
|
164
|
-
border: 1px solid transparent;
|
|
165
|
-
}
|
|
166
|
-
.bui-btn-light.bui-btn-warning {
|
|
167
|
-
background-image: none;
|
|
168
|
-
border: 1px solid transparent;
|
|
169
|
-
color: var(--bui-color-warning);
|
|
170
|
-
background-color: var(--bui-color-warning-light);
|
|
171
|
-
}
|
|
172
|
-
.bui-btn-light.bui-btn-primary {
|
|
173
|
-
background-image: none;
|
|
174
|
-
border: 1px solid transparent;
|
|
175
|
-
color: var(--bui-color-primary);
|
|
176
|
-
background-color: var(--bui-color-primary-light);
|
|
177
|
-
}
|
|
178
|
-
.bui-btn-light.bui-btn-info {
|
|
179
|
-
background-image: none;
|
|
180
|
-
border: 1px solid transparent;
|
|
181
|
-
color: var(--bui-color-info);
|
|
182
|
-
background-color: var(--bui-color-info-light);
|
|
183
|
-
}
|
|
184
|
-
.bui-btn-light.bui-btn-success {
|
|
185
|
-
background-image: none;
|
|
186
|
-
border: 1px solid transparent;
|
|
187
|
-
color: var(--bui-color-success);
|
|
188
|
-
background-color: var(--bui-color-success-light);
|
|
189
|
-
}
|
|
190
|
-
.bui-btn-light.bui-btn-danger {
|
|
191
|
-
background-image: none;
|
|
192
|
-
border: 1px solid transparent;
|
|
193
|
-
color: var(--bui-color-danger);
|
|
194
|
-
background-color: var(--bui-color-danger-light);
|
|
195
|
-
}
|
|
196
|
-
.bui-btn-light.bui-btn-vip {
|
|
197
|
-
color: var(--bui-color-vip);
|
|
198
|
-
position: relative;
|
|
199
|
-
background-color: rgba(255, 134, 110, 0.3);
|
|
200
|
-
}
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
.bui-calendar {
|
|
2
|
-
overflow: hidden;
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
background-color: var(--bui-color-bg-view);
|
|
6
|
-
position: relative;
|
|
7
|
-
width: 100%;
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
padding: 6px 12px 7px;
|
|
10
|
-
font-family: var(--bui-font-family);
|
|
11
|
-
}
|
|
12
|
-
.bui-calendar-week {
|
|
13
|
-
height: 30px;
|
|
14
|
-
font-size: var(--bui-text-size-2);
|
|
15
|
-
font-weight: var(--bui-font-weight-medium);
|
|
16
|
-
color: var(--bui-color-fg-default);
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
justify-content: space-between;
|
|
20
|
-
}
|
|
21
|
-
.bui-calendar-week-item {
|
|
22
|
-
width: 14.28%;
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
justify-content: center;
|
|
26
|
-
}
|
|
27
|
-
.bui-calendar-week-item:nth-child(1),
|
|
28
|
-
.bui-calendar-week-item:nth-child(7) {
|
|
29
|
-
color: var(--bui-color-primary);
|
|
30
|
-
}
|
|
31
|
-
.bui-calendar-handler {
|
|
32
|
-
height: 28px;
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: center;
|
|
35
|
-
justify-content: center;
|
|
36
|
-
margin-bottom: 7px;
|
|
37
|
-
}
|
|
38
|
-
.bui-calendar-handler-text {
|
|
39
|
-
width: 80px;
|
|
40
|
-
font-size: var(--bui-title-size-3);
|
|
41
|
-
font-weight: var(--bui-font-weight-medium);
|
|
42
|
-
text-align: center;
|
|
43
|
-
}
|
|
44
|
-
.bui-calendar-handler-btn {
|
|
45
|
-
font-size: 16px;
|
|
46
|
-
height: 100%;
|
|
47
|
-
width: 46px;
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
display: flex;
|
|
50
|
-
align-items: center;
|
|
51
|
-
justify-content: center;
|
|
52
|
-
}
|
|
53
|
-
.bui-calendar-handler-btn-icon {
|
|
54
|
-
font-size: 28px;
|
|
55
|
-
}
|
|
56
|
-
.bui-calendar-month {
|
|
57
|
-
display: flex;
|
|
58
|
-
flex-wrap: wrap;
|
|
59
|
-
margin-bottom: var(--bui-spacing-sm);
|
|
60
|
-
}
|
|
61
|
-
.bui-calendar-day-box {
|
|
62
|
-
width: 14.28%;
|
|
63
|
-
height: 30px;
|
|
64
|
-
margin-bottom: 7px;
|
|
65
|
-
}
|
|
66
|
-
.bui-calendar-highlight-day .bui-calendar-day {
|
|
67
|
-
color: var(--bui-color-primary);
|
|
68
|
-
}
|
|
69
|
-
.bui-calendar-day {
|
|
70
|
-
width: 100%;
|
|
71
|
-
height: 100%;
|
|
72
|
-
display: flex;
|
|
73
|
-
align-items: center;
|
|
74
|
-
justify-content: center;
|
|
75
|
-
border-radius: 6px;
|
|
76
|
-
font-size: var(--bui-title-size-4);
|
|
77
|
-
font-weight: var(--bui-font-weight-medium);
|
|
78
|
-
color: var(--bui-color-fg-default);
|
|
79
|
-
cursor: pointer;
|
|
80
|
-
}
|
|
81
|
-
.bui-calendar-day.bui-calendar-disabled {
|
|
82
|
-
color: #9c9ca5;
|
|
83
|
-
}
|
|
84
|
-
.bui-calendar-today {
|
|
85
|
-
color: var(--bui-color-primary);
|
|
86
|
-
}
|
|
87
|
-
.bui-calendar-middle {
|
|
88
|
-
color: #000;
|
|
89
|
-
border-radius: 0;
|
|
90
|
-
background-color: #ffeaf1;
|
|
91
|
-
}
|
|
92
|
-
.bui-calendar-start {
|
|
93
|
-
color: #000;
|
|
94
|
-
background-color: #ffc7da;
|
|
95
|
-
}
|
|
96
|
-
.bui-calendar-range {
|
|
97
|
-
border-top-right-radius: 0;
|
|
98
|
-
border-bottom-right-radius: 0;
|
|
99
|
-
}
|
|
100
|
-
.bui-calendar-end {
|
|
101
|
-
color: #000;
|
|
102
|
-
background-color: #ffc7da;
|
|
103
|
-
border-top-left-radius: 0;
|
|
104
|
-
border-bottom-left-radius: 0;
|
|
105
|
-
}
|
package/dist/Card/CardHeader.css
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
.bui-card-header {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
flex-direction: row;
|
|
5
|
-
position: relative;
|
|
6
|
-
padding: var(--bui-spacing-md) var(--bui-spacing-lg);
|
|
7
|
-
font-size: var(--bui-title-size-4);
|
|
8
|
-
font-weight: 500;
|
|
9
|
-
color: var(--bui-color-fg-default);
|
|
10
|
-
font-family: var(--bui-font-family);
|
|
11
|
-
}
|
|
12
|
-
.bui-card-header-title {
|
|
13
|
-
white-space: nowrap;
|
|
14
|
-
overflow: hidden;
|
|
15
|
-
text-overflow: ellipsis;
|
|
16
|
-
max-width: 100%;
|
|
17
|
-
flex-shrink: 0;
|
|
18
|
-
}
|
|
19
|
-
.bui-card-header-subtitle {
|
|
20
|
-
font-size: var(--bui-text-size-3);
|
|
21
|
-
font-weight: normal;
|
|
22
|
-
white-space: nowrap;
|
|
23
|
-
overflow: hidden;
|
|
24
|
-
text-overflow: ellipsis;
|
|
25
|
-
color: var(--bui-color-fg-subtle);
|
|
26
|
-
padding: 0 var(--bui-spacing-xs);
|
|
27
|
-
}
|
|
28
|
-
.bui-card-header-extra {
|
|
29
|
-
white-space: nowrap;
|
|
30
|
-
}
|
|
31
|
-
.bui-card-header-end-icon {
|
|
32
|
-
display: flex;
|
|
33
|
-
align-items: center;
|
|
34
|
-
flex-direction: row;
|
|
35
|
-
}
|
|
36
|
-
.bui-card-header-extra,
|
|
37
|
-
.bui-card-header-end-icon {
|
|
38
|
-
font-size: var(--bui-text-size-3);
|
|
39
|
-
font-weight: normal;
|
|
40
|
-
color: var(--bui-color-fg-subtle);
|
|
41
|
-
margin-left: auto;
|
|
42
|
-
}
|
|
43
|
-
.bui-card-header-extra + .bui-card-header-end-icon {
|
|
44
|
-
margin-left: 2px;
|
|
45
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
.bui-checkbox {
|
|
2
|
-
--label-color: var(--bui-color-fg-default);
|
|
3
|
-
--label-font-size: var(--bui-text-size-1);
|
|
4
|
-
--icon-font-size: var(--bui-title-size-2);
|
|
5
|
-
display: inline-flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
position: relative;
|
|
8
|
-
font-family: var(--bui-font-family);
|
|
9
|
-
}
|
|
10
|
-
.bui-checkbox.bui-checkbox-disabled {
|
|
11
|
-
pointer-events: none;
|
|
12
|
-
opacity: 0.5;
|
|
13
|
-
}
|
|
14
|
-
.bui-checkbox-label-left {
|
|
15
|
-
flex-direction: row-reverse;
|
|
16
|
-
}
|
|
17
|
-
.bui-checkbox-label-top {
|
|
18
|
-
flex-direction: column-reverse;
|
|
19
|
-
}
|
|
20
|
-
.bui-checkbox-label-bottom {
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
}
|
|
23
|
-
.bui-checkbox-input {
|
|
24
|
-
opacity: 0;
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: 100%;
|
|
27
|
-
position: absolute;
|
|
28
|
-
top: 0;
|
|
29
|
-
left: 0;
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
z-index: 1;
|
|
32
|
-
}
|
|
33
|
-
.bui-checkbox-icon {
|
|
34
|
-
display: flex;
|
|
35
|
-
align-items: center;
|
|
36
|
-
justify-content: center;
|
|
37
|
-
flex-shrink: 0;
|
|
38
|
-
padding: 5px;
|
|
39
|
-
box-sizing: border-box;
|
|
40
|
-
font-size: var(--icon-font-size);
|
|
41
|
-
}
|
|
42
|
-
.bui-checkbox-label {
|
|
43
|
-
font-size: var(--label-font-size);
|
|
44
|
-
color: var(--label-color);
|
|
45
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
.bui-countdown {
|
|
2
|
-
--font-size: var(--bui-countdown-font-size, var(--bui-text-size-1));
|
|
3
|
-
--color: var(--bui-countdown-color, var(--bui-color-fg-default));
|
|
4
|
-
--font-weight: var(--bui-countdown-font-weight, var(--bui-font-weight-normal));
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: row;
|
|
7
|
-
align-items: center;
|
|
8
|
-
font-size: var(--font-size);
|
|
9
|
-
color: var(--color);
|
|
10
|
-
font-weight: var(--font-weight);
|
|
11
|
-
font-family: var(--bui-font-family);
|
|
12
|
-
}
|
|
13
|
-
.bui-countdown-slice {
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-direction: row;
|
|
16
|
-
align-items: center;
|
|
17
|
-
}
|
|
18
|
-
.bui-countdown-slice-item {
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: row;
|
|
21
|
-
align-items: center;
|
|
22
|
-
}
|
|
23
|
-
.bui-countdown-slice-value {
|
|
24
|
-
font-family: 'Helvetica Neue', helvetica, 'PingFang SC', 'Chinese Quote', 'Segoe UI', roboto, 'Hiragino Sans GB', 'Microsoft YaHei', arial, sans-serif;
|
|
25
|
-
}
|
|
26
|
-
.bui-countdown-slice-unit {
|
|
27
|
-
margin: 0 2px;
|
|
28
|
-
}
|
package/dist/Divider/Divider.css
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
.bui-divider {
|
|
2
|
-
--height: var(--bui-divider-height, 100%);
|
|
3
|
-
--width: var(--bui-divider-width, 100%);
|
|
4
|
-
border-color: var(--bui-color-border-default);
|
|
5
|
-
font-family: var(--bui-font-family);
|
|
6
|
-
}
|
|
7
|
-
.bui-divider-vertical {
|
|
8
|
-
height: var(--height);
|
|
9
|
-
display: inline-block;
|
|
10
|
-
border-right-width: 1px;
|
|
11
|
-
border-right-style: solid;
|
|
12
|
-
}
|
|
13
|
-
.bui-divider-horizontal {
|
|
14
|
-
width: var(--width);
|
|
15
|
-
border-bottom-width: 1px;
|
|
16
|
-
border-bottom-style: solid;
|
|
17
|
-
}
|
|
18
|
-
.bui-divider-vertical-dashed {
|
|
19
|
-
border-right-style: dashed;
|
|
20
|
-
}
|
|
21
|
-
.bui-divider-horizontal-dashed {
|
|
22
|
-
border-bottom-style: dashed;
|
|
23
|
-
}
|
|
24
|
-
.bui-divider-content {
|
|
25
|
-
width: 100%;
|
|
26
|
-
border-width: 0;
|
|
27
|
-
display: flex;
|
|
28
|
-
align-items: center;
|
|
29
|
-
justify-content: center;
|
|
30
|
-
}
|
|
31
|
-
.bui-divider-line {
|
|
32
|
-
width: 40px;
|
|
33
|
-
border-bottom-width: 1px;
|
|
34
|
-
border-bottom-style: solid;
|
|
35
|
-
border-color: var(--bui-color-border-default);
|
|
36
|
-
}
|
|
37
|
-
.bui-divider-text {
|
|
38
|
-
flex-shrink: 0;
|
|
39
|
-
color: var(--bui-color-fg-subtle);
|
|
40
|
-
font-size: var(--bui-text-size-2);
|
|
41
|
-
}
|
package/dist/Drawer/Drawer.css
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
.bui-drawer {
|
|
2
|
-
font-family: var(--bui-font-family);
|
|
3
|
-
}
|
|
4
|
-
.bui-drawer-content {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
height: 100%;
|
|
8
|
-
flex: 1 0 auto;
|
|
9
|
-
position: fixed;
|
|
10
|
-
top: 0;
|
|
11
|
-
outline: 0;
|
|
12
|
-
background-color: var(--bui-color-bg-view);
|
|
13
|
-
}
|
|
14
|
-
.bui-drawer-content-left {
|
|
15
|
-
left: 0;
|
|
16
|
-
}
|
|
17
|
-
.bui-drawer-content-top {
|
|
18
|
-
top: 0;
|
|
19
|
-
left: 0;
|
|
20
|
-
right: 0;
|
|
21
|
-
height: auto;
|
|
22
|
-
max-height: 100%;
|
|
23
|
-
}
|
|
24
|
-
.bui-drawer-content-right {
|
|
25
|
-
right: 0;
|
|
26
|
-
}
|
|
27
|
-
.bui-drawer-content-bottom {
|
|
28
|
-
bottom: 0;
|
|
29
|
-
top: auto;
|
|
30
|
-
left: 0;
|
|
31
|
-
/* stylelint-disable-next-line declaration-block-no-redundant-longhand-properties */
|
|
32
|
-
right: 0;
|
|
33
|
-
height: auto;
|
|
34
|
-
max-height: 100%;
|
|
35
|
-
}
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
.bui-icon-btn {
|
|
2
|
-
--bg-color: var(--bui-color-neutral-5);
|
|
3
|
-
--color: var(--bui-color-fg-muted);
|
|
4
|
-
--icon-size: 17px;
|
|
5
|
-
--user-area: 5px;
|
|
6
|
-
position: relative;
|
|
7
|
-
display: inline-flex;
|
|
8
|
-
height: auto;
|
|
9
|
-
margin: 0;
|
|
10
|
-
align-items: center;
|
|
11
|
-
justify-content: center;
|
|
12
|
-
background-color: transparent;
|
|
13
|
-
border: 1px solid transparent;
|
|
14
|
-
color: var(--color);
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
font-family: var(--bui-font-family);
|
|
17
|
-
font-size: var(--icon-size);
|
|
18
|
-
padding: var(--user-area);
|
|
19
|
-
}
|
|
20
|
-
.bui-icon-btn::before {
|
|
21
|
-
position: absolute;
|
|
22
|
-
top: 50%;
|
|
23
|
-
left: 50%;
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: 100%;
|
|
26
|
-
background-color: var(--bui-color-black);
|
|
27
|
-
border: inherit;
|
|
28
|
-
border-color: var(--bui-color-black);
|
|
29
|
-
border-radius: inherit;
|
|
30
|
-
transform: translate(-50%, -50%);
|
|
31
|
-
opacity: 0;
|
|
32
|
-
content: ' ';
|
|
33
|
-
}
|
|
34
|
-
.bui-icon-btn:active::before {
|
|
35
|
-
opacity: 0.04;
|
|
36
|
-
}
|
|
37
|
-
.bui-icon-btn::after {
|
|
38
|
-
border: 0;
|
|
39
|
-
}
|
|
40
|
-
.bui-icon-btn-small {
|
|
41
|
-
font-size: var(--bui-text-size-4);
|
|
42
|
-
padding: var(--bui-spacing-xs);
|
|
43
|
-
}
|
|
44
|
-
.bui-icon-btn-small.bui-icon-btn-outlined,
|
|
45
|
-
.bui-icon-btn-small.bui-icon-btn-contained {
|
|
46
|
-
padding: var(--bui-spacing-xs);
|
|
47
|
-
}
|
|
48
|
-
.bui-icon-btn-medium.bui-icon-btn-outlined,
|
|
49
|
-
.bui-icon-btn-medium.bui-icon-btn-contained {
|
|
50
|
-
padding: 5px;
|
|
51
|
-
}
|
|
52
|
-
.bui-icon-btn-large {
|
|
53
|
-
font-size: 23px;
|
|
54
|
-
padding: var(--bui-spacing-sm);
|
|
55
|
-
}
|
|
56
|
-
.bui-icon-btn-large.bui-icon-btn-outlined,
|
|
57
|
-
.bui-icon-btn-large.bui-icon-btn-contained {
|
|
58
|
-
padding: var(--bui-spacing-sm);
|
|
59
|
-
}
|
|
60
|
-
.bui-icon-btn-disabled {
|
|
61
|
-
pointer-events: none;
|
|
62
|
-
opacity: 0.5;
|
|
63
|
-
}
|
|
64
|
-
.bui-icon-btn-circular {
|
|
65
|
-
border-radius: 100%;
|
|
66
|
-
}
|
|
67
|
-
.bui-icon-btn-rounded {
|
|
68
|
-
border-radius: var(--bui-shape-radius-default);
|
|
69
|
-
}
|
|
70
|
-
.bui-icon-btn-square {
|
|
71
|
-
border-radius: 0;
|
|
72
|
-
}
|
|
73
|
-
.bui-icon-btn-default.bui-icon-btn-primary {
|
|
74
|
-
color: var(--bui-color-primary);
|
|
75
|
-
}
|
|
76
|
-
.bui-icon-btn-default.bui-icon-btn-success {
|
|
77
|
-
color: var(--bui-color-success);
|
|
78
|
-
}
|
|
79
|
-
.bui-icon-btn-default.bui-icon-btn-info {
|
|
80
|
-
color: var(--bui-color-info);
|
|
81
|
-
}
|
|
82
|
-
.bui-icon-btn-default.bui-icon-btn-warning {
|
|
83
|
-
color: var(--bui-color-warning);
|
|
84
|
-
}
|
|
85
|
-
.bui-icon-btn-outlined {
|
|
86
|
-
border: solid 1px;
|
|
87
|
-
}
|
|
88
|
-
.bui-icon-btn-outlined.bui-icon-btn-primary {
|
|
89
|
-
color: var(--bui-color-primary);
|
|
90
|
-
border-color: var(--bui-color-primary);
|
|
91
|
-
}
|
|
92
|
-
.bui-icon-btn-outlined.bui-icon-btn-success {
|
|
93
|
-
color: var(--bui-color-success);
|
|
94
|
-
border-color: var(--bui-color-success);
|
|
95
|
-
}
|
|
96
|
-
.bui-icon-btn-outlined.bui-icon-btn-info {
|
|
97
|
-
color: var(--bui-color-info);
|
|
98
|
-
border-color: var(--bui-color-info);
|
|
99
|
-
}
|
|
100
|
-
.bui-icon-btn-outlined.bui-icon-btn-warning {
|
|
101
|
-
color: var(--bui-color-warning);
|
|
102
|
-
border-color: var(--bui-color-warning);
|
|
103
|
-
}
|
|
104
|
-
.bui-icon-btn-outlined.bui-icon-btn-danger {
|
|
105
|
-
color: var(--bui-color-danger);
|
|
106
|
-
border-color: var(--bui-color-danger);
|
|
107
|
-
}
|
|
108
|
-
.bui-icon-btn-contained {
|
|
109
|
-
background-color: var(--bg-color);
|
|
110
|
-
}
|
|
111
|
-
.bui-icon-btn-contained.bui-icon-btn-primary {
|
|
112
|
-
color: var(--bui-color-white);
|
|
113
|
-
background-image: linear-gradient(45deg, var(--bui-color-primary-start) 0%, var(--bui-color-primary-end) 100%);
|
|
114
|
-
}
|
|
115
|
-
.bui-icon-btn-contained.bui-icon-btn-success {
|
|
116
|
-
color: var(--bui-color-white);
|
|
117
|
-
background-image: linear-gradient(45deg, var(--bui-color-success-start) 0%, var(--bui-color-success-end) 100%);
|
|
118
|
-
}
|
|
119
|
-
.bui-icon-btn-contained.bui-icon-btn-info {
|
|
120
|
-
color: var(--bui-color-white);
|
|
121
|
-
background-image: linear-gradient(45deg, var(--bui-color-info-start) 0%, var(--bui-color-info-end) 100%);
|
|
122
|
-
}
|
|
123
|
-
.bui-icon-btn-contained.bui-icon-btn-warning {
|
|
124
|
-
color: var(--bui-color-white);
|
|
125
|
-
background-image: linear-gradient(45deg, var(--bui-color-warning-start) 0%, var(--bui-color-warning-end) 100%);
|
|
126
|
-
}
|
|
127
|
-
.bui-icon-btn-contained.bui-icon-btn-danger {
|
|
128
|
-
color: var(--bui-color-white);
|
|
129
|
-
background-image: linear-gradient(45deg, var(--bui-color-danger-start) 0%, var(--bui-color-danger-end) 100%);
|
|
130
|
-
}
|
package/dist/Image/index.css
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
.bui-image {
|
|
2
|
-
width: auto;
|
|
3
|
-
height: auto;
|
|
4
|
-
display: inline-block;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
position: relative;
|
|
7
|
-
font-family: var(--bui-font-family);
|
|
8
|
-
}
|
|
9
|
-
.bui-image .bui-image-img {
|
|
10
|
-
width: 100%;
|
|
11
|
-
height: 100%;
|
|
12
|
-
overflow: hidden;
|
|
13
|
-
display: block;
|
|
14
|
-
opacity: 0;
|
|
15
|
-
}
|
|
16
|
-
.bui-image .bui-image-img.bui-image-loaded {
|
|
17
|
-
opacity: 1;
|
|
18
|
-
}
|
|
19
|
-
.bui-image-default-icon-wrap {
|
|
20
|
-
top: 0;
|
|
21
|
-
left: 0;
|
|
22
|
-
z-index: 1;
|
|
23
|
-
opacity: 1;
|
|
24
|
-
position: absolute;
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: 100%;
|
|
27
|
-
}
|
|
28
|
-
.bui-image-default-icon-wrap.bui-image-loaded {
|
|
29
|
-
opacity: 0;
|
|
30
|
-
}
|
|
31
|
-
.bui-image-default-icon-item {
|
|
32
|
-
width: 100%;
|
|
33
|
-
height: 100%;
|
|
34
|
-
background-color: rgba(127, 127, 127, 0.2);
|
|
35
|
-
}
|