gov-ui-core 0.2.2 → 0.2.3

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.
Files changed (93) hide show
  1. package/build/{src/components → components}/Button/DropdownButton.d.ts +1 -1
  2. package/build/{src/components → components}/Button/index.d.ts +1 -1
  3. package/build/{src/components → components}/Form/Item.d.ts +1 -1
  4. package/build/{src/components → components}/Form/index.d.ts +3 -3
  5. package/build/{src/components → components}/Input/Checkbox.d.ts +1 -1
  6. package/build/{src/components → components}/Input/ErrorMessage.d.ts +1 -1
  7. package/build/{src/components → components}/Input/Input.d.ts +1 -1
  8. package/build/{src/components → components}/Input/InputNumber.d.ts +1 -1
  9. package/build/{src/components → components}/Input/Radio.d.ts +1 -1
  10. package/build/{src/components → components}/Input/Search.d.ts +1 -1
  11. package/build/{src/components → components}/Input/Select.d.ts +1 -1
  12. package/build/{src/components → components}/Input/TextArea.d.ts +1 -1
  13. package/build/components/Input/index.d.ts +19 -0
  14. package/build/{src/components → components}/Table/AppendTable.d.ts +1 -1
  15. package/build/{src/components → components}/Table/TableBase.d.ts +2 -2
  16. package/build/{src/components → components}/ThemeProvider.d.ts +1 -1
  17. package/build/{src/globalStyle.d.ts → globalStyle.d.ts} +1 -1
  18. package/build/modules.d.ts +23 -0
  19. package/package.json +1 -1
  20. package/tsconfig.json +1 -1
  21. package/build/.storybook/main.d.ts +0 -3
  22. package/build/.storybook/preview.d.ts +0 -3
  23. package/build/src/App.test.d.ts +0 -1
  24. package/build/src/IntlTest.d.ts +0 -5
  25. package/build/src/components/Button/Button.stories.d.ts +0 -15
  26. package/build/src/components/Calendar/Calendar.stories.d.ts +0 -10
  27. package/build/src/components/Carousel/index.stories.d.ts +0 -11
  28. package/build/src/components/Form/Form.stories.d.ts +0 -10
  29. package/build/src/components/Icons/Icons.stories.d.ts +0 -11
  30. package/build/src/components/Input/Checkbox.stories.d.ts +0 -10
  31. package/build/src/components/Input/Input.stories.d.ts +0 -10
  32. package/build/src/components/Input/InputNumber.stories.d.ts +0 -10
  33. package/build/src/components/Input/Radio.stories.d.ts +0 -10
  34. package/build/src/components/Input/Search.stories.d.ts +0 -10
  35. package/build/src/components/Input/Select.stories.d.ts +0 -10
  36. package/build/src/components/Input/TextArea.stories.d.ts +0 -10
  37. package/build/src/components/Input/index.d.ts +0 -19
  38. package/build/src/components/Loading/Loading.stories.d.ts +0 -10
  39. package/build/src/components/Loading/Spinner.stories.d.ts +0 -12
  40. package/build/src/components/Loading/index.d.ts +0 -2
  41. package/build/src/components/Table/Table.stories.d.ts +0 -12
  42. package/build/src/components/Table/TableBase.stories.d.ts +0 -11
  43. package/build/src/components/Tag/Tag.stories.d.ts +0 -10
  44. package/build/src/components/Tag/index.d.ts +0 -2
  45. package/build/src/modules.d.ts +0 -23
  46. /package/build/{src/App.d.ts → App.d.ts} +0 -0
  47. /package/build/{src/Main.d.ts → Main.d.ts} +0 -0
  48. /package/build/{src/components → components}/Button/SwitchButton.d.ts +0 -0
  49. /package/build/{src/components → components}/Button/styled.d.ts +0 -0
  50. /package/build/{src/components → components}/Calendar/CalendarNavigation.d.ts +0 -0
  51. /package/build/{src/components → components}/Calendar/constants.d.ts +0 -0
  52. /package/build/{src/components → components}/Calendar/index.d.ts +0 -0
  53. /package/build/{src/components → components}/Calendar/styled.d.ts +0 -0
  54. /package/build/{src/components → components}/Carousel/ArrowButton.d.ts +0 -0
  55. /package/build/{src/components → components}/Carousel/index.d.ts +0 -0
  56. /package/build/{src/components → components}/Carousel/styled.d.ts +0 -0
  57. /package/build/{src/components → components}/Directory/index.d.ts +0 -0
  58. /package/build/{src/components → components}/Directory/styled.d.ts +0 -0
  59. /package/build/{src/components → components}/EmptyBox/index.d.ts +0 -0
  60. /package/build/{src/components → components}/EmptyBox/styled.d.ts +0 -0
  61. /package/build/{src/components → components}/Form/Form.d.ts +0 -0
  62. /package/build/{src/components → components}/Form/Group.d.ts +0 -0
  63. /package/build/{src/components → components}/Form/styled.d.ts +0 -0
  64. /package/build/{src/components → components}/Header/ContentHeader.d.ts +0 -0
  65. /package/build/{src/components → components}/Header/styled.d.ts +0 -0
  66. /package/build/{src/components → components}/Icons/index.d.ts +0 -0
  67. /package/build/{src/components → components}/Input/styled.d.ts +0 -0
  68. /package/build/{src/components → components}/IntlText/index.d.ts +0 -0
  69. /package/build/{src/components → components}/Loading/OverlayLoading.d.ts +0 -0
  70. /package/build/{src/components → components}/Loading/Spinner.d.ts +0 -0
  71. /package/build/{src/components → components}/Loading/styled.d.ts +0 -0
  72. /package/build/{src/components → components}/Styled/mixins.d.ts +0 -0
  73. /package/build/{src/components → components}/Styled/variable.d.ts +0 -0
  74. /package/build/{src/components → components}/Table/AutoTooltip.d.ts +0 -0
  75. /package/build/{src/components → components}/Table/TableLoading.d.ts +0 -0
  76. /package/build/{src/components → components}/Table/components/Pagination.d.ts +0 -0
  77. /package/build/{src/components → components}/Table/components/PaginationItem.d.ts +0 -0
  78. /package/build/{src/components → components}/Table/index.d.ts +0 -0
  79. /package/build/{src/components → components}/Table/styled.d.ts +0 -0
  80. /package/build/{src/index.d.ts → index.d.ts} +0 -0
  81. /package/build/{src/pages → pages}/CreateTable.d.ts +0 -0
  82. /package/build/{src/pages → pages}/FormSample.d.ts +0 -0
  83. /package/build/{src/pages → pages}/Sample.d.ts +0 -0
  84. /package/build/{src/pages → pages}/Sample2.d.ts +0 -0
  85. /package/build/{src/pages → pages}/Sample3.d.ts +0 -0
  86. /package/build/{src/pages → pages}/Sample4.d.ts +0 -0
  87. /package/build/{src/pages → pages}/TableSample.d.ts +0 -0
  88. /package/build/{src/pages → pages}/sampleData.d.ts +0 -0
  89. /package/build/{src/reportWebVitals.d.ts → reportWebVitals.d.ts} +0 -0
  90. /package/build/{src/theme.d.ts → theme.d.ts} +0 -0
  91. /package/build/{src/utils → utils}/customState.d.ts +0 -0
  92. /package/build/{src/utils → utils}/hookUtils.d.ts +0 -0
  93. /package/build/{src/utils → utils}/index.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { IButtonProps } from '../../../components/Button';
