pesona-ui 1.0.22 → 1.0.23

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,6 +3,7 @@ import './Checkbox.scss';
3
3
  interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputElement> {
4
4
  name: string | undefined;
5
5
  label?: string;
6
+ message?: string;
6
7
  required?: boolean;
7
8
  error?: string | undefined;
8
9
  checked?: boolean;
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  interface DropdownDatePickerProps {
3
3
  name: string;
4
4
  label: string;
5
+ message?: string;
5
6
  floatingLabel?: boolean;
6
7
  locale?: string;
7
8
  error?: string | undefined;
@@ -3,6 +3,7 @@ interface InputProps extends HTMLProps<HTMLInputElement> {
3
3
  className?: string;
4
4
  name: string;
5
5
  label?: string;
6
+ message?: string;
6
7
  floatingLabel?: boolean;
7
8
  error?: string | undefined;
8
9
  }
@@ -2,6 +2,7 @@ import React, { HTMLProps } from 'react';
2
2
  interface InputDateProps extends HTMLProps<HTMLInputElement> {
3
3
  name: string;
4
4
  label: string;
5
+ message?: string;
5
6
  floatingLabel?: boolean;
6
7
  error?: string | undefined;
7
8
  value?: string;
@@ -2,6 +2,7 @@ import React, { InputHTMLAttributes } from 'react';
2
2
  interface InputFileProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
3
3
  name: string;
4
4
  label?: string;
5
+ message?: string;
5
6
  accept?: string;
6
7
  error?: string;
7
8
  }
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  interface InputTextAreaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
3
3
  name: string;
4
4
  label: string;
5
+ message?: string;
5
6
  floatingLabel?: boolean;
6
7
  error?: string | undefined;
7
8
  }
@@ -3,6 +3,7 @@ import './InputWysiwyg.scss';
3
3
  interface InputWysiwygProps {
4
4
  name: string;
5
5
  label: string;
6
+ message?: string;
6
7
  floatingLabel?: boolean;
7
8
  error?: string;
8
9
  value?: string;
@@ -7,6 +7,7 @@ interface Option {
7
7
  interface RadioProps extends HTMLProps<HTMLInputElement> {
8
8
  name: string;
9
9
  label: string;
10
+ message?: string;
10
11
  options: Option[];
11
12
  error?: string | undefined;
12
13
  }
@@ -6,6 +6,7 @@ interface Option {
6
6
  interface RadioButtonGroupProps {
7
7
  name: string;
8
8
  label?: string;
9
+ message?: string;
9
10
  size?: 'sm' | 'md' | 'lg';
10
11
  options: Option[];
11
12
  selectedValue?: string | number;
@@ -7,6 +7,7 @@ interface SelectOption {
7
7
  interface SelectProps {
8
8
  name: string;
9
9
  label?: string;
10
+ message?: string;
10
11
  selectLabel?: string;
11
12
  size?: 'sm' | 'md' | 'lg';
12
13
  floatingLabel?: boolean;
@@ -6,6 +6,7 @@ interface SelectOption {
6
6
  interface SelectMultipleProps {
7
7
  name: string;
8
8
  label?: string;
9
+ message?: string;
9
10
  selectLabel?: string;
10
11
  floatingLabel?: boolean;
11
12
  error?: string | undefined;
@@ -6,6 +6,7 @@ interface SelectWithSearchOption {
6
6
  interface SelectWithSearchProps {
7
7
  name: string;
8
8
  label?: string;
9
+ message?: string;
9
10
  selectLabel?: string;
10
11
  size?: 'sm' | 'md' | 'lg';
11
12
  floatingLabel?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "pesona-ui",
4
- "version": "1.0.22",
4
+ "version": "1.0.23",
5
5
  "description": "PesonaUI - A reusable React component library built with TypeScript and SCSS",
6
6
  "keywords": [
7
7
  "react",