@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.
Files changed (233) hide show
  1. package/dist/ActionSheet/ActionSheet.less +31 -0
  2. package/dist/ActionSheet/ActionSheetItem.less +62 -0
  3. package/dist/Alert/index.less +112 -0
  4. package/dist/Avatar/Avatar.less +52 -0
  5. package/dist/Avatar/AvatarGroup.less +39 -0
  6. package/dist/Backdrop/{Backdrop.css → Backdrop.less} +4 -3
  7. package/dist/Badge/Badge.less +118 -0
  8. package/dist/Button/Button.less +244 -0
  9. package/dist/Calendar/Calendar.less +126 -0
  10. package/{es/Card/Card.css → dist/Card/Card.less} +1 -0
  11. package/dist/Card/CardHeader.less +53 -0
  12. package/dist/Checkbox/Checkbox.less +55 -0
  13. package/dist/CitySelector/CitySelector.d.ts +4 -0
  14. package/dist/CitySelector/CitySelector.js +36 -0
  15. package/dist/CitySelector/CitySelector.less +122 -0
  16. package/dist/CitySelector/CitySelector.miniapp.d.ts +5 -0
  17. package/dist/CitySelector/CitySelector.miniapp.js +79 -0
  18. package/dist/CitySelector/CitySelector.types.d.ts +47 -0
  19. package/dist/CitySelector/CitySelector.types.js +5 -0
  20. package/dist/CitySelector/CitySelectorCore.d.ts +5 -0
  21. package/dist/CitySelector/CitySelectorCore.js +183 -0
  22. package/dist/CitySelector/Selector/index.d.ts +9 -0
  23. package/dist/CitySelector/Selector/index.js +22 -0
  24. package/dist/CitySelector/Selector/index.less +13 -0
  25. package/dist/CitySelector/index.d.ts +2 -0
  26. package/dist/CitySelector/index.js +34 -0
  27. package/dist/CitySelector/miniapp.less +4 -0
  28. package/dist/Countdown/Countdown.less +39 -0
  29. package/dist/Divider/Divider.less +50 -0
  30. package/dist/Drawer/Drawer.less +40 -0
  31. package/dist/IconButton/IconButton.less +167 -0
  32. package/dist/Image/index.less +40 -0
  33. package/dist/Input/Input.less +72 -0
  34. package/dist/List/{List.css → List.less} +1 -0
  35. package/dist/List/{ListItem.css → ListItem.less} +17 -6
  36. package/dist/List/{ListItemContent.css → ListItemContent.less} +7 -2
  37. package/dist/List/{ListItemFooter.css → ListItemFooter.less} +4 -3
  38. package/dist/Loading/Loading.less +40 -0
  39. package/dist/Modal/{Modal.css → Modal.less} +8 -6
  40. package/dist/Modal/Modal.miniapp.d.ts +16 -0
  41. package/dist/Modal/Modal.miniapp.js +73 -0
  42. package/dist/NavBar/NavBar.less +67 -0
  43. package/dist/Picker/Picker.d.ts +5 -0
  44. package/dist/Picker/Picker.js +155 -0
  45. package/dist/Picker/Picker.less +62 -0
  46. package/dist/Picker/Picker.types.d.ts +98 -0
  47. package/dist/Picker/Picker.types.js +5 -0
  48. package/dist/Picker/PickerPanel.d.ts +5 -0
  49. package/dist/Picker/PickerPanel.js +210 -0
  50. package/dist/Picker/PickerPanel.less +67 -0
  51. package/dist/Picker/index.d.ts +2 -0
  52. package/dist/Picker/index.js +34 -0
  53. package/dist/Picker/utils.d.ts +13 -0
  54. package/dist/Picker/utils.js +66 -0
  55. package/dist/Progress/Progress.less +24 -0
  56. package/dist/Radio/Radio.less +81 -0
  57. package/dist/Rating/Rating.less +64 -0
  58. package/dist/ScrollView/{ScrollView.css → ScrollView.less} +4 -0
  59. package/dist/Select/Select.less +105 -0
  60. package/dist/Skeleton/Skeleton.less +72 -0
  61. package/dist/Slider/Slider.less +108 -0
  62. package/dist/Stack/demo/index.less +27 -0
  63. package/dist/Steps/Step.less +228 -0
  64. package/{es/Steps/Steps.css → dist/Steps/Steps.less} +5 -3
  65. package/dist/Swiper/Swiper.less +25 -0
  66. package/dist/Switch/Switch.less +177 -0
  67. package/dist/TabBar/TabBarItem.less +54 -0
  68. package/dist/Tabs/Tab.js +1 -1
  69. package/dist/Tabs/Tab.less +60 -0
  70. package/dist/Tabs/TabPanel.less +11 -0
  71. package/dist/Tabs/Tabs.less +77 -0
  72. package/dist/Tag/Tag.less +119 -0
  73. package/dist/Tag/TagGroup.less +52 -0
  74. package/dist/TextArea/{TextArea.css → TextArea.less} +27 -19
  75. package/dist/index.d.ts +2 -0
  76. package/dist/index.js +22 -0
  77. package/es/ActionSheet/ActionSheet.less +31 -0
  78. package/es/ActionSheet/ActionSheetItem.less +62 -0
  79. package/es/Alert/index.less +112 -0
  80. package/es/Avatar/Avatar.less +52 -0
  81. package/es/Avatar/AvatarGroup.less +39 -0
  82. package/es/Backdrop/{Backdrop.css → Backdrop.less} +4 -3
  83. package/es/Badge/Badge.less +118 -0
  84. package/es/Button/Button.less +244 -0
  85. package/es/Calendar/Calendar.less +126 -0
  86. package/{dist/Card/Card.css → es/Card/Card.less} +1 -0
  87. package/es/Card/CardHeader.less +53 -0
  88. package/es/Checkbox/Checkbox.less +55 -0
  89. package/es/CitySelector/CitySelector.d.ts +4 -0
  90. package/es/CitySelector/CitySelector.js +36 -0
  91. package/es/CitySelector/CitySelector.less +122 -0
  92. package/es/CitySelector/CitySelector.miniapp.d.ts +5 -0
  93. package/es/CitySelector/CitySelector.miniapp.js +77 -0
  94. package/es/CitySelector/CitySelector.types.d.ts +47 -0
  95. package/es/CitySelector/CitySelector.types.js +1 -0
  96. package/es/CitySelector/CitySelectorCore.d.ts +5 -0
  97. package/es/CitySelector/CitySelectorCore.js +194 -0
  98. package/es/CitySelector/Selector/index.d.ts +9 -0
  99. package/es/CitySelector/Selector/index.js +13 -0
  100. package/es/CitySelector/Selector/index.less +13 -0
  101. package/es/CitySelector/index.d.ts +2 -0
  102. package/es/CitySelector/index.js +2 -0
  103. package/es/CitySelector/miniapp.less +4 -0
  104. package/es/Countdown/Countdown.less +39 -0
  105. package/es/Divider/Divider.less +50 -0
  106. package/es/Drawer/Drawer.less +40 -0
  107. package/es/IconButton/IconButton.less +167 -0
  108. package/es/Image/index.less +40 -0
  109. package/es/Input/Input.less +72 -0
  110. package/es/List/{List.css → List.less} +1 -0
  111. package/es/List/{ListItem.css → ListItem.less} +17 -6
  112. package/es/List/{ListItemContent.css → ListItemContent.less} +7 -2
  113. package/es/List/{ListItemFooter.css → ListItemFooter.less} +4 -3
  114. package/es/Loading/Loading.less +40 -0
  115. package/es/Modal/{Modal.css → Modal.less} +8 -6
  116. package/es/Modal/Modal.miniapp.d.ts +16 -0
  117. package/es/Modal/Modal.miniapp.js +78 -0
  118. package/es/NavBar/NavBar.less +67 -0
  119. package/es/Picker/Picker.d.ts +5 -0
  120. package/es/Picker/Picker.js +171 -0
  121. package/es/Picker/Picker.less +62 -0
  122. package/es/Picker/Picker.types.d.ts +98 -0
  123. package/es/Picker/Picker.types.js +1 -0
  124. package/es/Picker/PickerPanel.d.ts +5 -0
  125. package/es/Picker/PickerPanel.js +234 -0
  126. package/es/Picker/PickerPanel.less +67 -0
  127. package/es/Picker/index.d.ts +2 -0
  128. package/es/Picker/index.js +2 -0
  129. package/es/Picker/utils.d.ts +13 -0
  130. package/es/Picker/utils.js +65 -0
  131. package/es/Progress/Progress.less +24 -0
  132. package/es/Radio/Radio.less +81 -0
  133. package/es/Rating/Rating.less +64 -0
  134. package/es/ScrollView/{ScrollView.css → ScrollView.less} +4 -0
  135. package/es/Select/Select.less +105 -0
  136. package/es/Skeleton/Skeleton.less +72 -0
  137. package/es/Slider/Slider.less +108 -0
  138. package/es/Stack/demo/index.less +27 -0
  139. package/es/Steps/Step.less +228 -0
  140. package/{dist/Steps/Steps.css → es/Steps/Steps.less} +5 -3
  141. package/es/Swiper/Swiper.less +25 -0
  142. package/es/Switch/Switch.less +177 -0
  143. package/es/TabBar/TabBarItem.less +54 -0
  144. package/es/Tabs/Tab.js +1 -1
  145. package/es/Tabs/Tab.less +60 -0
  146. package/es/Tabs/TabPanel.less +11 -0
  147. package/es/Tabs/Tabs.less +77 -0
  148. package/es/Tag/Tag.less +119 -0
  149. package/es/Tag/TagGroup.less +52 -0
  150. package/es/TextArea/{TextArea.css → TextArea.less} +27 -19
  151. package/es/index.d.ts +2 -0
  152. package/es/index.js +3 -1
  153. package/package.json +6 -6
  154. package/dist/ActionSheet/ActionSheet.css +0 -27
  155. package/dist/ActionSheet/ActionSheetItem.css +0 -51
  156. package/dist/Alert/index.css +0 -89
  157. package/dist/Avatar/Avatar.css +0 -43
  158. package/dist/Avatar/AvatarGroup.css +0 -31
  159. package/dist/Badge/Badge.css +0 -95
  160. package/dist/Button/Button.css +0 -200
  161. package/dist/Calendar/Calendar.css +0 -105
  162. package/dist/Card/CardHeader.css +0 -45
  163. package/dist/Checkbox/Checkbox.css +0 -45
  164. package/dist/Countdown/Countdown.css +0 -28
  165. package/dist/Divider/Divider.css +0 -41
  166. package/dist/Drawer/Drawer.css +0 -35
  167. package/dist/IconButton/IconButton.css +0 -130
  168. package/dist/Image/index.css +0 -35
  169. package/dist/Input/Input.css +0 -59
  170. package/dist/Loading/Loading.css +0 -31
  171. package/dist/NavBar/NavBar.css +0 -57
  172. package/dist/Progress/Progress.css +0 -22
  173. package/dist/Radio/Radio.css +0 -65
  174. package/dist/Rating/Rating.css +0 -52
  175. package/dist/Select/Select.css +0 -89
  176. package/dist/Skeleton/Skeleton.css +0 -54
  177. package/dist/Slider/Slider.css +0 -95
  178. package/dist/Stack/demo/index.css +0 -23
  179. package/dist/Steps/Step.css +0 -174
  180. package/dist/Swiper/Swiper.css +0 -20
  181. package/dist/Switch/Switch.css +0 -127
  182. package/dist/TabBar/TabBarItem.css +0 -38
  183. package/dist/Tabs/Tab.css +0 -52
  184. package/dist/Tabs/TabPanel.css +0 -9
  185. package/dist/Tabs/Tabs.css +0 -56
  186. package/dist/Tag/Tag.css +0 -97
  187. package/dist/Tag/TagGroup.css +0 -43
  188. package/es/ActionSheet/ActionSheet.css +0 -27
  189. package/es/ActionSheet/ActionSheetItem.css +0 -51
  190. package/es/Alert/index.css +0 -89
  191. package/es/Avatar/Avatar.css +0 -43
  192. package/es/Avatar/AvatarGroup.css +0 -31
  193. package/es/Badge/Badge.css +0 -95
  194. package/es/Button/Button.css +0 -200
  195. package/es/Calendar/Calendar.css +0 -105
  196. package/es/Card/CardHeader.css +0 -45
  197. package/es/Checkbox/Checkbox.css +0 -45
  198. package/es/Countdown/Countdown.css +0 -28
  199. package/es/Divider/Divider.css +0 -41
  200. package/es/Drawer/Drawer.css +0 -35
  201. package/es/IconButton/IconButton.css +0 -130
  202. package/es/Image/index.css +0 -35
  203. package/es/Input/Input.css +0 -59
  204. package/es/Loading/Loading.css +0 -31
  205. package/es/NavBar/NavBar.css +0 -57
  206. package/es/Progress/Progress.css +0 -22
  207. package/es/Radio/Radio.css +0 -65
  208. package/es/Rating/Rating.css +0 -52
  209. package/es/Select/Select.css +0 -89
  210. package/es/Skeleton/Skeleton.css +0 -54
  211. package/es/Slider/Slider.css +0 -95
  212. package/es/Stack/demo/index.css +0 -23
  213. package/es/Steps/Step.css +0 -174
  214. package/es/Swiper/Swiper.css +0 -20
  215. package/es/Switch/Switch.css +0 -127
  216. package/es/TabBar/TabBarItem.css +0 -38
  217. package/es/Tabs/Tab.css +0 -52
  218. package/es/Tabs/TabPanel.css +0 -9
  219. package/es/Tabs/Tabs.css +0 -56
  220. package/es/Tag/Tag.css +0 -97
  221. package/es/Tag/TagGroup.css +0 -43
  222. /package/dist/Card/{CardContent.css → CardContent.less} +0 -0
  223. /package/dist/Card/{CardFooter.css → CardFooter.less} +0 -0
  224. /package/dist/List/{ListItemExtra.css → ListItemExtra.less} +0 -0
  225. /package/dist/List/{ListItemHeader.css → ListItemHeader.less} +0 -0
  226. /package/dist/Stack/{Stack.css → Stack.less} +0 -0
  227. /package/dist/TabBar/{TabBar.css → TabBar.less} +0 -0
  228. /package/es/Card/{CardContent.css → CardContent.less} +0 -0
  229. /package/es/Card/{CardFooter.css → CardFooter.less} +0 -0
  230. /package/es/List/{ListItemExtra.css → ListItemExtra.less} +0 -0
  231. /package/es/List/{ListItemHeader.css → ListItemHeader.less} +0 -0
  232. /package/es/Stack/{Stack.css → Stack.less} +0 -0
  233. /package/es/TabBar/{TabBar.css → TabBar.less} +0 -0