2
+ import { IButtonProps } from './';
3
3
  export type OptionType = {
4
4
  label?: React.ReactNode;
5
5
  onClick?: (value: OptionType) => void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { ButtonSize, ButtonType } from '../../../components/Button/data';
2
+ import type { ButtonSize, ButtonType } from './data';
3
3
  export interface IButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
4
4
  btype?: ButtonType;
5
5
  size?: ButtonSize;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { RegisterOptions } from 'react-hook-form/dist/types/validator';
3
- import { ErrorStyle } from '../../../components/Input/data';
3
+ import { ErrorStyle } from '../Input/data';
4
4
  import { FieldErrors } from 'react-hook-form/dist/types/errors';
5
5
  import { Control, FieldValues } from "react-hook-form";
6
6
  interface IItemProps<T extends FieldValues> extends Omit<React.ComponentPropsWithoutRef<'div'>, 'prefix'> {
@@ -1,6 +1,6 @@
1
- import FormProvider from '../../../components/Form/Form';
2
- import Item from '../../../components/Form/Item';
3
- import Group from '../../../components/Form/Group';
1
+ import FormProvider from './Form';
2
+ import Item from './Item';
3
+ import Group from './Group';
4
4
  import { UseFormReturn } from 'react-hook-form';
5
5
  type FormType = typeof FormProvider;
6
6
  interface FormInterface extends FormType {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ErrorType, OptionType } from '../../../components/Input/data';
2
+ import { ErrorType, OptionType } from './data';
3
3
  export interface ICheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'name' | 'onChange'> {
4
4
  name?: string;
5
5
  description?: React.ReactNode;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import '../../../components/Input/ErrorMessage.scss';
2
+ import './ErrorMessage.scss';
3
3
  interface IErrorMessageProps {
4
4
  visible: boolean;
5
5
  message: React.ReactNode | string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ErrorType, ErrorStyle } from '../../../components/Input/data';
2
+ import { ErrorType, ErrorStyle } from './data';
3
3
  import { ChangeHandler } from 'react-hook-form';
4
4
  export interface IInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'prefix' | 'size'> {
5
5
  error?: string | ErrorType | boolean;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { IInputProps } from '../../../components/Input/Input';
2
+ import { IInputProps } from './Input';
3
3
  interface IInputNumberProps extends IInputProps {
4
4
  setValue?: any;
5
5
  onChange?: (event: any) => void;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ChangeHandler } from 'react-hook-form';
3
- import { ErrorType, OptionType } from '../../../components/Input/data';
3
+ import { ErrorType, OptionType } from './data';
4
4
  export interface IRadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'name' | 'onChange'> {
5
5
  name?: string;
6
6
  description?: React.ReactNode;
@@ -1,5 +1,5 @@
1
1
  import React, { ChangeEventHandler } from 'react';
2
- import { IInputProps } from '../../../components/Input/Input';
2
+ import { IInputProps } from './Input';
3
3
  import { ChangeHandler } from 'react-hook-form';
4
4
  interface ISearchProps extends IInputProps {
5
5
  onClear?: () => void;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { ChangeHandler } from 'react-hook-form';
3
- import { ErrorStyle, ErrorType } from '../../../components/Input/data';
3
+ import { ErrorStyle, ErrorType } from './data';
4
4
  type OptionItem = {
5
5
  label?: React.ReactNode;
6
6
  searchLabel?: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ErrorStyle, ErrorType } from '../../../components/Input/data';
2
+ import { ErrorStyle, ErrorType } from './data';
3
3
  interface ITextAreaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'prefix'> {
4
4
  error?: string | ErrorType;
5
5
  errorStyle?: ErrorStyle;
@@ -0,0 +1,19 @@
1
+ import InputBase from './Input';
2
+ import InputNumber from './InputNumber';
3
+ import Search from './Search';
4
+ import Select from './Select';
5
+ import Checkbox from './Checkbox';
6
+ import Radio from './Radio';
7
+ import TextArea from './TextArea';
8
+ type InputType = typeof InputBase;
9
+ interface InputInterface extends InputType {
10
+ Checkbox: typeof Checkbox;
11
+ Number: typeof InputNumber;
12
+ Radio: typeof Radio;
13
+ Search: typeof Search;
14
+ Select: typeof Select;
15
+ TextArea: typeof TextArea;
16
+ }
17
+ declare const Input: InputInterface;
18
+ export default Input;
19
+ export { Checkbox, Input, InputNumber, Radio, Search, Select, TextArea };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ITableProps } from '../../../components/Table';
2
+ import { ITableProps } from './';
3
3
  interface IAppendTableProps extends ITableProps {
4
4
  appendText?: string;
5
5
  rows?: any[];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { IContentHeaderProps } from '../../../components/Header/ContentHeader';
3
- import { ITableProps } from '../../../components/Table';
2
+ import { IContentHeaderProps } from '../Header/ContentHeader';
3
+ import { ITableProps } from './';
4
4
  export interface ITableBaseProps extends Omit<ITableProps, 'title' | 'dataSource'>, Omit<IContentHeaderProps, 'title'> {
5
5
  title?: React.ReactNode;
6
6
  loadData: (paginationState: any) => void;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ThemeType } from '../../theme';
2
+ import { ThemeType } from '../theme';
3
3
  import 'antd/lib/table/style/index.css';
4
4
  import 'antd/lib/dropdown/style/index.css';
5
5
  import 'antd/lib/style/index.css';
@@ -1,4 +1,4 @@
1
- import type { ThemeType } from '../theme';
1
+ import type { ThemeType } from './theme';
2
2
  declare const GlobalStyle: import("styled-components").GlobalStyleComponent<{
3
3
  theme: ThemeType;
4
4
  }, import("styled-components").DefaultTheme>;
@@ -0,0 +1,23 @@
1
+ import Button from './components/Button';
2
+ import Carousel from './components/Carousel';
3
+ import ContentHeader from './components/Header/ContentHeader';
4
+ import Directory from './components/Directory';
5
+ import DropdownButton from './components/Button/DropdownButton';
6
+ import EmptyBox from './components/EmptyBox';
7
+ import Form from './components/Form';
8
+ import Icons from './components/Icons';
9
+ import Input from './components/Input';
10
+ import ErrorMessage from './components/Input/ErrorMessage';
11
+ import AutoTooltip from './components/Table/AutoTooltip';
12
+ import OverlayLoading from './components/Loading/OverlayLoading';
13
+ import SwitchButton from './components/Button/SwitchButton';
14
+ import Table from './components/Table';
15
+ import TableBase from './components/Table/TableBase';
16
+ import Calendar from './components/Calendar';
17
+ import IntlText from './components/IntlText';
18
+ import AppendTable from './components/Table/AppendTable';
19
+ import ThemeProvider from './components/ThemeProvider';
20
+ import { Methods } from './components/Form';
21
+ import defaultTheme from './theme';
22
+ export { AppendTable, Button, Calendar, Carousel, ContentHeader, Directory, DropdownButton, EmptyBox, Form, Icons, Input, ErrorMessage, OverlayLoading, SwitchButton, Table, TableBase, ThemeProvider, AutoTooltip, IntlText, defaultTheme, };
23
+ export type { Methods, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gov-ui-core",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.js",
6
6
  "types": "./build/modules.d.ts",
package/tsconfig.json CHANGED
@@ -29,6 +29,6 @@
29
29
  "types": ["@types/jest"],
30
30
  "downlevelIteration": true
31
31
  },
32
- "include": ["@types", "src/modules.ts", "src/index.tsx", "src/react-app-env.d.ts", ".storybook/*", "src/**/*.tsx"],
32
+ "include": ["@types", "src/modules.ts", "src/index.tsx", "src/react-app-env.d.ts"],
33
33
  "exclude": ["node_modules"]
34
34
  }
@@ -1,3 +0,0 @@
1
- import type { StorybookConfig } from "@storybook/react-webpack5";
2
- declare const config: StorybookConfig;
3
- export default config;
@@ -1,3 +0,0 @@
1
- import type { Preview } from "@storybook/react";
2
- declare const preview: Preview;
3
- export default preview;
@@ -1 +0,0 @@
1
- export {};
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- interface IIntlTestProps {
3
- }
4
- declare const IntlTest: React.FC<IIntlTestProps>;
5
- export default IntlTest;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import Button from '../Button';
4
- type CustomProps = React.ComponentProps<typeof Button> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const All: Story;
11
- export declare const Primary: Story;
12
- export declare const Outline: Story;
13
- export declare const Transparent: Story;
14
- export declare const Gray: Story;
15
- export declare const White: Story;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import Calendar from '../../../components/Calendar';
4
- type CustomProps = React.ComponentProps<typeof Calendar> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const CalendarStory: Story;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import Carousel from '../../../components/Carousel';
4
- type CustomProps = React.ComponentProps<typeof Carousel> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const CarouselFitWidthStory: Story;
11
- export declare const CarouselFullWidthStory: Story;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import Form from '../../../components/Form/Form';
4
- type CustomProps = React.ComponentProps<typeof Form> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const FormStory: Story;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import Icons from '../../../components/Icons';
4
- type CustomProps = React.ComponentProps<typeof Icons> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const IconsStory: Story;
11
- export declare const CustomSizeIconsStory: Story;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import Checkbox from '../../../components/Input/Checkbox';
4
- type CustomProps = React.ComponentProps<typeof Checkbox> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const CheckboxStory: Story;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import Input from '../Input';
4
- type CustomProps = React.ComponentProps<typeof Input> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const InputStory: Story;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import InputNumber from '../../../components/Input/InputNumber';
4
- type CustomProps = React.ComponentProps<typeof InputNumber> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const InputNumberStory: Story;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import Radio from '../../../components/Input/Radio';
4
- type CustomProps = React.ComponentProps<typeof Radio> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const RadioStory: Story;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import Search from '../../../components/Input/Search';
4
- type CustomProps = React.ComponentProps<typeof Search> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const SearchStory: Story;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import Select from './Select';
4
- type CustomProps = React.ComponentProps<typeof Select> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const SelectStory: Story;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import TextArea from '../../../components/Input/TextArea';
4
- type CustomProps = React.ComponentProps<typeof TextArea> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const TextAreaStory: Story;
@@ -1,19 +0,0 @@
1
- import InputBase from '../../../components/Input/Input';
2
- import InputNumber from '../../../components/Input/InputNumber';
3
- import Search from '../../../components/Input/Search';
4
- import Select from '../../../components/Input/Select';
5
- import Checkbox from '../../../components/Input/Checkbox';
6
- import Radio from '../../../components/Input/Radio';
7
- import TextArea from '../../../components/Input/TextArea';
8
- type InputType = typeof InputBase;
9
- interface InputInterface extends InputType {
10
- Checkbox: typeof Checkbox;
11
- Number: typeof InputNumber;
12
- Radio: typeof Radio;
13
- Search: typeof Search;
14
- Select: typeof Select;
15
- TextArea: typeof TextArea;
16
- }
17
- declare const Input: InputInterface;
18
- export default Input;
19
- export { Checkbox, Input, InputNumber, Radio, Search, Select, TextArea };
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import { OverlayLoading } from '../../../components/Loading';
4
- type CustomProps = React.ComponentProps<typeof OverlayLoading> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const OverlayLoadingStory: Story;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import Spinner from '../../../components/Loading/Spinner';
4
- type CustomProps = React.ComponentProps<typeof Spinner> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const SpinnerAStory: Story;
11
- export declare const SpinnerBStory: Story;
12
- export declare const SpinnerCStory: Story;
@@ -1,2 +0,0 @@
1
- import OverlayLoading from '../../../components/Loading/OverlayLoading';
2
- export { OverlayLoading };
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import Table from '../../../components/Table';
4
- type CustomProps = React.ComponentProps<typeof Table> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const TableStory: Story;
11
- export declare const EmptyTableStory: Story;
12
- export declare const LargeTableStory: Story;
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import TableBase from '../../../components/Table/TableBase';
4
- type CustomProps = React.ComponentProps<typeof TableBase> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const TableBaseStory: Story;
11
- export declare const CustomDesignTableBaseStory: Story;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { Meta, StoryObj } from '@storybook/react';
3
- import Tag from '../../../components/Tag';
4
- type CustomProps = React.ComponentProps<typeof Tag> & {
5
- bgColor?: string;
6
- };
7
- declare const meta: Meta<CustomProps>;
8
- export default meta;
9
- type Story = StoryObj<CustomProps>;
10
- export declare const TagStory: Story;
@@ -1,2 +0,0 @@
1
- declare const NTag: import("styled-components").StyledComponent<import("antd").TagType, any, {}, never>;
2
- export default NTag;
@@ -1,23 +0,0 @@
1
- import Button from '../components/Button';
2
- import Carousel from '../components/Carousel';
3
- import ContentHeader from '../components/Header/ContentHeader';
4
- import Directory from '../components/Directory';
5
- import DropdownButton from '../components/Button/DropdownButton';
6
- import EmptyBox from '../components/EmptyBox';
7
- import Form from '../components/Form';
8
- import Icons from '../components/Icons';
9
- import Input from '../components/Input';
10
- import ErrorMessage from '../components/Input/ErrorMessage';
11
- import AutoTooltip from '../components/Table/AutoTooltip';
12
- import OverlayLoading from '../components/Loading/OverlayLoading';
13
- import SwitchButton from '../components/Button/SwitchButton';
14
- import Table from '../components/Table';
15
- import TableBase from '../components/Table/TableBase';
16
- import Calendar from '../components/Calendar';
17
- import IntlText from '../components/IntlText';
18
- import AppendTable from '../components/Table/AppendTable';
19
- import ThemeProvider from '../components/ThemeProvider';
20
- import { Methods } from '../components/Form';
21
- import defaultTheme from '../theme';
22
- export { AppendTable, Button, Calendar, Carousel, ContentHeader, Directory, DropdownButton, EmptyBox, Form, Icons, Input, ErrorMessage, OverlayLoading, SwitchButton, Table, TableBase, ThemeProvider, AutoTooltip, IntlText, defaultTheme, };
23
- export type { Methods, };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes