next-helios-fe 1.8.0 → 1.8.1
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/package.json
CHANGED
@@ -22,7 +22,7 @@ import {
|
|
22
22
|
type MultipleSelectProps,
|
23
23
|
} from "./other/multipleSelect";
|
24
24
|
import { Autocomplete, type AutocompleteProps } from "./other/autocomplete";
|
25
|
-
import {
|
25
|
+
import { Rating, type RatingProps } from "./other/rating";
|
26
26
|
import { Emoji, type EmojiProps } from "./other/emoji";
|
27
27
|
|
28
28
|
interface FormProps extends React.FormHTMLAttributes<HTMLFormElement> {
|
@@ -49,7 +49,7 @@ interface FormComponent extends React.FC<FormProps> {
|
|
49
49
|
Select: React.FC<SelectProps>;
|
50
50
|
MultipleSelect: React.FC<MultipleSelectProps>;
|
51
51
|
Autocomplete: React.FC<AutocompleteProps>;
|
52
|
-
|
52
|
+
Rating: React.FC<RatingProps>;
|
53
53
|
Emoji: React.FC<EmojiProps>;
|
54
54
|
}
|
55
55
|
|
@@ -86,5 +86,5 @@ Form.Textarea = Textarea;
|
|
86
86
|
Form.Select = Select;
|
87
87
|
Form.MultipleSelect = MultipleSelect;
|
88
88
|
Form.Autocomplete = Autocomplete;
|
89
|
-
Form.
|
89
|
+
Form.Rating = Rating;
|
90
90
|
Form.Emoji = Emoji;
|
@@ -2,7 +2,7 @@
|
|
2
2
|
import React, { useState, useEffect } from "react";
|
3
3
|
import { Icon } from "@iconify/react";
|
4
4
|
|
5
|
-
export interface
|
5
|
+
export interface RatingProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
6
6
|
label?: string;
|
7
7
|
description?: string;
|
8
8
|
options?: {
|
@@ -10,7 +10,7 @@ export interface RateProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
10
10
|
};
|
11
11
|
}
|
12
12
|
|
13
|
-
export const
|
13
|
+
export const Rating: React.FC<RatingProps> = ({
|
14
14
|
options,
|
15
15
|
label,
|
16
16
|
description,
|