react-artasys-ui 0.1.29 → 0.1.31
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/{lib/src → dist}/Button/Button.d.ts +1 -1
- package/dist/Button/index.d.ts +3 -0
- package/dist/Checkbox/Checkbox.d.ts +8 -0
- package/dist/Checkbox/index.d.ts +2 -0
- package/{lib/src → dist}/Components/Arrow/Arrow.d.ts +1 -1
- package/dist/Components/Arrow/index.d.ts +2 -0
- package/{lib/src → dist}/Dropdown/Dropdown.d.ts +4 -4
- package/{lib/src → dist}/Dropdown/Item.d.ts +1 -1
- package/{lib/src → dist}/Dropdown/Items.d.ts +1 -1
- package/{lib/src → dist}/Dropdown/index.d.ts +3 -3
- package/{lib/src → dist}/File/File.d.ts +2 -2
- package/dist/File/index.d.ts +3 -0
- package/dist/FileInput/index.d.ts +3 -0
- package/{lib/src → dist}/Form/Element/Element.d.ts +1 -1
- package/dist/Form/Element/index.d.ts +3 -0
- package/dist/Form/index.d.ts +5 -0
- package/{lib/src → dist}/Form/types.d.ts +1 -1
- package/{lib/src → dist}/Form/useForm.d.ts +3 -3
- package/dist/Input/Input.d.ts +12 -0
- package/dist/Input/index.d.ts +2 -0
- package/dist/Loading/index.d.ts +3 -0
- package/dist/Progress/index.d.ts +2 -0
- package/{lib/src → dist}/Provider/Provider.d.ts +2 -2
- package/dist/Provider/ProviderContext.d.ts +1 -0
- package/dist/Provider/index.d.ts +2 -0
- package/{lib/src → dist}/Select/Optgroup.d.ts +1 -1
- package/{lib/src → dist}/Select/Option.d.ts +1 -1
- package/{lib/src → dist}/Select/Select.d.ts +6 -6
- package/{lib/src → dist}/Select/index.d.ts +4 -4
- package/{lib/src → dist}/Spinner/Spinner.d.ts +2 -2
- package/dist/Spinner/index.d.ts +3 -0
- package/{lib/src → dist}/TextArea/TextArea.d.ts +3 -3
- package/dist/TextArea/index.d.ts +2 -0
- package/{lib/src → dist}/UploadImages/Image.d.ts +1 -1
- package/{lib/src → dist}/UploadImages/UploadImages.d.ts +1 -1
- package/dist/UploadImages/index.d.ts +4 -0
- package/dist/index.cjs.js +10 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.es.js +1423 -0
- package/dist/styles.css +2 -80
- package/package.json +14 -8
- package/dist/index.js +0 -3
- package/dist/index.js.LICENSE.txt +0 -9
- package/dist/index.js.map +0 -1
- package/dist/styles.css.map +0 -1
- package/lib/src/Button/index.d.ts +0 -3
- package/lib/src/Checkbox/Checkbox.d.ts +0 -7
- package/lib/src/Checkbox/index.d.ts +0 -2
- package/lib/src/Components/Arrow/index.d.ts +0 -2
- package/lib/src/File/index.d.ts +0 -3
- package/lib/src/FileInput/index.d.ts +0 -3
- package/lib/src/Form/Element/index.d.ts +0 -3
- package/lib/src/Form/index.d.ts +0 -5
- package/lib/src/Input/Input.d.ts +0 -12
- package/lib/src/Input/index.d.ts +0 -2
- package/lib/src/Loading/index.d.ts +0 -3
- package/lib/src/Progress/index.d.ts +0 -2
- package/lib/src/Provider/ProviderContext.d.ts +0 -1
- package/lib/src/Provider/index.d.ts +0 -2
- package/lib/src/Spinner/index.d.ts +0 -3
- package/lib/src/TextArea/index.d.ts +0 -2
- package/lib/src/UploadImages/index.d.ts +0 -5
- package/lib/src/index.d.ts +0 -20
- package/lib/stories/Button.stories.d.ts +0 -6
- package/lib/stories/Checkbox.stories.d.ts +0 -6
- package/lib/stories/Dropdown/Dropdown.stories.d.ts +0 -6
- package/lib/stories/Dropdown/Item.stories.d.ts +0 -6
- package/lib/stories/Dropdown/Items.stories.d.ts +0 -6
- package/lib/stories/File.stories.d.ts +0 -6
- package/lib/stories/FileInput.stories.d.ts +0 -9
- package/lib/stories/Form/Element/Element.stories.d.ts +0 -6
- package/lib/stories/Form/Form.stories.d.ts +0 -6
- package/lib/stories/Input.stories.d.ts +0 -6
- package/lib/stories/Loading.stories.d.ts +0 -6
- package/lib/stories/Progress.stories.d.ts +0 -6
- package/lib/stories/Select/Select.stories.d.ts +0 -6
- package/lib/stories/Spinner.stories.d.ts +0 -6
- package/lib/stories/TextArea.stories.d.ts +0 -6
- /package/{lib/src → dist}/FileInput/FileInput.d.ts +0 -0
- /package/{lib/src → dist}/Form/Form.d.ts +0 -0
- /package/{lib/src → dist}/Loading/Loading.d.ts +0 -0
- /package/{lib/src → dist}/Progress/Progress.d.ts +0 -0
- /package/{lib/src → dist}/ui-types.d.ts +0 -0
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IElement } from "../Form/Element";
|
|
2
|
-
import { UIComponent } from "../ui-types";
|
|
3
|
-
export interface ICheckbox extends UIComponent<IElement<HTMLInputElement>> {
|
|
4
|
-
type?: 'checkbox' | 'radio';
|
|
5
|
-
}
|
|
6
|
-
declare const Checkbox: import("react").ForwardRefExoticComponent<ICheckbox & import("react").RefAttributes<HTMLInputElement>>;
|
|
7
|
-
export default Checkbox;
|
package/lib/src/File/index.d.ts
DELETED
package/lib/src/Form/index.d.ts
DELETED
package/lib/src/Input/Input.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { type HTMLInputTypeAttribute } from "react";
|
|
2
|
-
import { IElement } from "../Form/Element";
|
|
3
|
-
import { UIComponent } from "../ui-types";
|
|
4
|
-
export interface IInput extends UIComponent<IElement<HTMLInputElement>> {
|
|
5
|
-
onChangeText?: (text: string) => void;
|
|
6
|
-
type?: HTMLInputTypeAttribute;
|
|
7
|
-
wait?: boolean;
|
|
8
|
-
children?: React.ReactNode;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const Input: import("react").ForwardRefExoticComponent<IInput & import("react").RefAttributes<HTMLInputElement>>;
|
|
12
|
-
export default Input;
|
package/lib/src/Input/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ProviderContext: import("react").Context<{}>;
|
package/lib/src/index.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import Form, { useForm, FormElement } from "./Form";
|
|
2
|
-
import Element, { IElement } from "./Form/Element";
|
|
3
|
-
import Input from "./Input";
|
|
4
|
-
import TextArea from "./TextArea";
|
|
5
|
-
import Spinner from "./Spinner";
|
|
6
|
-
import Loading from "./Loading";
|
|
7
|
-
import FileInput, { IFileInput } from "./FileInput";
|
|
8
|
-
import File, { TFileData, TFileMime } from "./File";
|
|
9
|
-
import Button, { ButtonProps } from "./Button";
|
|
10
|
-
import UploadImages, { IUploadImages, TImageData, IImage } from "./UploadImages";
|
|
11
|
-
import Checkbox from "./Checkbox";
|
|
12
|
-
import Progress from "./Progress";
|
|
13
|
-
import Select, { SelectOption, SelectOptgroup } from "./Select";
|
|
14
|
-
import Dropdown, { DropdownItem } from "./Dropdown";
|
|
15
|
-
import Provider from "./Provider";
|
|
16
|
-
import './brands/brands.css';
|
|
17
|
-
declare const UI: {};
|
|
18
|
-
export { Provider, Form, FormElement, Element, useForm, Input, TextArea, Spinner, Loading, File, Button, UploadImages, Checkbox, Progress, Select, SelectOption, SelectOptgroup, Dropdown, DropdownItem, FileInput, };
|
|
19
|
-
export type { TFileData, TFileMime, IUploadImages, IImage, TImageData, IElement, ButtonProps, IFileInput, };
|
|
20
|
-
export default UI;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ButtonProps } from '../src/Button';
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ButtonProps>;
|
|
6
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ButtonProps>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ICheckbox } from '../src/Checkbox/Checkbox';
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ICheckbox>;
|
|
6
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ICheckbox>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IDropdown } from '../../src/Dropdown/Dropdown';
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IDropdown>;
|
|
6
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IDropdown>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IItem } from '../../src/Dropdown/Item';
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IItem>;
|
|
6
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IItem>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IItems } from '../../src/Dropdown/Items';
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IItems>;
|
|
6
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IItems>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { TFile } from '../src/File/File';
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, TFile<any>>;
|
|
6
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, TFile<any>>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import FileInput, { IFileInput } from "../src/FileInput/FileInput";
|
|
3
|
-
declare const _default: Meta<typeof FileInput>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IFileInput>;
|
|
6
|
-
export declare const MultipleFiles: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IFileInput>;
|
|
7
|
-
export declare const AcceptImages: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IFileInput>;
|
|
8
|
-
export declare const WithLoading: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IFileInput>;
|
|
9
|
-
export declare const CustomChildren: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IFileInput>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IElement } from '../../../src/Form/Element/Element';
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IElement<any>>;
|
|
6
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IElement<any>>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IForm } from '../../src/Form/Form';
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IForm>;
|
|
6
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IForm>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IInput } from '../src/Input/Input';
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IInput>;
|
|
6
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IInput>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { type LoadingProps } from '../src/Loading';
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, LoadingProps>;
|
|
6
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, LoadingProps>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { IProgress } from '../src/Progress/Progress';
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IProgress>;
|
|
6
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, IProgress>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ISelect } from '../../src/Select/Select';
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ISelect>;
|
|
6
|
-
export declare const WithOptgroup: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ISelect>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { type SpinnerProps } from '../src/Spinner';
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, SpinnerProps>;
|
|
6
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, SpinnerProps>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ITextArea } from '../src/TextArea/TextArea';
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ITextArea>;
|
|
6
|
-
export declare const Secondary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ITextArea>;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|