react-artasys-ui 0.1.27 → 0.1.29
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/README.md +6 -0
- package/dist/index.js +3 -0
- package/dist/index.js.LICENSE.txt +9 -0
- package/dist/index.js.map +1 -0
- package/dist/styles.css +80 -0
- package/dist/styles.css.map +1 -0
- package/lib/src/Button/Button.d.ts +12 -0
- package/lib/src/Button/index.d.ts +3 -0
- package/lib/src/Checkbox/Checkbox.d.ts +7 -0
- package/lib/src/Checkbox/index.d.ts +2 -0
- package/lib/src/Components/Arrow/Arrow.d.ts +6 -0
- package/lib/src/Components/Arrow/index.d.ts +2 -0
- package/lib/src/Dropdown/Dropdown.d.ts +18 -0
- package/lib/src/Dropdown/Item.d.ts +11 -0
- package/lib/src/Dropdown/Items.d.ts +6 -0
- package/lib/src/Dropdown/index.d.ts +9 -0
- package/lib/src/File/File.d.ts +18 -0
- package/lib/src/File/index.d.ts +3 -0
- package/lib/src/FileInput/FileInput.d.ts +14 -0
- package/lib/src/FileInput/index.d.ts +3 -0
- package/lib/src/Form/Element/Element.d.ts +16 -0
- package/lib/src/Form/Element/index.d.ts +3 -0
- package/lib/src/Form/Form.d.ts +10 -0
- package/lib/src/Form/index.d.ts +5 -0
- package/lib/src/Form/types.d.ts +11 -0
- package/lib/src/Form/useForm.d.ts +17 -0
- package/lib/src/Input/Input.d.ts +12 -0
- package/lib/src/Input/index.d.ts +2 -0
- package/lib/src/Loading/Loading.d.ts +6 -0
- package/lib/src/Loading/index.d.ts +3 -0
- package/lib/src/Progress/Progress.d.ts +7 -0
- package/lib/src/Progress/index.d.ts +2 -0
- package/lib/src/Provider/Provider.d.ts +7 -0
- package/lib/src/Provider/ProviderContext.d.ts +1 -0
- package/lib/src/Provider/index.d.ts +2 -0
- package/lib/src/Select/Optgroup.d.ts +7 -0
- package/lib/src/Select/Option.d.ts +8 -0
- package/lib/src/Select/Select.d.ts +18 -0
- package/lib/src/Select/index.d.ts +11 -0
- package/lib/src/Spinner/Spinner.d.ts +8 -0
- package/lib/src/Spinner/index.d.ts +3 -0
- package/lib/src/TextArea/TextArea.d.ts +9 -0
- package/lib/src/TextArea/index.d.ts +2 -0
- package/lib/src/UploadImages/Image.d.ts +16 -0
- package/lib/src/UploadImages/UploadImages.d.ts +9 -0
- package/lib/src/UploadImages/index.d.ts +5 -0
- package/lib/src/index.d.ts +20 -0
- package/lib/src/ui-types.d.ts +3 -0
- package/lib/stories/Button.stories.d.ts +6 -0
- package/lib/stories/Checkbox.stories.d.ts +6 -0
- package/lib/stories/Dropdown/Dropdown.stories.d.ts +6 -0
- package/lib/stories/Dropdown/Item.stories.d.ts +6 -0
- package/lib/stories/Dropdown/Items.stories.d.ts +6 -0
- package/lib/stories/File.stories.d.ts +6 -0
- package/lib/stories/FileInput.stories.d.ts +9 -0
- package/lib/stories/Form/Element/Element.stories.d.ts +6 -0
- package/lib/stories/Form/Form.stories.d.ts +6 -0
- package/lib/stories/Input.stories.d.ts +6 -0
- package/lib/stories/Loading.stories.d.ts +6 -0
- package/lib/stories/Progress.stories.d.ts +6 -0
- package/lib/stories/Select/Select.stories.d.ts +6 -0
- package/lib/stories/Spinner.stories.d.ts +6 -0
- package/lib/stories/TextArea.stories.d.ts +6 -0
- package/package.json +7 -2
|
@@ -0,0 +1,20 @@
|
|
|
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;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
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>;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>;
|
|
@@ -0,0 +1,6 @@
|
|
|
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>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-artasys-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "lib/src/index.d.ts",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"build": "webpack",
|
|
10
10
|
"copy-css": "copyfiles -u 1 src/**/*.module.css lib/",
|
|
11
11
|
"storybook": "storybook dev -p 6006",
|
|
12
|
-
"build-storybook": "storybook build"
|
|
12
|
+
"build-storybook": "storybook build",
|
|
13
|
+
"prepublishOnly": "npm run build"
|
|
13
14
|
},
|
|
14
15
|
"jest": {
|
|
15
16
|
"transform": {
|
|
@@ -20,6 +21,9 @@
|
|
|
20
21
|
"dist",
|
|
21
22
|
"lib"
|
|
22
23
|
],
|
|
24
|
+
"publishConfig": {
|
|
25
|
+
"registry": "https://registry.npmjs.org/"
|
|
26
|
+
},
|
|
23
27
|
"repository": {
|
|
24
28
|
"type": "git",
|
|
25
29
|
"url": "git+https://github.com/SergoMorello/react.artasys.ui.git"
|
|
@@ -52,6 +56,7 @@
|
|
|
52
56
|
"copyfiles": "^2.4.1",
|
|
53
57
|
"css-loader": "^6.8.1",
|
|
54
58
|
"jest": "^29.5.0",
|
|
59
|
+
"mini-css-extract-plugin": "^2.10.0",
|
|
55
60
|
"postcss-loader": "^7.3.3",
|
|
56
61
|
"sass": "^1.83.1",
|
|
57
62
|
"sass-loader": "^16.0.4",
|