-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui-core: refactor InputWithSuggestions to ComboBox and improve compon…
…ent logic Signed-off-by: Achraf Mohyeddine <a.mohyeddine@gmail.com> Signed-off-by: Achraf Mohyeddine <a.mohyeddine@gmail.com>
- Loading branch information
1 parent
d8983fc
commit 5251ba8
Showing
9 changed files
with
78 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as ComboBox, type ComboBoxProps } from './ComboBox'; |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,31 @@ | ||
import './styles/main.css'; | ||
|
||
export { default as Button, ButtonProps } from './components/buttons/Button'; | ||
export { ComboBox, type ComboBoxProps } from './components/inputs/ComboBox'; | ||
export { | ||
CheckboxList, | ||
CheckboxesTree, | ||
Checkbox, | ||
CheckboxList, | ||
CheckboxListProps, | ||
CheckboxProps, | ||
CheckboxesTree, | ||
CheckboxesTreeProps, | ||
} from './components/inputs/Checkbox'; | ||
export { | ||
DatePicker, | ||
type CalendarSlot, | ||
type DatePickerProps, | ||
type RangeDatePickerProps, | ||
type SingleDatePickerProps, | ||
} from './components/inputs/datePicker'; | ||
export { default as Input, InputProps } from './components/inputs/Input'; | ||
export { default as TokenInput, TokenInputProps } from './components/inputs/TokenInput'; | ||
export { default as PasswordInput, PasswordInputProps } from './components/inputs/PasswordInput'; | ||
export { default as TextArea, TextAreaProps } from './components/inputs/TextArea'; | ||
export { default as RadioButton, RadioButtonProps } from './components/inputs/RadioButton'; | ||
export { default as RadioGroup, RadioGroupProps } from './components/inputs/RadioGroup'; | ||
export { default as Select, SelectProps } from './components/Select'; | ||
export { default as TextArea, TextAreaProps } from './components/inputs/TextArea'; | ||
export { default as TimePicker } from './components/inputs/TimePicker'; | ||
export { | ||
DatePicker, | ||
type RangeDatePickerProps, | ||
type SingleDatePickerProps, | ||
type DatePickerProps, | ||
type CalendarSlot, | ||
} from './components/inputs/datePicker'; | ||
export { | ||
default as TolerancePicker, | ||
type TolerancePickerProps, | ||
} from './components/inputs/tolerancePicker/TolerancePicker'; | ||
export { | ||
InputWithSuggestions, | ||
type InputWithSuggestionsProps, | ||
} from './components/inputs/InputWithSuggestions'; | ||
export { default as TokenInput, TokenInputProps } from './components/inputs/TokenInput'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...rc/styles/inputs/inputWithSuggestions.css → ui-core/src/styles/inputs/comboBox.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.input-with-suggestions { | ||
.combo-box { | ||
position: relative; | ||
width: 100%; | ||
@apply text-grey-80; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters