elseware-ui 2.5.0 → 2.6.0

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.
@@ -1,4 +1,6 @@
1
- import { Input } from "./Input";
2
- import InputResponse from "./InputResponse";
1
+ import InputResponse from "./input-response/InputResponse";
3
2
  import InputLabel from "./input-label/InputLabel";
4
- export { Input, InputResponse, InputLabel };
3
+ import { Input } from "./input/Input";
4
+ import { InputList } from "./input-list/InputList";
5
+ import { InputListGroup } from "./input-list-group/InputListGroup";
6
+ export { InputResponse, InputLabel, Input, InputList, InputListGroup };
@@ -0,0 +1,11 @@
1
+ import { FieldHookConfig } from "formik";
2
+ export interface InputProps {
3
+ type: "text" | "password" | "number";
4
+ placeholder: string;
5
+ styles?: string;
6
+ step?: string;
7
+ }
8
+ export interface PasswordVisibilityTogglerProps {
9
+ onClick: (visibility: boolean) => void;
10
+ }
11
+ export declare const Input: ({ type, placeholder, styles, step, ...props }: FieldHookConfig<string> & InputProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ interface InputListProps {
2
+ name: string;
3
+ placeholder?: string;
4
+ }
5
+ export declare const InputList: ({ name, placeholder }: InputListProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ interface InputListGroupProps {
2
+ name: string;
3
+ placeholder?: string;
4
+ }
5
+ export declare const InputListGroup: ({ name, placeholder }: InputListGroupProps) => import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,9 @@
1
+ import { TextVariant } from "../../../../data/enums";
2
+ export interface InputResponseProps {
3
+ name: string;
4
+ visibility?: boolean;
5
+ variant?: keyof typeof TextVariant;
6
+ styles?: string;
7
+ }
8
+ declare function InputResponse({ name, visibility, variant, styles, }: InputResponseProps): import("react/jsx-runtime").JSX.Element;
9
+ export default InputResponse;
package/build/index.d.ts CHANGED
@@ -23,8 +23,7 @@ import Checkbox from "./components/data-entry/checkbox/Checkbox";
23
23
  import DateSelector from "./components/data-entry/date-selector/DateSelector";
24
24
  import { Form, FormResponse } from "./components/data-entry/form";
25
25
  import ImageInput from "./components/data-entry/image-input/ImageInput";
26
- import { Input, InputResponse, InputLabel } from "./components/data-entry/input";
27
- import { InputList } from "./components/data-entry/input-list/InputList";
26
+ import { InputResponse, InputLabel, Input, InputList, InputListGroup } from "./components/data-entry/input";
28
27
  import MultiImageInput from "./components/data-entry/multi-image-input/MultiImageInput";
29
28
  import Radio from "./components/data-entry/radio/Radio";
30
29
  import { StarRatingInput } from "./components/data-entry/rating";
@@ -60,4 +59,4 @@ import useModal from "./utils/hooks/components/useModal";
60
59
  import useDrawer from "./utils/hooks/components/useDrawer";
61
60
  import useClickOutside from "./utils/hooks/useClickOutside";
62
61
  import useIsMobile from "./utils/hooks/useIsMobile";
63
- export { Avatar, Badge, TitleBanner, Brand, BarChart, LineChart, PieChart, Chip, Image, CloudinaryImage, Info, List, ListItem, PriceTag, StarRating, StarRatingDistribution, Slider, Table, Tag, Typography, Chapter, Section, Paragraph, Quote, YoutubeVideoPlayer, Button, Checkbox, DateSelector, Form, FormResponse, ImageInput, Input, InputResponse, InputLabel, InputList, MultiImageInput, Radio, StarRatingInput, Select, Switch, TextArea, Backdrop, Skeleton, Toast, sendToast, Transition, ContentArea, FooterNavbar, Sidebar, Flex, FlexCol, FlexRow, Grid, Layout, Header, Content, Footer, Breadcrumb, BreadcrumbItem, Drawer, DrawerToggler, HeaderNav, HeaderNavGroup, HeaderNavItem, HeaderNavItemTitle, Link, Menu, MenuGroup, MenuItem, MenuItemTitle, RouteTab, RouteTabs, Modal, Accordion, Card, CardHeader, CardContent, CardFooter, ThemeContext, ThemeProvider, ThemeSwitch, AsyncComponentWrapper, ShowMore, useModal, useDrawer, useClickOutside, useIsMobile, };
62
+ export { Avatar, Badge, TitleBanner, Brand, BarChart, LineChart, PieChart, Chip, Image, CloudinaryImage, Info, List, ListItem, PriceTag, StarRating, StarRatingDistribution, Slider, Table, Tag, Typography, Chapter, Section, Paragraph, Quote, YoutubeVideoPlayer, Button, Checkbox, DateSelector, Form, FormResponse, ImageInput, InputResponse, InputLabel, Input, InputList, InputListGroup, MultiImageInput, Radio, StarRatingInput, Select, Switch, TextArea, Backdrop, Skeleton, Toast, sendToast, Transition, ContentArea, FooterNavbar, Sidebar, Flex, FlexCol, FlexRow, Grid, Layout, Header, Content, Footer, Breadcrumb, BreadcrumbItem, Drawer, DrawerToggler, HeaderNav, HeaderNavGroup, HeaderNavItem, HeaderNavItemTitle, Link, Menu, MenuGroup, MenuItem, MenuItemTitle, RouteTab, RouteTabs, Modal, Accordion, Card, CardHeader, CardContent, CardFooter, ThemeContext, ThemeProvider, ThemeSwitch, AsyncComponentWrapper, ShowMore, useModal, useDrawer, useClickOutside, useIsMobile, };