@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.
@@ -3,5 +3,4 @@ import UIKitProvider from ".";
3
3
  declare const meta: Meta<typeof UIKitProvider>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof UIKitProvider>;
6
- export declare const Chinese: Story;
7
- export declare const English: Story;
6
+ export declare const Basic: Story;
@@ -1,3 +1,4 @@
1
+ /// <reference types="moment" />
1
2
  import { MenuItemGroupProps } from "antd/lib/menu";
2
3
  import { ModalProps as AntdModalProps } from "antd/lib/modal";
3
4
  import { FC } from "react";
@@ -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;