powell-react 0.0.5 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. package/dist/cjs/index.js +40024 -8984
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/AutoComplete/AutoComplete.d.ts +1 -1
  4. package/dist/cjs/types/components/CascadeSelect/CascadeSelect.d.ts +1 -1
  5. package/dist/cjs/types/components/Checkbox/Checkbox.d.ts +1 -1
  6. package/dist/cjs/types/components/Chips/Chips.d.ts +1 -1
  7. package/dist/cjs/types/components/ColorPicker/ColorPicker.d.ts +1 -1
  8. package/dist/cjs/types/components/Dropdown/Dropdown.d.ts +1 -1
  9. package/dist/cjs/types/components/Editor/Editor.d.ts +1 -1
  10. package/dist/cjs/types/components/InputMask/InputMask.d.ts +1 -1
  11. package/dist/cjs/types/components/InputNumber/InputNumber.d.ts +1 -1
  12. package/dist/cjs/types/components/InputOtp/InputOtp.d.ts +1 -1
  13. package/dist/cjs/types/components/InputPassword/InputPassword.d.ts +1 -1
  14. package/dist/cjs/types/components/InputSwitch/InputSwitch.d.ts +1 -1
  15. package/dist/cjs/types/components/InputText/InputText.d.ts +1 -1
  16. package/dist/cjs/types/components/InputTextarea/InputTextarea.d.ts +1 -1
  17. package/dist/cjs/types/components/Knob/Knob.d.ts +1 -1
  18. package/dist/cjs/types/components/ListBox/ListBox.d.ts +1 -1
  19. package/dist/cjs/types/components/Mention/Mention.d.ts +1 -1
  20. package/dist/cjs/types/components/MultiSelect/MultiSelect.d.ts +1 -1
  21. package/dist/cjs/types/components/MultiStateCheckbox/MultiStateCheckbox.d.ts +1 -1
  22. package/dist/cjs/types/components/RadioGroup/RadioGroup.d.ts +1 -1
  23. package/dist/cjs/types/components/Rating/Rating.d.ts +1 -1
  24. package/dist/cjs/types/components/SelectButton/SelectButton.d.ts +1 -1
  25. package/dist/cjs/types/components/Slider/Slider.d.ts +1 -1
  26. package/dist/cjs/types/components/ToggleButton/ToggleButton.d.ts +1 -1
  27. package/dist/cjs/types/components/TreeSelect/TreeSelect.d.ts +1 -1
  28. package/dist/cjs/types/components/TriStateCheckbox/TriStateCheckbox.d.ts +1 -1
  29. package/dist/cjs/types/index.d.ts +28 -1
  30. package/dist/esm/index.js +39997 -8984
  31. package/dist/esm/index.js.map +1 -1
  32. package/dist/esm/types/components/AutoComplete/AutoComplete.d.ts +1 -1
  33. package/dist/esm/types/components/CascadeSelect/CascadeSelect.d.ts +1 -1
  34. package/dist/esm/types/components/Checkbox/Checkbox.d.ts +1 -1
  35. package/dist/esm/types/components/Chips/Chips.d.ts +1 -1
  36. package/dist/esm/types/components/ColorPicker/ColorPicker.d.ts +1 -1
  37. package/dist/esm/types/components/Dropdown/Dropdown.d.ts +1 -1
  38. package/dist/esm/types/components/Editor/Editor.d.ts +1 -1
  39. package/dist/esm/types/components/InputMask/InputMask.d.ts +1 -1
  40. package/dist/esm/types/components/InputNumber/InputNumber.d.ts +1 -1
  41. package/dist/esm/types/components/InputOtp/InputOtp.d.ts +1 -1
  42. package/dist/esm/types/components/InputPassword/InputPassword.d.ts +1 -1
  43. package/dist/esm/types/components/InputSwitch/InputSwitch.d.ts +1 -1
  44. package/dist/esm/types/components/InputText/InputText.d.ts +1 -1
  45. package/dist/esm/types/components/InputTextarea/InputTextarea.d.ts +1 -1
  46. package/dist/esm/types/components/Knob/Knob.d.ts +1 -1
  47. package/dist/esm/types/components/ListBox/ListBox.d.ts +1 -1
  48. package/dist/esm/types/components/Mention/Mention.d.ts +1 -1
  49. package/dist/esm/types/components/MultiSelect/MultiSelect.d.ts +1 -1
  50. package/dist/esm/types/components/MultiStateCheckbox/MultiStateCheckbox.d.ts +1 -1
  51. package/dist/esm/types/components/RadioGroup/RadioGroup.d.ts +1 -1
  52. package/dist/esm/types/components/Rating/Rating.d.ts +1 -1
  53. package/dist/esm/types/components/SelectButton/SelectButton.d.ts +1 -1
  54. package/dist/esm/types/components/Slider/Slider.d.ts +1 -1
  55. package/dist/esm/types/components/ToggleButton/ToggleButton.d.ts +1 -1
  56. package/dist/esm/types/components/TreeSelect/TreeSelect.d.ts +1 -1
  57. package/dist/esm/types/components/TriStateCheckbox/TriStateCheckbox.d.ts +1 -1
  58. package/dist/esm/types/index.d.ts +28 -1
  59. package/dist/index.d.ts +473 -8
  60. package/package.json +2 -1
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { Addon, LabelPosition, Size } from "@models";
3
3
  import { $AutoCompleteProps, $IconFieldProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './AutoComplete.scss';
5
+ import '@components/AutoComplete/AutoComplete.scss';
6
6
  interface AutoCompleteProps extends $AutoCompleteProps {
7
7
  name?: string;
8
8
  parseError?: (error: string) => ReactNode;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { Addon, LabelPosition, Size } from "@models";
3
3
  import { $CascadeSelectProps, $IconFieldProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './CascadeSelect.scss';
5
+ import '@components/CascadeSelect/CascadeSelect.scss';
6
6
  interface CascadeSelectProps extends $CascadeSelectProps {
7
7
  name?: string;
8
8
  parseError?: (error: string) => ReactNode;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { FixLabelPosition } from "@models";
3
3
  import { $CheckboxProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './Checkbox.scss';
5
+ import '@components/Checkbox/Checkbox.scss';
6
6
  interface CheckboxProps extends Omit<$CheckboxProps, 'checked'> {
7
7
  checked?: boolean;
8
8
  name?: string;
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from "react";
2
2
  import { Addon, LabelPosition, SafeAny, Size } from "@models";
3
3
  import { $ChipsChangeEvent, $ChipsProps, $IconFieldProps } from "@api";
4
- import './Chips.scss';
4
+ import '@components/Chips/Chips.scss';
5
5
  interface ChipsProps extends $ChipsProps {
6
6
  name?: string;
7
7
  parseError?: (error: string) => ReactNode;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { Addon, LabelPosition, Size } from "@models";
3
3
  import { $ColorPickerProps, $IconFieldProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './ColorPicker.scss';
5
+ import '@components/ColorPicker/ColorPicker.scss';
6
6
  interface ColorPickerProps extends $ColorPickerProps {
7
7
  name?: string;
8
8
  parseError?: (error: string) => ReactNode;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { Addon, LabelPosition, Size } from "@models";
3
3
  import { $DropdownProps, $IconFieldProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './Dropdown.scss';
5
+ import '@components/Dropdown/Dropdown.scss';
6
6
  interface DropdownProps extends $DropdownProps {
7
7
  name?: string;
8
8
  parseError?: (error: string) => ReactNode;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { Addon, LabelPosition } from "@models";
3
3
  import { $EditorProps, $IconFieldProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './Editor.scss';
5
+ import '@components/Editor/Editor.scss';
6
6
  interface EditorProps extends $EditorProps {
7
7
  name?: string;
8
8
  parseError?: (error: string) => ReactNode;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { Addon, LabelPosition, Size } from "@models";
3
3
  import { $IconFieldProps, $InputMaskProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './InputMask.scss';
5
+ import '@components/InputMask/InputMask.scss';
6
6
  interface InputMaskProps extends $InputMaskProps {
7
7
  name?: string;
8
8
  parseError?: (error: string) => ReactNode;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { Addon, LabelPosition, Size } from "@models";
3
3
  import { $IconFieldProps, $InputNumberProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './InputNumber.scss';
5
+ import '@components/InputNumber/InputNumber.scss';
6
6
  interface InputNumberProps extends $InputNumberProps {
7
7
  name?: string;
8
8
  parseError?: (error: string) => ReactNode;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { FixLabelPosition, Size } from "@models";
3
3
  import { $InputOtpProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './InputOtp.scss';
5
+ import '@components/InputOtp/InputOtp.scss';
6
6
  interface InputOtpProps extends $InputOtpProps {
7
7
  name?: string;
8
8
  parseError?: (error: string) => ReactNode;
@@ -1,7 +1,7 @@
1
1
  import { ChangeEvent, ReactNode } from "react";
2
2
  import { Addon, LabelPosition, SafeAny, Size } from "@models";
3
3
  import { $IconFieldProps, $PasswordProps } from "@api";
4
- import './InputPassword.scss';
4
+ import '@components/InputPassword/InputPassword.scss';
5
5
  interface InputPasswordProps extends $PasswordProps {
6
6
  name?: string;
7
7
  parseError?: (error: string) => ReactNode;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { FixLabelPosition } from "@models";
3
3
  import { $InputSwitchProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './InputSwitch.scss';
5
+ import '@components/InputSwitch/InputSwitch.scss';
6
6
  interface InputSwitchProps extends Omit<$InputSwitchProps, 'checked'> {
7
7
  checked?: boolean;
8
8
  name?: string;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { Addon, LabelPosition, Size } from "@models";
3
3
  import { $IconFieldProps, $InputTextProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './InputText.scss';
5
+ import '@components/InputText/InputText.scss';
6
6
  interface InputTextProps extends $InputTextProps {
7
7
  name?: string;
8
8
  parseError?: (error: string) => ReactNode;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { Addon, LabelPosition } from "@models";
3
3
  import { $IconFieldProps, $InputTextareaProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './InputTextarea.scss';
5
+ import '@components/InputTextarea/InputTextarea.scss';
6
6
  interface InputTextareaProps extends $InputTextareaProps {
7
7
  name?: string;
8
8
  parseError?: (error: string) => ReactNode;
@@ -1,7 +1,7 @@
1
1
  import { ChangeEvent, ReactNode } from "react";
2
2
  import { FixLabelPosition, SafeAny } from "@models";
3
3
  import { $KnobProps } from "@api";
4
- import './Knob.scss';
4
+ import '@components/Knob/Knob.scss';
5
5
  interface KnobProps extends Omit<$KnobProps, 'checked'> {
6
6
  checked?: boolean;
7
7
  name?: string;
@@ -1,7 +1,7 @@
1
1
  import { ChangeEvent, ReactNode } from "react";
2
2
  import { FixLabelPosition, SafeAny } from "@models";
3
3
  import { $ListBoxProps } from "@api";
4
- import './ListBox.scss';
4
+ import '@components/ListBox/ListBox.scss';
5
5
  interface ListBoxProps extends Omit<$ListBoxProps, 'checked'> {
6
6
  checked?: boolean;
7
7
  name?: string;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { Addon, LabelPosition, Size } from "@models";
3
3
  import { $IconFieldProps, $MentionProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './Mention.scss';
5
+ import '@components/Mention/Mention.scss';
6
6
  interface MentionProps extends $MentionProps {
7
7
  name?: string;
8
8
  parseError?: (error: string) => ReactNode;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { Addon, LabelPosition, Size } from "@models";
3
3
  import { $IconFieldProps, $MultiSelectProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './MultiSelect.scss';
5
+ import '@components/MultiSelect/MultiSelect.scss';
6
6
  interface MultiSelectProps extends $MultiSelectProps {
7
7
  name?: string;
8
8
  parseError?: (error: string) => ReactNode;
@@ -1,7 +1,7 @@
1
1
  import { ChangeEvent, ReactNode } from "react";
2
2
  import { FixLabelPosition, SafeAny } from "@models";
3
3
  import { $MultiStateCheckboxProps } from "@api";
4
- import './MultiStateCheckbox.scss';
4
+ import '@components/MultiStateCheckbox/MultiStateCheckbox.scss';
5
5
  interface MultiStateCheckboxProps extends Omit<$MultiStateCheckboxProps, 'checked'> {
6
6
  checked?: boolean;
7
7
  name?: string;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { FixLabelPosition } from "@models";
3
3
  import { $RadioButtonProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './RadioGroup.scss';
5
+ import '@components/RadioGroup/RadioGroup.scss';
6
6
  interface RadioGroupProps extends Omit<$RadioButtonProps, 'checked'> {
7
7
  checked?: boolean;
8
8
  name: string;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { FixLabelPosition } from "@models";
3
3
  import { $RatingProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './Rating.scss';
5
+ import '@components/Rating/Rating.scss';
6
6
  interface RatingProps extends Omit<$RatingProps, 'checked'> {
7
7
  checked?: boolean;
8
8
  name?: string;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { FixLabelPosition } from "@models";
3
3
  import { $SelectButtonProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './SelectButton.scss';
5
+ import '@components/SelectButton/SelectButton.scss';
6
6
  interface SelectButtonProps extends Omit<$SelectButtonProps, 'checked'> {
7
7
  checked?: boolean;
8
8
  name?: string;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { FixLabelPosition } from "@models";
3
3
  import { $SliderProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './Slider.scss';
5
+ import '@components/Slider/Slider.scss';
6
6
  interface SliderProps extends Omit<$SliderProps, 'checked'> {
7
7
  checked?: boolean;
8
8
  name?: string;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { FixLabelPosition } from "@models";
3
3
  import { $ToggleButtonProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './ToggleButton.scss';
5
+ import '@components/ToggleButton/ToggleButton.scss';
6
6
  interface ToggleButtonProps extends Omit<$ToggleButtonProps, 'checked'> {
7
7
  checked?: boolean;
8
8
  name?: string;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { Addon, LabelPosition, Size } from "@models";
3
3
  import { $IconFieldProps, $TreeSelectProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './TreeSelect.scss';
5
+ import '@components/TreeSelect/TreeSelect.scss';
6
6
  interface TreeSelectProps extends $TreeSelectProps {
7
7
  name?: string;
8
8
  parseError?: (error: string) => ReactNode;
@@ -2,7 +2,7 @@ import { ChangeEvent, ReactNode } from "react";
2
2
  import { FixLabelPosition } from "@models";
3
3
  import { $TriStateCheckboxProps } from "@api";
4
4
  import { SafeAny } from "@models";
5
- import './TriStateCheckbox.scss';
5
+ import '@components/TriStateCheckbox/TriStateCheckbox.scss';
6
6
  interface TriStateCheckboxProps extends Omit<$TriStateCheckboxProps, 'checked'> {
7
7
  checked?: boolean;
8
8
  name?: string;
@@ -1,2 +1,29 @@
1
- export { Button } from "./components/Button";
2
1
  export { PowellProvider } from "./api/PowellProvider";
2
+ export { AutoComplete } from "./components/AutoComplete";
3
+ export { Button } from "./components/Button";
4
+ export { CascadeSelect } from "./components/CascadeSelect";
5
+ export { Checkbox } from "./components/Checkbox";
6
+ export { Chips } from "./components/Chips";
7
+ export { ColorPicker } from "./components/ColorPicker";
8
+ export { Dropdown } from "./components/Dropdown";
9
+ export { Editor } from "./components/Editor";
10
+ export { FormContainer } from "./components/FormContainer";
11
+ export { InputMask } from "./components/InputMask";
12
+ export { InputNumber } from "./components/InputNumber";
13
+ export { InputOtp } from "./components/InputOtp";
14
+ export { InputPassword } from "./components/InputPassword";
15
+ export { InputSwitch } from "./components/InputSwitch";
16
+ export { InputText } from "./components/InputText";
17
+ export { InputTextarea } from "./components/InputTextarea";
18
+ export { Knob } from "./components/Knob";
19
+ export { ListBox } from "./components/ListBox";
20
+ export { Mention } from "./components/Mention";
21
+ export { MultiSelect } from "./components/MultiSelect";
22
+ export { MultiStateCheckbox } from "./components/MultiStateCheckbox";
23
+ export { RadioGroup } from "./components/RadioGroup";
24
+ export { Rating } from "./components/Rating";
25
+ export { SelectButton } from "./components/SelectButton";
26
+ export { Slider } from "./components/Slider";
27
+ export { ToggleButton } from "./components/ToggleButton";
28
+ export { TreeSelect } from "./components/TreeSelect";
29
+ export { TriStateCheckbox } from "./components/TriStateCheckbox";