@bifrostui/react 2.0.0-beta.2 → 2.0.0-beta.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 (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
@@ -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/dist/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/dist/Tag/Tag.js CHANGED
@@ -77,7 +77,7 @@ const Tag = /* @__PURE__ */ import_react.default.forwardRef((props, ref) => {
77
77
  const _a = props, {
78
78
  className,
79
79
  style,
80
- color = "default",
80
+ color = "neutral",
81
81
  htmlColor,
82
82
  variant = "outlined",
83
83
  onClick,
@@ -98,7 +98,7 @@ const Tag = /* @__PURE__ */ import_react.default.forwardRef((props, ref) => {
98
98
  color: htmlColor,
99
99
  borderColor: colorHandler(htmlColor, 0.4)
100
100
  };
101
- } else if (variant === "light") {
101
+ } else if (variant === "subtle") {
102
102
  customStyles = {
103
103
  color: htmlColor,
104
104
  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;
@@ -62,7 +62,7 @@ module.exports = __toCommonJS(TextArea_exports);
62
62
  var import_utils = require("@bifrostui/utils");
63
63
  var import_clsx = __toESM(require("clsx"));
64
64
  var import_react = __toESM(require("react"));
65
- var import_TextArea2 = require("./TextArea.css");
65
+ var import_index = require("./index.css");
66
66
  const prefixCls = "bui-textarea";
67
67
  const DEFAULT_ROWS = 2;
68
68
  const TextArea = /* @__PURE__ */ import_react.default.forwardRef(
@@ -0,0 +1,57 @@
1
+ :root,
2
+ page,
3
+ xhs-page {
4
+ --bui-textarea-border-radius: var(--bui-shape-radius-label);
5
+ --bui-textarea-width: 100%;
6
+ --bui-textarea-background-color: var(--bui-color-bg-default);
7
+ --bui-textarea-text-color: var(--bui-color-fg-subtle);
8
+ --bui-textarea-count-background-color: var(--bui-textarea-background-color, var(--bui-color-bg-default));
9
+ --bui-textarea-count-color: var(--bui-color-fg-subtle);
10
+ --bui-textarea-text-font-size: var(--bui-text-size-2);
11
+ --bui-textarea-count-font-size: var(--bui-title-size-3);
12
+ --bui-textarea-padding: 8px;
13
+ --bui-textarea-count-padding: 0 4px;
14
+ --bui-textarea-placeholder-color: #ced1d6;
15
+ --bui-textarea-placeholder-line-height: 1.3;
16
+ }
17
+ .bui-textarea {
18
+ background: var(--bui-color-bg-default);
19
+ border-radius: var(--bui-textarea-border-radius);
20
+ font-family: var(--bui-font-family);
21
+ overflow: hidden;
22
+ }
23
+ .bui-textarea textarea {
24
+ font-size: var(--bui-textarea-text-font-size);
25
+ color: var(--bui-textarea-text-color);
26
+ line-height: var(--bui-line-height);
27
+ }
28
+ .bui-textarea .bui-mini-placeholder {
29
+ color: var(--bui-textarea-placeholder-color);
30
+ }
31
+ .bui-textarea-disabled {
32
+ pointer-events: none;
33
+ }
34
+ .bui-textarea .a-textarea-count-wrap {
35
+ display: none;
36
+ }
37
+ .bui-textarea-content {
38
+ width: var(--bui-textarea-width);
39
+ resize: none;
40
+ background-color: var(--bui-textarea-background-color);
41
+ padding: var(--bui-textarea-padding);
42
+ border: none;
43
+ outline: none;
44
+ word-break: break-all;
45
+ box-sizing: border-box;
46
+ }
47
+ .bui-textarea-content::placeholder {
48
+ color: var(--bui-textarea-placeholder-color);
49
+ line-height: var(--bui-textarea-placeholder-line-height);
50
+ }
51
+ .bui-textarea-count {
52
+ background-color: var(--bui-textarea-count-background-color);
53
+ color: var(--bui-textarea-count-color);
54
+ text-align: right;
55
+ padding: var(--bui-textarea-count-padding);
56
+ font-size: var(--bui-textarea-count-font-size);
57
+ }
@@ -45,7 +45,6 @@ const ThemeProvider = /* @__PURE__ */ import_react.default.forwardRef(
45
45
  defaultLightToken,
46
46
  defaultDarkToken,
47
47
  dmLightToken,
48
- dmDarkToken,
49
48
  token,
50
49
  children
51
50
  } = props;
@@ -61,7 +60,7 @@ const ThemeProvider = /* @__PURE__ */ import_react.default.forwardRef(
61
60
  });
62
61
  }
63
62
  (0, import_react.useEffect)(() => {
64
- if (responsive || defaultLightToken || defaultDarkToken || dmLightToken || dmDarkToken || token) {
63
+ if (responsive || defaultLightToken || defaultDarkToken || dmLightToken || token) {
65
64
  (0, import_mountTokens.mountTokens)({
66
65
  isRoot,
67
66
  containerId,
@@ -70,7 +69,6 @@ const ThemeProvider = /* @__PURE__ */ import_react.default.forwardRef(
70
69
  defaultLightToken,
71
70
  defaultDarkToken,
72
71
  dmLightToken,
73
- dmDarkToken,
74
72
  token
75
73
  });
76
74
  }
@@ -81,7 +79,6 @@ const ThemeProvider = /* @__PURE__ */ import_react.default.forwardRef(
81
79
  defaultLightToken,
82
80
  defaultDarkToken,
83
81
  dmLightToken,
84
- dmDarkToken,
85
82
  token
86
83
  ]);
87
84
  return /* @__PURE__ */ import_react.default.createElement(import_hooks.ThemeContext.Provider, { value: theme }, childrenNode);
@@ -57,7 +57,6 @@ interface ThemeProps {
57
57
  /**
58
58
  * 当前ThemeProvider是否为最顶层
59
59
  * 若当前应用会出现嵌套的ThemeProvider,则需要将最外层的ThemeProvider isRoot属性设置为true
60
- * TODO 不通过属性判断
61
60
  * @default false
62
61
  */
63
62
  isRoot?: boolean;
@@ -91,26 +90,22 @@ interface ThemeProps {
91
90
  */
92
91
  dmLightToken?: Record<string, string>;
93
92
  /**
94
- * 大麦暗黑主题Token
93
+ * 先锋版高亮主题Token
95
94
  */
96
- dmDarkToken?: Record<string, string>;
95
+ pioneerLightToken?: Record<string, string>;
97
96
  /**
98
- * 组件全局Token
97
+ * 组件Token
99
98
  */
100
99
  token?: Record<string, string>;
101
100
  }
102
101
  /**
103
102
  * 复写内置主题Tokens
104
103
  */
105
- type BuiltInThemesTokenOptions = Pick<ThemeProps, 'defaultLightToken' | 'defaultDarkToken' | 'dmLightToken' | 'dmDarkToken'>;
104
+ type BuiltInThemesTokenOptions = Pick<ThemeProps, 'defaultLightToken' | 'defaultDarkToken' | 'dmLightToken' | 'pioneerLightToken'>;
106
105
  /**
107
106
  * 挂载组件自定义Tokens参数
108
107
  */
109
108
  export type MountComponentsTokenOptions = Pick<ThemeProps, 'isRoot' | 'container' | 'containerId' | 'token'>;
110
- /**
111
- * 挂载响应式Tokens参数
112
- */
113
- type componentsTokenOptions = Pick<ThemeProps, 'token'>;
114
109
  export type MountResponsiveTokenOptions = Pick<ThemeProps, 'responsive'> & {
115
110
  breakpoints?: Breakpoints;
116
111
  };
@@ -124,4 +119,4 @@ export type ThemeProviderProps<D extends React.ElementType = 'div', P = {}> = Ov
124
119
  props: P & ThemeProps;
125
120
  defaultComponent: D;
126
121
  }, D>;
127
- export { BaseLang, ResponsiveTokenOptions, ThemeProps, BuiltInThemesTokenOptions, componentsTokenOptions, };
122
+ export { BaseLang, ResponsiveTokenOptions, ThemeProps, BuiltInThemesTokenOptions, };
@@ -30,7 +30,7 @@ export declare const rootSelector: {
30
30
  defaultLight: string[];
31
31
  defaultDark: string[];
32
32
  dmLight: string[];
33
- dmDark: string[];
33
+ pioneerLight: string[];
34
34
  };
35
35
  /**
36
36
  * BUI css变量前缀
@@ -54,7 +54,10 @@ const rootSelector = {
54
54
  ],
55
55
  defaultDark: [".bui-dark", '[data-color-mode="dark"][data-theme="default"]'],
56
56
  dmLight: [".bui-dm-light", '[data-color-mode="light"][data-theme="dm"]'],
57
- dmDark: [".bui-dm-dark", '[data-color-mode="dark"][data-theme="dm"]']
57
+ pioneerLight: [
58
+ ".bui-pioneer-light",
59
+ '[data-color-mode="light"][data-theme="pioneer"]'
60
+ ]
58
61
  };
59
62
  const BUI_VAR_PREFIX = "bui-var-";
60
63
  // Annotate the CommonJS export names for ESM import in node: