@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.
Files changed (187) hide show
  1. package/dist/ActionSheet/ActionSheet.css +27 -0
  2. package/dist/ActionSheet/ActionSheetItem.css +51 -0
  3. package/dist/Alert/index.css +89 -0
  4. package/dist/Avatar/Avatar.css +43 -0
  5. package/dist/Avatar/AvatarGroup.css +31 -0
  6. package/dist/Backdrop/{Backdrop.less → Backdrop.css} +3 -4
  7. package/dist/Badge/Badge.css +95 -0
  8. package/dist/Button/Button.css +200 -0
  9. package/dist/Calendar/Calendar.css +105 -0
  10. package/dist/Card/{Card.less → Card.css} +0 -1
  11. package/dist/Card/CardHeader.css +45 -0
  12. package/dist/Checkbox/Checkbox.css +45 -0
  13. package/dist/CitySelector/CitySelector.css +102 -0
  14. package/dist/CitySelector/Selector/{index.less → index.css} +0 -2
  15. package/dist/Countdown/Countdown.css +28 -0
  16. package/dist/Divider/Divider.css +41 -0
  17. package/dist/Drawer/Drawer.css +35 -0
  18. package/dist/IconButton/IconButton.css +130 -0
  19. package/dist/Image/index.css +35 -0
  20. package/dist/Input/Input.css +59 -0
  21. package/dist/List/{List.less → List.css} +0 -1
  22. package/{es/List/ListItem.less → dist/List/ListItem.css} +6 -17
  23. package/{es/List/ListItemContent.less → dist/List/ListItemContent.css} +2 -7
  24. package/{es/List/ListItemFooter.less → dist/List/ListItemFooter.css} +3 -4
  25. package/dist/Loading/Loading.css +31 -0
  26. package/{es/Modal/Modal.less → dist/Modal/Modal.css} +6 -8
  27. package/dist/Modal/Modal.miniapp.d.ts +2 -2
  28. package/dist/NavBar/NavBar.css +57 -0
  29. package/dist/Picker/Picker.css +53 -0
  30. package/dist/Picker/PickerPanel.css +54 -0
  31. package/dist/Progress/Progress.css +22 -0
  32. package/dist/Radio/Radio.css +65 -0
  33. package/dist/Rating/Rating.css +52 -0
  34. package/dist/ScrollView/{ScrollView.less → ScrollView.css} +0 -4
  35. package/dist/Select/Select.css +89 -0
  36. package/dist/Skeleton/Skeleton.css +54 -0
  37. package/dist/Slider/Slider.css +95 -0
  38. package/dist/Stack/demo/index.css +23 -0
  39. package/dist/Steps/Step.css +174 -0
  40. package/{es/Steps/Steps.less → dist/Steps/Steps.css} +3 -5
  41. package/dist/Swiper/Swiper.css +20 -0
  42. package/dist/Switch/Switch.css +127 -0
  43. package/dist/TabBar/TabBarItem.css +38 -0
  44. package/dist/Tabs/Tab.css +52 -0
  45. package/dist/Tabs/TabPanel.css +9 -0
  46. package/dist/Tabs/Tabs.css +56 -0
  47. package/dist/Tag/Tag.css +97 -0
  48. package/dist/Tag/TagGroup.css +43 -0
  49. package/{es/TextArea/TextArea.less → dist/TextArea/TextArea.css} +19 -27
  50. package/es/ActionSheet/ActionSheet.css +27 -0
  51. package/es/ActionSheet/ActionSheetItem.css +51 -0
  52. package/es/Alert/index.css +89 -0
  53. package/es/Avatar/Avatar.css +43 -0
  54. package/es/Avatar/AvatarGroup.css +31 -0
  55. package/es/Backdrop/{Backdrop.less → Backdrop.css} +3 -4
  56. package/es/Badge/Badge.css +95 -0
  57. package/es/Button/Button.css +200 -0
  58. package/es/Calendar/Calendar.css +105 -0
  59. package/es/Card/{Card.less → Card.css} +0 -1
  60. package/es/Card/CardHeader.css +45 -0
  61. package/es/Checkbox/Checkbox.css +45 -0
  62. package/es/CitySelector/CitySelector.css +102 -0
  63. package/es/CitySelector/Selector/{index.less → index.css} +0 -2
  64. package/es/Countdown/Countdown.css +28 -0
  65. package/es/Divider/Divider.css +41 -0
  66. package/es/Drawer/Drawer.css +35 -0
  67. package/es/IconButton/IconButton.css +130 -0
  68. package/es/Image/index.css +35 -0
  69. package/es/Input/Input.css +59 -0
  70. package/es/List/{List.less → List.css} +0 -1
  71. package/{dist/List/ListItem.less → es/List/ListItem.css} +6 -17
  72. package/{dist/List/ListItemContent.less → es/List/ListItemContent.css} +2 -7
  73. package/{dist/List/ListItemFooter.less → es/List/ListItemFooter.css} +3 -4
  74. package/es/Loading/Loading.css +31 -0
  75. package/{dist/Modal/Modal.less → es/Modal/Modal.css} +6 -8
  76. package/es/Modal/Modal.miniapp.d.ts +2 -2
  77. package/es/NavBar/NavBar.css +57 -0
  78. package/es/Picker/Picker.css +53 -0
  79. package/es/Picker/PickerPanel.css +54 -0
  80. package/es/Progress/Progress.css +22 -0
  81. package/es/Radio/Radio.css +65 -0
  82. package/es/Rating/Rating.css +52 -0
  83. package/es/ScrollView/{ScrollView.less → ScrollView.css} +0 -4
  84. package/es/Select/Select.css +89 -0
  85. package/es/Skeleton/Skeleton.css +54 -0
  86. package/es/Slider/Slider.css +95 -0
  87. package/es/Stack/demo/index.css +23 -0
  88. package/es/Steps/Step.css +174 -0
  89. package/{dist/Steps/Steps.less → es/Steps/Steps.css} +3 -5
  90. package/es/Swiper/Swiper.css +20 -0
  91. package/es/Switch/Switch.css +127 -0
  92. package/es/TabBar/TabBarItem.css +38 -0
  93. package/es/Tabs/Tab.css +52 -0
  94. package/es/Tabs/TabPanel.css +9 -0
  95. package/es/Tabs/Tabs.css +56 -0
  96. package/es/Tag/Tag.css +97 -0
  97. package/es/Tag/TagGroup.css +43 -0
  98. package/{dist/TextArea/TextArea.less → es/TextArea/TextArea.css} +19 -27
  99. package/package.json +7 -7
  100. package/dist/ActionSheet/ActionSheet.less +0 -31
  101. package/dist/ActionSheet/ActionSheetItem.less +0 -62
  102. package/dist/Alert/index.less +0 -112
  103. package/dist/Avatar/Avatar.less +0 -52
  104. package/dist/Avatar/AvatarGroup.less +0 -39
  105. package/dist/Badge/Badge.less +0 -118
  106. package/dist/Button/Button.less +0 -244
  107. package/dist/Calendar/Calendar.less +0 -126
  108. package/dist/Card/CardHeader.less +0 -53
  109. package/dist/Checkbox/Checkbox.less +0 -55
  110. package/dist/CitySelector/CitySelector.less +0 -122
  111. package/dist/Countdown/Countdown.less +0 -39
  112. package/dist/Divider/Divider.less +0 -50
  113. package/dist/Drawer/Drawer.less +0 -40
  114. package/dist/IconButton/IconButton.less +0 -167
  115. package/dist/Image/index.less +0 -40
  116. package/dist/Input/Input.less +0 -72
  117. package/dist/Loading/Loading.less +0 -40
  118. package/dist/NavBar/NavBar.less +0 -67
  119. package/dist/Picker/Picker.less +0 -62
  120. package/dist/Picker/PickerPanel.less +0 -67
  121. package/dist/Progress/Progress.less +0 -24
  122. package/dist/Radio/Radio.less +0 -81
  123. package/dist/Rating/Rating.less +0 -64
  124. package/dist/Select/Select.less +0 -105
  125. package/dist/Skeleton/Skeleton.less +0 -72
  126. package/dist/Slider/Slider.less +0 -108
  127. package/dist/Stack/demo/index.less +0 -27
  128. package/dist/Steps/Step.less +0 -228
  129. package/dist/Swiper/Swiper.less +0 -25
  130. package/dist/Switch/Switch.less +0 -177
  131. package/dist/TabBar/TabBarItem.less +0 -54
  132. package/dist/Tabs/Tab.less +0 -60
  133. package/dist/Tabs/TabPanel.less +0 -11
  134. package/dist/Tabs/Tabs.less +0 -77
  135. package/dist/Tag/Tag.less +0 -119
  136. package/dist/Tag/TagGroup.less +0 -52
  137. package/es/ActionSheet/ActionSheet.less +0 -31
  138. package/es/ActionSheet/ActionSheetItem.less +0 -62
  139. package/es/Alert/index.less +0 -112
  140. package/es/Avatar/Avatar.less +0 -52
  141. package/es/Avatar/AvatarGroup.less +0 -39
  142. package/es/Badge/Badge.less +0 -118
  143. package/es/Button/Button.less +0 -244
  144. package/es/Calendar/Calendar.less +0 -126
  145. package/es/Card/CardHeader.less +0 -53
  146. package/es/Checkbox/Checkbox.less +0 -55
  147. package/es/CitySelector/CitySelector.less +0 -122
  148. package/es/Countdown/Countdown.less +0 -39
  149. package/es/Divider/Divider.less +0 -50
  150. package/es/Drawer/Drawer.less +0 -40
  151. package/es/IconButton/IconButton.less +0 -167
  152. package/es/Image/index.less +0 -40
  153. package/es/Input/Input.less +0 -72
  154. package/es/Loading/Loading.less +0 -40
  155. package/es/NavBar/NavBar.less +0 -67
  156. package/es/Picker/Picker.less +0 -62
  157. package/es/Picker/PickerPanel.less +0 -67
  158. package/es/Progress/Progress.less +0 -24
  159. package/es/Radio/Radio.less +0 -81
  160. package/es/Rating/Rating.less +0 -64
  161. package/es/Select/Select.less +0 -105
  162. package/es/Skeleton/Skeleton.less +0 -72
  163. package/es/Slider/Slider.less +0 -108
  164. package/es/Stack/demo/index.less +0 -27
  165. package/es/Steps/Step.less +0 -228
  166. package/es/Swiper/Swiper.less +0 -25
  167. package/es/Switch/Switch.less +0 -177
  168. package/es/TabBar/TabBarItem.less +0 -54
  169. package/es/Tabs/Tab.less +0 -60
  170. package/es/Tabs/TabPanel.less +0 -11
  171. package/es/Tabs/Tabs.less +0 -77
  172. package/es/Tag/Tag.less +0 -119
  173. package/es/Tag/TagGroup.less +0 -52
  174. /package/dist/Card/{CardContent.less → CardContent.css} +0 -0
  175. /package/dist/Card/{CardFooter.less → CardFooter.css} +0 -0
  176. /package/dist/CitySelector/{miniapp.less → miniapp.css} +0 -0
  177. /package/dist/List/{ListItemExtra.less → ListItemExtra.css} +0 -0
  178. /package/dist/List/{ListItemHeader.less → ListItemHeader.css} +0 -0
  179. /package/dist/Stack/{Stack.less → Stack.css} +0 -0
  180. /package/dist/TabBar/{TabBar.less → TabBar.css} +0 -0
  181. /package/es/Card/{CardContent.less → CardContent.css} +0 -0
  182. /package/es/Card/{CardFooter.less → CardFooter.css} +0 -0
  183. /package/es/CitySelector/{miniapp.less → miniapp.css} +0 -0
  184. /package/es/List/{ListItemExtra.less → ListItemExtra.css} +0 -0
  185. /package/es/List/{ListItemHeader.less → ListItemHeader.css} +0 -0
  186. /package/es/Stack/{Stack.less → Stack.css} +0 -0
  187. /package/es/TabBar/{TabBar.less → TabBar.css} +0 -0
