ioloco-ui
Advanced tools
Comparing version 0.4.5 to 0.4.6
@@ -1,19 +0,3 @@ | ||
import React, { ElementType } from 'react'; | ||
interface SelectOption { | ||
[key: string]: any; | ||
} | ||
interface ISelect<T extends SelectOption> { | ||
options: T[]; | ||
label: string; | ||
size: 'small' | 'medium' | 'large'; | ||
field?: any; | ||
Icon?: ElementType; | ||
defaultValue?: T; | ||
firstOption?: T; | ||
valueKey?: keyof T; | ||
labelKey?: keyof T; | ||
onClick?: (event: React.MouseEvent<HTMLDivElement>) => void; | ||
onSelect?: (option: T) => void; | ||
} | ||
import { ISelect, SelectOption } from './types'; | ||
declare const Select: <T extends SelectOption>({ options, label, size, field, Icon, defaultValue, firstOption, valueKey, labelKey, onClick, onSelect }: ISelect<T>) => import("react/jsx-runtime").JSX.Element; | ||
export default Select; |
@@ -20,2 +20,3 @@ export { default as Drawer } from './Components/UI/Drawer'; | ||
export { default as Select } from './Components/Form/Select'; | ||
export { default as MultiSelect } from './Components/Form/MultiSelect'; | ||
export { default as PhonePrefix } from './Components/Form/PhonePrefix'; | ||
@@ -22,0 +23,0 @@ export { default as DatePicker } from './Components/Form/DatePicker'; |
@@ -1,1 +0,1 @@ | ||
export{default as Drawer}from"./Components/UI/Drawer/index.js";export{default as Menu}from"./Components/UI/Menu/index.js";export{default as Paper}from"./Components/UI/Paper/index.js";export{default as Container}from"./Components/UI/Container/index.js";export{default as Button}from"./Components/Components/Button/index.js";export{default as BlocSection}from"./Components/Components/BlocSection/index.js";export{default as Accordion}from"./Components/Components/Accordion/index.js";export{default as Chip}from"./Components/Components/Chip/index.js";export{default as Tabs}from"./Components/Components/Tabs/index.js";export{default as Calendar}from"./Components/Components/Calendar/index.js";export{default as RadioSlider}from"./Components/Components/RadioSlider/index.js";export{default as Breadcrumbs}from"./Components/Navigation/Breadcrumbs/index.js";export{default as FormInput}from"./Components/Form/FormInput/index.js";export{default as TextArea}from"./Components/Form/TextArea/index.js";export{default as CheckBox}from"./Components/Form/CheckBox/index.js";export{default as RadioGroup}from"./Components/Form/RadioGroup/index.js";export{default as ToggleSwitch}from"./Components/Form/ToggleSwitch/index.js";export{default as DataList}from"./Components/Form/DataList/index.js";export{default as Select}from"./Components/Form/Select/index.js";export{default as PhonePrefix}from"./Components/Form/PhonePrefix/index.js";export{default as DatePicker}from"./Components/Form/DatePicker/index.js";export{default as Multistep}from"./Components/Form/Multistep/index.js";export{default as DateTimePicker}from"./Components/Form/DateTimePicker/index.js";export{default as ErrorDisplay}from"./Components/Form/ErrorDisplay/index.js";export{default as FileUpload}from"./Components/Form/FileUpload/index.js";export{default as SpacedInputGrid}from"./Components/Utils/SpacedInputGrid/index.js";export{default as SpacedFlex}from"./Components/Utils/SpacedFlex/index.js"; | ||
export{default as Drawer}from"./Components/UI/Drawer/index.js";export{default as Menu}from"./Components/UI/Menu/index.js";export{default as Paper}from"./Components/UI/Paper/index.js";export{default as Container}from"./Components/UI/Container/index.js";export{default as Button}from"./Components/Components/Button/index.js";export{default as BlocSection}from"./Components/Components/BlocSection/index.js";export{default as Accordion}from"./Components/Components/Accordion/index.js";export{default as Chip}from"./Components/Components/Chip/index.js";export{default as Tabs}from"./Components/Components/Tabs/index.js";export{default as Calendar}from"./Components/Components/Calendar/index.js";export{default as RadioSlider}from"./Components/Components/RadioSlider/index.js";export{default as Breadcrumbs}from"./Components/Navigation/Breadcrumbs/index.js";export{default as FormInput}from"./Components/Form/FormInput/index.js";export{default as TextArea}from"./Components/Form/TextArea/index.js";export{default as CheckBox}from"./Components/Form/CheckBox/index.js";export{default as RadioGroup}from"./Components/Form/RadioGroup/index.js";export{default as ToggleSwitch}from"./Components/Form/ToggleSwitch/index.js";export{default as DataList}from"./Components/Form/DataList/index.js";export{default as Select}from"./Components/Form/Select/index.js";export{default as MultiSelect}from"./Components/Form/MultiSelect/index.js";export{default as PhonePrefix}from"./Components/Form/PhonePrefix/index.js";export{default as DatePicker}from"./Components/Form/DatePicker/index.js";export{default as Multistep}from"./Components/Form/Multistep/index.js";export{default as DateTimePicker}from"./Components/Form/DateTimePicker/index.js";export{default as ErrorDisplay}from"./Components/Form/ErrorDisplay/index.js";export{default as FileUpload}from"./Components/Form/FileUpload/index.js";export{default as SpacedInputGrid}from"./Components/Utils/SpacedInputGrid/index.js";export{default as SpacedFlex}from"./Components/Utils/SpacedFlex/index.js"; |
{ | ||
"name": "ioloco-ui", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"description": "Stylex UI components for React", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
205009
95
2807