File tree Expand file tree Collapse file tree 7 files changed +11
-263
lines changed
components/patterns/input Expand file tree Collapse file tree 7 files changed +11
-263
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ export { default as IconButton } from './IconButton';
5
5
export { default as Input } from './Input' ;
6
6
export { default as InputGroup } from './InputGroup' ;
7
7
export { default as OptionButton } from './OptionButton' ;
8
- export { default as Select } from './Select' ;
9
8
export { default as SelectNext } from './SelectNext' ;
10
9
export { default as Textarea } from './Textarea' ;
11
10
@@ -16,6 +15,5 @@ export type { IconButtonProps } from './IconButton';
16
15
export type { InputProps } from './Input' ;
17
16
export type { InputGroupProps } from './InputGroup' ;
18
17
export type { OptionButtonProps } from './OptionButton' ;
19
- export type { SelectProps } from './Select' ;
20
18
export type { SelectProps as SelectNextProps } from './SelectNext' ;
21
19
export type { TextareaProps } from './Textarea' ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ export {
49
49
Input ,
50
50
InputGroup ,
51
51
OptionButton ,
52
- Select ,
53
52
SelectNext ,
54
53
Textarea ,
55
54
} from './components/input' ;
@@ -116,7 +115,6 @@ export type {
116
115
InputProps ,
117
116
InputGroupProps ,
118
117
OptionButtonProps ,
119
- SelectProps ,
120
118
SelectNextProps ,
121
119
TextareaProps ,
122
120
} from './components/input' ;
Original file line number Diff line number Diff line change 3
3
Input ,
4
4
IconButton ,
5
5
CopyIcon ,
6
- Select ,
7
6
ArrowLeftIcon ,
8
7
ArrowRightIcon ,
8
+ SelectNext ,
9
9
} from '../../../../' ;
10
10
import Library from '../../Library' ;
11
11
@@ -52,7 +52,7 @@ export default function InputGroupPage() {
52
52
< code > IconButton</ code >
53
53
</ li >
54
54
< li >
55
- < code > Select </ code >
55
+ < code > SelectNext </ code >
56
56
</ li >
57
57
</ ul >
58
58
< Library . Demo
@@ -66,12 +66,15 @@ export default function InputGroupPage() {
66
66
title = "Previous"
67
67
variant = "dark"
68
68
/>
69
- < Select >
70
- < option value = "0" > Select a fruit</ option >
71
- < option value = "1" > Apple</ option >
72
- < option value = "2" > Banana</ option >
73
- < option value = "3" > Cherries</ option >
74
- </ Select >
69
+ < SelectNext
70
+ value = "1"
71
+ buttonContent = "Apple"
72
+ onChange = { ( ) => { } }
73
+ >
74
+ < SelectNext . Option value = "1" > Apple</ SelectNext . Option >
75
+ < SelectNext . Option value = "2" > Banana</ SelectNext . Option >
76
+ < SelectNext . Option value = "3" > Cherries</ SelectNext . Option >
77
+ </ SelectNext >
75
78
< IconButton
76
79
icon = { ArrowRightIcon }
77
80
title = "Next"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import CloseButtonPage from './components/patterns/input/CloseButtonPage';
21
21
import InputGroupPage from './components/patterns/input/InputGroupPage' ;
22
22
import InputPage from './components/patterns/input/InputPage' ;
23
23
import OptionButtonPage from './components/patterns/input/OptionButtonPage' ;
24
- import SelectPage from './components/patterns/input/SelectPage' ;
25
24
import TextareaPage from './components/patterns/input/TextareaPage' ;
26
25
import CardPage from './components/patterns/layout/CardPage' ;
27
26
import OverlayPage from './components/patterns/layout/OverlayPage' ;
@@ -202,12 +201,6 @@ const routes: PlaygroundRoute[] = [
202
201
component : SelectNextPage ,
203
202
route : '/input-select-next' ,
204
203
} ,
205
- {
206
- title : 'Select' ,
207
- group : 'input' ,
208
- component : SelectPage ,
209
- route : '/input-select' ,
210
- } ,
211
204
{
212
205
title : 'Textarea' ,
213
206
group : 'input' ,
You can’t perform that action at this time.
0 commit comments