@bifrostui/react 2.0.0-beta.2 → 2.0.0-beta.3

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 (349) hide show
  1. package/dist/ActionSheet/ActionSheet.css +16 -6
  2. package/dist/ActionSheet/ActionSheetItem.css +11 -17
  3. package/dist/ActionSheet/ActionSheetItem.js +1 -1
  4. package/dist/ActionSheet/ActionSheetItem.types.d.ts +2 -2
  5. package/dist/ActionSheet/index.css +89 -0
  6. package/dist/Alert/Alert.types.d.ts +3 -3
  7. package/dist/Alert/index.css +18 -14
  8. package/dist/Avatar/Avatar.css +16 -12
  9. package/dist/Avatar/AvatarGroup.css +19 -15
  10. package/dist/Avatar/index.css +93 -0
  11. package/dist/Backdrop/Backdrop.d.ts +1 -1
  12. package/dist/Backdrop/Backdrop.js +1 -1
  13. package/dist/Backdrop/{Backdrop.css → index.css} +6 -2
  14. package/dist/Badge/Badge.d.ts +1 -1
  15. package/dist/Badge/Badge.js +1 -1
  16. package/dist/Badge/Badge.types.d.ts +1 -1
  17. package/dist/Badge/{Badge.css → index.css} +47 -27
  18. package/dist/Breadcrumb/Breadcrumb.d.ts +1 -1
  19. package/dist/Breadcrumb/Breadcrumb.js +1 -1
  20. package/dist/Breadcrumb/index.css +38 -0
  21. package/dist/Button/Button.d.ts +1 -1
  22. package/dist/Button/Button.js +3 -2
  23. package/{es/Button/Button.css → dist/Button/index.css} +69 -38
  24. package/dist/Calendar/Calendar.d.ts +1 -1
  25. package/dist/Calendar/Calendar.js +3 -3
  26. package/dist/Calendar/{Calendar.css → index.css} +35 -31
  27. package/dist/Card/Card.css +10 -1
  28. package/dist/Card/CardContent.css +1 -1
  29. package/dist/Card/CardFooter.css +2 -2
  30. package/dist/Card/CardHeader.css +4 -3
  31. package/dist/Card/CardHeader.js +2 -2
  32. package/dist/Card/index.css +77 -0
  33. package/dist/Checkbox/Checkbox.d.ts +1 -1
  34. package/dist/Checkbox/Checkbox.js +2 -2
  35. package/dist/Checkbox/CheckboxGroup.d.ts +1 -1
  36. package/dist/Checkbox/CheckboxGroup.js +1 -1
  37. package/dist/Checkbox/{Checkbox.css → index.css} +14 -10
  38. package/dist/CitySelector/CitySelector.miniapp.d.ts +0 -1
  39. package/dist/CitySelector/CitySelector.miniapp.js +0 -1
  40. package/dist/CitySelector/CitySelectorCore.d.ts +1 -1
  41. package/dist/CitySelector/CitySelectorCore.js +1 -1
  42. package/dist/CitySelector/Selector/index.css +4 -4
  43. package/{es/CitySelector/CitySelector.css → dist/CitySelector/index.css} +31 -27
  44. package/dist/Collapse/Collapse.d.ts +1 -1
  45. package/dist/Collapse/Collapse.js +1 -1
  46. package/dist/CollapsePanel/CollapsePanel.d.ts +1 -1
  47. package/dist/CollapsePanel/CollapsePanel.js +1 -1
  48. package/dist/CollapsePanel/{CollapsePanel.css → index.css} +10 -6
  49. package/dist/Countdown/Countdown.d.ts +1 -1
  50. package/dist/Countdown/Countdown.js +1 -1
  51. package/{es/Countdown/Countdown.css → dist/Countdown/index.css} +12 -8
  52. package/dist/Dialog/index.css +26 -23
  53. package/dist/Divider/Divider.d.ts +1 -1
  54. package/dist/Divider/Divider.js +1 -1
  55. package/{es/Divider/Divider.css → dist/Divider/index.css} +14 -10
  56. package/dist/Drawer/Drawer.d.ts +1 -1
  57. package/dist/Drawer/Drawer.js +1 -1
  58. package/dist/IconButton/IconButton.d.ts +1 -1
  59. package/dist/IconButton/IconButton.js +3 -3
  60. package/dist/IconButton/IconButton.types.d.ts +4 -3
  61. package/{es/IconButton/IconButton.css → dist/IconButton/index.css} +79 -29
  62. package/dist/Image/index.css +6 -2
  63. package/dist/Input/Input.d.ts +1 -1
  64. package/dist/Input/Input.js +2 -2
  65. package/dist/Input/{Input.css → index.css} +22 -18
  66. package/dist/ItemSelector/ItemSelector.miniapp.d.ts +0 -1
  67. package/dist/ItemSelector/ItemSelector.miniapp.js +0 -1
  68. package/dist/ItemSelector/ItemSelectorCore.d.ts +1 -1
  69. package/dist/ItemSelector/ItemSelectorCore.js +1 -1
  70. package/dist/List/List.css +7 -3
  71. package/dist/List/ListItem.css +3 -3
  72. package/dist/List/index.css +80 -0
  73. package/dist/Loading/Loading.d.ts +1 -1
  74. package/dist/Loading/Loading.js +1 -1
  75. package/{es/Loading/Loading.css → dist/Loading/index.css} +10 -6
  76. package/dist/Modal/Modal.d.ts +1 -1
  77. package/dist/Modal/Modal.js +1 -1
  78. package/dist/Modal/Modal.miniapp.d.ts +2 -2
  79. package/dist/Modal/Modal.miniapp.js +1 -1
  80. package/dist/NavBar/NavBar.d.ts +1 -1
  81. package/dist/NavBar/NavBar.js +1 -1
  82. package/dist/NavBar/index.css +65 -0
  83. package/dist/Picker/Picker.css +21 -16
  84. package/dist/Picker/Picker.js +1 -1
  85. package/dist/Picker/Picker.types.d.ts +2 -2
  86. package/dist/Picker/PickerPanel.css +8 -8
  87. package/dist/Picker/PickerPanel.js +33 -22
  88. package/dist/Picker/index.css +116 -0
  89. package/dist/Popover/Popover.d.ts +1 -1
  90. package/dist/Popover/Popover.js +1 -1
  91. package/{es/Popover/Popover.css → dist/Popover/index.css} +32 -28
  92. package/dist/Progress/Progress.d.ts +1 -1
  93. package/dist/Progress/Progress.js +1 -1
  94. package/dist/Progress/index.css +28 -0
  95. package/dist/Radio/Radio.d.ts +1 -1
  96. package/dist/Radio/Radio.js +1 -1
  97. package/dist/Radio/RadioButtonIcon.js +6 -1
  98. package/dist/Radio/RadioGroup.d.ts +1 -1
  99. package/dist/Radio/RadioGroup.js +1 -1
  100. package/dist/Radio/{Radio.css → index.css} +10 -6
  101. package/dist/Rating/Rating.d.ts +1 -1
  102. package/dist/Rating/Rating.js +2 -2
  103. package/dist/Rating/{Rating.css → index.css} +20 -7
  104. package/dist/ScrollView/ScrollView.d.ts +1 -1
  105. package/dist/ScrollView/ScrollView.js +1 -1
  106. package/dist/Select/Select.d.ts +1 -1
  107. package/dist/Select/Select.js +2 -8
  108. package/dist/Select/SelectOption.d.ts +1 -1
  109. package/dist/Select/SelectOption.js +1 -1
  110. package/{es/Select/Select.css → dist/Select/index.css} +26 -19
  111. package/dist/Skeleton/Skeleton.d.ts +1 -1
  112. package/dist/Skeleton/Skeleton.js +1 -1
  113. package/{es/Skeleton/Skeleton.css → dist/Skeleton/index.css} +7 -3
  114. package/dist/Slider/Slider.d.ts +1 -1
  115. package/dist/Slider/Slider.js +2 -2
  116. package/dist/Slider/index.css +111 -0
  117. package/dist/Stack/Stack.d.ts +1 -1
  118. package/dist/Stack/Stack.js +1 -1
  119. package/dist/Steps/Step.css +14 -14
  120. package/dist/Steps/Step.js +1 -1
  121. package/dist/Steps/Steps.css +18 -14
  122. package/dist/Steps/index.css +199 -0
  123. package/dist/Swiper/Swiper.d.ts +1 -1
  124. package/dist/Swiper/Swiper.js +1 -1
  125. package/dist/Swiper/{Swiper.css → index.css} +6 -2
  126. package/dist/Switch/Switch.d.ts +1 -1
  127. package/dist/Switch/Switch.js +1 -1
  128. package/dist/Switch/Switch.types.d.ts +1 -1
  129. package/dist/Switch/{Switch.css → index.css} +46 -35
  130. package/dist/TabBar/TabBar.css +12 -8
  131. package/dist/TabBar/TabBar.js +1 -1
  132. package/dist/TabBar/TabBarContext.d.ts +3 -3
  133. package/dist/TabBar/TabBarItem.css +6 -0
  134. package/dist/TabBar/TabBarItem.js +3 -3
  135. package/dist/TabBar/index.css +59 -0
  136. package/dist/TabBar/index.types.d.ts +3 -3
  137. package/dist/Tabs/Tab.css +9 -9
  138. package/dist/Tabs/Tabs.css +24 -4
  139. package/dist/Tabs/Tabs.js +1 -1
  140. package/dist/Tabs/index.css +135 -0
  141. package/dist/Tag/Tag.css +48 -22
  142. package/dist/Tag/Tag.js +2 -2
  143. package/dist/Tag/Tag.types.d.ts +4 -4
  144. package/dist/Tag/TagGroup.css +13 -9
  145. package/dist/Tag/index.css +182 -0
  146. package/dist/TextArea/TextArea.d.ts +1 -1
  147. package/dist/TextArea/TextArea.js +1 -1
  148. package/dist/TextArea/index.css +57 -0
  149. package/dist/ThemeProvider/ThemeProvider.js +1 -4
  150. package/dist/ThemeProvider/ThemeProvider.types.d.ts +5 -10
  151. package/dist/ThemeProvider/utils/constants.d.ts +1 -1
  152. package/dist/ThemeProvider/utils/constants.js +4 -1
  153. package/dist/ThemeProvider/utils/mountTokens.d.ts +4 -4
  154. package/dist/Toast/Toast.d.ts +1 -1
  155. package/dist/Toast/Toast.js +5 -5
  156. package/dist/Toast/index.css +58 -0
  157. package/dist/Tooltip/Tooltip.d.ts +1 -1
  158. package/dist/Tooltip/Tooltip.js +1 -1
  159. package/dist/Tooltip/index.css +95 -0
  160. package/es/ActionSheet/ActionSheet.css +16 -6
  161. package/es/ActionSheet/ActionSheetItem.css +11 -17
  162. package/es/ActionSheet/ActionSheetItem.js +1 -1
  163. package/es/ActionSheet/ActionSheetItem.types.d.ts +2 -2
  164. package/es/ActionSheet/index.css +89 -0
  165. package/es/Alert/Alert.types.d.ts +3 -3
  166. package/es/Alert/index.css +18 -14
  167. package/es/Avatar/Avatar.css +16 -12
  168. package/es/Avatar/AvatarGroup.css +19 -15
  169. package/es/Avatar/index.css +93 -0
  170. package/es/Backdrop/Backdrop.d.ts +1 -1
  171. package/es/Backdrop/Backdrop.js +1 -1
  172. package/es/Backdrop/{Backdrop.css → index.css} +6 -2
  173. package/es/Badge/Badge.d.ts +1 -1
  174. package/es/Badge/Badge.js +1 -1
  175. package/es/Badge/Badge.types.d.ts +1 -1
  176. package/es/Badge/{Badge.css → index.css} +47 -27
  177. package/es/Breadcrumb/Breadcrumb.d.ts +1 -1
  178. package/es/Breadcrumb/Breadcrumb.js +1 -1
  179. package/es/Breadcrumb/index.css +38 -0
  180. package/es/Button/Button.d.ts +1 -1
  181. package/es/Button/Button.js +3 -2
  182. package/{dist/Button/Button.css → es/Button/index.css} +69 -38
  183. package/es/Calendar/Calendar.d.ts +1 -1
  184. package/es/Calendar/Calendar.js +3 -3
  185. package/es/Calendar/{Calendar.css → index.css} +35 -31
  186. package/es/Card/Card.css +10 -1
  187. package/es/Card/CardContent.css +1 -1
  188. package/es/Card/CardFooter.css +2 -2
  189. package/es/Card/CardHeader.css +4 -3
  190. package/es/Card/CardHeader.js +2 -2
  191. package/es/Card/index.css +77 -0
  192. package/es/Checkbox/Checkbox.d.ts +1 -1
  193. package/es/Checkbox/Checkbox.js +2 -2
  194. package/es/Checkbox/CheckboxGroup.d.ts +1 -1
  195. package/es/Checkbox/CheckboxGroup.js +1 -1
  196. package/es/Checkbox/{Checkbox.css → index.css} +14 -10
  197. package/es/CitySelector/CitySelector.miniapp.d.ts +0 -1
  198. package/es/CitySelector/CitySelector.miniapp.js +0 -1
  199. package/es/CitySelector/CitySelectorCore.d.ts +1 -1
  200. package/es/CitySelector/CitySelectorCore.js +1 -1
  201. package/es/CitySelector/Selector/index.css +4 -4
  202. package/{dist/CitySelector/CitySelector.css → es/CitySelector/index.css} +31 -27
  203. package/es/Collapse/Collapse.d.ts +1 -1
  204. package/es/Collapse/Collapse.js +1 -1
  205. package/es/CollapsePanel/CollapsePanel.d.ts +1 -1
  206. package/es/CollapsePanel/CollapsePanel.js +1 -1
  207. package/es/CollapsePanel/{CollapsePanel.css → index.css} +10 -6
  208. package/es/Countdown/Countdown.d.ts +1 -1
  209. package/es/Countdown/Countdown.js +1 -1
  210. package/{dist/Countdown/Countdown.css → es/Countdown/index.css} +12 -8
  211. package/es/Dialog/index.css +26 -23
  212. package/es/Divider/Divider.d.ts +1 -1
  213. package/es/Divider/Divider.js +1 -1
  214. package/{dist/Divider/Divider.css → es/Divider/index.css} +14 -10
  215. package/es/Drawer/Drawer.d.ts +1 -1
  216. package/es/Drawer/Drawer.js +1 -1
  217. package/es/IconButton/IconButton.d.ts +1 -1
  218. package/es/IconButton/IconButton.js +3 -3
  219. package/es/IconButton/IconButton.types.d.ts +4 -3
  220. package/{dist/IconButton/IconButton.css → es/IconButton/index.css} +79 -29
  221. package/es/Image/index.css +6 -2
  222. package/es/Input/Input.d.ts +1 -1
  223. package/es/Input/Input.js +2 -2
  224. package/es/Input/{Input.css → index.css} +22 -18
  225. package/es/ItemSelector/ItemSelector.miniapp.d.ts +0 -1
  226. package/es/ItemSelector/ItemSelector.miniapp.js +0 -1
  227. package/es/ItemSelector/ItemSelectorCore.d.ts +1 -1
  228. package/es/ItemSelector/ItemSelectorCore.js +1 -1
  229. package/es/List/List.css +7 -3
  230. package/es/List/ListItem.css +3 -3
  231. package/es/List/index.css +80 -0
  232. package/es/Loading/Loading.d.ts +1 -1
  233. package/es/Loading/Loading.js +1 -1
  234. package/{dist/Loading/Loading.css → es/Loading/index.css} +10 -6
  235. package/es/Modal/Modal.d.ts +1 -1
  236. package/es/Modal/Modal.js +1 -1
  237. package/es/Modal/Modal.miniapp.d.ts +2 -2
  238. package/es/Modal/Modal.miniapp.js +1 -1
  239. package/es/NavBar/NavBar.d.ts +1 -1
  240. package/es/NavBar/NavBar.js +1 -1
  241. package/es/NavBar/index.css +65 -0
  242. package/es/Picker/Picker.css +21 -16
  243. package/es/Picker/Picker.js +1 -1
  244. package/es/Picker/Picker.types.d.ts +2 -2
  245. package/es/Picker/PickerPanel.css +8 -8
  246. package/es/Picker/PickerPanel.js +46 -24
  247. package/es/Picker/index.css +116 -0
  248. package/es/Popover/Popover.d.ts +1 -1
  249. package/es/Popover/Popover.js +1 -1
  250. package/{dist/Popover/Popover.css → es/Popover/index.css} +32 -28
  251. package/es/Progress/Progress.d.ts +1 -1
  252. package/es/Progress/Progress.js +1 -1
  253. package/es/Progress/index.css +28 -0
  254. package/es/Radio/Radio.d.ts +1 -1
  255. package/es/Radio/Radio.js +1 -1
  256. package/es/Radio/RadioButtonIcon.js +6 -1
  257. package/es/Radio/RadioGroup.d.ts +1 -1
  258. package/es/Radio/RadioGroup.js +1 -1
  259. package/es/Radio/{Radio.css → index.css} +10 -6
  260. package/es/Rating/Rating.d.ts +1 -1
  261. package/es/Rating/Rating.js +2 -2
  262. package/es/Rating/{Rating.css → index.css} +20 -7
  263. package/es/ScrollView/ScrollView.d.ts +1 -1
  264. package/es/ScrollView/ScrollView.js +1 -1
  265. package/es/Select/Select.d.ts +1 -1
  266. package/es/Select/Select.js +2 -8
  267. package/es/Select/SelectOption.d.ts +1 -1
  268. package/es/Select/SelectOption.js +1 -1
  269. package/{dist/Select/Select.css → es/Select/index.css} +26 -19
  270. package/es/Skeleton/Skeleton.d.ts +1 -1
  271. package/es/Skeleton/Skeleton.js +1 -1
  272. package/{dist/Skeleton/Skeleton.css → es/Skeleton/index.css} +7 -3
  273. package/es/Slider/Slider.d.ts +1 -1
  274. package/es/Slider/Slider.js +2 -2
  275. package/es/Slider/index.css +111 -0
  276. package/es/Stack/Stack.d.ts +1 -1
  277. package/es/Stack/Stack.js +1 -1
  278. package/es/Steps/Step.css +14 -14
  279. package/es/Steps/Step.js +1 -1
  280. package/es/Steps/Steps.css +18 -14
  281. package/es/Steps/index.css +199 -0
  282. package/es/Swiper/Swiper.d.ts +1 -1
  283. package/es/Swiper/Swiper.js +1 -1
  284. package/es/Swiper/{Swiper.css → index.css} +6 -2
  285. package/es/Switch/Switch.d.ts +1 -1
  286. package/es/Switch/Switch.js +1 -1
  287. package/es/Switch/Switch.types.d.ts +1 -1
  288. package/es/Switch/{Switch.css → index.css} +46 -35
  289. package/es/TabBar/TabBar.css +12 -8
  290. package/es/TabBar/TabBar.js +1 -1
  291. package/es/TabBar/TabBarContext.d.ts +3 -3
  292. package/es/TabBar/TabBarItem.css +6 -0
  293. package/es/TabBar/TabBarItem.js +2 -2
  294. package/es/TabBar/index.css +59 -0
  295. package/es/TabBar/index.types.d.ts +3 -3
  296. package/es/Tabs/Tab.css +9 -9
  297. package/es/Tabs/Tabs.css +24 -4
  298. package/es/Tabs/Tabs.js +1 -1
  299. package/es/Tabs/index.css +135 -0
  300. package/es/Tag/Tag.css +48 -22
  301. package/es/Tag/Tag.js +2 -2
  302. package/es/Tag/Tag.types.d.ts +4 -4
  303. package/es/Tag/TagGroup.css +13 -9
  304. package/es/Tag/index.css +182 -0
  305. package/es/TextArea/TextArea.d.ts +1 -1
  306. package/es/TextArea/TextArea.js +1 -1
  307. package/es/TextArea/index.css +57 -0
  308. package/es/ThemeProvider/ThemeProvider.js +1 -4
  309. package/es/ThemeProvider/ThemeProvider.types.d.ts +5 -10
  310. package/es/ThemeProvider/utils/constants.d.ts +1 -1
  311. package/es/ThemeProvider/utils/constants.js +4 -1
  312. package/es/ThemeProvider/utils/mountTokens.d.ts +4 -4
  313. package/es/Toast/Toast.d.ts +1 -1
  314. package/es/Toast/Toast.js +5 -5
  315. package/es/Toast/index.css +58 -0
  316. package/es/Tooltip/Tooltip.d.ts +1 -1
  317. package/es/Tooltip/Tooltip.js +1 -1
  318. package/es/Tooltip/index.css +95 -0
  319. package/package.json +13 -5
  320. package/dist/Breadcrumb/Breadcrumb.css +0 -34
  321. package/dist/CitySelector/miniapp.css +0 -4
  322. package/dist/ItemSelector/miniapp.css +0 -4
  323. package/dist/NavBar/NavBar.css +0 -61
  324. package/dist/Progress/Progress.css +0 -24
  325. package/dist/Slider/Slider.css +0 -106
  326. package/dist/TextArea/TextArea.css +0 -53
  327. package/dist/Toast/Toast.css +0 -54
  328. package/dist/Tooltip/Tooltip.css +0 -91
  329. package/es/Breadcrumb/Breadcrumb.css +0 -34
  330. package/es/CitySelector/miniapp.css +0 -4
  331. package/es/ItemSelector/miniapp.css +0 -4
  332. package/es/NavBar/NavBar.css +0 -61
  333. package/es/Progress/Progress.css +0 -24
  334. package/es/Slider/Slider.css +0 -106
  335. package/es/TextArea/TextArea.css +0 -53
  336. package/es/Toast/Toast.css +0 -54
  337. package/es/Tooltip/Tooltip.css +0 -91
  338. /package/dist/Collapse/{Collapse.css → index.css} +0 -0
  339. /package/dist/Drawer/{Drawer.css → index.css} +0 -0
  340. /package/dist/ItemSelector/{ItemSelector.css → index.css} +0 -0
  341. /package/dist/Modal/{Modal.css → index.css} +0 -0
  342. /package/dist/ScrollView/{ScrollView.css → index.css} +0 -0
  343. /package/dist/Stack/{Stack.css → index.css} +0 -0
  344. /package/es/Collapse/{Collapse.css → index.css} +0 -0
  345. /package/es/Drawer/{Drawer.css → index.css} +0 -0
  346. /package/es/ItemSelector/{ItemSelector.css → index.css} +0 -0
  347. /package/es/Modal/{Modal.css → index.css} +0 -0
  348. /package/es/ScrollView/{ScrollView.css → index.css} +0 -0
  349. /package/es/Stack/{Stack.css → index.css} +0 -0
