File tree Expand file tree Collapse file tree 13 files changed +431
-389
lines changed
catalog-consumption/GetSingleItem Expand file tree Collapse file tree 13 files changed +431
-389
lines changed Original file line number Diff line number Diff line change @@ -74,14 +74,16 @@ export const GetSingleItem: React.FC = () => {
7474 < Divider />
7575
7676 < Form >
77- < Form . Input
78- control = { VariableSearch }
79- width = { 4 }
80- icon = "id card outline"
81- label = "Entity ID"
82- value = { entityId }
83- setStateValue = { setEntityId }
84- />
77+ < Form . Group >
78+ < Form . Input
79+ control = { VariableSearch }
80+ width = { 4 }
81+ icon = "id card outline"
82+ label = "Entity ID"
83+ value = { entityId }
84+ setStateValue = { setEntityId }
85+ />
86+ </ Form . Group >
8587
8688 < Button
8789 primary
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ export const ResetPasswordWithAxauth: React.FC = () => {
163163 return (
164164 < >
165165 < Form onSubmit = { handleInitiateResetPassword } >
166- < Form . Input width = { 12 } >
166+ < Form . Group >
167167 < Form . Input
168168 width = { 4 }
169169 icon = "user"
@@ -174,7 +174,7 @@ export const ResetPasswordWithAxauth: React.FC = () => {
174174 onChange = { ( event ) => setEmail ( event . target . value ) }
175175 value = { email }
176176 />
177- </ Form . Input >
177+ </ Form . Group >
178178
179179 < Button type = "submit" primary >
180180 Initiate Reset Password
@@ -184,25 +184,29 @@ export const ResetPasswordWithAxauth: React.FC = () => {
184184 < Divider />
185185
186186 < Form onSubmit = { handleCompleteResetPasswordClick } >
187- < Form . Input
188- width = { 4 }
189- icon = "lock"
190- iconPosition = "left"
191- label = "New password"
192- placeholder = "New password"
193- type = "password"
194- onChange = { ( event ) => setNewPassword ( event . target . value ) }
195- value = { newPassword }
196- />
197- < Form . Input
198- width = { 4 }
199- icon = "key"
200- iconPosition = "left"
201- placeholder = "Enter the Reset-Password OTP"
202- label = "Reset-Password OTP"
203- onChange = { ( event ) => setResetOTP ( event . target . value ) }
204- value = { resetOTP }
205- />
187+ < Form . Group >
188+ < Form . Input
189+ width = { 4 }
190+ icon = "lock"
191+ iconPosition = "left"
192+ label = "New password"
193+ placeholder = "New password"
194+ type = "password"
195+ onChange = { ( event ) => setNewPassword ( event . target . value ) }
196+ value = { newPassword }
197+ />
198+ </ Form . Group >
199+ < Form . Group >
200+ < Form . Input
201+ width = { 4 }
202+ icon = "key"
203+ iconPosition = "left"
204+ placeholder = "Enter the Reset-Password OTP"
205+ label = "Reset-Password OTP"
206+ onChange = { ( event ) => setResetOTP ( event . target . value ) }
207+ value = { resetOTP }
208+ />
209+ </ Form . Group >
206210
207211 < Button type = "submit" primary >
208212 Complete Reset Password
Original file line number Diff line number Diff line change @@ -133,30 +133,34 @@ export const SignInWithAxAuth: React.FC = () => {
133133 return (
134134 < >
135135 < Form onSubmit = { signIn } >
136- < Form . Input
137- width = { 4 }
138- icon = "user"
139- iconPosition = "left"
140- placeholder = "Email"
141- label = "Email"
142- value = { email }
143- onChange = { ( event ) => {
144- setEmail ( event . target . value ) ;
145- } }
146- />
147-
148- < Form . Input
149- width = { 4 }
150- icon = "lock"
151- iconPosition = "left"
152- placeholder = "Password"
153- type = "password"
154- label = "Password"
155- value = { password }
156- onChange = { ( event ) => {
157- setPassword ( event . target . value ) ;
158- } }
159- />
136+ < Form . Group >
137+ < Form . Input
138+ width = { 4 }
139+ icon = "user"
140+ iconPosition = "left"
141+ placeholder = "Email"
142+ label = "Email"
143+ value = { email }
144+ onChange = { ( event ) => {
145+ setEmail ( event . target . value ) ;
146+ } }
147+ />
148+ </ Form . Group >
149+
150+ < Form . Group >
151+ < Form . Input
152+ width = { 4 }
153+ icon = "lock"
154+ iconPosition = "left"
155+ placeholder = "Password"
156+ type = "password"
157+ label = "Password"
158+ value = { password }
159+ onChange = { ( event ) => {
160+ setPassword ( event . target . value ) ;
161+ } }
162+ />
163+ </ Form . Group >
160164
161165 < Button type = "submit" primary >
162166 Sign In
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ export const SignInWithExternalIdps: React.FC = () => {
125125 return (
126126 < React . Fragment key = { idpConfig . idpConnectionId } >
127127 < Grid . Row style = { { paddingBottom : 0 } } >
128- < Grid . Column width = { 4 } >
128+ < Grid . Column mobile = { 16 } tablet = { 8 } computer = { 4 } >
129129 < Button
130130 fluid
131131 color = {
Original file line number Diff line number Diff line change @@ -257,15 +257,17 @@ export const SignUpWithAxAuth: React.FC = () => {
257257 < Divider />
258258
259259 < Form onSubmit = { completeSignUp } >
260- < Form . Input
261- width = { 4 }
262- icon = "key"
263- iconPosition = "left"
264- placeholder = "Enter the Sign-Up OTP"
265- label = "Sign Up OTP"
266- onChange = { ( event ) => setSignUpOtp ( event . target . value ) }
267- value = { signUpOtp }
268- />
260+ < Form . Group >
261+ < Form . Input
262+ width = { 4 }
263+ icon = "key"
264+ iconPosition = "left"
265+ placeholder = "Enter the Sign-Up OTP"
266+ label = "Sign Up OTP"
267+ onChange = { ( event ) => setSignUpOtp ( event . target . value ) }
268+ value = { signUpOtp }
269+ />
270+ </ Form . Group >
269271
270272 < Button type = "submit" primary >
271273 Complete Sign Up
Original file line number Diff line number Diff line change @@ -130,32 +130,36 @@ export const CreateProfile: React.FC = () => {
130130
131131 return (
132132 < Form onSubmit = { createProfile } >
133- < Form . Input
134- width = { 4 }
135- icon = "id card outline"
136- iconPosition = "left"
137- type = "text"
138- placeholder = "Display Name"
139- label = "Display Name"
140- value = { displayName }
141- required
142- onChange = { ( event ) => {
143- setDisplayName ( event . target . value ) ;
144- } }
145- />
146-
147- < Form . Input
148- width = { 4 }
149- icon = "image outline"
150- iconPosition = "left"
151- type = "text"
152- placeholder = "Profile Picture URL"
153- label = "Profile Picture URL"
154- value = { profilePictureUrl }
155- onChange = { ( event ) => {
156- setProfilePictureUrl ( event . target . value ) ;
157- } }
158- />
133+ < Form . Group >
134+ < Form . Input
135+ width = { 4 }
136+ icon = "id card outline"
137+ iconPosition = "left"
138+ type = "text"
139+ placeholder = "Display Name"
140+ label = "Display Name"
141+ value = { displayName }
142+ required
143+ onChange = { ( event ) => {
144+ setDisplayName ( event . target . value ) ;
145+ } }
146+ />
147+ </ Form . Group >
148+
149+ < Form . Group >
150+ < Form . Input
151+ width = { 4 }
152+ icon = "image outline"
153+ iconPosition = "left"
154+ type = "text"
155+ placeholder = "Profile Picture URL"
156+ label = "Profile Picture URL"
157+ value = { profilePictureUrl }
158+ onChange = { ( event ) => {
159+ setProfilePictureUrl ( event . target . value ) ;
160+ } }
161+ />
162+ </ Form . Group >
159163
160164 < Button type = "submit" primary >
161165 Create New Profile
Original file line number Diff line number Diff line change @@ -145,29 +145,31 @@ export const DeleteProfile: React.FC = () => {
145145
146146 return (
147147 < Form onSubmit = { deleteProfile } >
148- < Form . Dropdown
149- width = { 4 }
150- selection
151- fluid
152- label = "User Profile"
153- placeholder = "Select a profile to delete"
154- options = { userProfiles . map ( ( profile ) => {
155- return {
156- image : {
157- avatar : true ,
158- src : profile . profilePictureUrl
159- ? profile . profilePictureUrl
160- : MissingUserProfilePicture ,
161- } ,
162- text : profile . displayName ,
163- value : profile . id ,
164- } ;
165- } ) }
166- value = { selectedProfileId }
167- onChange = { ( event , { value } ) => {
168- setSelectedProfileId ( value as string ) ;
169- } }
170- > </ Form . Dropdown >
148+ < Form . Group >
149+ < Form . Dropdown
150+ width = { 4 }
151+ selection
152+ fluid
153+ label = "User Profile"
154+ placeholder = "Select a profile to delete"
155+ options = { userProfiles . map ( ( profile ) => {
156+ return {
157+ image : {
158+ avatar : true ,
159+ src : profile . profilePictureUrl
160+ ? profile . profilePictureUrl
161+ : MissingUserProfilePicture ,
162+ } ,
163+ text : profile . displayName ,
164+ value : profile . id ,
165+ } ;
166+ } ) }
167+ value = { selectedProfileId }
168+ onChange = { ( event , { value } ) => {
169+ setSelectedProfileId ( value as string ) ;
170+ } }
171+ > </ Form . Dropdown >
172+ </ Form . Group >
171173
172174 < Button type = "submit" primary disabled = { selectedProfileId === '' } >
173175 Delete Profile
Original file line number Diff line number Diff line change @@ -143,29 +143,31 @@ export const SwitchActiveProfile: React.FC = () => {
143143
144144 return (
145145 < Form onSubmit = { switchActiveProfile } >
146- < Form . Dropdown
147- width = { 4 }
148- selection
149- fluid
150- label = "User Profile"
151- placeholder = "Select a profile to make active"
152- options = { userProfiles . map ( ( profile ) => {
153- return {
154- image : {
155- avatar : true ,
156- src : profile . profilePictureUrl
157- ? profile . profilePictureUrl
158- : MissingUserProfilePicture ,
159- } ,
160- text : profile . displayName ,
161- value : profile . id ,
162- } ;
163- } ) }
164- value = { selectedProfileId }
165- onChange = { ( event , { value } ) => {
166- setSelectedProfileId ( value as string ) ;
167- } }
168- > </ Form . Dropdown >
146+ < Form . Group >
147+ < Form . Dropdown
148+ width = { 4 }
149+ selection
150+ fluid
151+ label = "User Profile"
152+ placeholder = "Select a profile to make active"
153+ options = { userProfiles . map ( ( profile ) => {
154+ return {
155+ image : {
156+ avatar : true ,
157+ src : profile . profilePictureUrl
158+ ? profile . profilePictureUrl
159+ : MissingUserProfilePicture ,
160+ } ,
161+ text : profile . displayName ,
162+ value : profile . id ,
163+ } ;
164+ } ) }
165+ value = { selectedProfileId }
166+ onChange = { ( event , { value } ) => {
167+ setSelectedProfileId ( value as string ) ;
168+ } }
169+ > </ Form . Dropdown >
170+ </ Form . Group >
169171
170172 < Button type = "submit" primary disabled = { selectedProfileId === '' } >
171173 Activate Profile
You can’t perform that action at this time.
0 commit comments