@akinon/ui-date-picker 1.4.9 → 1.5.0
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/cjs/index.js +1 -1
- package/dist/esm/index.js +1 -1
- package/package.json +4 -4
package/dist/cjs/index.js
CHANGED
|
@@ -36,7 +36,7 @@ const react_input_mask_1 = require("react-input-mask");
|
|
|
36
36
|
* enterprise-level applications.
|
|
37
37
|
*/
|
|
38
38
|
const DatePicker = (_a) => {
|
|
39
|
-
var { pickerType = 'date', suffixIconColor = '
|
|
39
|
+
var { pickerType = 'date', suffixIconColor = 'var(--color-gray-500)', suffixIcon = 'chevron_down', suffixIconSize = '10px', showTitle = false, inputTitle = '' } = _a, restDatePickerProps = __rest(_a, ["pickerType", "suffixIconColor", "suffixIcon", "suffixIconSize", "showTitle", "inputTitle"]);
|
|
40
40
|
const { getPrefixCls, theme } = React.useContext(antd_1.ConfigProvider.ConfigContext);
|
|
41
41
|
const { token, hashId } = (0, ui_theme_1.useToken)();
|
|
42
42
|
const datePickerToken = token.DatePicker;
|
package/dist/esm/index.js
CHANGED
|
@@ -33,7 +33,7 @@ import InputMask from 'react-input-mask';
|
|
|
33
33
|
* enterprise-level applications.
|
|
34
34
|
*/
|
|
35
35
|
export const DatePicker = (_a) => {
|
|
36
|
-
var { pickerType = 'date', suffixIconColor = '
|
|
36
|
+
var { pickerType = 'date', suffixIconColor = 'var(--color-gray-500)', suffixIcon = 'chevron_down', suffixIconSize = '10px', showTitle = false, inputTitle = '' } = _a, restDatePickerProps = __rest(_a, ["pickerType", "suffixIconColor", "suffixIcon", "suffixIconSize", "showTitle", "inputTitle"]);
|
|
37
37
|
const { getPrefixCls, theme } = React.useContext(ConfigProvider.ConfigContext);
|
|
38
38
|
const { token, hashId } = useToken();
|
|
39
39
|
const datePickerToken = token.DatePicker;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/ui-date-picker",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"antd": "^5.27.0",
|
|
14
14
|
"dayjs": "^1.11.13",
|
|
15
15
|
"react-input-mask": "^2.0.4",
|
|
16
|
-
"@akinon/icons": "1.2.
|
|
17
|
-
"@akinon/ui-theme": "1.
|
|
16
|
+
"@akinon/icons": "1.2.8",
|
|
17
|
+
"@akinon/ui-theme": "1.3.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/react-input-mask": "^3.0.6",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"copyfiles": "^2.4.1",
|
|
23
23
|
"rimraf": "^5.0.5",
|
|
24
24
|
"typescript": "*",
|
|
25
|
-
"@akinon/typescript-config": "1.1.
|
|
25
|
+
"@akinon/typescript-config": "1.1.8"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": "^18 || ^19",
|