@@ -10,14 +10,14 @@ export type TabBarProps<D extends React.ElementType = 'div', P = {}> = OverrideP
10
10
  current?: number;
11
11
  /**
12
12
  * 默认文案颜色
13
- * @default 'default'
13
+ * @default 'neutral'
14
14
  */
15
- color?: ThemeColor | 'default' | 'vip';
15
+ color?: ThemeColor | 'vip';
16
16
  /**
17
17
  * 选中文案颜色
18
18
  * @default 'primary'
19
19
  */
20
- activeColor?: ThemeColor | 'default' | 'vip';
20
+ activeColor?: ThemeColor | 'vip';
21
21
  /**
22
22
  * 变化时回调函数
23
23
  */
package/es/Tabs/Tab.css CHANGED
@@ -4,25 +4,25 @@
4
4
  justify-content: center;
5
5
  white-space: nowrap;
6
6
  width: min-content;
7
- height: 100%;
7
+ height: var(--bui-tab-height);
8
8
  box-sizing: border-box;
9
9
  position: relative;
10
10
  cursor: pointer;
11
- font-size: var(--bui-tabs-font-size);
11
+ font-size: var(--bui-tab-font-size);
12
12
  line-height: var(--bui-line-height);
13
- color: var(--bui-tabs-color);
13
+ color: var(--bui-tab-color);
14
14
  padding: var(--bui-tab-padding);
