@bifrostui/react 1.1.5 → 1.1.8-beta.0
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/es/Select/Select.less
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
@class-prefix-select: ~'bui-select';
|
|
2
|
-
@transition-duration: 0.3s;
|
|
3
|
-
|
|
4
|
-
.@{class-prefix-select} {
|
|
5
|
-
position: relative;
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
height: 27px;
|
|
8
|
-
min-width: 100px;
|
|
9
|
-
font-size: var(--bui-title-size-3);
|
|
10
|
-
border-radius: 5px;
|
|
11
|
-
background-color: var(--bui-color-bg-view);
|
|
12
|
-
font-family: var(--bui-font-family);
|
|
13
|
-
|
|
14
|
-
&:active,
|
|
15
|
-
&-active {
|
|
16
|
-
box-shadow: 0 0 0 2px var(--bui-color-bg-default);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&-selector-container {
|
|
20
|
-
display: flex;
|
|
21
|
-
align-items: center;
|
|
22
|
-
padding: 0 14px;
|
|
23
|
-
height: 100%;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&-input {
|
|
27
|
-
width: 0;
|
|
28
|
-
height: 0;
|
|
29
|
-
border: 0;
|
|
30
|
-
opacity: 0;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&-placeholder {
|
|
34
|
-
color: var(--bui-color-fg-disabled);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&-selector {
|
|
38
|
-
display: flex;
|
|
39
|
-
justify-content: space-between;
|
|
40
|
-
align-items: center;
|
|
41
|
-
flex: 1;
|
|
42
|
-
height: 27px;
|
|
43
|
-
background-color: transparent;
|
|
44
|
-
outline: none;
|
|
45
|
-
border: 0;
|
|
46
|
-
|
|
47
|
-
&-icon {
|
|
48
|
-
font-size: var(--bui-title-size-3);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&-option-container {
|
|
53
|
-
position: absolute;
|
|
54
|
-
box-sizing: border-box;
|
|
55
|
-
top: 100%;
|
|
56
|
-
left: 0;
|
|
57
|
-
width: 100%;
|
|
58
|
-
z-index: var(--bui-z-index-dropdown);
|
|
59
|
-
margin-top: 6px;
|
|
60
|
-
background-color: var(--bui-color-bg-view);
|
|
61
|
-
padding: 2px;
|
|
62
|
-
overflow: hidden;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&-option-main {
|
|
66
|
-
border-radius: 3px;
|
|
67
|
-
padding: 3px 0;
|
|
68
|
-
box-shadow: 0 0 0 2px var(--bui-color-bg-default);
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&-option {
|
|
73
|
-
display: flex;
|
|
74
|
-
align-items: center;
|
|
75
|
-
height: 27px;
|
|
76
|
-
padding: 0 14px;
|
|
77
|
-
border-radius: 5px;
|
|
78
|
-
margin: 0 3px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&-option:hover {
|
|
82
|
-
background-color: var(---bui-select-options-active-bg, #fff2f0);
|
|
83
|
-
color: var(--bui-color-primary);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&-option-active {
|
|
87
|
-
font-weight: 500;
|
|
88
|
-
color: var(--bui-color-primary);
|
|
89
|
-
background-color: var(---bui-select-options-active-bg, #fff2f0);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&-option-hide {
|
|
93
|
-
opacity: 0;
|
|
94
|
-
transform: translateY(-5px);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.bui-select.bui-select-disabled,
|
|
99
|
-
.bui-select-option-disabled {
|
|
100
|
-
pointer-events: none;
|
|
101
|
-
box-shadow: none;
|
|
102
|
-
background-color: var(--bui-color-bg-view);
|
|
103
|
-
color: var(--bui-color-fg-subtle);
|
|
104
|
-
border: none;
|
|
105
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
.bui-skeleton {
|
|
2
|
-
--border-radius: var(--bui-shape-radius-label);
|
|
3
|
-
display: block;
|
|
4
|
-
|
|
5
|
-
&-animation-wave {
|
|
6
|
-
background: linear-gradient(
|
|
7
|
-
90deg,
|
|
8
|
-
rgba(190, 190, 190, 0.2) 25%,
|
|
9
|
-
rgba(129, 129, 129, 0.24) 37%,
|
|
10
|
-
rgba(190, 190, 190, 0.2) 63%
|
|
11
|
-
);
|
|
12
|
-
background-size: 400% 100%;
|
|
13
|
-
animation: bui-skeleton-wave 1.4s ease infinite;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&-animation-pulse {
|
|
17
|
-
background: rgba(190, 190, 190, 0.35);
|
|
18
|
-
animation: bui-skeleton-pulse 1.4s ease infinite;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&-text {
|
|
22
|
-
height: auto;
|
|
23
|
-
transform-origin: 0 55%;
|
|
24
|
-
transform: scale(1, 0.6);
|
|
25
|
-
border-radius: var(--border-radius);
|
|
26
|
-
|
|
27
|
-
&::before {
|
|
28
|
-
content: '\00a0';
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-rectangular {
|
|
33
|
-
height: 1.2em;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&-rounded {
|
|
37
|
-
height: 1.2em;
|
|
38
|
-
border-radius: var(--border-radius);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&-circular {
|
|
42
|
-
border-radius: 50%;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&-with-children {
|
|
46
|
-
max-width: fit-content;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@keyframes bui-skeleton-wave {
|
|
51
|
-
0% {
|
|
52
|
-
background-position: 100% 50%;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
100% {
|
|
56
|
-
background-position: 0 50%;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
@keyframes bui-skeleton-pulse {
|
|
61
|
-
0% {
|
|
62
|
-
opacity: 1;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
50% {
|
|
66
|
-
opacity: 0.58;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
100% {
|
|
70
|
-
opacity: 1;
|
|
71
|
-
}
|
|
72
|
-
}
|
package/es/Slider/Slider.less
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
@import '~@bifrostui/styles/mixins/index.less';
|
|
2
|
-
|
|
3
|
-
.bui-slider {
|
|
4
|
-
--line-color: var(--bui-color-primary);
|
|
5
|
-
--line-bg-color: var(--bui-color-border-default);
|
|
6
|
-
--tooltip-font-size: var(--bui-text-size-3);
|
|
7
|
-
--tooltip-color: var(--bui-color-white);
|
|
8
|
-
--tooltip-bg-color: var(--line-color);
|
|
9
|
-
position: relative;
|
|
10
|
-
width: 100%;
|
|
11
|
-
height: 2px;
|
|
12
|
-
padding: 19px 0;
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
font-family: var(--bui-font-family);
|
|
15
|
-
|
|
16
|
-
&-disabled {
|
|
17
|
-
pointer-events: none;
|
|
18
|
-
opacity: 0.5;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&-line {
|
|
22
|
-
position: absolute;
|
|
23
|
-
top: 50%;
|
|
24
|
-
left: 0;
|
|
25
|
-
height: 2px;
|
|
26
|
-
transform: translateY(-50%);
|
|
27
|
-
background-color: var(--line-color);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&-rail {
|
|
31
|
-
position: absolute;
|
|
32
|
-
top: 50%;
|
|
33
|
-
left: 0;
|
|
34
|
-
width: 100%;
|
|
35
|
-
height: 2px;
|
|
36
|
-
transform: translateY(-50%);
|
|
37
|
-
background-color: var(--line-bg-color);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&-button {
|
|
41
|
-
display: flex;
|
|
42
|
-
position: absolute;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
align-items: center;
|
|
45
|
-
width: 26px;
|
|
46
|
-
height: 26px;
|
|
47
|
-
background-color: #fff;
|
|
48
|
-
box-shadow: #ddd 0 0 10px;
|
|
49
|
-
border-radius: 50%;
|
|
50
|
-
transform: translate(-50%, -50%);
|
|
51
|
-
font-size: var(--bui-title-size-3);
|
|
52
|
-
cursor: grab;
|
|
53
|
-
|
|
54
|
-
// 增加点击热区大小
|
|
55
|
-
&::after {
|
|
56
|
-
position: absolute;
|
|
57
|
-
content: '';
|
|
58
|
-
top: -10px;
|
|
59
|
-
bottom: -10px;
|
|
60
|
-
left: -10px;
|
|
61
|
-
right: -10px;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&-0 {
|
|
65
|
-
left: 0%;
|
|
66
|
-
top: 50%;
|
|
67
|
-
z-index: var(--bui-z-index-affix);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&-1 {
|
|
71
|
-
left: 0%;
|
|
72
|
-
top: 50%;
|
|
73
|
-
z-index: var(--bui-z-index-affix);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&-tooltip {
|
|
78
|
-
position: absolute;
|
|
79
|
-
top: -14px;
|
|
80
|
-
width: 46px;
|
|
81
|
-
height: 24px;
|
|
82
|
-
line-height: 24px;
|
|
83
|
-
font-size: var(--tooltip-font-size);
|
|
84
|
-
border-radius: 24px;
|
|
85
|
-
color: var(--tooltip-color);
|
|
86
|
-
text-align: center;
|
|
87
|
-
background-color: var(--tooltip-bg-color);
|
|
88
|
-
transform: translate(-50%, -50%);
|
|
89
|
-
z-index: var(--bui-z-index-popover);
|
|
90
|
-
|
|
91
|
-
&::after {
|
|
92
|
-
position: absolute;
|
|
93
|
-
bottom: -10px;
|
|
94
|
-
left: 0;
|
|
95
|
-
right: 0;
|
|
96
|
-
margin: 0 auto;
|
|
97
|
-
content: '';
|
|
98
|
-
width: 0;
|
|
99
|
-
height: 0;
|
|
100
|
-
border: 6px solid transparent;
|
|
101
|
-
border-top: 6px solid var(--tooltip-bg-color);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&-hidden {
|
|
105
|
-
display: none;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
package/es/Stack/demo/index.less
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
.bui-stack-demo-options {
|
|
2
|
-
display: flex;
|
|
3
|
-
column-gap: 30px;
|
|
4
|
-
|
|
5
|
-
&-title {
|
|
6
|
-
font-weight: 500;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@media all and (max-width: 570px) {
|
|
11
|
-
.bui-stack-demo-options {
|
|
12
|
-
display: flex;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
row-gap: 15px;
|
|
15
|
-
|
|
16
|
-
&-title {
|
|
17
|
-
width: 100%;
|
|
18
|
-
font-size: 16px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.bui-radio-group {
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-wrap: wrap;
|
|
24
|
-
align-items: center;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
package/es/Steps/Step.less
DELETED
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
@import '~@bifrostui/styles/mixins/index.less';
|
|
2
|
-
|
|
3
|
-
.bui-step {
|
|
4
|
-
display: flex;
|
|
5
|
-
position: relative;
|
|
6
|
-
line-height: var(--bui-line-height);
|
|
7
|
-
font-family: var(--bui-font-family);
|
|
8
|
-
|
|
9
|
-
&-label-horizontal {
|
|
10
|
-
line-height: 1.8;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&:last-child {
|
|
14
|
-
.bui-step-line::after {
|
|
15
|
-
display: none;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.bui-step-line {
|
|
21
|
-
position: absolute;
|
|
22
|
-
top: 0;
|
|
23
|
-
width: 1px;
|
|
24
|
-
height: 100%;
|
|
25
|
-
box-sizing: border-box;
|
|
26
|
-
left: 13px;
|
|
27
|
-
padding: var(--step-line-padding);
|
|
28
|
-
|
|
29
|
-
&::after {
|
|
30
|
-
display: inline-block;
|
|
31
|
-
content: '';
|
|
32
|
-
width: 1px;
|
|
33
|
-
border-left-width: 1px;
|
|
34
|
-
border-left-style: dotted;
|
|
35
|
-
height: calc(100% + 11px);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&-active {
|
|
39
|
-
&::after {
|
|
40
|
-
border-left-color: var(--bui-color-primary);
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&-wait {
|
|
45
|
-
&::after {
|
|
46
|
-
border-left-color: var(--bui-color-fg-disabled);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&-finish {
|
|
51
|
-
&::after {
|
|
52
|
-
border-left-color: var(--bui-color-primary);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&-error {
|
|
57
|
-
&::after {
|
|
58
|
-
border-left-color: var(--bui-color-primary);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.bui-step-icon {
|
|
64
|
-
flex-shrink: 0;
|
|
65
|
-
width: 28px;
|
|
66
|
-
text-align: center;
|
|
67
|
-
margin: var(--step-icon-margin);
|
|
68
|
-
font-size: var(--bui-title-size-4);
|
|
69
|
-
|
|
70
|
-
&-active {
|
|
71
|
-
width: 12px;
|
|
72
|
-
height: 12px;
|
|
73
|
-
position: relative;
|
|
74
|
-
background-color: var(--bui-color-primary);
|
|
75
|
-
border-radius: 50%;
|
|
76
|
-
margin-top: 2px;
|
|
77
|
-
display: inline-block;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.bui-step-content {
|
|
82
|
-
padding: 3px 0;
|
|
83
|
-
box-sizing: border-box;
|
|
84
|
-
flex: 1 0 0;
|
|
85
|
-
overflow: hidden;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.bui-step-title-wrapper {
|
|
89
|
-
width: 100%;
|
|
90
|
-
display: flex;
|
|
91
|
-
align-items: center;
|
|
92
|
-
|
|
93
|
-
&-vertical {
|
|
94
|
-
flex-direction: column;
|
|
95
|
-
align-items: flex-start;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.bui-step-title {
|
|
100
|
-
font-size: var(--title-font-size);
|
|
101
|
-
font-weight: var(--title-font-weight);
|
|
102
|
-
.ellipsis();
|
|
103
|
-
|
|
104
|
-
&-active {
|
|
105
|
-
color: var(--bui-color-primary);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
&-wait {
|
|
109
|
-
color: var(--bui-color-fg-subtle);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&-finish {
|
|
113
|
-
color: var(--bui-color-primary);
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
&-error {
|
|
117
|
-
color: var(--bui-color-primary);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&-horizontal {
|
|
121
|
-
margin-right: 4px;
|
|
122
|
-
max-width: 64%;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&-vertical {
|
|
126
|
-
width: 100%;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.bui-step-subtitle {
|
|
131
|
-
font-size: var(--subtitle-font-size);
|
|
132
|
-
color: var(--bui-color-fg-subtle);
|
|
133
|
-
.ellipsis();
|
|
134
|
-
|
|
135
|
-
&-horizontal {
|
|
136
|
-
flex: 1;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&-vertical {
|
|
140
|
-
width: 100%;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.bui-step-desc {
|
|
145
|
-
font-size: var(--bui-text-size-3);
|
|
146
|
-
color: var(--bui-color-fg-subtle);
|
|
147
|
-
margin-right: var(--bui-spacing-lg);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
.bui-step-horizontal {
|
|
151
|
-
flex: 1;
|
|
152
|
-
padding-left: var(--bui-spacing-sm);
|
|
153
|
-
|
|
154
|
-
&:first-child {
|
|
155
|
-
padding-left: 0;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
&:last-child {
|
|
159
|
-
.bui-step-title-wrapper::after {
|
|
160
|
-
display: none;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.bui-step-line {
|
|
165
|
-
display: none;
|
|
166
|
-
padding: 28px 0 6px;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.bui-step-icon {
|
|
170
|
-
margin-right: 0;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.bui-step-title-wrapper {
|
|
174
|
-
width: fit-content;
|
|
175
|
-
position: relative;
|
|
176
|
-
|
|
177
|
-
&::after {
|
|
178
|
-
position: absolute;
|
|
179
|
-
width: 9999px;
|
|
180
|
-
height: 1px;
|
|
181
|
-
content: '';
|
|
182
|
-
left: 100%;
|
|
183
|
-
top: 0;
|
|
184
|
-
bottom: 0;
|
|
185
|
-
margin: auto 0;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
&-line-active {
|
|
189
|
-
&::after {
|
|
190
|
-
background: var(--bui-color-fg-disabled);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
&-line-wait {
|
|
195
|
-
&::after {
|
|
196
|
-
background: var(--bui-color-fg-disabled);
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
&-line-finish {
|
|
201
|
-
&::after {
|
|
202
|
-
background: var(--bui-color-primary);
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
&-line-error {
|
|
207
|
-
&::after {
|
|
208
|
-
background: var(--bui-color-primary);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.bui-step-title {
|
|
214
|
-
padding-right: var(--bui-spacing-sm);
|
|
215
|
-
margin-right: 0;
|
|
216
|
-
max-width: unset;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
.bui-step-subtitle {
|
|
220
|
-
padding-right: var(--bui-spacing-sm);
|
|
221
|
-
margin-right: 0;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.bui-step-disabled {
|
|
226
|
-
opacity: 0.5;
|
|
227
|
-
pointer-events: none;
|
|
228
|
-
}
|
package/es/Swiper/Swiper.less
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
.bui-swiper {
|
|
2
|
-
font-family: var(--bui-font-family);
|
|
3
|
-
|
|
4
|
-
.swiper-container-wrapper {
|
|
5
|
-
height: 150px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.swiper-container {
|
|
9
|
-
height: 100%;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.swiper-pagination {
|
|
13
|
-
font-size: 0;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.swiper-pagination-bullet {
|
|
17
|
-
opacity: 1;
|
|
18
|
-
background: var(--indicator-color);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.swiper-pagination-bullet-active {
|
|
22
|
-
opacity: 1;
|
|
23
|
-
background: var(--indicator-color-active);
|
|
24
|
-
}
|
|
25
|
-
}
|