antd-mobile 5.0.0-rc.19 → 5.0.0-rc.22
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/2x/README.md +1 -1
- package/2x/cjs/components/avatar/avatar.d.ts +1 -1
- package/2x/cjs/components/badge/badge.css +1 -1
- package/2x/cjs/components/button/button.css +4 -3
- package/2x/cjs/components/calendar/calendar.js +4 -0
- package/2x/cjs/components/capsule-tabs/capsule-tabs.css +1 -1
- package/2x/cjs/components/check-list/check-list.css +0 -4
- package/2x/cjs/components/checkbox/checkbox.css +6 -16
- package/2x/cjs/components/checkbox/checkbox.js +1 -1
- package/2x/cjs/components/date-picker/date-picker.d.ts +2 -2
- package/2x/cjs/components/dialog/dialog-action-button.js +1 -0
- package/2x/cjs/components/dialog/dialog.css +15 -0
- package/2x/cjs/components/dialog/dialog.js +4 -2
- package/2x/cjs/components/error-block/error-block.d.ts +1 -1
- package/2x/cjs/components/floating-panel/floating-panel.d.ts +2 -0
- package/2x/cjs/components/floating-panel/floating-panel.js +5 -0
- package/2x/cjs/components/form/form-item.css +5 -0
- package/2x/cjs/components/form/form.css +10 -0
- package/2x/cjs/components/form/form.js +1 -5
- package/2x/cjs/components/form/index.css +15 -0
- package/2x/cjs/components/image/image.d.ts +1 -0
- package/2x/cjs/components/image/image.js +4 -1
- package/2x/cjs/components/input/input.css +28 -25
- package/2x/cjs/components/input/input.d.ts +2 -2
- package/2x/cjs/components/input/input.js +7 -3
- package/2x/cjs/components/jumbo-tabs/jumbo-tabs.css +4 -1
- package/2x/cjs/components/list/list-item.js +1 -1
- package/2x/cjs/components/list/list.css +3 -5
- package/2x/cjs/components/list/list.d.ts +1 -1
- package/2x/cjs/components/modal/modal.css +15 -0
- package/2x/cjs/components/modal/modal.js +4 -2
- package/2x/cjs/components/nav-bar/nav-bar.css +3 -3
- package/2x/cjs/components/notice-bar/notice-bar.css +16 -8
- package/2x/cjs/components/notice-bar/notice-bar.d.ts +1 -1
- package/2x/cjs/components/notice-bar/notice-bar.js +5 -3
- package/2x/cjs/components/picker/picker.css +7 -2
- package/2x/cjs/components/picker/picker.js +1 -0
- package/2x/cjs/components/picker-view/picker-view.css +2 -2
- package/2x/cjs/components/popover/popover.js +6 -5
- package/2x/cjs/components/radio/radio.css +5 -5
- package/2x/cjs/components/result/result.css +2 -5
- package/2x/cjs/components/search-bar/search-bar.css +14 -9
- package/2x/cjs/components/selector/selector.css +4 -0
- package/2x/cjs/components/side-bar/corner.d.ts +3 -0
- package/2x/cjs/components/side-bar/corner.js +28 -0
- package/2x/cjs/components/side-bar/side-bar.css +31 -18
- package/2x/cjs/components/side-bar/side-bar.js +22 -5
- package/2x/cjs/components/spin-loading/spin-loading.css +1 -19
- package/2x/cjs/components/spin-loading/spin-loading.d.ts +1 -1
- package/2x/cjs/components/spin-loading/spin-loading.js +33 -5
- package/2x/cjs/components/stepper/stepper.css +4 -7
- package/2x/cjs/components/stepper/stepper.js +2 -1
- package/2x/cjs/components/swipe-action/swipe-action.d.ts +2 -2
- package/2x/cjs/components/swipe-action/swipe-action.js +1 -1
- package/2x/cjs/components/swiper/swiper.js +14 -19
- package/2x/cjs/components/tabs/tabs.css +1 -1
- package/2x/cjs/components/tag/tag.css +3 -3
- package/2x/cjs/components/virtual-input/virtual-input.d.ts +1 -1
- package/2x/cjs/utils/get-scroll-parent.js +1 -1
- package/2x/es/components/avatar/avatar.d.ts +1 -1
- package/2x/es/components/badge/badge.css +1 -1
- package/2x/es/components/button/button.css +4 -3
- package/2x/es/components/calendar/calendar.js +2 -0
- package/2x/es/components/capsule-tabs/capsule-tabs.css +1 -1
- package/2x/es/components/check-list/check-list.css +0 -4
- package/2x/es/components/checkbox/checkbox.css +6 -16
- package/2x/es/components/checkbox/checkbox.js +1 -1
- package/2x/es/components/date-picker/date-picker.d.ts +2 -2
- package/2x/es/components/dialog/dialog-action-button.js +1 -0
- package/2x/es/components/dialog/dialog.css +15 -0
- package/2x/es/components/dialog/dialog.js +4 -2
- package/2x/es/components/error-block/error-block.d.ts +1 -1
- package/2x/es/components/floating-panel/floating-panel.d.ts +2 -0
- package/2x/es/components/floating-panel/floating-panel.js +5 -0
- package/2x/es/components/form/form-item.css +5 -0
- package/2x/es/components/form/form.css +10 -0
- package/2x/es/components/form/form.js +1 -5
- package/2x/es/components/form/index.css +15 -0
- package/2x/es/components/image/image.d.ts +1 -0
- package/2x/es/components/image/image.js +4 -1
- package/2x/es/components/input/input.css +28 -25
- package/2x/es/components/input/input.d.ts +2 -2
- package/2x/es/components/input/input.js +4 -3
- package/2x/es/components/jumbo-tabs/jumbo-tabs.css +4 -1
- package/2x/es/components/list/list-item.js +1 -1
- package/2x/es/components/list/list.css +3 -5
- package/2x/es/components/list/list.d.ts +1 -1
- package/2x/es/components/modal/modal.css +15 -0
- package/2x/es/components/modal/modal.js +4 -2
- package/2x/es/components/nav-bar/nav-bar.css +3 -3
- package/2x/es/components/notice-bar/notice-bar.css +16 -8
- package/2x/es/components/notice-bar/notice-bar.d.ts +1 -1
- package/2x/es/components/notice-bar/notice-bar.js +5 -3
- package/2x/es/components/picker/picker.css +7 -2
- package/2x/es/components/picker/picker.js +1 -0
- package/2x/es/components/picker-view/picker-view.css +2 -2
- package/2x/es/components/popover/popover.js +6 -5
- package/2x/es/components/radio/radio.css +5 -5
- package/2x/es/components/result/result.css +2 -5
- package/2x/es/components/search-bar/search-bar.css +14 -9
- package/2x/es/components/selector/selector.css +4 -0
- package/2x/es/components/side-bar/corner.d.ts +3 -0
- package/2x/es/components/side-bar/corner.js +14 -0
- package/2x/es/components/side-bar/side-bar.css +31 -18
- package/2x/es/components/side-bar/side-bar.js +21 -5
- package/2x/es/components/spin-loading/spin-loading.css +1 -19
- package/2x/es/components/spin-loading/spin-loading.d.ts +1 -1
- package/2x/es/components/spin-loading/spin-loading.js +32 -5
- package/2x/es/components/stepper/stepper.css +4 -7
- package/2x/es/components/stepper/stepper.js +2 -1
- package/2x/es/components/swipe-action/swipe-action.d.ts +2 -2
- package/2x/es/components/swipe-action/swipe-action.js +1 -1
- package/2x/es/components/swiper/swiper.js +13 -19
- package/2x/es/components/tabs/tabs.css +1 -1
- package/2x/es/components/tag/tag.css +3 -3
- package/2x/es/components/virtual-input/virtual-input.d.ts +1 -1
- package/2x/es/utils/get-scroll-parent.js +1 -1
- package/2x/package.json +2 -2
- package/README.md +1 -1
- package/cjs/components/avatar/avatar.d.ts +1 -1
- package/cjs/components/badge/badge.css +1 -1
- package/cjs/components/button/button.css +4 -3
- package/cjs/components/calendar/calendar.js +4 -0
- package/cjs/components/capsule-tabs/capsule-tabs.css +1 -1
- package/cjs/components/check-list/check-list.css +0 -3
- package/cjs/components/checkbox/checkbox.css +6 -14
- package/cjs/components/checkbox/checkbox.js +1 -1
- package/cjs/components/date-picker/date-picker.d.ts +2 -2
- package/cjs/components/dialog/dialog-action-button.js +1 -0
- package/cjs/components/dialog/dialog.css +12 -0
- package/cjs/components/dialog/dialog.js +4 -2
- package/cjs/components/error-block/error-block.d.ts +1 -1
- package/cjs/components/floating-panel/floating-panel.d.ts +2 -0
- package/cjs/components/floating-panel/floating-panel.js +5 -0
- package/cjs/components/form/form-item.css +4 -0
- package/cjs/components/form/form.css +8 -0
- package/cjs/components/form/form.js +1 -5
- package/cjs/components/form/index.css +12 -0
- package/cjs/components/image/image.d.ts +1 -0
- package/cjs/components/image/image.js +4 -1
- package/cjs/components/input/input.css +26 -24
- package/cjs/components/input/input.d.ts +2 -2
- package/cjs/components/input/input.js +7 -3
- package/cjs/components/jumbo-tabs/jumbo-tabs.css +4 -1
- package/cjs/components/list/list-item.js +1 -1
- package/cjs/components/list/list.css +3 -4
- package/cjs/components/list/list.d.ts +1 -1
- package/cjs/components/modal/modal.css +12 -0
- package/cjs/components/modal/modal.js +4 -2
- package/cjs/components/nav-bar/nav-bar.css +3 -3
- package/cjs/components/notice-bar/notice-bar.css +15 -8
- package/cjs/components/notice-bar/notice-bar.d.ts +1 -1
- package/cjs/components/notice-bar/notice-bar.js +5 -3
- package/cjs/components/picker/picker.css +6 -2
- package/cjs/components/picker/picker.js +1 -0
- package/cjs/components/picker-view/picker-view.css +2 -2
- package/cjs/components/popover/popover.js +6 -5
- package/cjs/components/radio/radio.css +5 -5
- package/cjs/components/result/result.css +2 -5
- package/cjs/components/search-bar/search-bar.css +13 -9
- package/cjs/components/selector/selector.css +3 -0
- package/cjs/components/side-bar/corner.d.ts +3 -0
- package/cjs/components/side-bar/corner.js +28 -0
- package/cjs/components/side-bar/side-bar.css +27 -17
- package/cjs/components/side-bar/side-bar.js +22 -5
- package/cjs/components/spin-loading/spin-loading.css +1 -17
- package/cjs/components/spin-loading/spin-loading.d.ts +1 -1
- package/cjs/components/spin-loading/spin-loading.js +33 -5
- package/cjs/components/stepper/stepper.css +4 -6
- package/cjs/components/stepper/stepper.js +2 -1
- package/cjs/components/swipe-action/swipe-action.d.ts +2 -2
- package/cjs/components/swipe-action/swipe-action.js +1 -1
- package/cjs/components/swiper/swiper.js +14 -19
- package/cjs/components/tabs/tabs.css +1 -1
- package/cjs/components/tag/tag.css +3 -3
- package/cjs/components/virtual-input/virtual-input.d.ts +1 -1
- package/cjs/utils/get-scroll-parent.js +1 -1
- package/es/components/avatar/avatar.d.ts +1 -1
- package/es/components/badge/badge.css +1 -1
- package/es/components/button/button.css +4 -3
- package/es/components/calendar/calendar.js +2 -0
- package/es/components/capsule-tabs/capsule-tabs.css +1 -1
- package/es/components/check-list/check-list.css +0 -3
- package/es/components/checkbox/checkbox.css +6 -14
- package/es/components/checkbox/checkbox.js +1 -1
- package/es/components/date-picker/date-picker.d.ts +2 -2
- package/es/components/dialog/dialog-action-button.js +1 -0
- package/es/components/dialog/dialog.css +12 -0
- package/es/components/dialog/dialog.js +4 -2
- package/es/components/error-block/error-block.d.ts +1 -1
- package/es/components/floating-panel/floating-panel.d.ts +2 -0
- package/es/components/floating-panel/floating-panel.js +5 -0
- package/es/components/form/form-item.css +4 -0
- package/es/components/form/form.css +8 -0
- package/es/components/form/form.js +1 -5
- package/es/components/form/index.css +12 -0
- package/es/components/image/image.d.ts +1 -0
- package/es/components/image/image.js +4 -1
- package/es/components/input/input.css +26 -24
- package/es/components/input/input.d.ts +2 -2
- package/es/components/input/input.js +4 -3
- package/es/components/jumbo-tabs/jumbo-tabs.css +4 -1
- package/es/components/list/list-item.js +1 -1
- package/es/components/list/list.css +3 -4
- package/es/components/list/list.d.ts +1 -1
- package/es/components/modal/modal.css +12 -0
- package/es/components/modal/modal.js +4 -2
- package/es/components/nav-bar/nav-bar.css +3 -3
- package/es/components/notice-bar/notice-bar.css +15 -8
- package/es/components/notice-bar/notice-bar.d.ts +1 -1
- package/es/components/notice-bar/notice-bar.js +5 -3
- package/es/components/picker/picker.css +6 -2
- package/es/components/picker/picker.js +1 -0
- package/es/components/picker-view/picker-view.css +2 -2
- package/es/components/popover/popover.js +6 -5
- package/es/components/radio/radio.css +5 -5
- package/es/components/result/result.css +2 -5
- package/es/components/search-bar/search-bar.css +13 -9
- package/es/components/selector/selector.css +3 -0
- package/es/components/side-bar/corner.d.ts +3 -0
- package/es/components/side-bar/corner.js +14 -0
- package/es/components/side-bar/side-bar.css +27 -17
- package/es/components/side-bar/side-bar.js +21 -5
- package/es/components/spin-loading/spin-loading.css +1 -17
- package/es/components/spin-loading/spin-loading.d.ts +1 -1
- package/es/components/spin-loading/spin-loading.js +32 -5
- package/es/components/stepper/stepper.css +4 -6
- package/es/components/stepper/stepper.js +2 -1
- package/es/components/swipe-action/swipe-action.d.ts +2 -2
- package/es/components/swipe-action/swipe-action.js +1 -1
- package/es/components/swiper/swiper.js +13 -19
- package/es/components/tabs/tabs.css +1 -1
- package/es/components/tag/tag.css +3 -3
- package/es/components/virtual-input/virtual-input.d.ts +1 -1
- package/es/utils/get-scroll-parent.js +1 -1
- package/package.json +2 -2
- package/umd/antd-mobile.js +1 -1
|
@@ -14,7 +14,7 @@ export declare type Action = {
|
|
|
14
14
|
export declare type SwipeActionProps = {
|
|
15
15
|
rightActions?: Action[];
|
|
16
16
|
leftActions?: Action[];
|
|
17
|
-
onAction?: (action: Action) => void;
|
|
17
|
+
onAction?: (action: Action, e: React.MouseEvent) => void;
|
|
18
18
|
closeOnTouchOutside?: boolean;
|
|
19
19
|
closeOnAction?: boolean;
|
|
20
20
|
children: ReactNode;
|
|
@@ -22,7 +22,7 @@ export declare type SwipeActionProps = {
|
|
|
22
22
|
export declare const SwipeAction: React.ForwardRefExoticComponent<{
|
|
23
23
|
rightActions?: Action[] | undefined;
|
|
24
24
|
leftActions?: Action[] | undefined;
|
|
25
|
-
onAction?: ((action: Action) => void) | undefined;
|
|
25
|
+
onAction?: ((action: Action, e: React.MouseEvent) => void) | undefined;
|
|
26
26
|
closeOnTouchOutside?: boolean | undefined;
|
|
27
27
|
closeOnAction?: boolean | undefined;
|
|
28
28
|
children: ReactNode;
|
|
@@ -147,7 +147,7 @@ export const SwipeAction = forwardRef((p, ref) => {
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
(_a = action.onClick) === null || _a === void 0 ? void 0 : _a.call(action, e);
|
|
150
|
-
(_b = props.onAction) === null || _b === void 0 ? void 0 : _b.call(props, action);
|
|
150
|
+
(_b = props.onAction) === null || _b === void 0 ? void 0 : _b.call(props, action, e);
|
|
151
151
|
}
|
|
152
152
|
}, action.text);
|
|
153
153
|
}
|
|
@@ -10,6 +10,7 @@ import PageIndicator from '../page-indicator';
|
|
|
10
10
|
import { staged } from 'staged-components';
|
|
11
11
|
import { useRefState } from '../../utils/use-ref-state';
|
|
12
12
|
import { bound } from '../../utils/bound';
|
|
13
|
+
import { useUpdateEffect } from 'ahooks';
|
|
13
14
|
const defaultProps = {
|
|
14
15
|
defaultIndex: 0,
|
|
15
16
|
allowTouchMove: true,
|
|
@@ -71,6 +72,11 @@ export const Swiper = forwardRef(staged((p, ref) => {
|
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
const [current, setCurrent] = useState(props.defaultIndex);
|
|
75
|
+
useUpdateEffect(() => {
|
|
76
|
+
var _a;
|
|
77
|
+
|
|
78
|
+
(_a = props.onIndexChange) === null || _a === void 0 ? void 0 : _a.call(props, current);
|
|
79
|
+
}, [current]);
|
|
74
80
|
const [dragging, setDragging, draggingRef] = useRefState(false);
|
|
75
81
|
|
|
76
82
|
function boundIndex(current) {
|
|
@@ -156,25 +162,13 @@ export const Swiper = forwardRef(staged((p, ref) => {
|
|
|
156
162
|
});
|
|
157
163
|
|
|
158
164
|
function swipeTo(index, immediate = false) {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
position: index * 100,
|
|
167
|
-
immediate
|
|
168
|
-
});
|
|
169
|
-
} else {
|
|
170
|
-
const i = bound(index, 0, count - 1);
|
|
171
|
-
setCurrent(i);
|
|
172
|
-
(_b = props.onIndexChange) === null || _b === void 0 ? void 0 : _b.call(props, i);
|
|
173
|
-
api.start({
|
|
174
|
-
position: boundIndex(i) * 100,
|
|
175
|
-
immediate
|
|
176
|
-
});
|
|
177
|
-
}
|
|
165
|
+
const roundedIndex = Math.round(index);
|
|
166
|
+
const targetIndex = loop ? modulus(roundedIndex, count) : bound(roundedIndex, 0, count - 1);
|
|
167
|
+
setCurrent(targetIndex);
|
|
168
|
+
api.start({
|
|
169
|
+
position: (loop ? roundedIndex : boundIndex(roundedIndex)) * 100,
|
|
170
|
+
immediate
|
|
171
|
+
});
|
|
178
172
|
}
|
|
179
173
|
|
|
180
174
|
function swipeNext() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.adm-tag {
|
|
2
2
|
--border-radius: var(--adm-tag-border-radius, 4px);
|
|
3
|
-
padding:
|
|
4
|
-
font-size:
|
|
3
|
+
padding: 4px 8px;
|
|
4
|
+
font-size: 22px;
|
|
5
5
|
line-height: 1;
|
|
6
6
|
font-weight: normal;
|
|
7
7
|
background: var(--background-color);
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
display: inline-block;
|
|
10
10
|
white-space: nowrap;
|
|
11
11
|
border-radius: var(--border-radius);
|
|
12
|
-
border:
|
|
12
|
+
border: 2px solid var(--border-color);
|
|
13
13
|
box-sizing: border-box;
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -21,4 +21,4 @@ export declare const VirtualInput: React.ForwardRefExoticComponent<{
|
|
|
21
21
|
keyboard?: React.ReactElement<NumberKeyboardProps, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | undefined;
|
|
22
22
|
clearable?: boolean | undefined;
|
|
23
23
|
onClear?: (() => void) | undefined;
|
|
24
|
-
} & Pick<InputProps, "value" | "disabled" | "onChange" | "placeholder"> & NativeProps<"--color" | "--font-size" | "--placeholder-color" | "--
|
|
24
|
+
} & Pick<InputProps, "value" | "disabled" | "onChange" | "placeholder"> & NativeProps<"--color" | "--font-size" | "--placeholder-color" | "--text-align" | "--disabled-color" | "--caret-width" | "--caret-color"> & React.RefAttributes<VirtualInputRef>>;
|
package/2x/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antd-mobile",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.22",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@react-spring/web": "^9.4.2",
|
|
6
6
|
"@types/resize-observer-browser": "^0.1.6",
|
|
7
7
|
"@use-gesture/react": "^10.2.4",
|
|
8
|
-
"ahooks": "^3.1.
|
|
8
|
+
"ahooks": "^3.1.8",
|
|
9
9
|
"antd-mobile-icons": "^0.2.2",
|
|
10
10
|
"antd-mobile-v5-count": "^1.0.1",
|
|
11
11
|
"classnames": "^2.3.1",
|
package/README.md
CHANGED
|
@@ -30,7 +30,7 @@ If you have some question about how to use ant-mobile, you can start a [discussi
|
|
|
30
30
|
|
|
31
31
|
Feel free to join our DingDing group:
|
|
32
32
|
|
|
33
|
-
<img src="https://gw.alipayobjects.com/mdn/rms_25513e/afts/img/A*
|
|
33
|
+
<img src="https://gw.alipayobjects.com/mdn/rms_25513e/afts/img/A*hBjlR4nUWjkAAAAAAAAAAAAAARQnAQ" alt="ding-group" width="250" />
|
|
34
34
|
|
|
35
35
|
---
|
|
36
36
|
|
|
@@ -5,5 +5,5 @@ export declare type AvatarProps = {
|
|
|
5
5
|
src: string;
|
|
6
6
|
fallback?: ReactNode;
|
|
7
7
|
fit?: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down';
|
|
8
|
-
} & Pick<ImageProps, 'alt' | 'lazy' | 'onClick' | 'onError'> & NativeProps<'--size'>;
|
|
8
|
+
} & Pick<ImageProps, 'alt' | 'lazy' | 'onClick' | 'onError'> & NativeProps<'--size' | '--border-radius'>;
|
|
9
9
|
export declare const Avatar: FC<AvatarProps>;
|
|
@@ -28,8 +28,9 @@
|
|
|
28
28
|
}
|
|
29
29
|
.adm-button::before {
|
|
30
30
|
position: absolute;
|
|
31
|
-
top:
|
|
32
|
-
left:
|
|
31
|
+
top: 0;
|
|
32
|
+
left: 0;
|
|
33
|
+
transform: translate(calc(var(--border-width) * -1), calc(var(--border-width) * -1));
|
|
33
34
|
width: 100%;
|
|
34
35
|
height: 100%;
|
|
35
36
|
background-color: #000;
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
}
|
|
49
50
|
.adm-button-default.adm-button-fill-none {
|
|
50
51
|
--background-color: transparent;
|
|
51
|
-
--border-
|
|
52
|
+
--border-width: 0px;
|
|
52
53
|
}
|
|
53
54
|
.adm-button:not(.adm-button-default) {
|
|
54
55
|
--text-color: var(--adm-color-white);
|
|
@@ -21,12 +21,16 @@ var _arrowLeftDouble = require("./arrow-left-double");
|
|
|
21
21
|
|
|
22
22
|
var _configProvider = require("../config-provider");
|
|
23
23
|
|
|
24
|
+
var _isoWeek = _interopRequireDefault(require("dayjs/plugin/isoWeek"));
|
|
25
|
+
|
|
24
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
25
27
|
|
|
26
28
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
27
29
|
|
|
28
30
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
29
31
|
|
|
32
|
+
_dayjs.default.extend(_isoWeek.default);
|
|
33
|
+
|
|
30
34
|
const classPrefix = 'adm-calendar';
|
|
31
35
|
const defaultProps = {
|
|
32
36
|
weekStartsOn: 'Sunday'
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
.adm-checkbox .adm-checkbox-icon {
|
|
15
15
|
flex: none;
|
|
16
|
-
border: 1px solid
|
|
16
|
+
border: 1px solid var(--adm-color-light);
|
|
17
17
|
border-radius: var(--icon-size);
|
|
18
18
|
box-sizing: border-box;
|
|
19
19
|
display: flex;
|
|
@@ -38,25 +38,17 @@
|
|
|
38
38
|
cursor: not-allowed;
|
|
39
39
|
}
|
|
40
40
|
.adm-checkbox.adm-checkbox-disabled .adm-checkbox-content {
|
|
41
|
-
|
|
41
|
+
opacity: 0.4;
|
|
42
42
|
}
|
|
43
|
-
.adm-checkbox.adm-checkbox-disabled.adm-checkbox-
|
|
44
|
-
color: #
|
|
45
|
-
border-color:
|
|
46
|
-
background-color: #
|
|
47
|
-
}
|
|
48
|
-
.adm-checkbox.adm-checkbox-disabled.adm-checkbox-checked .adm-checkbox-icon {
|
|
49
|
-
color: #ccc;
|
|
50
|
-
}
|
|
51
|
-
.adm-checkbox.adm-checkbox-disabled .adm-checkbox-icon {
|
|
52
|
-
border-color: #ccc;
|
|
53
|
-
background-color: #ebedf0;
|
|
43
|
+
.adm-checkbox.adm-checkbox-disabled .adm-checkbox-icon.adm-checkbox-icon {
|
|
44
|
+
color: #b7b7b7;
|
|
45
|
+
border-color: var(--adm-color-light);
|
|
46
|
+
background-color: #f5f5f5;
|
|
54
47
|
}
|
|
55
48
|
.adm-checkbox .adm-checkbox-custom-icon {
|
|
56
49
|
font-size: var(--icon-size);
|
|
57
50
|
}
|
|
58
51
|
.adm-checkbox.adm-checkbox-indeterminate .adm-checkbox-icon {
|
|
59
|
-
border-color: var(--adm-color-primary);
|
|
60
52
|
background-color: #ffffff;
|
|
61
53
|
color: var(--adm-color-primary);
|
|
62
54
|
}
|
|
@@ -94,7 +94,7 @@ const Checkbox = p => {
|
|
|
94
94
|
|
|
95
95
|
return (0, _nativeProps.withNativeProps)(props, _react.default.createElement("label", {
|
|
96
96
|
className: (0, _classnames.default)(classPrefix, {
|
|
97
|
-
[`${classPrefix}-checked`]: checked,
|
|
97
|
+
[`${classPrefix}-checked`]: checked && !props.indeterminate,
|
|
98
98
|
[`${classPrefix}-indeterminate`]: props.indeterminate,
|
|
99
99
|
[`${classPrefix}-disabled`]: disabled,
|
|
100
100
|
[`${classPrefix}-block`]: props.block
|
|
@@ -3,8 +3,8 @@ import type { PickerProps } from '../picker';
|
|
|
3
3
|
import { NativeProps } from '../../utils/native-props';
|
|
4
4
|
import type { Precision, DatePickerFilter } from './date-picker-utils';
|
|
5
5
|
export declare type DatePickerProps = Pick<PickerProps, 'onCancel' | 'onClose' | 'visible' | 'confirmText' | 'cancelText' | 'getContainer' | 'afterShow' | 'afterClose' | 'onClick' | 'title' | 'stopPropagation'> & {
|
|
6
|
-
value?: Date;
|
|
7
|
-
defaultValue?: Date;
|
|
6
|
+
value?: Date | null;
|
|
7
|
+
defaultValue?: Date | null;
|
|
8
8
|
onSelect?: (value: Date) => void;
|
|
9
9
|
onConfirm?: (value: Date) => void;
|
|
10
10
|
min?: Date;
|
|
@@ -17,10 +17,19 @@
|
|
|
17
17
|
}
|
|
18
18
|
.adm-dialog-main {
|
|
19
19
|
width: 100%;
|
|
20
|
+
max-height: 70vh;
|
|
20
21
|
font-size: 14px;
|
|
21
22
|
background-color: white;
|
|
22
23
|
border-radius: 8px;
|
|
23
24
|
overflow: hidden;
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
}
|
|
28
|
+
.adm-dialog-main > * {
|
|
29
|
+
flex: none;
|
|
30
|
+
}
|
|
31
|
+
.adm-dialog-main > .adm-dialog-image-container {
|
|
32
|
+
flex: auto;
|
|
24
33
|
}
|
|
25
34
|
.adm-dialog-main .adm-dialog-body {
|
|
26
35
|
padding: 20px 12px;
|
|
@@ -67,3 +76,6 @@
|
|
|
67
76
|
.adm-dialog-main .adm-dialog-footer .adm-dialog-action-row > .adm-dialog-button:last-child {
|
|
68
77
|
border-right: none;
|
|
69
78
|
}
|
|
79
|
+
.adm-dialog-image-container {
|
|
80
|
+
overflow-y: auto;
|
|
81
|
+
}
|
|
@@ -97,11 +97,13 @@ const Dialog = p => {
|
|
|
97
97
|
style: Object.assign({}, style),
|
|
98
98
|
onClick: e => e.stopPropagation(),
|
|
99
99
|
className: `${classPrefix}-main`
|
|
100
|
-
}, !!props.image && _react.default.createElement(
|
|
100
|
+
}, !!props.image && _react.default.createElement("div", {
|
|
101
|
+
className: `${classPrefix}-image-container`
|
|
102
|
+
}, _react.default.createElement(_image.default, {
|
|
101
103
|
src: props.image,
|
|
102
104
|
alt: 'dialog header image',
|
|
103
105
|
width: '100%'
|
|
104
|
-
}), _react.default.createElement("div", {
|
|
106
|
+
})), _react.default.createElement("div", {
|
|
105
107
|
style: props.bodyStyle,
|
|
106
108
|
className: (0, _classnames.default)(`${classPrefix}-body`, props.bodyClassName)
|
|
107
109
|
}, _react.default.createElement(_space.default, {
|
|
@@ -6,5 +6,5 @@ export declare type ErrorBlockProps = {
|
|
|
6
6
|
image?: string | ReactElement;
|
|
7
7
|
description?: ReactNode;
|
|
8
8
|
fullPage?: boolean;
|
|
9
|
-
} & NativeProps<'--image-height' | '--image-height-full-page'>;
|
|
9
|
+
} & NativeProps<'--image-height' | '--image-height-full-page' | '--image-width' | '--image-width-full-page'>;
|
|
10
10
|
export declare const ErrorBlock: FC<ErrorBlockProps>;
|
|
@@ -3,6 +3,7 @@ import { NativeProps } from '../../utils/native-props';
|
|
|
3
3
|
export declare type FloatingPanelProps = {
|
|
4
4
|
anchors: number[];
|
|
5
5
|
children: ReactNode;
|
|
6
|
+
onHeightChange?: (height: number, animating: boolean) => void;
|
|
6
7
|
} & NativeProps<'--border-radius' | '--z-index'>;
|
|
7
8
|
export declare type FloatingPanelRef = {
|
|
8
9
|
setHeight: (height: number, options?: {
|
|
@@ -12,4 +13,5 @@ export declare type FloatingPanelRef = {
|
|
|
12
13
|
export declare const FloatingPanel: React.ForwardRefExoticComponent<{
|
|
13
14
|
anchors: number[];
|
|
14
15
|
children: ReactNode;
|
|
16
|
+
onHeightChange?: ((height: number, animating: boolean) => void) | undefined;
|
|
15
17
|
} & NativeProps<"--z-index" | "--border-radius"> & React.RefAttributes<FloatingPanelRef>>;
|
|
@@ -44,6 +44,11 @@ const FloatingPanel = (0, _react.forwardRef)((props, ref) => {
|
|
|
44
44
|
y: bounds.bottom,
|
|
45
45
|
config: {
|
|
46
46
|
tension: 300
|
|
47
|
+
},
|
|
48
|
+
onChange: result => {
|
|
49
|
+
var _a;
|
|
50
|
+
|
|
51
|
+
(_a = props.onHeightChange) === null || _a === void 0 ? void 0 : _a.call(props, result.value.y, y.isAnimating);
|
|
47
52
|
}
|
|
48
53
|
}));
|
|
49
54
|
(0, _react2.useDrag)(state => {
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
.adm-form .adm-list.adm-list {
|
|
2
2
|
--padding-left: 20px;
|
|
3
|
+
--padding-right: 20px;
|
|
4
|
+
}
|
|
5
|
+
.adm-form-horizontal .adm-list.adm-list {
|
|
6
|
+
--prefix-width: 6em;
|
|
7
|
+
--align-items: stretch;
|
|
8
|
+
}
|
|
9
|
+
.adm-form-horizontal .adm-list.adm-list .adm-list-item-content-extra {
|
|
10
|
+
align-self: center;
|
|
3
11
|
}
|
|
4
12
|
.adm-form .adm-form-footer {
|
|
5
13
|
padding: 12px;
|
|
@@ -55,11 +55,7 @@ const Form = (0, _react.forwardRef)((p, ref) => {
|
|
|
55
55
|
lists.push(_react.default.createElement(_list.default, {
|
|
56
56
|
header: currentHeader,
|
|
57
57
|
key: count,
|
|
58
|
-
mode: mode
|
|
59
|
-
style: {
|
|
60
|
-
'--prefix-width': '6em',
|
|
61
|
-
'--align-items': 'stretch'
|
|
62
|
-
}
|
|
58
|
+
mode: mode
|
|
63
59
|
}, items));
|
|
64
60
|
items = [];
|
|
65
61
|
}
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
.adm-form .adm-list.adm-list {
|
|
2
2
|
--padding-left: 20px;
|
|
3
|
+
--padding-right: 20px;
|
|
4
|
+
}
|
|
5
|
+
.adm-form-horizontal .adm-list.adm-list {
|
|
6
|
+
--prefix-width: 6em;
|
|
7
|
+
--align-items: stretch;
|
|
8
|
+
}
|
|
9
|
+
.adm-form-horizontal .adm-list.adm-list .adm-list-item-content-extra {
|
|
10
|
+
align-self: center;
|
|
3
11
|
}
|
|
4
12
|
.adm-form .adm-form-footer {
|
|
5
13
|
padding: 12px;
|
|
@@ -34,6 +42,10 @@
|
|
|
34
42
|
.adm-form-vertical .adm-form-item-footer {
|
|
35
43
|
margin-top: 4px;
|
|
36
44
|
}
|
|
45
|
+
.adm-form-horizontal .adm-list-item-content-prefix {
|
|
46
|
+
padding-top: 12px;
|
|
47
|
+
padding-bottom: 12px;
|
|
48
|
+
}
|
|
37
49
|
.adm-form-item-label {
|
|
38
50
|
color: #666666;
|
|
39
51
|
}
|
|
@@ -11,5 +11,6 @@ export declare type ImageProps = {
|
|
|
11
11
|
lazy?: boolean;
|
|
12
12
|
onClick?: (event: React.MouseEvent<HTMLImageElement, Event>) => void;
|
|
13
13
|
onError?: (event: React.SyntheticEvent<HTMLImageElement, Event>) => void;
|
|
14
|
+
onLoad?: (event: React.SyntheticEvent<HTMLImageElement, Event>) => void;
|
|
14
15
|
} & NativeProps<'--width' | '--height'> & Pick<React.ImgHTMLAttributes<HTMLImageElement>, 'crossOrigin' | 'decoding' | 'loading' | 'referrerPolicy' | 'sizes' | 'srcSet' | 'useMap'>;
|
|
15
16
|
export declare const Image: React.FC<ImageProps>;
|
|
@@ -61,8 +61,11 @@ const Image = (0, _stagedComponents.staged)(p => {
|
|
|
61
61
|
src: src,
|
|
62
62
|
alt: props.alt,
|
|
63
63
|
onClick: props.onClick,
|
|
64
|
-
onLoad:
|
|
64
|
+
onLoad: e => {
|
|
65
|
+
var _a;
|
|
66
|
+
|
|
65
67
|
setLoaded(true);
|
|
68
|
+
(_a = props.onLoad) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
66
69
|
},
|
|
67
70
|
onError: e => {
|
|
68
71
|
var _a;
|
|
@@ -1,17 +1,22 @@
|
|
|
1
|
-
.adm-input
|
|
1
|
+
.adm-input {
|
|
2
2
|
--font-size: 17px;
|
|
3
3
|
--color: var(--adm-color-text);
|
|
4
4
|
--placeholder-color: var(--adm-color-light);
|
|
5
|
-
--disabled-color: var(--adm-color-weak);
|
|
6
5
|
--text-align: left;
|
|
6
|
+
--background-color: transparent;
|
|
7
7
|
display: flex;
|
|
8
8
|
justify-content: flex-start;
|
|
9
9
|
align-items: center;
|
|
10
10
|
width: 100%;
|
|
11
11
|
max-width: 100%;
|
|
12
12
|
max-height: 100%;
|
|
13
|
+
background-color: var(--background-color);
|
|
13
14
|
}
|
|
14
|
-
.adm-input {
|
|
15
|
+
.adm-input-disabled {
|
|
16
|
+
opacity: 0.4;
|
|
17
|
+
cursor: not-allowed;
|
|
18
|
+
}
|
|
19
|
+
.adm-input-element {
|
|
15
20
|
flex: auto;
|
|
16
21
|
display: inline-block;
|
|
17
22
|
box-sizing: border-box;
|
|
@@ -30,53 +35,50 @@
|
|
|
30
35
|
min-height: 1.5em;
|
|
31
36
|
text-align: var(--text-align);
|
|
32
37
|
}
|
|
33
|
-
.adm-input::placeholder {
|
|
38
|
+
.adm-input-element::placeholder {
|
|
34
39
|
color: var(--placeholder-color);
|
|
35
40
|
font-family: inherit;
|
|
36
41
|
}
|
|
37
|
-
.adm-input:-webkit-autofill {
|
|
42
|
+
.adm-input-element:-webkit-autofill {
|
|
38
43
|
background-color: transparent;
|
|
39
44
|
}
|
|
40
|
-
.adm-input:
|
|
41
|
-
color: var(--disabled-color);
|
|
42
|
-
cursor: not-allowed;
|
|
43
|
-
opacity: 1;
|
|
44
|
-
-webkit-text-fill-color: var(--disabled-color);
|
|
45
|
-
}
|
|
46
|
-
.adm-input:read-only {
|
|
45
|
+
.adm-input-element:read-only {
|
|
47
46
|
cursor: default;
|
|
48
47
|
}
|
|
49
|
-
.adm-input:invalid {
|
|
48
|
+
.adm-input-element:invalid {
|
|
50
49
|
box-shadow: none;
|
|
51
50
|
}
|
|
52
|
-
.adm-input::-ms-clear {
|
|
51
|
+
.adm-input-element::-ms-clear {
|
|
53
52
|
display: none;
|
|
54
53
|
}
|
|
55
|
-
.adm-input::-webkit-search-cancel-button {
|
|
54
|
+
.adm-input-element::-webkit-search-cancel-button {
|
|
56
55
|
display: none;
|
|
57
56
|
}
|
|
58
|
-
.adm-input::-webkit-search-decoration {
|
|
57
|
+
.adm-input-element::-webkit-search-decoration {
|
|
59
58
|
display: none;
|
|
60
59
|
}
|
|
61
|
-
.adm-input[type='date'],
|
|
62
|
-
.adm-input[type='time'],
|
|
63
|
-
.adm-input[type='datetime-local'] {
|
|
60
|
+
.adm-input-element[type='date'],
|
|
61
|
+
.adm-input-element[type='time'],
|
|
62
|
+
.adm-input-element[type='datetime-local'] {
|
|
64
63
|
min-height: 1.5em;
|
|
65
64
|
}
|
|
66
|
-
.adm-input[type='search'] {
|
|
65
|
+
.adm-input-element[type='search'] {
|
|
67
66
|
-webkit-appearance: none;
|
|
68
67
|
}
|
|
69
|
-
.adm-input[readonly] {
|
|
68
|
+
.adm-input-element[readonly] {
|
|
70
69
|
pointer-events: none;
|
|
71
70
|
}
|
|
72
71
|
.adm-input-clear {
|
|
73
72
|
flex: none;
|
|
74
73
|
margin-left: 8px;
|
|
75
|
-
color: var(--
|
|
76
|
-
padding:
|
|
74
|
+
color: var(--adm-color-light);
|
|
75
|
+
padding: 4px;
|
|
77
76
|
cursor: pointer;
|
|
78
77
|
}
|
|
78
|
+
.adm-input-clear:active {
|
|
79
|
+
color: var(--adm-color-weak);
|
|
80
|
+
}
|
|
79
81
|
.adm-input-clear .antd-mobile-icon {
|
|
80
82
|
display: block;
|
|
81
|
-
font-size:
|
|
83
|
+
font-size: 15px;
|
|
82
84
|
}
|
|
@@ -13,7 +13,7 @@ export declare type InputProps = Pick<NativeInputProps, 'maxLength' | 'minLength
|
|
|
13
13
|
id?: string;
|
|
14
14
|
onEnterPress?: (e: React.KeyboardEvent<HTMLInputElement>) => void;
|
|
15
15
|
enterKeyHint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send';
|
|
16
|
-
} & NativeProps<'--font-size' | '--color' | '--placeholder-color' | '--
|
|
16
|
+
} & NativeProps<'--font-size' | '--color' | '--placeholder-color' | '--text-align'>;
|
|
17
17
|
export declare type InputRef = {
|
|
18
18
|
clear: () => void;
|
|
19
19
|
focus: () => void;
|
|
@@ -31,5 +31,5 @@ export declare const Input: React.ForwardRefExoticComponent<Pick<React.DetailedH
|
|
|
31
31
|
id?: string | undefined;
|
|
32
32
|
onEnterPress?: ((e: React.KeyboardEvent<HTMLInputElement>) => void) | undefined;
|
|
33
33
|
enterKeyHint?: "enter" | "search" | "done" | "go" | "next" | "previous" | "send" | undefined;
|
|
34
|
-
} & NativeProps<"--color" | "--font-size" | "--placeholder-color" | "--
|
|
34
|
+
} & NativeProps<"--color" | "--font-size" | "--placeholder-color" | "--text-align"> & React.RefAttributes<InputRef>>;
|
|
35
35
|
export {};
|
|
@@ -15,6 +15,10 @@ var _nativeProps = require("../../utils/native-props");
|
|
|
15
15
|
|
|
16
16
|
var _withDefaultProps = require("../../utils/with-default-props");
|
|
17
17
|
|
|
18
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
19
|
+
|
|
20
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
|
+
|
|
18
22
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
19
23
|
|
|
20
24
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
@@ -66,10 +70,10 @@ const Input = (0, _react.forwardRef)((p, ref) => {
|
|
|
66
70
|
};
|
|
67
71
|
}, [props.enterKeyHint]);
|
|
68
72
|
return (0, _nativeProps.withNativeProps)(props, _react.default.createElement("div", {
|
|
69
|
-
className: `${classPrefix}-
|
|
73
|
+
className: (0, _classnames.default)(`${classPrefix}`, props.disabled && `${classPrefix}-disabled`)
|
|
70
74
|
}, _react.default.createElement("input", {
|
|
71
75
|
ref: nativeInputRef,
|
|
72
|
-
className: classPrefix
|
|
76
|
+
className: `${classPrefix}-element`,
|
|
73
77
|
value: value,
|
|
74
78
|
onChange: e => {
|
|
75
79
|
setValue(e.target.value);
|
|
@@ -102,7 +106,7 @@ const Input = (0, _react.forwardRef)((p, ref) => {
|
|
|
102
106
|
autoCorrect: props.autoCorrect,
|
|
103
107
|
onKeyDown: handleKeydown,
|
|
104
108
|
onKeyUp: props.onKeyUp
|
|
105
|
-
}), props.clearable && !!value &&
|
|
109
|
+
}), props.clearable && !!value && _react.default.createElement("div", {
|
|
106
110
|
className: `${classPrefix}-clear`,
|
|
107
111
|
onMouseDown: e => {
|
|
108
112
|
e.preventDefault();
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
.adm-jumbo-tabs {
|
|
2
|
+
--gap: 8px;
|
|
2
3
|
position: relative;
|
|
3
4
|
}
|
|
4
5
|
.adm-jumbo-tabs-header {
|
|
@@ -12,6 +13,7 @@
|
|
|
12
13
|
align-items: center;
|
|
13
14
|
position: relative;
|
|
14
15
|
overflow-x: scroll;
|
|
16
|
+
padding: 0 var(--gap);
|
|
15
17
|
scrollbar-width: none;
|
|
16
18
|
}
|
|
17
19
|
.adm-jumbo-tabs-tab-list::-webkit-scrollbar {
|
|
@@ -19,7 +21,7 @@
|
|
|
19
21
|
}
|
|
20
22
|
.adm-jumbo-tabs-tab-wrapper {
|
|
21
23
|
flex: auto;
|
|
22
|
-
padding: 0
|
|
24
|
+
padding: 0 calc(var(--gap) / 2);
|
|
23
25
|
text-align: center;
|
|
24
26
|
}
|
|
25
27
|
.adm-jumbo-tabs-tab {
|
|
@@ -36,6 +38,7 @@
|
|
|
36
38
|
}
|
|
37
39
|
.adm-jumbo-tabs-tab-title {
|
|
38
40
|
line-height: 24px;
|
|
41
|
+
padding: 0 4px;
|
|
39
42
|
}
|
|
40
43
|
.adm-jumbo-tabs-tab-description {
|
|
41
44
|
width: min-content;
|