@@ -0,0 +1,27 @@
1
+ .bui-action-sheet {
2
+ font-family: var(--bui-font-family);
3
+ }
4
+ .bui-action-sheet-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
+ .bui-action-sheet .bui-action-sheet-cancel {
12
+ border-top: none;
13
+ }
14
+ .bui-action-sheet-gap {
15
+ height: var(--bui-spacing-md);
16
+ background-color: var(--bui-color-bg-default);
17
+ }
18
+ .bui-action-sheet-extra {
19
+ font-size: var(--bui-text-size-1);
20
+ line-height: 23px;
21
+ padding: var(--bui-spacing-xl);
22
+ color: var(--bui-color-fg-muted);
23
+ background: var(--bui-color-bg-view);
24
+ text-align: center;
25
+ border-bottom: 1px solid var(--bui-color-border-default);
26
+ margin: 0 var(--bui-spacing-xl);
27
+ }
@@ -0,0 +1,51 @@
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
+ .bui-action-sheet-item:first-child {
17
+ border-top: none;
18
+ }
19
+ .bui-action-sheet-item:active {
20
+ background-color: var(--bui-color-bg-default);
21
+ }
22
+ .bui-action-sheet-item-primary {
23
+ --color: var(--bui-color-primary);
24
+ }
25
+ .bui-action-sheet-item-info {
26
+ --color: var(--bui-color-info);
27
+ }
28
+ .bui-action-sheet-item-success {
29
+ --color: var(--bui-color-success);
30
+ }
31
+ .bui-action-sheet-item-warning {
32
+ --color: var(--bui-color-warning);
33
+ }
34
+ .bui-action-sheet-item-danger {
35
+ --color: var(--bui-color-danger);
36
+ }
37
+ .bui-action-sheet-item-disabled {
38
+ pointer-events: none;
39
+ }
40
+ .bui-action-sheet-item-disabled .bui-action-sheet-item-content,
41
+ .bui-action-sheet-item-disabled .bui-action-sheet-item-description {
42
+ opacity: 0.5;
43
+ }
44
+ .bui-action-sheet-item-bold {
45
+ font-weight: bold;
46
+ }
47
+ .bui-action-sheet-item-description {
48
+ font-size: var(--bui-text-size-2);
49
+ line-height: 19px;
50
+ color: var(--bui-color-fg-subtle);
51
+ }
@@ -0,0 +1,89 @@
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
+ .bui-alert-standard-primary {
12
+ background-color: var(--bui-color-primary-light);
13
+ color: var(--bui-color-primary);
14
+ }
15
+ .bui-alert-standard-success {
16
+ background-color: var(--bui-color-success-light);
17
+ color: var(--bui-color-success);
18
+ }
19
+ .bui-alert-standard-info {
20
+ background-color: var(--bui-color-info-light);
21
+ color: var(--bui-color-info);
22
+ }
23
+ .bui-alert-standard-danger {
24
+ background-color: var(--bui-color-danger-light);
25
+ color: var(--bui-color-danger);
26
+ }
27
+ .bui-alert-standard-warning {
28
+ color: var(--bui-color-warning);
29
+ background-color: var(--bui-color-warning-light);
30
+ }
31
+ .bui-alert-outlined-primary {
32
+ border: 1px solid var(--bui-color-primary);
33
+ color: var(--bui-color-primary);
34
+ }
35
+ .bui-alert-outlined-success {
36
+ border: 1px solid var(--bui-color-success);
37
+ color: var(--bui-color-success);
38
+ }
39
+ .bui-alert-outlined-info {
40
+ border: 1px solid var(--bui-color-info);
41
+ color: var(--bui-color-info);
42
+ }
43
+ .bui-alert-outlined-danger {
44
+ border: 1px solid var(--bui-color-danger);
45
+ color: var(--bui-color-danger);
46
+ }
47
+ .bui-alert-outlined-warning {
48
+ border: 1px solid var(--bui-color-warning);
49
+ color: var(--bui-color-warning);
50
+ }
51
+ .bui-alert-default-icon {
52
+ font-size: 15px;
53
+ }
54
+ .bui-alert-content {
55
+ flex-grow: 1;
56
+ }
57
+ .bui-alert-action {
58
+ flex-shrink: 0;
59
+ margin-left: 16px;
60
+ word-wrap: keep-all;
61
+ font-size: var(--bui-text-size-3);
62
+ cursor: pointer;
63
+ text-align: center;
64
+ }
65
+ .bui-alert-action.bui-icon-btn {
66
+ padding: 0;
67
+ }
68
+ .bui-alert-icon {
69
+ display: flex;
70
+ align-items: center;
71
+ padding-right: 4px;
72
+ vertical-align: middle;
73
+ font-size: 15px;
74
+ cursor: pointer;
75
+ }
76
+ .bui-alert-marquee {
77
+ overflow: hidden;
78
+ }
79
+ .bui-alert-marquee-content {
80
+ display: inline-block;
81
+ padding-left: 100%;
82
+ white-space: nowrap;
83
+ animation: marquee var(--bui-alert-marquee-speed) linear infinite both;
84
+ }
85
+ @keyframes marquee {
86
+ 100% {
87
+ transform: translateX(-100%);
88
+ }
89
+ }
@@ -0,0 +1,43 @@
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
+ .bui-avatar-children {
10
+ white-space: nowrap;
11
+ overflow: hidden;
12
+ text-overflow: ellipsis;
13
+ }
14
+ .bui-avatar-large {
15
+ width: 60px;
16
+ height: 60px;
17
+ }
18
+ .bui-avatar-medium {
19
+ width: 42px;
20
+ height: 42px;
21
+ }
22
+ .bui-avatar-small {
23
+ width: 30px;
24
+ height: 30px;
25
+ }
26
+ .bui-avatar-xsmall {
27
+ width: 24px;
28
+ height: 24px;
29
+ }
30
+ .bui-avatar-rounded {
31
+ border-radius: 50%;
32
+ }
33
+ .bui-avatar-rounded .bui-avatar-img {
34
+ width: 100%;
35
+ height: 100%;
36
+ border-radius: 50%;
37
+ }
38
+ .bui-avatar-square {
39
+ border-radius: var(--bui-shape-radius-poster);
40
+ }
41
+ .bui-avatar-square .bui-avatar-img {
42
+ border-radius: var(--bui-shape-radius-poster);
43
+ }
@@ -0,0 +1,31 @@
1
+ .bui-avatar-group {
2
+ display: flex;
3
+ flex-direction: row;
4
+ font-family: var(--bui-font-family);
5
+ }
6
+ .bui-avatar-group-avatar,
7
+ .bui-avatar-group-extra {
8
+ box-shadow: 0 0 0 2px var(--bui-color-bg-view);
9
+ color: var(--bui-color-fg-default);
10
+ }
11
+ .bui-avatar-group .bui-avatar-xsmall:not(:first-child) {
12
+ margin-left: -5px;
13
+ }
14
+ .bui-avatar-group .bui-avatar-small {
15
+ box-shadow: 0 0 0 1px var(--bui-color-bg-view);
16
+ }
17
+ .bui-avatar-group .bui-avatar-small:not(:first-child) {
18
+ margin-left: -9px;
19
+ }
20
+ .bui-avatar-group .bui-avatar-large {
21
+ box-shadow: 0 0 0 3px var(--bui-color-bg-view);
22
+ }
23
+ .bui-avatar-group .bui-avatar-large:not(:first-child) {
24
+ margin-left: -21px;
25
+ }
26
+ .bui-avatar-group .bui-avatar-medium {
27
+ box-shadow: 0 0 0 2px var(--bui-color-bg-view);
28
+ }
29
+ .bui-avatar-group .bui-avatar-medium:not(:first-child) {
30
+ margin-left: -13px;
31
+ }
@@ -8,8 +8,7 @@
8
8
  left: 0;
