@baishuyun/ui-base 6.22.0 → 6.23.1

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 (45) hide show
  1. package/dist/Amap/{Amap-CNsoge6e.js → Amap-Cb2VY7wC.js} +1 -1
  2. package/dist/Amap/index.js +3 -3
  3. package/dist/Calendar/{Calendar-C9LHoXQc.js → Calendar-DF0rIJCX.js} +2 -2
  4. package/dist/Calendar/index.js +4 -4
  5. package/dist/Card/{Card-DAz0dvA3.js → Card-B5O3eZW-.js} +9 -9
  6. package/dist/Card/index.js +2 -2
  7. package/dist/CheckBox/index.js +1 -1
  8. package/dist/ColorPicker/index.js +1 -1
  9. package/dist/ConfigProvider/index.js +2 -2
  10. package/dist/DatePicker/{DatePicker-ByZiiZPq.js → DatePicker-taZ1ED51.js} +1 -1
  11. package/dist/DatePicker/{DatePickerPanel-DiOVoMv4.js → DatePickerPanel-BmAdBznz.js} +1 -1
  12. package/dist/DatePicker/index.js +2 -2
  13. package/dist/DropDown/{DropDown-B_szM67V.js → DropDown-DuLxmeZL.js} +9 -9
  14. package/dist/DropDown/index.js +2 -2
  15. package/dist/Editor/index.js +34 -34
  16. package/dist/Gantt/index.js +5 -5
  17. package/dist/Icon/index.js +1 -1
  18. package/dist/InputTag/{InputTag-C_5nm0eo.js → InputTag-UTPj8g-b.js} +6 -6
  19. package/dist/InputTag/index.js +2 -2
  20. package/dist/Loading/index.js +1 -1
  21. package/dist/Modal/{Modal-eZijJ7CB.js → Modal-BUDRpdzz.js} +3 -3
  22. package/dist/Modal/index.js +2 -2
  23. package/dist/NotFoundContent/index.js +1 -1
  24. package/dist/Overlay/index.js +1 -1
  25. package/dist/Radio/index.js +1 -1
  26. package/dist/ScrollBar/index.js +1 -1
  27. package/dist/Segmented/Segmented-B7QZjjZ_.js +87 -0
  28. package/dist/Segmented/index.js +2 -2
  29. package/dist/Select/{Select-DryXF1Tp.js → Select-ByqucfXU.js} +1 -1
  30. package/dist/Select/index.js +2 -2
  31. package/dist/Table/index.js +1 -1
  32. package/dist/Tabs/{Tabs-Imowx4vq.js → Tabs-BupQZHao.js} +10 -10
  33. package/dist/Tabs/index.js +2 -2
  34. package/dist/Tooltip/index.js +1 -1
  35. package/dist/Tree/index.js +1 -1
  36. package/dist/components/DropDown/interface.d.ts +1 -1
  37. package/dist/components/Editor/interface.d.ts +2 -2
  38. package/dist/components/Segmented/Segmented.type.d.ts +4 -0
  39. package/dist/components/Select/interface.d.ts +4 -2
  40. package/dist/index.js +12 -12
  41. package/dist/style.css +1 -1
  42. package/dist/vendors/{ConfigProvider-gZYvcwIQ.js → ConfigProvider-Bc5czEhx.js} +5 -5
  43. package/dist/vendors/{version-DH5GPcND.js → version-DjAc-H3q.js} +1 -1
  44. package/package.json +1 -1
  45. package/dist/Segmented/Segmented-BkTy5v9V.js +0 -87