@@ -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
- }
@@ -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
- }
@@ -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
- }
@@ -1,59 +0,0 @@
1
- .bui-input {
2
- position: relative;
3
- display: flex;
4
- align-items: center;
5
- height: 32px;
6
- padding: 4px 10px;
7
- box-sizing: border-box;
8
- border-radius: var(--bui-shape-radius-default);
9
- border: 1px solid var(--bui-color-border-default);
10
- font-family: var(--bui-font-family);
11
- }
12
- .bui-input-icon {
13
- display: flex;
14
- align-items: center;
15
- color: var(--bui-color-fg-subtle);
16
- font-size: var(--bui-title-size-3);
17
- }
18
- .bui-input-icon-start {
19
- margin-right: 3px;
20
- }
21
- .bui-input-icon-end {
22
- margin-left: 3px;
23
- }
24
- .bui-input-input {
25
- flex: 1;
26
- display: flex;
27
- align-items: center;
28
- padding: 0;
29
- height: 100%;
30
- color: var(--bui-color-fg-default);
31
- border: none;
32
- outline: none;
33
- background-color: transparent;
34
- font-size: var(--bui-text-size-2);
35
- }
36
- .bui-input-input::placeholder {
37
- color: var(--bui-color-fg-subtle);
38
- }
39
- .bui-input-disabled {
40
- pointer-events: none;
41
- background-color: rgba(0, 0, 0, 0.04);
42
- }
43
- .bui-input-disabled .bui-input-input {
44
- color: var(--bui-color-fg-disabled);
45
- }
46
- .bui-input-disabled .bui-input-input::placeholder {
47
- color: var(--bui-color-fg-disabled);
48
- }
49
- .bui-input-clear {
50
- display: flex;
51
- align-items: center;
52
- cursor: pointer;
53
- color: var(--bui-color-fg-disabled);
54
- height: 100%;
55
- font-size: var(--bui-title-size-3);
56
- }
57
- .bui-input .bui-mini-placeholder {
58
- width: auto;
59
- }
@@ -1,31 +0,0 @@
1
- .bui-loading {
2
- --animation-duration: var(--bui-loading-animation-duration, 1.6s);
3
- width: fit-content;
4
- display: flex;
5
- justify-content: center;
6
- align-items: center;
7
- padding: var(--bui-spacing-md);
8
- font-family: var(--bui-font-family);
9
- }
10
- .bui-loading-icon {
11
- font-size: 30px;
12
- animation: loading var(--animation-duration) linear infinite;
13
- }
14
- .bui-loading-text {
15
- padding: 10px;
16
- font-size: var(--bui-title-size-3);
17
- }
18
- .bui-loading-vertical {
19
- flex-direction: row;
20
- }
21
- .bui-loading-horizontal {
22
- flex-direction: column;
23
- }
24
- @keyframes loading {
25
- 0% {
26
- transform: rotate(0deg);
27
- }
28
- 100% {
29
- transform: rotate(360deg);
30
- }
31
- }
@@ -1,57 +0,0 @@
1
- .bui-navbar {
2
- --height: var(--bui-navbar-height, 45px);
3
- --icon-size: var(--bui-navbar-icon-size, 24px);
4
- --background-color: var(--bui-navbar-background-color, var(--bui-color-white));
5
- --border-bottom: var(--bui-navbar-border-bottom, none);
6
- --z-index: var(--bui-navbar-z-index, auto);
7
- position: relative;
8
- width: 100%;
9
- height: var(--height);
10
- box-sizing: border-box;
11
- padding: 0 8px;
12
- display: flex;
13
- justify-content: center;
14
- align-items: center;
15
- background-color: var(--background-color);
16
- border-bottom: var(--border-bottom);
17
- user-select: none;
18
- z-index: var(--z-index);
19
- font-family: var(--bui-font-family);
20
- }
21
- .bui-navbar-fixed {
22
- position: fixed;
23
- top: 0;
24
- left: 0;
25
- width: 100%;
26
- }
27
- .bui-navbar-title {
28
- max-width: 60%;
29
- padding: 0 8px;
30
- font-size: var(--bui-title-size-2);
31
- width: auto;
32
- overflow: hidden;
33
- text-overflow: ellipsis;
34
- white-space: nowrap;
35
- }
36
- .bui-navbar-left,
37
- .bui-navbar-right {
38
- flex: 1;
39
- display: flex;
40
- align-items: center;
41
- font-size: var(--bui-title-size-3);
42
- }
43
- .bui-navbar-left {
44
- justify-content: flex-start;
45
- text-align: left;
46
- }
47
- .bui-navbar-right {
48
- justify-content: flex-end;
49
- text-align: right;
50
- align-self: stretch;
51
- }
52
- .bui-navbar-icon {
53
- font-size: var(--icon-size);
54
- }
55
- .bui-navbar-placeholder {
56
- width: 100%;
57
- }
@@ -1,22 +0,0 @@
1
- .bui-progress {
2
- --fill-color: var(--bui-color-primary);
3
- --trail-color: rgba(156, 156, 165, 0.2);
4
- --stroke-width: 8px;
5
- width: 100%;
6
- font-family: var(--bui-font-family);
7
- }
8
- .bui-progress-inner {
9
- position: relative;
10
- display: inline-block;
11
- width: 100%;
12
- overflow: hidden;
13
- vertical-align: middle;
14
- background-color: var(--trail-color);
15
- border-radius: 100px;
16
- }
17
- .bui-progress-bg {
18
- position: relative;
19
- border-radius: 100px;
20
- background-color: var(--fill-color);
21
- height: var(--stroke-width);
22
- }
@@ -1,65 +0,0 @@
1
- .bui-radio {
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-radio-disabled {
11
- pointer-events: none;
12
- opacity: 0.5;
13
- }
14
- .bui-radio-label-left {
15
- flex-direction: row-reverse;
16
- }
17
- .bui-radio-label-top {
18
- flex-direction: column-reverse;
19
- }
20
- .bui-radio-label-bottom {
21
- flex-direction: column;
22
- }
23
- .bui-radio-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-radio-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
- }
41
- .bui-radio-label {
42
- font-size: var(--label-font-size);
43
- color: var(--label-color);
44
- }
45
- .bui-radio-btn-icon {
46
- position: relative;
47
- display: flex;
48
- }
49
- .bui-radio-btn-icon .bui-svg-icon {
50
- font-size: var(--icon-font-size);
51
- }
52
- .bui-radio-btn-icon-outline {
53
- transform: scale(1);
54
- transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
55
- }
56
- .bui-radio-btn-icon-contained {
57
- position: absolute;
58
- left: 0;
59
- transform: scale(0);
60
- transition: transform 150ms cubic-bezier(0.4, 0, 1, 1) 0ms;
61
- }
62
- .bui-radio-btn-icon-checked .bui-radio-btn-icon-contained {
63
- transform: scale(1);
64
- transition: transform 150ms cubic-bezier(0, 0, 0.2, 1) 0ms;
65
- }
@@ -1,52 +0,0 @@
1
- .bui-rating {
2
- display: flex;
3
- flex-wrap: wrap;
4
- font-family: var(--bui-font-family);
5
- }
6
- .bui-rating-disabled {
7
- pointer-events: none;
8
- opacity: 0.5;
9
- }
10
- .bui-rating-container {
11
- position: relative;
12
- display: flex;
13
- }
14
- .bui-rating-container:last-child {
15
- margin-right: 0;
16
- }
17
- .bui-rating-container-xsmall {
18
- font-size: var(--bui-text-size-5);
19
- }
20
- .bui-rating-container-small {
21
- font-size: var(--bui-text-size-1);
22
- margin-right: 0.5px;
23
- }
24
- .bui-rating-container-medium {
25
- font-size: var(--bui-title-size-3);
26
- margin-right: 1px;
27
- }
28
- .bui-rating-container-large {
29
- font-size: 22px;
30
- margin-right: 2px;
31
- }
32
- .bui-rating-item {
33
- display: flex;
34
- align-items: center;
35
- overflow: hidden;
36
- cursor: pointer;
37
- color: var(--bui-color-fg-disabled);
38
- }
39
- .bui-rating-item-input {
40
- display: none;
41
- }
42
- .bui-rating-item-half {
43
- position: absolute;
44
- top: 0;
45
- width: 50%;
46
- }
47
- .bui-rating-item-readonly {
48
- cursor: unset;
49
- }
50
- .bui-rating-item-active {
51
- color: var(--bui-color-warning);
52
- }
@@ -1,89 +0,0 @@
1
- .bui-select {
2
- position: relative;
3
- cursor: pointer;
4
- height: 27px;
5
- min-width: 100px;
6
- font-size: var(--bui-title-size-3);
7
- border-radius: 5px;
8
- background-color: var(--bui-color-bg-view);
9
- font-family: var(--bui-font-family);
10
- }
11
- .bui-select:active,
12
- .bui-select-active {
13
- box-shadow: 0 0 0 2px var(--bui-color-bg-default);
14
- }
15
- .bui-select-selector-container {
16
- display: flex;
17
- align-items: center;
18
- padding: 0 14px;
19
- height: 100%;
20
- }
21
- .bui-select-input {
22
- width: 0;
23
- height: 0;
24
- border: 0;
25
- opacity: 0;
26
- }
27
- .bui-select-placeholder {
28
- color: var(--bui-color-fg-disabled);
29
- }
30
- .bui-select-selector {
31
- display: flex;
32
- justify-content: space-between;
33
- align-items: center;
34
- flex: 1;
35
- height: 27px;
36
- background-color: transparent;
37
- outline: none;
38
- border: 0;
39
- }
40
- .bui-select-selector-icon {
41
- font-size: var(--bui-title-size-3);
42
- }
43
- .bui-select-option-container {
44
- position: absolute;
45
- box-sizing: border-box;
46
- top: 100%;
47
- left: 0;
48
- width: 100%;
49
- z-index: var(--bui-z-index-dropdown);
50
- margin-top: 6px;
51
- background-color: var(--bui-color-bg-view);
52
- padding: 2px;
53
- overflow: hidden;
54
- }
55
- .bui-select-option-main {
56
- border-radius: 3px;
57
- padding: 3px 0;
58
- box-shadow: 0 0 0 2px var(--bui-color-bg-default);
59
- overflow: hidden;
60
- }
61
- .bui-select-option {
62
- display: flex;
63
- align-items: center;
64
- height: 27px;
65
- padding: 0 14px;
66
- border-radius: 5px;
67
- margin: 0 3px;
68
- }
69
- .bui-select-option:hover {
70
- background-color: var(---bui-select-options-active-bg, #fff2f0);
71
- color: var(--bui-color-primary);
72
- }
73
- .bui-select-option-active {
74
- font-weight: 500;
75
- color: var(--bui-color-primary);
76
- background-color: var(---bui-select-options-active-bg, #fff2f0);
77
- }
78
- .bui-select-option-hide {
79
- opacity: 0;
80
- transform: translateY(-5px);
81
- }
82
- .bui-select.bui-select-disabled,
83
- .bui-select-option-disabled {
84
- pointer-events: none;
85
- box-shadow: none;
86
- background-color: var(--bui-color-bg-view);
87
- color: var(--bui-color-fg-subtle);
88
- border: none;
89
- }
@@ -1,54 +0,0 @@
1
- .bui-skeleton {
2
- --border-radius: var(--bui-shape-radius-label);
3
- display: block;
4
- }
5
- .bui-skeleton-animation-wave {
6
- background: linear-gradient(90deg, rgba(190, 190, 190, 0.2) 25%, rgba(129, 129, 129, 0.24) 37%, rgba(190, 190, 190, 0.2) 63%);
7
- background-size: 400% 100%;
8
- animation: bui-skeleton-wave 1.4s ease infinite;
9
- }
10
- .bui-skeleton-animation-pulse {
11
- background: rgba(190, 190, 190, 0.35);
12
- animation: bui-skeleton-pulse 1.4s ease infinite;
13
- }
14
- .bui-skeleton-text {
15
- height: auto;
16
- transform-origin: 0 55%;
17
- transform: scale(1, 0.6);
18
- border-radius: var(--border-radius);
19
- }
20
- .bui-skeleton-text::before {
21
- content: '\00a0';
22
- }
23
- .bui-skeleton-rectangular {
24
- height: 1.2em;
25
- }
26
- .bui-skeleton-rounded {
27
- height: 1.2em;
28
- border-radius: var(--border-radius);
29
- }
30
- .bui-skeleton-circular {
31
- border-radius: 50%;
32
- }
33
- .bui-skeleton-with-children {
34
- max-width: fit-content;
35
- }
36
- @keyframes bui-skeleton-wave {
37
- 0% {
38
- background-position: 100% 50%;
39
- }
40
- 100% {
41
- background-position: 0 50%;
42
- }
43
- }
44
- @keyframes bui-skeleton-pulse {
45
- 0% {
46
- opacity: 1;
47
- }
48
- 50% {
49
- opacity: 0.58;
50
- }
51
- 100% {
52
- opacity: 1;
53
- }
54
- }