9
9
  top: 0;
10
10
  background-color: rgba(0, 0, 0, 0.68);
11
-
12
- &-invisible {
13
- background-color: transparent;
14
- }
11
+ }
12
+ .bui-backdrop-invisible {
13
+ background-color: transparent;
15
14
  }
@@ -0,0 +1,95 @@
1
+ .bui-badge {
2
+ display: inline-block;
3
+ font-family: var(--bui-font-family);
4
+ }
5
+ .bui-badge-position {
6
+ position: relative;
7
+ }
8
+ .bui-badge-position .bui-badge-contained,
9
+ .bui-badge-position .bui-badge-outlined {
10
+ position: absolute;
11
+ top: 14%;
12
+ right: 14%;
13
+ transform: scale(1) translate(50%, -50%);
14
+ }
15
+ .bui-badge-position .bui-badge-dot {
16
+ top: 14%;
17
+ right: 14%;
18
+ transform: scale(1) translate(50%, -50%);
19
+ }
20
+ .bui-badge-position .bui-badge-bubble {
21
+ top: 14%;
22
+ right: 14%;
23
+ transform: scale(1) translate(50%, -50%);
24
+ }
25
+ .bui-badge-contained,
26
+ .bui-badge-outlined {
27
+ display: flex;
28
+ box-sizing: border-box;
29
+ align-items: center;
30
+ justify-content: center;
31
+ min-width: 15px;
32
+ height: 15px;
33
+ line-height: 15px;
34
+ padding: 0 3px;
35
+ font-size: var(--bui-text-size-4);
36
+ border-radius: 8px;
37
+ color: var(--bui-color-bg-view);
38
+ white-space: nowrap;
39
+ z-index: 1;
40
+ }
41
+ .bui-badge-outlined {
42
+ padding: 0 2px;
43
+ }
44
+ .bui-badge-primary {
45
+ background-color: var(--bui-color-primary);
46
+ }
47
+ .bui-badge-success {
48
+ background-color: var(--bui-color-success);
49
+ }
50
+ .bui-badge-info {
51
+ background-color: var(--bui-color-info);
52
+ }
53
+ .bui-badge-warning {
54
+ background-color: var(--bui-color-warning);
55
+ }
56
+ .bui-badge-danger {
57
+ background-color: var(--bui-color-danger);
58
+ }
59
+ .bui-badge-dot {
60
+ width: 9px;
61
+ min-width: 0;
62
+ height: 9px;
63
+ padding: 0;
64
+ border-radius: 100%;
65
+ }
66
+ .bui-badge-bubble {
67
+ border-radius: 6px 6px 6px 0;
68
+ padding: 0 5px;
69
+ }
70
+ .bui-badge-outlined {
71
+ background: var(--bui-color-bg-view);
72
+ }
73
+ .bui-badge-outlined.bui-badge-primary {
74
+ border: 1px solid var(--bui-color-primary);
75
+ color: var(--bui-color-primary);
76
+ }
77
+ .bui-badge-outlined.bui-badge-success {
78
+ border: 1px solid var(--bui-color-success);
79
+ color: var(--bui-color-success);
80
+ }
81
+ .bui-badge-outlined.bui-badge-info {
82
+ border: 1px solid var(--bui-color-info);
83
+ color: var(--bui-color-info);
84
+ }
85
+ .bui-badge-outlined.bui-badge-warning {
86
+ border: 1px solid var(--bui-color-warning);
87
+ color: var(--bui-color-warning);
88
+ }
89
+ .bui-badge-outlined.bui-badge-danger {
90
+ border: 1px solid var(--bui-color-danger);
91
+ color: var(--bui-color-danger);
92
+ }
93
+ .bui-badge-outlined.bui-badge-bubble {
94
+ border-radius: 6px 6px 6px 0;
95
+ }
@@ -0,0 +1,200 @@
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
+ }
@@ -0,0 +1,105 @@
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
+ }
@@ -4,7 +4,6 @@
4
4
  overflow: hidden;
5
5
  font-family: var(--bui-font-family);
6
6
  }
7
-
8
7
  .bui-card-header + .bui-card-content {
9
8
  padding-top: 0;
10
9
  }
@@ -0,0 +1,45 @@
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
+ }