@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.
- package/dist/Amap/{Amap-CNsoge6e.js → Amap-Cb2VY7wC.js} +1 -1
- package/dist/Amap/index.js +3 -3
- package/dist/Calendar/{Calendar-C9LHoXQc.js → Calendar-DF0rIJCX.js} +2 -2
- package/dist/Calendar/index.js +4 -4
- package/dist/Card/{Card-DAz0dvA3.js → Card-B5O3eZW-.js} +9 -9
- package/dist/Card/index.js +2 -2
- package/dist/CheckBox/index.js +1 -1
- package/dist/ColorPicker/index.js +1 -1
- package/dist/ConfigProvider/index.js +2 -2
- package/dist/DatePicker/{DatePicker-ByZiiZPq.js → DatePicker-taZ1ED51.js} +1 -1
- package/dist/DatePicker/{DatePickerPanel-DiOVoMv4.js → DatePickerPanel-BmAdBznz.js} +1 -1
- package/dist/DatePicker/index.js +2 -2
- package/dist/DropDown/{DropDown-B_szM67V.js → DropDown-DuLxmeZL.js} +9 -9
- package/dist/DropDown/index.js +2 -2
- package/dist/Editor/index.js +34 -34
- package/dist/Gantt/index.js +5 -5
- package/dist/Icon/index.js +1 -1
- package/dist/InputTag/{InputTag-C_5nm0eo.js → InputTag-UTPj8g-b.js} +6 -6
- package/dist/InputTag/index.js +2 -2
- package/dist/Loading/index.js +1 -1
- package/dist/Modal/{Modal-eZijJ7CB.js → Modal-BUDRpdzz.js} +3 -3
- package/dist/Modal/index.js +2 -2
- package/dist/NotFoundContent/index.js +1 -1
- package/dist/Overlay/index.js +1 -1
- package/dist/Radio/index.js +1 -1
- package/dist/ScrollBar/index.js +1 -1
- package/dist/Segmented/Segmented-B7QZjjZ_.js +87 -0
- package/dist/Segmented/index.js +2 -2
- package/dist/Select/{Select-DryXF1Tp.js → Select-ByqucfXU.js} +1 -1
- package/dist/Select/index.js +2 -2
- package/dist/Table/index.js +1 -1
- package/dist/Tabs/{Tabs-Imowx4vq.js → Tabs-BupQZHao.js} +10 -10
- package/dist/Tabs/index.js +2 -2
- package/dist/Tooltip/index.js +1 -1
- package/dist/Tree/index.js +1 -1
- package/dist/components/DropDown/interface.d.ts +1 -1
- package/dist/components/Editor/interface.d.ts +2 -2
- package/dist/components/Segmented/Segmented.type.d.ts +4 -0
- package/dist/components/Select/interface.d.ts +4 -2
- package/dist/index.js +12 -12
- package/dist/style.css +1 -1
- package/dist/vendors/{ConfigProvider-gZYvcwIQ.js → ConfigProvider-Bc5czEhx.js} +5 -5
- package/dist/vendors/{version-DH5GPcND.js → version-DjAc-H3q.js} +1 -1
- package/package.json +1 -1
- 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 = "
|
|
21
|
-
"bsy-tab": "_bsy-
|
|
22
|
-
"badge-card": "_badge-
|
|
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-
|
|
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 = "
|
|
306
|
-
"bsy-tabs-select__trigger": "_bsy-tabs-
|
|
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-
|
|
309
|
-
"bsy-tabs-select__trigger-input": "_bsy-tabs-select__trigger-
|
|
310
|
-
"bsy-tabs-select__panel": "_bsy-tabs-
|
|
311
|
-
"bsy-tabs-select__panel-item": "_bsy-tabs-select__panel-
|
|
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({
|
package/dist/Tabs/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "../vendors/version-
|
|
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-
|
|
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 };
|
package/dist/Tooltip/index.js
CHANGED
package/dist/Tree/index.js
CHANGED
|
@@ -23,11 +23,11 @@ export interface EditorToolbarTheme {
|
|
|
23
23
|
colorIcon?: string;
|
|
24
24
|
/** hover 背景 @default #e0e0e0 */
|
|
25
25
|
itemHoverBg?: string;
|
|
26
|
-
/** hover 前景 @default #
|
|
26
|
+
/** hover 前景 @default #121111 */
|
|
27
27
|
itemHoverColor?: string;
|
|
28
28
|
/** active 背景 @default #e0e0e0 */
|
|
29
29
|
itemActiveBg?: string;
|
|
30
|
-
/** active 前景 @default #
|
|
30
|
+
/** active 前景 @default #121111 */
|
|
31
31
|
itemActiveColor?: string;
|
|
32
32
|
/** 「更多」展开等强调色 @default #0265ff */
|
|
33
33
|
itemHighlightColor?: string;
|
|
@@ -34,8 +34,10 @@ export interface SelectTheme {
|
|
|
34
34
|
colorBgContainer?: string;
|
|
35
35
|
/** 浮层面板背景,默认 #fff */
|
|
36
36
|
colorBgElevated?: string;
|
|
37
|
-
/**
|
|
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.
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
10
|
-
import { t as h } from "./Modal/Modal-
|
|
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-
|
|
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-
|
|
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-
|
|
28
|
-
import { t as O } from "./DropDown/DropDown-
|
|
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-
|
|
32
|
-
import { t as j } from "./Calendar/Calendar-
|
|
33
|
-
import { t as M } from "./DatePicker/DatePicker-
|
|
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";
|