@cloudtower/eagle 0.31.20 → 0.31.21
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/UIKitProvider/index.js +2 -16
- package/dist/cjs/core/ConfigProvider/index.js +37 -1
- package/dist/cjs/stats1.html +1 -1
- package/dist/components.css +3678 -3679
- package/dist/esm/UIKitProvider/index.js +2 -12
- package/dist/esm/core/ConfigProvider/index.js +32 -2
- package/dist/esm/stats1.html +1 -1
- package/dist/src/UIKitProvider/UIKitProvider.stories.d.ts +1 -2
- package/dist/src/antd.d.ts +1 -0
- package/dist/src/core/ConfigProvider/index.d.ts +2 -0
- package/dist/stories/docs/coreX/Calendar.stories.d.ts +11 -0
- package/dist/style.css +3745 -3745
- package/package.json +6 -4
package/dist/src/antd.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ConfigProviderProps } from "antd/lib/config-provider";
|
|
2
2
|
import { ConfigProviderProps as Antd5ConfigProviderProps } from "antd5";
|
|
3
3
|
import React from "react";
|
|
4
|
+
import "dayjs/locale/zh-cn";
|
|
5
|
+
import "moment/locale/zh-cn";
|
|
4
6
|
export type ConfigProps = {
|
|
5
7
|
antd4Configs?: ConfigProviderProps;
|
|
6
8
|
antd5Configs?: Antd5ConfigProviderProps;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import Calendar from "../../../src/core/Calendar";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
declare const meta: Meta<typeof Calendar>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Calendar>;
|
|
6
|
+
export declare const Basic: Story;
|
|
7
|
+
/**
|
|
8
|
+
* 出于 ant design 的特性,单独的日期组件的国际化搭配 ConfigProvider 中配置
|
|
9
|
+
* 参考: https://4x.ant.design/components/date-picker-cn/#%E5%9B%BD%E9%99%85%E5%8C%96%E9%85%8D%E7%BD%AE
|
|
10
|
+
*/
|
|
11
|
+
export declare const Intl: Story;
|