15
- font-family: var(--bui-tabs-font-family);
15
+ font-family: var(--bui-font-family);
16
16
  }
17
17
  .bui-tab-active {
18
- --bui-tabs-font-family: var(--bui-font-family-accent, inherit);
19
- --bui-tabs-color: var(--bui-color-fg-default);
20
- font-weight: 600;
18
+ color: var(--bui-tab-active-color);
19
+ font-weight: var(--bui-font-weight-bold);
20
+ font-family: var(--bui-tab-active-font-family);
21
21
  }
22
22
  .bui-tab-miniapp-active {
23
- --bui-tabs-color: var(--bui-color-fg-default);
23
+ color: var(--bui-tab-active-color);
24
24
  line-height: 1.5;
25
- font-weight: var(--bui-font-weight-medium);
25
+ font-weight: var(--bui-font-weight-bold);
26
26
  position: relative;
27
27
  }
28
28
  .bui-tab-miniapp-active-line {
package/es/Tabs/Tabs.css CHANGED
@@ -1,6 +1,26 @@
1
+ :root,
2
+ page,
3
+ xhs-page {
4
+ --bui-tabs-height: 39px;
5
+ --bui-tabs-font-weight: var(--bui-font-weight-medium);
6
+ --bui-tabs-indicator-background: var(--bui-color-primary);
7
+ --bui-tabs-indicator-height: 3PX;
8
+ --bui-tabs-indicator-width: 24px;
9
+ --bui-tabs-indicator-border-radius: 3px 3px 0 0;
10
+ --bui-tabs-indicator-bottom: 0;
11
+ --bui-tabs-indicator-box-shadow: none;
12
+ --bui-tabs-mask-width: 12px;
13
+ --bui-tabs-mask-height: 100%;
14
+ --bui-tab-font-size: var(--bui-text-size-1);
15
+ --bui-tab-color: var(--bui-color-fg-subtle);
16
+ --bui-tab-height: 100%;
17
+ --bui-tab-padding: var(--bui-spacing-lg) var(--bui-spacing-lg) 10px;
18
+ --bui-tab-active-color: var(--bui-color-fg-default);
19
+ --bui-tab-active-font-family: var(--bui-font-family-accent, inherit);
20
+ }
1
21
  .bui-tabs {
2
22
  position: relative;
3
- font-family: var(--bui-tabs-font-family);
23
+ font-family: var(--bui-font-family);
4
24
  font-weight: var(--bui-tabs-font-weight);
5
25
  }
6
26
  .bui-tabs-tabs {
@@ -22,7 +42,7 @@
22
42
  bottom: var(--bui-tabs-indicator-bottom);
23
43
  height: var(--bui-tabs-indicator-height);
24
44
  color: var(--bui-color-primary);
25
- background: var(--bui-tabs-indicator-bg);
45
+ background: var(--bui-tabs-indicator-background);
26
46
  border-radius: var(--bui-tabs-indicator-border-radius);
27
47
  box-shadow: var(--bui-tabs-indicator-box-shadow);
28
48
  }
@@ -34,8 +54,8 @@
34
54
  top: 0;
35
55
  bottom: 0;
36
56
  z-index: 1;
37
- width: 12px;
38
- height: 100%;
57
+ width: var(--bui-tabs-mask-width);
58
+ height: var(--bui-tabs-mask-height);
39
59
  pointer-events: none;
40
60
  }