@@ -17,14 +17,14 @@ var T = {
17
17
  CARD: "card",
18
18
  FILLED_CARD: "filled-card",
19
19
  BADGE_CARD: "badge-card"
20
- }, E = u({ type: T.LINE }), D = "_active_nxjon_18", O = "_disabled_nxjon_26", k = "_line_nxjon_44", A = "_card_nxjon_53", j = {
21
- "bsy-tab": "_bsy-tab_nxjon_1",
22
- "badge-card": "_badge-card_nxjon_9",
20
+ }, E = u({ type: T.LINE }), D = "_active_1yde8_29", O = "_disabled_1yde8_34", k = "_line_1yde8_37", A = "_card_1yde8_46", j = {
21
+ "bsy-tab": "_bsy-tab_1yde8_1",
22
+ "badge-card": "_badge-card_1yde8_9",
23
23
  active: D,
24
24
  disabled: O,
25
25
  line: k,
26
26
  card: A,
27
- "filled-card": "_filled-card_nxjon_78"
27
+ "filled-card": "_filled-card_1yde8_71"
28
28
  }, M = (e, t = 24) => e.length <= t ? e : e.slice(0, t) + "...", N = (e) => typeof e == "string" ? M(e) : e, P = ({ label: e, active: t = !1, onClick: n, tabKey: r }) => {
29
29
  let { type: i = T.LINE, disabled: a } = f(E), o = s(e) ? e : "", l = () => {
30
30
  a || n?.(r);
@@ -302,13 +302,13 @@ var z = (e, t) => {
302
302
  B.displayName = "BsyTabs";
303
303
  //#endregion
304
304
  //#region src/components/Tabs/TabSelect/tabSelect.module.scss
305
- var V = "_active_5a1wn_11", H = "_icon_5a1wn_45", U = {
306
- "bsy-tabs-select__trigger": "_bsy-tabs-select__trigger_5a1wn_1",
305
+ var V = "_active_s6wtd_11", H = "_icon_s6wtd_45", U = {
306
+ "bsy-tabs-select__trigger": "_bsy-tabs-select__trigger_s6wtd_1",
307
307
  active: V,
308
- "bsy-tabs-select__trigger-icon": "_bsy-tabs-select__trigger-icon_5a1wn_14",
309
- "bsy-tabs-select__trigger-input": "_bsy-tabs-select__trigger-input_5a1wn_17",
310
- "bsy-tabs-select__panel": "_bsy-tabs-select__panel_5a1wn_21",
311
- "bsy-tabs-select__panel-item": "_bsy-tabs-select__panel-item_5a1wn_32",
308
+ "bsy-tabs-select__trigger-icon": "_bsy-tabs-select__trigger-icon_s6wtd_14",
309
+ "bsy-tabs-select__trigger-input": "_bsy-tabs-select__trigger-input_s6wtd_17",
310
+ "bsy-tabs-select__panel": "_bsy-tabs-select__panel_s6wtd_21",
311
+ "bsy-tabs-select__panel-item": "_bsy-tabs-select__panel-item_s6wtd_32",
312
312
  icon: H
313
313
  }, W = (a) => {
314
314
  let { color: s, theme: u } = a, { t: d } = r(), f = t(), [p, { toggle: h, setLeft: g }] = x(!1), { refs: y, floatingStyles: b, getFloatingProps: E, getReferenceProps: D, referenceStyle: O } = o({
@@ -1,8 +1,8 @@
1
- import "../vendors/version-DH5GPcND.js";
1
+ import "../vendors/version-DjAc-H3q.js";
2
2
  import "../Icon/Icon-DrdQOEJE.js";
3
3
  import "../vendors/LocaleContext-DXQoOKM2.js";
4
4
  import "../Overlay/OverlayContext-CVSFoyqN.js";
5
5
  import "../vendors/useLocale-Be4e7Xfn.js";
6
6
  import "../vendors/useFloatingPortal-DJ1iKmW-.js";
7
- import { i as e, n as t, r as n, t as r } from "./Tabs-Imowx4vq.js";
7
+ import { i as e, n as t, r as n, t as r } from "./Tabs-BupQZHao.js";
8
8
  export { e as TABS_TYPE, n as TabPanel, r as TabSelect, t as default };
@@ -1,4 +1,4 @@
1
- import "../vendors/version-DH5GPcND.js";
1
+ import "../vendors/version-DjAc-H3q.js";
2
2
  import "../Overlay/OverlayContext-CVSFoyqN.js";
3
3
  import "../vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
4
4
  import { n as e, t } from "./Tooltip-DBrt3t2r.js";
@@ -1,4 +1,4 @@
1
- import "../vendors/version-DH5GPcND.js";
1
+ import "../vendors/version-DjAc-H3q.js";
2
2
  import "../Icon/Icon-DrdQOEJE.js";
3
3
  import { t as e } from "../vendors/Tree-DWK-JPnJ.js";
4
4
  import "../CheckBox/CheckBox-BErX3YWP.js";
@@ -63,7 +63,7 @@ export interface DropDownTheme {
63
63
  colorBgContainer?: string;
64
64
  /**
65
65
  * 菜单项默认文字颜色
66
- * @default #121211
66
+ * @default #121111
67
67
  */
68
68
  colorText?: string;
69
69
  /**
@@ -23,11 +23,11 @@ export interface EditorToolbarTheme {
23
23
  colorIcon?: string;
24
24
  /** hover 背景 @default #e0e0e0 */
25
25
  itemHoverBg?: string;
26
- /** hover 前景 @default #121211 */
26
+ /** hover 前景 @default #121111 */
27
27
  itemHoverColor?: string;
28
28
  /** active 背景 @default #e0e0e0 */
29
29
  itemActiveBg?: string;
30
- /** active 前景 @default #121211 */
30
+ /** active 前景 @default #121111 */
31
31
  itemActiveColor?: string;
32
32
  /** 「更多」展开等强调色 @default #0265ff */
33
33
  itemHighlightColor?: string;
@@ -16,6 +16,10 @@ export type SegmentedTheme = {
16
16
  * @description 选中项背景色
17
17
  */
18
18
  itemSelectedBg?: string;
19
+ /**
20
+ * @description 选中项文字颜色
21
+ */
22
+ itemSelectedColor?: string;
19
23
  /**
20
24
  * @description 选项悬停背景色
21
25
  */
@@ -34,8 +34,10 @@ export interface SelectTheme {
34
34
  colorBgContainer?: string;
35
35
  /** 浮层面板背景,默认 #fff */
36
36
  colorBgElevated?: string;
37
- /** 输入框 / 面板 / 搜索框默认文字,默认 #121212 */
37
+ /** 面板 / 搜索框默认文字,默认 #121111 */
38
38
  colorText?: string;
39
+ /** 假输入框回填文字,默认 #121111 */
40
+ colorInputValue?: string;
39
41
  /** 占位(输入框、搜索、底部其他),默认 #999 */
40
42
  colorTextPlaceholder?: string;
41
43
  /** 箭头、清除、搜索图标、tag 关闭、省略号,默认 #666 */
@@ -201,7 +203,7 @@ export interface SelectProps<ValueType = any, OptionType extends DefaultOptionTy
201
203
  */
202
204
  optionStyle?: React.CSSProperties;
203
205
  /**
204
- * @deprecated 请使用 `theme.colorText`
206
+ * @deprecated 请使用 `theme.colorInputValue`
205
207
  * @description 自定义输入框的值的样式覆盖
206
208
  */
207
209
  inputValueStyle?: React.CSSProperties;
package/dist/index.js CHANGED
@@ -1,20 +1,20 @@
1
- import "./vendors/version-DH5GPcND.js";
1
+ import "./vendors/version-DjAc-H3q.js";
2
2
  import "./ScrollBar/style-D26azwz6.js";
3
3
  import { t as e } from "./Icon/Icon-DrdQOEJE.js";
4
4
  import "./vendors/LocaleContext-DXQoOKM2.js";
5
- import { r as t, t as n } from "./vendors/ConfigProvider-gZYvcwIQ.js";
5
+ import { r as t, t as n } from "./vendors/ConfigProvider-Bc5czEhx.js";
6
6
  import { a as r, i, n as a, t as o } from "./Overlay/OverlayContext-CVSFoyqN.js";
7
- import { a as s, i as c, n as l, o as u, r as d, s as f, t as p } from "./Amap/Amap-CNsoge6e.js";
7
+ import { a as s, i as c, n as l, o as u, r as d, s as f, t as p } from "./Amap/Amap-Cb2VY7wC.js";
8
8
  import "./Overlay/index.js";
9
- import { t as m } from "./Card/Card-DAz0dvA3.js";
10
- import { t as h } from "./Modal/Modal-eZijJ7CB.js";
9
+ import { t as m } from "./Card/Card-B5O3eZW-.js";
10
+ import { t as h } from "./Modal/Modal-BUDRpdzz.js";
11
11
  import { t as g } from "./ColorPicker/ColorPicker-B_wLqurt.js";
12
12
  import "./vendors/useFloatingOverlay-B66lOL8v.js";
13
13
  import "./vendors/useLocale-Be4e7Xfn.js";
14
14
  import "./vendors/useLatchedPopupPortalRoot-CC6af8t-.js";
15
- import { t as _ } from "./Segmented/Segmented-BkTy5v9V.js";
15
+ import { t as _ } from "./Segmented/Segmented-B7QZjjZ_.js";
16
16
  import { n as v, t as y } from "./Tooltip/Tooltip-DBrt3t2r.js";
17
- import { t as b } from "./Select/Select-DryXF1Tp.js";
17
+ import { t as b } from "./Select/Select-ByqucfXU.js";
18
18
  import "./Select/SelectInputSearch-MApQHnU9.js";
19
19
  import { t as x } from "./vendors/Tree-DWK-JPnJ.js";
20
20
  import "./CheckBox/CheckBox-BErX3YWP.js";
@@ -24,13 +24,13 @@ import { t as w } from "./NotFoundContent/NotFoundContent-DJUQ0_2D.js";
24
24
  import { t as T } from "./ScrollBar/ScrollBar-IMTuAOF5.js";
25
25
  import "./vendors/useFloatingPortal-DJ1iKmW-.js";
26
26
  import "./Tree/index.js";
27
- import { n as E, t as D } from "./Tabs/Tabs-Imowx4vq.js";
28
- import { t as O } from "./DropDown/DropDown-B_szM67V.js";
27
+ import { n as E, t as D } from "./Tabs/Tabs-BupQZHao.js";
28
+ import { t as O } from "./DropDown/DropDown-DuLxmeZL.js";
29
29
  import { t as k } from "./Loading/Loading-Cherk9Ax.js";
30
30
  import "./NotFoundContent/index.js";
31
- import { t as A } from "./InputTag/InputTag-C_5nm0eo.js";
32
- import { t as j } from "./Calendar/Calendar-C9LHoXQc.js";
33
- import { t as M } from "./DatePicker/DatePicker-ByZiiZPq.js";
31
+ import { t as A } from "./InputTag/InputTag-UTPj8g-b.js";
32
+ import { t as j } from "./Calendar/Calendar-DF0rIJCX.js";
33
+ import { t as M } from "./DatePicker/DatePicker-taZ1ED51.js";
34
34
  import "./DatePicker/pickerLocale-Brf7_Tnd.js";
35
35
  import { c as N, d as P, f as F, i as I, l as L, m as R, n as z, o as B, p as V, r as H, s as U, t as W, u as G } from "./Table/Table-8ac6xLZv.js";
36
36
  import "overlayscrollbars/overlayscrollbars.css";