@pisell/materials 1.0.1107 → 1.0.1108
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/view.css +1 -1
- package/es/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.js +1 -0
- package/es/components/pisellMobileDateRangePicker/types.d.ts +4 -3
- package/lib/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.js +1 -0
- package/lib/components/pisellMobileDateRangePicker/types.d.ts +4 -3
- package/package.json +1 -1
|
@@ -14,6 +14,7 @@ import antdMobileZhHK from "antd-mobile/es/locales/zh-HK";
|
|
|
14
14
|
import antdMobileEnUS from "antd-mobile/es/locales/en-US";
|
|
15
15
|
import antdMobileJaJP from "antd-mobile/es/locales/ja-JP";
|
|
16
16
|
import antdMobilePtBR from "antd-mobile/es/locales/pt-BR";
|
|
17
|
+
import "antd-mobile/es/global/theme-default.css";
|
|
17
18
|
import "./PisellMobileDateRangePicker.less";
|
|
18
19
|
//#region src/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.tsx
|
|
19
20
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from "react";
|
|
2
2
|
import { Dayjs } from "dayjs";
|
|
3
|
+
import { CalendarPickerProps } from "antd-mobile";
|
|
3
4
|
|
|
4
5
|
//#region src/components/pisellMobileDateRangePicker/types.d.ts
|
|
5
6
|
/** toolbar:顶栏快筛 32px;filter:Filter 弹层内与 Select 对齐的 48px 触发器 */
|
|
@@ -19,9 +20,9 @@ interface PisellMobileDateRangePickerProps {
|
|
|
19
20
|
max?: Date;
|
|
20
21
|
/** 默认 toolbar;filter 用于手机 Filter 弹层 */
|
|
21
22
|
variant?: PisellMobileDateRangePickerVariant;
|
|
22
|
-
getContainer?:
|
|
23
|
-
popupClassName?:
|
|
24
|
-
popupStyle?:
|
|
23
|
+
getContainer?: CalendarPickerProps['getContainer'];
|
|
24
|
+
popupClassName?: CalendarPickerProps['popupClassName'];
|
|
25
|
+
popupStyle?: CalendarPickerProps['popupStyle'];
|
|
25
26
|
/** Filter 弹层:日历打开时通知外层保持 Popover 不收起 */
|
|
26
27
|
onOpen?: () => void;
|
|
27
28
|
onClose?: () => void;
|
|
@@ -27,6 +27,7 @@ let antd_mobile_es_locales_ja_JP = require("antd-mobile/es/locales/ja-JP");
|
|
|
27
27
|
antd_mobile_es_locales_ja_JP = require_runtime.__toESM(antd_mobile_es_locales_ja_JP);
|
|
28
28
|
let antd_mobile_es_locales_pt_BR = require("antd-mobile/es/locales/pt-BR");
|
|
29
29
|
antd_mobile_es_locales_pt_BR = require_runtime.__toESM(antd_mobile_es_locales_pt_BR);
|
|
30
|
+
require("antd-mobile/es/global/theme-default.css");
|
|
30
31
|
require("./PisellMobileDateRangePicker.less");
|
|
31
32
|
//#region src/components/pisellMobileDateRangePicker/PisellMobileDateRangePicker.tsx
|
|
32
33
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CSSProperties, ReactNode } from "react";
|
|
2
2
|
import { Dayjs } from "dayjs";
|
|
3
|
+
import { CalendarPickerProps } from "antd-mobile";
|
|
3
4
|
|
|
4
5
|
//#region src/components/pisellMobileDateRangePicker/types.d.ts
|
|
5
6
|
/** toolbar:顶栏快筛 32px;filter:Filter 弹层内与 Select 对齐的 48px 触发器 */
|
|
@@ -19,9 +20,9 @@ interface PisellMobileDateRangePickerProps {
|
|
|
19
20
|
max?: Date;
|
|
20
21
|
/** 默认 toolbar;filter 用于手机 Filter 弹层 */
|
|
21
22
|
variant?: PisellMobileDateRangePickerVariant;
|
|
22
|
-
getContainer?:
|
|
23
|
-
popupClassName?:
|
|
24
|
-
popupStyle?:
|
|
23
|
+
getContainer?: CalendarPickerProps['getContainer'];
|
|
24
|
+
popupClassName?: CalendarPickerProps['popupClassName'];
|
|
25
|
+
popupStyle?: CalendarPickerProps['popupStyle'];
|
|
25
26
|
/** Filter 弹层:日历打开时通知外层保持 Popover 不收起 */
|
|
26
27
|
onOpen?: () => void;
|
|
27
28
|
onClose?: () => void;
|