@ebscn/ui 1.0.3-beta.3 → 1.0.3-beta.30
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/assets/images/delete_dark.png +0 -0
- package/assets/images/keybord_keybord_dark.png +0 -0
- package/assets/images/keybord_shift2.png +0 -0
- package/assets/images/keybord_shift2_dark.png +0 -0
- package/assets/images/keybord_shift_dark.png +0 -0
- package/assets/images/loading.gif +0 -0
- package/cjs/assets/images/delete_dark.png +0 -0
- package/cjs/assets/images/keybord_keybord_dark.png +0 -0
- package/cjs/assets/images/keybord_shift2.png +0 -0
- package/cjs/assets/images/keybord_shift2_dark.png +0 -0
- package/cjs/assets/images/keybord_shift_dark.png +0 -0
- package/cjs/assets/images/loading.gif +0 -0
- package/cjs/components/alphabet-keyboard/alphabet-keyboard.css +108 -43
- package/cjs/components/alphabet-keyboard/alphabet-keyboard.js +1 -2
- package/cjs/components/button/selectorButton.css +2 -0
- package/cjs/components/button/selectorButton.js +1 -5
- package/cjs/components/card/card.css +1 -1
- package/cjs/components/card/card.js +2 -2
- package/cjs/components/checkbox/checkbox.css +8 -2
- package/cjs/components/date-range-picker/date-range-picker.css +31 -7
- package/cjs/components/date-range-picker/date-range-picker.d.ts +1 -0
- package/cjs/components/date-range-picker/date-range-picker.js +18 -9
- package/cjs/components/divider/divider.css +4 -3
- package/cjs/components/header/header.css +7 -1
- package/cjs/components/header/header.js +4 -2
- package/cjs/components/icons/back-icon.js +1 -0
- package/cjs/components/icons/clear-icon.js +1 -0
- package/cjs/components/icons/close-icon.js +2 -1
- package/cjs/components/icons/down-icon.d.ts +4 -0
- package/cjs/components/icons/down-icon.js +26 -0
- package/cjs/components/icons/dustbin-icon.d.ts +4 -0
- package/cjs/components/icons/dustbin-icon.js +26 -0
- package/cjs/components/icons/index.d.ts +3 -0
- package/cjs/components/icons/index.js +21 -0
- package/cjs/components/icons/notice-icon.js +2 -2
- package/cjs/components/icons/right-icon.js +1 -0
- package/cjs/components/icons/search-icon.js +2 -1
- package/cjs/components/icons/up-icon.d.ts +4 -0
- package/cjs/components/icons/up-icon.js +26 -0
- package/cjs/components/icons/warning-icon.js +2 -1
- package/cjs/components/infinite-scroll/index.d.ts +4 -0
- package/cjs/components/infinite-scroll/index.js +9 -0
- package/cjs/components/infinite-scroll/infinite-scroll.css +27 -0
- package/cjs/components/infinite-scroll/infinite-scroll.d.ts +11 -0
- package/cjs/components/infinite-scroll/infinite-scroll.js +278 -0
- package/cjs/components/input/input.css +27 -27
- package/cjs/components/input/input.js +1 -1
- package/cjs/components/list/index.d.ts +16 -0
- package/cjs/components/list/index.js +13 -0
- package/cjs/components/list/list-item.d.ts +15 -0
- package/cjs/components/list/list-item.js +38 -0
- package/cjs/components/list/list.css +101 -0
- package/cjs/components/list/list.d.ts +20 -0
- package/cjs/components/list/list.js +38 -0
- package/cjs/components/number-keyboard/number-keyboard.css +55 -42
- package/cjs/components/number-keyboard/number-keyboard.d.ts +1 -0
- package/cjs/components/number-keyboard/number-keyboard.js +2 -1
- package/cjs/components/picker/picker.css +3 -0
- package/cjs/components/picker-view/picker-view.css +11 -2
- package/cjs/components/popover/arrow.d.ts +3 -0
- package/cjs/components/popover/arrow.js +19 -0
- package/cjs/components/popover/index.d.ts +31 -0
- package/cjs/components/popover/index.js +14 -0
- package/cjs/components/popover/normalize-placement.d.ts +2 -0
- package/cjs/components/popover/normalize-placement.js +20 -0
- package/cjs/components/popover/popover-menu.css +65 -0
- package/cjs/components/popover/popover-menu.d.ts +20 -0
- package/cjs/components/popover/popover-menu.js +74 -0
- package/cjs/components/popover/popover.css +68 -0
- package/cjs/components/popover/popover.d.ts +41 -0
- package/cjs/components/popover/popover.js +280 -0
- package/cjs/components/popover/wrapper.d.ts +10 -0
- package/cjs/components/popover/wrapper.js +53 -0
- package/cjs/components/popup/popup.css +4 -16
- package/cjs/components/protocol/protocol.js +1 -2
- package/cjs/components/pull-to-refresh/pull-to-refresh.css +10 -1
- package/cjs/components/pull-to-refresh/pull-to-refresh.d.ts +1 -1
- package/cjs/components/pull-to-refresh/pull-to-refresh.js +5 -5
- package/cjs/components/radio/radio.css +5 -0
- package/cjs/components/selector/selector.css +1 -1
- package/cjs/components/skeleton/skeleton.css +4 -4
- package/cjs/components/squared-grid/squared-grid.css +1 -2
- package/cjs/components/squared-grid/squared-grid.d.ts +2 -1
- package/cjs/components/squared-grid/squared-grid.js +11 -2
- package/cjs/components/stock-count-keyboard/stock-count-keyboard.css +48 -41
- package/cjs/components/stock-count-keyboard/stock-count-keyboard.js +1 -1
- package/cjs/components/stock-keyboard/alphabet-keyboard.css +186 -0
- package/cjs/components/stock-keyboard/alphabet-keyboard.d.ts +11 -0
- package/cjs/components/stock-keyboard/alphabet-keyboard.js +106 -0
- package/cjs/components/stock-keyboard/index.d.ts +1 -0
- package/cjs/components/stock-keyboard/index.js +1 -0
- package/cjs/components/stock-keyboard/stock-keyboard.css +135 -76
- package/cjs/components/stock-keyboard/stock-keyboard.d.ts +2 -2
- package/cjs/components/stock-keyboard/stock-keyboard.js +42 -10
- package/cjs/components/switch/switch.css +2 -3
- package/cjs/components/tabs/tabs.css +6 -4
- package/cjs/components/tabs/tabs.js +5 -5
- package/cjs/components/tabs/tabs.patch.css +1 -0
- package/cjs/components/toast/index.d.ts +9 -0
- package/cjs/components/toast/index.js +14 -0
- package/cjs/components/toast/methods.d.ts +8 -0
- package/cjs/components/toast/methods.js +72 -0
- package/cjs/components/toast/toast.css +45 -0
- package/cjs/components/toast/toast.d.ts +18 -0
- package/cjs/components/toast/toast.js +85 -0
- package/cjs/components/toast/toast.patch.css +11 -0
- package/cjs/global/global.css +20 -5
- package/cjs/global/theme-dark.css +11 -3
- package/cjs/global/theme-default.css +9 -2
- package/cjs/index.d.ts +4 -0
- package/cjs/index.js +33 -1
- package/es/assets/images/delete_dark.png +0 -0
- package/es/assets/images/keybord_keybord_dark.png +0 -0
- package/es/assets/images/keybord_shift2.png +0 -0
- package/es/assets/images/keybord_shift2_dark.png +0 -0
- package/es/assets/images/keybord_shift_dark.png +0 -0
- package/es/assets/images/loading.gif +0 -0
- package/es/components/alphabet-keyboard/alphabet-keyboard.css +108 -43
- package/es/components/alphabet-keyboard/alphabet-keyboard.js +2 -4
- package/es/components/button/selectorButton.css +2 -0
- package/es/components/button/selectorButton.js +1 -5
- package/es/components/card/card.css +1 -1
- package/es/components/card/card.js +2 -2
- package/es/components/checkbox/checkbox.css +8 -2
- package/es/components/date-range-picker/date-range-picker.css +31 -7
- package/es/components/date-range-picker/date-range-picker.d.ts +1 -0
- package/es/components/date-range-picker/date-range-picker.js +17 -9
- package/es/components/divider/divider.css +4 -3
- package/es/components/header/header.css +7 -1
- package/es/components/header/header.js +4 -2
- package/es/components/icons/back-icon.js +1 -0
- package/es/components/icons/clear-icon.js +1 -0
- package/es/components/icons/close-icon.js +2 -1
- package/es/components/icons/down-icon.d.ts +4 -0
- package/es/components/icons/down-icon.js +18 -0
- package/es/components/icons/dustbin-icon.d.ts +4 -0
- package/es/components/icons/dustbin-icon.js +18 -0
- package/es/components/icons/index.d.ts +3 -0
- package/es/components/icons/index.js +3 -0
- package/es/components/icons/notice-icon.js +2 -2
- package/es/components/icons/right-icon.js +1 -0
- package/es/components/icons/search-icon.js +2 -1
- package/es/components/icons/up-icon.d.ts +4 -0
- package/es/components/icons/up-icon.js +18 -0
- package/es/components/icons/warning-icon.js +2 -1
- package/es/components/infinite-scroll/index.d.ts +4 -0
- package/es/components/infinite-scroll/index.js +3 -0
- package/es/components/infinite-scroll/infinite-scroll.css +27 -0
- package/es/components/infinite-scroll/infinite-scroll.d.ts +11 -0
- package/es/components/infinite-scroll/infinite-scroll.js +268 -0
- package/es/components/input/input.css +27 -27
- package/es/components/input/input.js +1 -1
- package/es/components/list/index.d.ts +16 -0
- package/es/components/list/index.js +7 -0
- package/es/components/list/list-item.d.ts +15 -0
- package/es/components/list/list-item.js +30 -0
- package/es/components/list/list.css +101 -0
- package/es/components/list/list.d.ts +20 -0
- package/es/components/list/list.js +29 -0
- package/es/components/number-keyboard/number-keyboard.css +55 -42
- package/es/components/number-keyboard/number-keyboard.d.ts +1 -0
- package/es/components/number-keyboard/number-keyboard.js +2 -1
- package/es/components/picker/picker.css +3 -0
- package/es/components/picker-view/picker-view.css +11 -2
- package/es/components/popover/arrow.d.ts +3 -0
- package/es/components/popover/arrow.js +11 -0
- package/es/components/popover/index.d.ts +31 -0
- package/es/components/popover/index.js +8 -0
- package/es/components/popover/normalize-placement.d.ts +2 -0
- package/es/components/popover/normalize-placement.js +14 -0
- package/es/components/popover/popover-menu.css +65 -0
- package/es/components/popover/popover-menu.d.ts +20 -0
- package/es/components/popover/popover-menu.js +65 -0
- package/es/components/popover/popover.css +68 -0
- package/es/components/popover/popover.d.ts +41 -0
- package/es/components/popover/popover.js +271 -0
- package/es/components/popover/wrapper.d.ts +10 -0
- package/es/components/popover/wrapper.js +47 -0
- package/es/components/popup/popup.css +4 -16
- package/es/components/protocol/protocol.js +1 -2
- package/es/components/pull-to-refresh/pull-to-refresh.css +10 -1
- package/es/components/pull-to-refresh/pull-to-refresh.d.ts +1 -1
- package/es/components/pull-to-refresh/pull-to-refresh.js +5 -5
- package/es/components/radio/radio.css +5 -0
- package/es/components/selector/selector.css +1 -1
- package/es/components/skeleton/skeleton.css +4 -4
- package/es/components/squared-grid/squared-grid.css +1 -2
- package/es/components/squared-grid/squared-grid.d.ts +2 -1
- package/es/components/squared-grid/squared-grid.js +11 -2
- package/es/components/stock-count-keyboard/stock-count-keyboard.css +48 -41
- package/es/components/stock-count-keyboard/stock-count-keyboard.js +1 -1
- package/es/components/stock-keyboard/alphabet-keyboard.css +186 -0
- package/es/components/stock-keyboard/alphabet-keyboard.d.ts +11 -0
- package/es/components/stock-keyboard/alphabet-keyboard.js +98 -0
- package/es/components/stock-keyboard/index.d.ts +1 -0
- package/es/components/stock-keyboard/index.js +1 -0
- package/es/components/stock-keyboard/stock-keyboard.css +135 -76
- package/es/components/stock-keyboard/stock-keyboard.d.ts +2 -2
- package/es/components/stock-keyboard/stock-keyboard.js +44 -13
- package/es/components/switch/switch.css +2 -3
- package/es/components/tabs/tabs.css +6 -4
- package/es/components/tabs/tabs.js +5 -5
- package/es/components/tabs/tabs.patch.css +1 -0
- package/es/components/toast/index.d.ts +9 -0
- package/es/components/toast/index.js +8 -0
- package/es/components/toast/methods.d.ts +8 -0
- package/es/components/toast/methods.js +63 -0
- package/es/components/toast/toast.css +45 -0
- package/es/components/toast/toast.d.ts +18 -0
- package/es/components/toast/toast.js +75 -0
- package/es/components/toast/toast.patch.css +11 -0
- package/es/global/global.css +20 -5
- package/es/global/theme-dark.css +11 -3
- package/es/global/theme-default.css +9 -2
- package/es/index.d.ts +4 -0
- package/es/index.js +8 -4
- package/package.json +6 -12
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
6
|
+
}
|
|
7
|
+
return t;
|
|
8
|
+
};
|
|
9
|
+
return __assign.apply(this, arguments);
|
|
10
|
+
};
|
|
11
|
+
import React, { useMemo } from 'react';
|
|
12
|
+
import classNames from 'classnames';
|
|
13
|
+
import { CloseIcon as CloseOutline, CheckOnlyIcon as CheckOutline } from '../icons';
|
|
14
|
+
import Mask from '../mask';
|
|
15
|
+
import { mergeProps } from '../../utils/with-default-props';
|
|
16
|
+
import AutoCenter from '../auto-center';
|
|
17
|
+
var classPrefix = "ebscn-toast";
|
|
18
|
+
var defaultProps = {
|
|
19
|
+
maskClickable: true,
|
|
20
|
+
stopPropagation: ['click']
|
|
21
|
+
};
|
|
22
|
+
export var InternalToast = function (p) {
|
|
23
|
+
var props = mergeProps(defaultProps, p);
|
|
24
|
+
var maskClickable = props.maskClickable,
|
|
25
|
+
content = props.content,
|
|
26
|
+
icon = props.icon,
|
|
27
|
+
position = props.position;
|
|
28
|
+
var iconElement = useMemo(function () {
|
|
29
|
+
if (icon === null || icon === undefined) return null;
|
|
30
|
+
switch (icon) {
|
|
31
|
+
case 'success':
|
|
32
|
+
return React.createElement(CheckOutline, {
|
|
33
|
+
className: "".concat(classPrefix, "-icon-success")
|
|
34
|
+
});
|
|
35
|
+
case 'fail':
|
|
36
|
+
return React.createElement(CloseOutline, {
|
|
37
|
+
className: "".concat(classPrefix, "-icon-fail")
|
|
38
|
+
});
|
|
39
|
+
default:
|
|
40
|
+
return icon;
|
|
41
|
+
}
|
|
42
|
+
}, [icon]);
|
|
43
|
+
var top = useMemo(function () {
|
|
44
|
+
switch (position) {
|
|
45
|
+
case 'top':
|
|
46
|
+
return '20%';
|
|
47
|
+
case 'bottom':
|
|
48
|
+
return '80%';
|
|
49
|
+
default:
|
|
50
|
+
return '50%';
|
|
51
|
+
}
|
|
52
|
+
}, [position]);
|
|
53
|
+
return React.createElement(Mask, {
|
|
54
|
+
visible: props.visible,
|
|
55
|
+
destroyOnClose: true,
|
|
56
|
+
opacity: 0,
|
|
57
|
+
disableBodyScroll: !maskClickable,
|
|
58
|
+
getContainer: props.getContainer,
|
|
59
|
+
afterClose: props.afterClose,
|
|
60
|
+
style: __assign({
|
|
61
|
+
pointerEvents: maskClickable ? 'none' : 'auto'
|
|
62
|
+
}, props.maskStyle),
|
|
63
|
+
className: classNames("".concat(classPrefix, "-mask"), props.maskClassName),
|
|
64
|
+
stopPropagation: props.stopPropagation
|
|
65
|
+
}, React.createElement("div", {
|
|
66
|
+
className: classNames("".concat(classPrefix, "-wrap"))
|
|
67
|
+
}, React.createElement("div", {
|
|
68
|
+
style: {
|
|
69
|
+
top: top
|
|
70
|
+
},
|
|
71
|
+
className: classNames("".concat(classPrefix, "-main"), icon ? "".concat(classPrefix, "-main-icon") : "".concat(classPrefix, "-main-text"))
|
|
72
|
+
}, iconElement && React.createElement("div", {
|
|
73
|
+
className: "".concat(classPrefix, "-icon")
|
|
74
|
+
}, iconElement), React.createElement(AutoCenter, null, content))));
|
|
75
|
+
};
|
package/es/global/global.css
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
--ebscn-color-warning: #ff8f1f;
|
|
22
22
|
--ebscn-color-danger: #ff3141;
|
|
23
23
|
--ebscn-color-yellow: #ff9f18;
|
|
24
|
-
--ebscn-color-wathet: #
|
|
24
|
+
--ebscn-color-wathet: #fef4f2;
|
|
25
25
|
--ebscn-color-text: #333333;
|
|
26
26
|
--ebscn-color-text-secondary: #666666;
|
|
27
27
|
--ebscn-color-weak: #999999;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
--ebscn-color-background: #ffffff;
|
|
31
31
|
--ebscn-color-highlight: var(--ebscn-color-danger);
|
|
32
32
|
--ebscn-color-white: #ffffff;
|
|
33
|
-
--ebscn-color-box: #
|
|
33
|
+
--ebscn-color-box: #f8f9fc;
|
|
34
34
|
--ebscn-color-text-light-solid: var(--ebscn-color-white);
|
|
35
35
|
--ebscn-color-text-dark-solid: #000000;
|
|
36
36
|
--ebscn-color-fill-content: var(--ebscn-color-box);
|
|
@@ -45,24 +45,39 @@
|
|
|
45
45
|
--ebscn-color-golden: #b47816;
|
|
46
46
|
--ebscn-color-grey: rgba(0, 0, 0, 0.7);
|
|
47
47
|
--ebscn-color-split-line: #EBEBEB;
|
|
48
|
+
--ebscn-color-keyboard-bg: #d3d5d8;
|
|
49
|
+
--ebscn-color-keyboard-key-bg: #fff;
|
|
50
|
+
--ebscn-color-keyboard-fckey-bg: #adb3bd;
|
|
51
|
+
--ebscn-color-keyboard-key-bg-active: #e5e5e5;
|
|
52
|
+
--ebscn-color-keyboard-fckey-bg-active: #9ba1aa;
|
|
53
|
+
--ebscn-color-keyboard-fckey-border: #888;
|
|
54
|
+
--ebscn-color-keyboard-key-border: #888;
|
|
48
55
|
}
|
|
49
56
|
html[data-prefers-color-scheme='dark'] {
|
|
50
|
-
--ebscn-color-
|
|
57
|
+
--ebscn-color-blue: #4c7cf1;
|
|
51
58
|
--ebscn-color-success: #34b368;
|
|
52
59
|
--ebscn-color-warning: #ffa930;
|
|
53
60
|
--ebscn-color-danger: #ff4a58;
|
|
54
61
|
--ebscn-color-yellow: #ffa930;
|
|
55
62
|
--ebscn-color-orange: #e65a2b;
|
|
56
63
|
--ebscn-color-wathet: #0d2543;
|
|
57
|
-
--ebscn-color-text: #
|
|
64
|
+
--ebscn-color-text: #ebebeb;
|
|
58
65
|
--ebscn-color-text-secondary: #b3b3b3;
|
|
59
|
-
--ebscn-color-weak: #
|
|
66
|
+
--ebscn-color-weak: #7a7a7a;
|
|
60
67
|
--ebscn-color-light: #4d4d4d;
|
|
61
68
|
--ebscn-color-border: #2b2b2b;
|
|
62
69
|
--ebscn-color-box: #0a0a0a;
|
|
63
70
|
--ebscn-color-background: #1a1a1a;
|
|
64
71
|
--ebscn-color-background-body: var(--ebscn-color-background);
|
|
65
72
|
--ebscn-border-color: var(--ebscn-color-border);
|
|
73
|
+
--ebscn-color-split-line: #2B2B2B;
|
|
74
|
+
--ebscn-color-keyboard-bg: #1a1a1a;
|
|
75
|
+
--ebscn-color-keyboard-key-bg: #474747;
|
|
76
|
+
--ebscn-color-keyboard-fckey-bg: #292929;
|
|
77
|
+
--ebscn-color-keyboard-key-bg-active: #323232;
|
|
78
|
+
--ebscn-color-keyboard-fckey-bg-active: #252525;
|
|
79
|
+
--ebscn-color-keyboard-fckey-border: #111;
|
|
80
|
+
--ebscn-color-keyboard-key-border: #333;
|
|
66
81
|
}
|
|
67
82
|
:root {
|
|
68
83
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
package/es/global/theme-dark.css
CHANGED
|
@@ -1,18 +1,26 @@
|
|
|
1
1
|
html[data-prefers-color-scheme='dark'] {
|
|
2
|
-
--ebscn-color-
|
|
2
|
+
--ebscn-color-blue: #4c7cf1;
|
|
3
3
|
--ebscn-color-success: #34b368;
|
|
4
4
|
--ebscn-color-warning: #ffa930;
|
|
5
5
|
--ebscn-color-danger: #ff4a58;
|
|
6
6
|
--ebscn-color-yellow: #ffa930;
|
|
7
7
|
--ebscn-color-orange: #e65a2b;
|
|
8
8
|
--ebscn-color-wathet: #0d2543;
|
|
9
|
-
--ebscn-color-text: #
|
|
9
|
+
--ebscn-color-text: #ebebeb;
|
|
10
10
|
--ebscn-color-text-secondary: #b3b3b3;
|
|
11
|
-
--ebscn-color-weak: #
|
|
11
|
+
--ebscn-color-weak: #7a7a7a;
|
|
12
12
|
--ebscn-color-light: #4d4d4d;
|
|
13
13
|
--ebscn-color-border: #2b2b2b;
|
|
14
14
|
--ebscn-color-box: #0a0a0a;
|
|
15
15
|
--ebscn-color-background: #1a1a1a;
|
|
16
16
|
--ebscn-color-background-body: var(--ebscn-color-background);
|
|
17
17
|
--ebscn-border-color: var(--ebscn-color-border);
|
|
18
|
+
--ebscn-color-split-line: #2B2B2B;
|
|
19
|
+
--ebscn-color-keyboard-bg: #1a1a1a;
|
|
20
|
+
--ebscn-color-keyboard-key-bg: #474747;
|
|
21
|
+
--ebscn-color-keyboard-fckey-bg: #292929;
|
|
22
|
+
--ebscn-color-keyboard-key-bg-active: #323232;
|
|
23
|
+
--ebscn-color-keyboard-fckey-bg-active: #252525;
|
|
24
|
+
--ebscn-color-keyboard-fckey-border: #111;
|
|
25
|
+
--ebscn-color-keyboard-key-border: #333;
|
|
18
26
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
--ebscn-color-warning: #ff8f1f;
|
|
22
22
|
--ebscn-color-danger: #ff3141;
|
|
23
23
|
--ebscn-color-yellow: #ff9f18;
|
|
24
|
-
--ebscn-color-wathet: #
|
|
24
|
+
--ebscn-color-wathet: #fef4f2;
|
|
25
25
|
--ebscn-color-text: #333333;
|
|
26
26
|
--ebscn-color-text-secondary: #666666;
|
|
27
27
|
--ebscn-color-weak: #999999;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
--ebscn-color-background: #ffffff;
|
|
31
31
|
--ebscn-color-highlight: var(--ebscn-color-danger);
|
|
32
32
|
--ebscn-color-white: #ffffff;
|
|
33
|
-
--ebscn-color-box: #
|
|
33
|
+
--ebscn-color-box: #f8f9fc;
|
|
34
34
|
--ebscn-color-text-light-solid: var(--ebscn-color-white);
|
|
35
35
|
--ebscn-color-text-dark-solid: #000000;
|
|
36
36
|
--ebscn-color-fill-content: var(--ebscn-color-box);
|
|
@@ -45,4 +45,11 @@
|
|
|
45
45
|
--ebscn-color-golden: #b47816;
|
|
46
46
|
--ebscn-color-grey: rgba(0, 0, 0, 0.7);
|
|
47
47
|
--ebscn-color-split-line: #EBEBEB;
|
|
48
|
+
--ebscn-color-keyboard-bg: #d3d5d8;
|
|
49
|
+
--ebscn-color-keyboard-key-bg: #fff;
|
|
50
|
+
--ebscn-color-keyboard-fckey-bg: #adb3bd;
|
|
51
|
+
--ebscn-color-keyboard-key-bg-active: #e5e5e5;
|
|
52
|
+
--ebscn-color-keyboard-fckey-bg-active: #9ba1aa;
|
|
53
|
+
--ebscn-color-keyboard-fckey-border: #888;
|
|
54
|
+
--ebscn-color-keyboard-key-border: #888;
|
|
48
55
|
}
|
package/es/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export { default as PickerView } from './components/picker-view';
|
|
|
20
20
|
export { default as Popup } from './components/popup';
|
|
21
21
|
export { default as ProSelector } from './components/pro-selector';
|
|
22
22
|
export { default as Protocal } from './components/protocol';
|
|
23
|
+
export { default as Popover } from './components/popover';
|
|
23
24
|
export { default as PullToRefresh } from './components/pull-to-refresh';
|
|
24
25
|
export { default as Radio } from './components/radio';
|
|
25
26
|
export { default as SafeArea } from './components/safe-area';
|
|
@@ -36,3 +37,6 @@ export { default as Tabs } from './components/tabs';
|
|
|
36
37
|
export { default as Tip } from './components/tip';
|
|
37
38
|
export { default as ToastLoading } from './components/toastLoading';
|
|
38
39
|
export { default as Input } from './components/input';
|
|
40
|
+
export { default as InfiniteScroll } from './components/infinite-scroll';
|
|
41
|
+
export { default as List } from './components/list';
|
|
42
|
+
export { default as Toast } from './components/toast';
|
package/es/index.js
CHANGED
|
@@ -22,6 +22,7 @@ export { default as PickerView } from './components/picker-view';
|
|
|
22
22
|
export { default as Popup } from './components/popup';
|
|
23
23
|
export { default as ProSelector } from './components/pro-selector';
|
|
24
24
|
export { default as Protocal } from './components/protocol';
|
|
25
|
+
export { default as Popover } from './components/popover';
|
|
25
26
|
export { default as PullToRefresh } from './components/pull-to-refresh';
|
|
26
27
|
export { default as Radio } from './components/radio';
|
|
27
28
|
export { default as SafeArea } from './components/safe-area';
|
|
@@ -37,8 +38,11 @@ export { default as Switch } from './components/switch';
|
|
|
37
38
|
export { default as Tabs } from './components/tabs';
|
|
38
39
|
export { default as Tip } from './components/tip';
|
|
39
40
|
export { default as ToastLoading } from './components/toastLoading';
|
|
40
|
-
//export { default as PayInput} from './components/pay-input';
|
|
41
|
-
//export { default as MoneyInput } from './components/money-input';
|
|
42
|
-
//export { default as FeneInput } from './components/fene-input';
|
|
43
41
|
export { default as Input } from './components/input';
|
|
44
|
-
|
|
42
|
+
export { default as InfiniteScroll } from './components/infinite-scroll';
|
|
43
|
+
export { default as List } from './components/list';
|
|
44
|
+
export { default as Toast } from './components/toast';
|
|
45
|
+
// export { default as PayInput} from './components/pay-input';
|
|
46
|
+
// export { default as MoneyInput } from './components/money-input';
|
|
47
|
+
// export { default as FeneInput } from './components/fene-input';
|
|
48
|
+
// export { default as CommonInput } from './components/common-input';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ebscn/ui",
|
|
3
|
-
"version": "1.0.3-beta.
|
|
3
|
+
"version": "1.0.3-beta.30",
|
|
4
4
|
"description": "ebscn react library",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./es/index.d.ts",
|
|
@@ -39,21 +39,15 @@
|
|
|
39
39
|
"@react-spring/web": "^9.7.3",
|
|
40
40
|
"@use-gesture/react": "^10.3.0",
|
|
41
41
|
"ahooks": "^3.7.10",
|
|
42
|
-
"antd-mobile": "^5.34.0",
|
|
43
42
|
"lodash": "^4.17.21",
|
|
44
43
|
"lorem-ipsum": "^2.0.8",
|
|
45
44
|
"pdfh5": "^1.4.2",
|
|
46
45
|
"react-fast-compare": "^3.2.2",
|
|
47
46
|
"react-is": "^18.2.0",
|
|
48
47
|
"react-photo-view": "^1.2.4",
|
|
49
|
-
"use-sync-external-store": "^1.2.0"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
"
|
|
53
|
-
|
|
54
|
-
"./es/index.js",
|
|
55
|
-
"./src/index.ts",
|
|
56
|
-
"./es/global/index.js",
|
|
57
|
-
"./src/global/index.ts"
|
|
58
|
-
]
|
|
48
|
+
"use-sync-external-store": "^1.2.0",
|
|
49
|
+
"@floating-ui/dom": "^1.4.2",
|
|
50
|
+
"antd-mobile-icons": "^0.3.0",
|
|
51
|
+
"staged-components": "^1.1.3"
|
|
52
|
+
}
|
|
59
53
|
}
|