41
61
  .bui-tabs-mask-left {
package/es/Tabs/Tabs.js CHANGED
@@ -174,7 +174,7 @@ const Tabs = /* @__PURE__ */ React.forwardRef((props, ref) => {
174
174
  }),
175
175
  style: {
176
176
  transition: "transform 0.3s ease-in-out",
177
- transform: `translate3d(${indicatorData.x}px, 0px, 0px)`
177
+ transform: `translate(${indicatorData.x}px, 0px)`
178
178
  }
179
179
  }
180
180
  ), /* @__PURE__ */ React.createElement(TabsContextProvider, { value: providerValue }, !!tabs.length && tabs.map((item) => {
@@ -0,0 +1,135 @@
1
+ :root,
2
+ page,
3
+ xhs-page {
4
+ --bui-tabs-height: 39px;
5
+ --bui-tabs-font-weight: var(--bui-font-weight-medium);
6
+ --bui-tabs-indicator-background: var(--bui-color-primary);
7
+ --bui-tabs-indicator-height: 3PX;
8
+ --bui-tabs-indicator-width: 24px;
9
+ --bui-tabs-indicator-border-radius: 3px 3px 0 0;
10
+ --bui-tabs-indicator-bottom: 0;
11
+ --bui-tabs-indicator-box-shadow: none;
12
+ --bui-tabs-mask-width: 12px;
13
+ --bui-tabs-mask-height: 100%;
14
+ --bui-tab-font-size: var(--bui-text-size-1);
15
+ --bui-tab-color: var(--bui-color-fg-subtle);
16
+ --bui-tab-height: 100%;
17
+ --bui-tab-padding: var(--bui-spacing-lg) var(--bui-spacing-lg) 10px;
18
+ --bui-tab-active-color: var(--bui-color-fg-default);
19
+ --bui-tab-active-font-family: var(--bui-font-family-accent, inherit);
20
+ }
21
+ .bui-tabs {
22
+ position: relative;
23
+ font-family: var(--bui-font-family);
24
+ font-weight: var(--bui-tabs-font-weight);
25
+ }
26
+ .bui-tabs-tabs {
27
+ height: var(--bui-tabs-height);
28
+ display: flex;
29
+ flex-wrap: nowrap;
30
+ justify-content: flex-start;
31
+ align-items: center;
32
+ position: relative;
33
+ overflow-x: scroll;
34
+ scrollbar-width: none;
35
+ }
36
+ .bui-tabs-tabs::-webkit-scrollbar {
37
+ display: none;
38
+ }
39
+ .bui-tabs-indicator {
40
+ position: absolute;
41
+ width: var(--bui-tabs-indicator-width);
42
+ bottom: var(--bui-tabs-indicator-bottom);
43
+ height: var(--bui-tabs-indicator-height);
44
+ color: var(--bui-color-primary);
45
+ background: var(--bui-tabs-indicator-background);
46
+ border-radius: var(--bui-tabs-indicator-border-radius);
47
+ box-shadow: var(--bui-tabs-indicator-box-shadow);
48
+ }
49
+ .bui-tabs-content {
50
+ padding: var(--bui-spacing-lg);
51
+ }
52
+ .bui-tabs-mask {
53
+ position: absolute;
54
+ top: 0;
55
+ bottom: 0;
56
+ z-index: 1;
57
+ width: var(--bui-tabs-mask-width);
58
+ height: var(--bui-tabs-mask-height);
59
+ pointer-events: none;
60
+ }
61
+ .bui-tabs-mask-left {
62
+ left: 0;
63
+ background:
64
+ linear-gradient(
65
+ to right,
66
+ var(--bui-color-bg-view),
67
+ rgba(255, 255, 255, 0));
68
+ }
69
+ .bui-tabs-mask-right {
70
+ right: 0;
71
+ background:
72
+ linear-gradient(
73
+ to left,
74
+ var(--bui-color-bg-view),
75
+ rgba(255, 255, 255, 0));
76
+ }
77
+ .bui-indicator-invisible {
78
+ visibility: hidden;
79
+ background-color: transparent;
80
+ }
81
+ .bui-tab {
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: center;
85
+ white-space: nowrap;
86
+ width: min-content;
87
+ height: var(--bui-tab-height);
88
+ box-sizing: border-box;
89
+ position: relative;
90
+ cursor: pointer;
91
+ font-size: var(--bui-tab-font-size);
92
+ line-height: var(--bui-line-height);
93
+ color: var(--bui-tab-color);
94
+ padding: var(--bui-tab-padding);
95
+ font-family: var(--bui-font-family);
96
+ }
97
+ .bui-tab-active {
98
+ color: var(--bui-tab-active-color);
99
+ font-weight: var(--bui-font-weight-bold);
100
+ font-family: var(--bui-tab-active-font-family);
101
+ }
102
+ .bui-tab-miniapp-active {
103
+ color: var(--bui-tab-active-color);
104
+ line-height: 1.5;
105
+ font-weight: var(--bui-font-weight-bold);
106
+ position: relative;
107
+ }
108
+ .bui-tab-miniapp-active-line {
109
+ position: absolute;
110
+ bottom: 0;
111
+ left: -12px;
112
+ right: -12px;
113
+ margin: 0 auto !important;
114
+ width: 18px;
115
+ height: 2px;
116
+ transition: all 100ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
117
+ background-color: var(--bui-color-primary);
118
+ }
119
+ .bui-tab-disabled {
120
+ opacity: 0.5;
121
+ pointer-events: none;
122
+ }
123
+ .bui-indicator-invisible {
124
+ visibility: hidden;
125
+ background-color: transparent;
126
+ }
127
+ .bui-tabpanel {
128
+ font-family: var(--bui-font-family);
129
+ }
130
+ .bui-tabpanel-active {
131
+ display: block;
132
+ }
133
+ .bui-tabpanel-inactive {
134
+ display: none;
135
+ }
package/es/Tag/Tag.css CHANGED
@@ -1,30 +1,34 @@
1
+ :root,
2
+ page,
3
+ xhs-page {
4
+ --bui-tag-color: var(--bui-color-gray);
5
+ --bui-tag-border-color: var(--bui-color-border-gray);
6
+ --bui-tag-bg-color: var(--bui-color-gray);
7
+ --bui-tag-height: 15px;
8
+ --bui-tag-line-height: 15px;
9
+ --bui-tag-padding: 0 var(--bui-spacing-xs);
10
+ --bui-tag-color-vip: rgba(255, 134, 110, 0.3);
11
+ }
1
12
  .bui-tag {
2
- --tag-color: var(--bui-tag-color, var(--bui-color-gray));
3
- --tag-border-color: var(--bui-tag-border-color, var(--bui-color-border-gray));
4
- --tag-bg-color: var(--bui-tag-bg-color, var(--bui-color-gray));
5
- --tag-height: var(--bui-tag-height, 15px);
6
- --tag-line-height: var(--bui-tag-line-height, 15px);
7
- --tag-padding: var(--bui-tag-padding, 0 var(--bui-spacing-xs));
8
- --tag-bg-color-vip: var(--bui-tag-color-vip, rgba(255, 134, 110, 0.3));
9
13
  position: relative;
10
14
  display: inline-flex;
11
15
  align-items: center;
12
16
  justify-content: center;
13
17
  white-space: nowrap;
14
- height: var(--tag-height);
15
- line-height: var(--tag-line-height);
16
- padding: var(--tag-padding);
18
+ height: var(--bui-tag-height);
19
+ line-height: var(--bui-tag-line-height);
20
+ padding: var(--bui-tag-padding);
17
21
  font-size: var(--bui-text-size-5);
18
22
  font-weight: var(--bui-font-weight-normal);
19
23
  border-radius: var(--bui-shape-radius-label);
20
24
  border: 1px solid transparent;
21
25
  box-sizing: border-box;
22
- color: var(--bui-color-bg-view);
26
+ color: var(--bui-color-white);
23
27
  font-family: var(--bui-font-family);
24
28
  }
25
29
  .bui-tag-outlined {
26
- color: var(--tag-color);
27
- border: 1px solid var(--tag-border-color);
30
+ color: var(--bui-tag-color);
31
+ border: 1px solid var(--bui-tag-border-color);
28
32
  }
29
33
  .bui-tag-outlined.bui-tag-primary {
30
34
  color: var(--bui-color-primary);
@@ -46,12 +50,20 @@
46
50
  color: var(--bui-color-danger);
47
51
  border: 1px solid var(--bui-color-border-danger);
48
52
  }
53
+ .bui-tag-outlined.bui-tag-light {
54
+ color: var(--bui-color-bg-view);
55
+ border: 1px solid var(--bui-color-bg-view);
56
+ }
57
+ .bui-tag-outlined.bui-tag-dark {
58
+ color: var(--bui-color-fg-default);
59
+ border: 1px solid var(--bui-color-fg-default);
60
+ }
49
61
  .bui-tag-outlined.bui-tag-vip {
50
62
  color: var(--bui-color-primary);
51
63
  border: 1px solid var(--bui-color-border-primary);
52
64
  }
53
65
  .bui-tag-contained {
54
- background-color: var(--tag-bg-color);
66
+ background-color: var(--bui-tag-bg-color);
55
67
  }
56
68
  .bui-tag-contained.bui-tag-primary {
57
69
  background-color: var(--bui-color-primary);
@@ -68,34 +80,48 @@
68
80
  .bui-tag-contained.bui-tag-danger {
69
81
  background-color: var(--bui-color-danger);
70
82
  }
83
+ .bui-tag-contained.bui-tag-light {
84
+ color: var(--bui-color-fg-default);
85
+ background-color: var(--bui-color-bg-view);
86
+ }
87
+ .bui-tag-contained.bui-tag-dark {
88
+ color: var(--bui-color-bg-view);
89
+ background-color: var(--bui-color-fg-default);
90
+ }
71
91
  .bui-tag-contained.bui-tag-vip {
72
92
  background-color: var(--bui-color-vip);
73
93
  }
74
- .bui-tag-light {
94
+ .bui-tag-subtle {
75
95
  background-color: var(--bui-color-gray-light);
76
96
  color: var(--bui-color-gray);
77
97
  }
78
- .bui-tag-light.bui-tag-primary {
98
+ .bui-tag-subtle.bui-tag-primary {
79
99
  background-color: var(--bui-color-primary-light);
80
100
  color: var(--bui-color-primary);
81
101
  }
82
- .bui-tag-light.bui-tag-info {
102
+ .bui-tag-subtle.bui-tag-info {
83
103
  background-color: var(--bui-color-info-light);
84
104
  color: var(--bui-color-info);
85
105
  }
86
- .bui-tag-light.bui-tag-warning {
106
+ .bui-tag-subtle.bui-tag-warning {
87
107
  background-color: var(--bui-color-warning-light);
88
108
  color: var(--bui-color-warning);
89
109
  }
90
- .bui-tag-light.bui-tag-success {
110
+ .bui-tag-subtle.bui-tag-success {
91
111
  background-color: var(--bui-color-success-light);
92
112
  color: var(--bui-color-success);
93
113
  }
94
- .bui-tag-light.bui-tag-danger {
114
+ .bui-tag-subtle.bui-tag-danger {
95
115
  background-color: var(--bui-color-danger-light);
96
116
  color: var(--bui-color-danger);
97
117
  }
98
- .bui-tag-light.bui-tag-vip {
99
- background-color: var(--tag-bg-color-vip);
118
+ .bui-tag-subtle.bui-tag-light {
119
+ color: var(--bui-color-bg-view);
120
+ }
121
+ .bui-tag-subtle.bui-tag-dark {
122
+ color: var(--bui-color-fg-default);
123
+ }
124
+ .bui-tag-subtle.bui-tag-vip {
125
+ background-color: var(--bui-tag-color-vip);
100
126
  color: var(--bui-color-vip);
101
127
  }
package/es/Tag/Tag.js CHANGED
@@ -47,7 +47,7 @@ const Tag = /* @__PURE__ */ React.forwardRef((props, ref) => {
47
47
  const _a = props, {
48
48
  className,
49
49
  style,
50
- color = "default",
50
+ color = "neutral",
51
51
  htmlColor,
52
52
  variant = "outlined",
53
53
  onClick,
@@ -68,7 +68,7 @@ const Tag = /* @__PURE__ */ React.forwardRef((props, ref) => {
68
68
  color: htmlColor,
69
69
  borderColor: colorHandler(htmlColor, 0.4)
70
70
  };
71
- } else if (variant === "light") {
71
+ } else if (variant === "subtle") {
72
72
  customStyles = {
73
73
  color: htmlColor,
74
74
  backgroundColor: colorHandler(htmlColor, 0.3)
@@ -4,9 +4,9 @@ export type TagProps<D extends React.ElementType = 'div', P = {}> = OverrideProp
4
4
  props: P & {
5
5
  /**
6
6
  * 预定义色彩
7
- * @default 'default'
7
+ * @default 'neutral'
8
8
  */
9
- color?: ThemeColor | 'default' | 'vip';
9
+ color?: ThemeColor | 'vip';
10
10
  /**
11
11
  * 自定义色彩
12
12
  */
@@ -14,10 +14,10 @@ export type TagProps<D extends React.ElementType = 'div', P = {}> = OverrideProp
14
14
  /**
15
15
  * - outlined: 描边
16
16
  * - contained: 实心填充
17
- * - light: 浅亮填充
17
+ * - subtle: 柔和填充
18
18
  * @default 'outlined'
19
19
  */
20
- variant?: 'outlined' | 'contained' | 'light';
20
+ variant?: 'outlined' | 'contained' | 'subtle';
21
21
  };
22
22
  defaultComponent: D;
23
23
  }, D>;
@@ -1,12 +1,16 @@
1
+ :root,
2
+ page,
3
+ xhs-page {
4
+ --bui-tag-group-divider-height: 13%;
5
+ --bui-tag-color: var(--bui-color-gray);
6
+ --bui-tag-border-color: var(--bui-color-border-gray);
7
+ --bui-tag-bg-color: var(--bui-color-gray);
8
+ --bui-tag-height: 15px;
9
+ --bui-tag-line-height: 15px;
10
+ --bui-tag-padding: 0 var(--bui-spacing-xs);
11
+ --bui-tag-color-vip: rgba(255, 134, 110, 0.3);
12
+ }
1
13
  .bui-tag-group {
2
- --height: var(--bui-tag-group-divider-height, 13%);
3
- --tag-color: var(--bui-tag-color, var(--bui-color-gray));
4
- --tag-border-color: var(--bui-tag-border-color, var(--bui-color-border-gray));
5
- --tag-bg-color: var(--bui-tag-bg-color, var(--bui-color-gray));
6
- --tag-height: var(--bui-tag-height, 15px);
7
- --tag-line-height: var(--bui-tag-line-height, 15px);
8
- --tag-padding: var(--bui-tag-padding, 0 var(--bui-spacing-xs));
9
- --tag-bg-color-vip: var(--bui-tag-color-vip, rgba(255, 134, 110, 0.3));
10
14
  display: inline-flex;
11
15
  font-family: var(--bui-font-family);
12
16
  }
@@ -32,7 +36,7 @@
32
36
  position: absolute;
33
37
  right: -1px;
34
38
  width: 1px;
35
- height: var(--height);
39
+ height: var(--bui-tag-group-divider-height);
36
40
  color: #fff;
37
41
  background-color: #fff;
38
42
  border-right-style: solid;
@@ -0,0 +1,182 @@
1
+ :root,
2
+ page,
3
+ xhs-page {
4
+ --bui-tag-color: var(--bui-color-gray);
5
+ --bui-tag-border-color: var(--bui-color-border-gray);
6
+ --bui-tag-bg-color: var(--bui-color-gray);
7
+ --bui-tag-height: 15px;
8
+ --bui-tag-line-height: 15px;
9
+ --bui-tag-padding: 0 var(--bui-spacing-xs);
10
+ --bui-tag-color-vip: rgba(255, 134, 110, 0.3);
11
+ }
12
+ .bui-tag {
13
+ position: relative;
14
+ display: inline-flex;
15
+ align-items: center;
16
+ justify-content: center;
17
+ white-space: nowrap;
18
+ height: var(--bui-tag-height);
19
+ line-height: var(--bui-tag-line-height);
20
+ padding: var(--bui-tag-padding);
21
+ font-size: var(--bui-text-size-5);
22
+ font-weight: var(--bui-font-weight-normal);
23
+ border-radius: var(--bui-shape-radius-label);
24
+ border: 1px solid transparent;
25
+ box-sizing: border-box;
26
+ color: var(--bui-color-white);
27
+ font-family: var(--bui-font-family);
28
+ }
29
+ .bui-tag-outlined {
30
+ color: var(--bui-tag-color);
31
+ border: 1px solid var(--bui-tag-border-color);
32
+ }
33
+ .bui-tag-outlined.bui-tag-primary {
34
+ color: var(--bui-color-primary);
35
+ border: 1px solid var(--bui-color-border-primary);
36
+ }
37
+ .bui-tag-outlined.bui-tag-info {
38
+ color: var(--bui-color-info);
39
+ border: 1px solid var(--bui-color-border-info);
40
+ }
41
+ .bui-tag-outlined.bui-tag-warning {
42
+ color: var(--bui-color-warning);
43
+ border: 1px solid var(--bui-color-border-warning);
44
+ }
45
+ .bui-tag-outlined.bui-tag-success {
46
+ color: var(--bui-color-success);
47
+ border: 1px solid var(--bui-color-border-success);
48
+ }
49
+ .bui-tag-outlined.bui-tag-danger {
50
+ color: var(--bui-color-danger);
51
+ border: 1px solid var(--bui-color-border-danger);
52
+ }
53
+ .bui-tag-outlined.bui-tag-light {
54
+ color: var(--bui-color-bg-view);
55
+ border: 1px solid var(--bui-color-bg-view);
56
+ }
57
+ .bui-tag-outlined.bui-tag-dark {
58
+ color: var(--bui-color-fg-default);
59
+ border: 1px solid var(--bui-color-fg-default);
60
+ }
61
+ .bui-tag-outlined.bui-tag-vip {
62
+ color: var(--bui-color-primary);
63
+ border: 1px solid var(--bui-color-border-primary);
64
+ }
65
+ .bui-tag-contained {
66
+ background-color: var(--bui-tag-bg-color);
67
+ }
68
+ .bui-tag-contained.bui-tag-primary {
69
+ background-color: var(--bui-color-primary);
70
+ }
71
+ .bui-tag-contained.bui-tag-info {
72
+ background-color: var(--bui-color-info);
73
+ }
74
+ .bui-tag-contained.bui-tag-warning {
75
+ background-color: var(--bui-color-warning);
76
+ }
77
+ .bui-tag-contained.bui-tag-success {
78
+ background-color: var(--bui-color-success);
79
+ }
80
+ .bui-tag-contained.bui-tag-danger {
81
+ background-color: var(--bui-color-danger);
82
+ }
83
+ .bui-tag-contained.bui-tag-light {
84
+ color: var(--bui-color-fg-default);
85
+ background-color: var(--bui-color-bg-view);
86
+ }
87
+ .bui-tag-contained.bui-tag-dark {
88
+ color: var(--bui-color-bg-view);
89
+ background-color: var(--bui-color-fg-default);
90
+ }
91
+ .bui-tag-contained.bui-tag-vip {
92
+ background-color: var(--bui-color-vip);
93
+ }
94
+ .bui-tag-subtle {
95
+ background-color: var(--bui-color-gray-light);
96
+ color: var(--bui-color-gray);
97
+ }
98
+ .bui-tag-subtle.bui-tag-primary {
99
+ background-color: var(--bui-color-primary-light);
100
+ color: var(--bui-color-primary);
101
+ }
102
+ .bui-tag-subtle.bui-tag-info {
103
+ background-color: var(--bui-color-info-light);
104
+ color: var(--bui-color-info);
105
+ }
106
+ .bui-tag-subtle.bui-tag-warning {
107
+ background-color: var(--bui-color-warning-light);
108
+ color: var(--bui-color-warning);
109
+ }
110
+ .bui-tag-subtle.bui-tag-success {
111
+ background-color: var(--bui-color-success-light);
112
+ color: var(--bui-color-success);
113
+ }
114
+ .bui-tag-subtle.bui-tag-danger {
115
+ background-color: var(--bui-color-danger-light);
116
+ color: var(--bui-color-danger);
117
+ }
118
+ .bui-tag-subtle.bui-tag-light {
119
+ color: var(--bui-color-bg-view);
120
+ }
121
+ .bui-tag-subtle.bui-tag-dark {
122
+ color: var(--bui-color-fg-default);
123
+ }
124
+ .bui-tag-subtle.bui-tag-vip {
125
+ background-color: var(--bui-tag-color-vip);
126
+ color: var(--bui-color-vip);
127
+ }
128
+ :root,
129
+ page,
130
+ xhs-page {
131
+ --bui-tag-group-divider-height: 13%;
132
+ --bui-tag-color: var(--bui-color-gray);
133
+ --bui-tag-border-color: var(--bui-color-border-gray);
134
+ --bui-tag-bg-color: var(--bui-color-gray);
135
+ --bui-tag-height: 15px;
136
+ --bui-tag-line-height: 15px;
137
+ --bui-tag-padding: 0 var(--bui-spacing-xs);
138
+ --bui-tag-color-vip: rgba(255, 134, 110, 0.3);
139
+ }
140
+ .bui-tag-group {
141
+ display: inline-flex;
142
+ font-family: var(--bui-font-family);
143
+ }
144
+ .bui-tag-group .bui-tag-outlined {
145
+ background-color: var(--bui-color-white);
146
+ }
147
+ .bui-tag-group .bui-tag-outlined + .bui-tag-contained {
148
+ margin-left: -1px;
149
+ }
150
+ .bui-tag-group .bui-tag-outlined:not(:last-child) {
151
+ position: relative;
152
+ border-right-style: dotted;
153
+ }
154
+ .bui-tag-group .bui-tag-outlined:not(:last-child)::after {
155
+ top: 0;
156
+ }
157
+ .bui-tag-group .bui-tag-outlined:not(:last-child)::before {
158
+ bottom: 0;
159
+ }
160
+ .bui-tag-group .bui-tag-outlined:not(:last-child)::after,
161
+ .bui-tag-group .bui-tag-outlined:not(:last-child)::before {
162
+ content: "";
163
+ position: absolute;
164
+ right: -1px;
165
+ width: 1px;
166
+ height: var(--bui-tag-group-divider-height);
167
+ color: #fff;
168
+ background-color: #fff;
169
+ border-right-style: solid;
170
+ }
171
+ .bui-tag-group .bui-tag:not(:last-child) {
172
+ border-top-right-radius: 0;
173
+ border-bottom-right-radius: 0;
174
+ }
175
+ .bui-tag-group .bui-tag:not(:last-child):not(.bui-tag-outlined) {
176
+ border-right: 0;
177
+ }
178
+ .bui-tag-group .bui-tag:not(:first-child) {
179
+ border-top-left-radius: 0;
180
+ border-bottom-left-radius: 0;
181
+ border-left: 0;
182
+ }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { TextAreaProps } from './TextArea.types';
3
- import './TextArea.less';
3
+ import './index.less';
4
4
  declare const TextArea: React.ForwardRefExoticComponent<Omit<TextAreaProps<"div", {}>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
5
  export default TextArea;
@@ -32,7 +32,7 @@ var __objRest = (source, exclude) => {
32
32
  import { isMini, useForkRef, useValue } from "@bifrostui/utils";
33
33
  import clsx from "clsx";
34
34
  import React, { useEffect, useRef } from "react";
35
- import "./TextArea.css";
35
+ import "./index.css";
36
36
  const prefixCls = "bui-textarea";
37
37
  const DEFAULT_ROWS = 2;
38
38
  const TextArea = /* @__PURE__ */ React.forwardRef(