elseware-ui 2.4.1 → 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.
- package/build/components/data-entry/input/index.d.ts +6 -3
- package/build/components/data-entry/input/input/Input.d.ts +11 -0
- package/build/components/data-entry/input/input-label/InputLabel.d.ts +9 -0
- package/build/components/data-entry/input/input-list/InputList.d.ts +6 -0
- package/build/components/data-entry/input/input-list-group/InputListGroup.d.ts +6 -0
- package/build/components/data-entry/input/input-response/InputResponse.d.ts +9 -0
- package/build/components/data-entry/input-list/InputList.d.ts +6 -0
- package/build/index.d.ts +2 -2
- package/build/index.es.js +42121 -488
- package/build/index.js +42093 -457
- package/package.json +3 -1
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import InputResponse from "./input-response/InputResponse";
|
|
2
|
+
import InputLabel from "./input-label/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,9 @@
|
|
|
1
|
+
/// <reference types="@types/react" />
|
|
2
|
+
import React from "react";
|
|
3
|
+
export interface FormDataEntryLabelProps {
|
|
4
|
+
text?: string;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
styles?: string;
|
|
7
|
+
}
|
|
8
|
+
declare function InputLabel({ text, children, styles }: FormDataEntryLabelProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default InputLabel;
|
|
@@ -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,7 +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,
|
|
26
|
+
import { InputResponse, InputLabel, Input, InputList, InputListGroup } from "./components/data-entry/input";
|
|
27
27
|
import MultiImageInput from "./components/data-entry/multi-image-input/MultiImageInput";
|
|
28
28
|
import Radio from "./components/data-entry/radio/Radio";
|
|
29
29
|
import { StarRatingInput } from "./components/data-entry/rating";
|
|
@@ -59,4 +59,4 @@ import useModal from "./utils/hooks/components/useModal";
|
|
|
59
59
|
import useDrawer from "./utils/hooks/components/useDrawer";
|
|
60
60
|
import useClickOutside from "./utils/hooks/useClickOutside";
|
|
61
61
|
import useIsMobile from "./utils/hooks/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, Input,
|
|
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, };
|