@@ -32,11 +32,7 @@ public var CustomKeyboardChildRowStyle = KeyboardRowStyle(
32
32
33
33
// MARK: - Button Style
34
34
public var CustomKeyboardKeyButtonStyle = KeyboardButtonStyle ( keyPopType: . Default)
35
- public var CustomKeyboardLeftKeyButtonStyle = KeyboardButtonStyle ( keyPopType: . Left)
36
- public var CustomKeyboardRightKeyButtonStyle = KeyboardButtonStyle ( keyPopType: . Right)
37
35
public var CustomKeyboardLowercaseKeyButtonStyle = KeyboardButtonStyle ( textOffsetY: - 2 , keyPopType: . Default)
38
- public var CustomKeyboardLowercaseLeftKeyButtonStyle = KeyboardButtonStyle ( textOffsetY: - 2 , keyPopType: . Left)
39
- public var CustomKeyboardLowercaseRightKeyButtonStyle = KeyboardButtonStyle ( textOffsetY: - 2 , keyPopType: . Right)
40
36
public var CustomKeyboardSpaceButtonStyle = KeyboardButtonStyle ( font: UIFont . systemFontOfSize ( 15 ) )
41
37
42
38
public var CustomKeyboardBackspaceButtonStyle = KeyboardButtonStyle (
@@ -103,7 +99,7 @@ public enum CustomKeyboardLayout {
103
99
KeyboardRow (
104
100
style: CustomKeyboardRowStyle,
105
101
characters: [
106
- KeyboardButton ( type: . Key( " Q " ) , style: CustomKeyboardLeftKeyButtonStyle ) ,
102
+ KeyboardButton ( type: . Key( " Q " ) , style: CustomKeyboardKeyButtonStyle ) ,
107
103
KeyboardButton ( type: . Key( " W " ) , style: CustomKeyboardKeyButtonStyle) ,
108
104
KeyboardButton ( type: . Key( " E " ) , style: CustomKeyboardKeyButtonStyle) ,
109
105
KeyboardButton ( type: . Key( " R " ) , style: CustomKeyboardKeyButtonStyle) ,
@@ -112,7 +108,7 @@ public enum CustomKeyboardLayout {
112
108
KeyboardButton ( type: . Key( " U " ) , style: CustomKeyboardKeyButtonStyle) ,
113
109
KeyboardButton ( type: . Key( " I " ) , style: CustomKeyboardKeyButtonStyle) ,
114
110
KeyboardButton ( type: . Key( " O " ) , style: CustomKeyboardKeyButtonStyle) ,
115
- KeyboardButton ( type: . Key( " P " ) , style: CustomKeyboardRightKeyButtonStyle ) ,
111
+ KeyboardButton ( type: . Key( " P " ) , style: CustomKeyboardKeyButtonStyle ) ,
116
112
]
117
113
) ,
118
114
KeyboardRow (
@@ -191,7 +187,7 @@ public enum CustomKeyboardLayout {
191
187
KeyboardRow (
192
188
style: CustomKeyboardRowStyle,
193
189
characters: [
194
- KeyboardButton ( type: . Key( " q " ) , style: CustomKeyboardLowercaseLeftKeyButtonStyle ) ,
190
+ KeyboardButton ( type: . Key( " q " ) , style: CustomKeyboardKeyButtonStyle ) ,
195
191
KeyboardButton ( type: . Key( " w " ) , style: CustomKeyboardLowercaseKeyButtonStyle) ,
196
192
KeyboardButton ( type: . Key( " e " ) , style: CustomKeyboardLowercaseKeyButtonStyle) ,
197
193
KeyboardButton ( type: . Key( " r " ) , style: CustomKeyboardLowercaseKeyButtonStyle) ,
@@ -200,7 +196,7 @@ public enum CustomKeyboardLayout {
200
196
KeyboardButton ( type: . Key( " u " ) , style: CustomKeyboardLowercaseKeyButtonStyle) ,
201
197
KeyboardButton ( type: . Key( " i " ) , style: CustomKeyboardLowercaseKeyButtonStyle) ,
202
198
KeyboardButton ( type: . Key( " o " ) , style: CustomKeyboardLowercaseKeyButtonStyle) ,
203
- KeyboardButton ( type: . Key( " p " ) , style: CustomKeyboardLowercaseRightKeyButtonStyle ) ,
199
+ KeyboardButton ( type: . Key( " p " ) , style: CustomKeyboardKeyButtonStyle ) ,
204
200
]
205
201
) ,
206
202
KeyboardRow (
@@ -279,7 +275,7 @@ public enum CustomKeyboardLayout {
279
275
KeyboardRow (
280
276
style: CustomKeyboardRowStyle,
281
277
characters: [
282
- KeyboardButton ( type: . Key( " 1 " ) , style: CustomKeyboardLeftKeyButtonStyle ) ,
278
+ KeyboardButton ( type: . Key( " 1 " ) , style: CustomKeyboardKeyButtonStyle ) ,
283
279
KeyboardButton ( type: . Key( " 2 " ) , style: CustomKeyboardKeyButtonStyle) ,
284
280
KeyboardButton ( type: . Key( " 3 " ) , style: CustomKeyboardKeyButtonStyle) ,
285
281
KeyboardButton ( type: . Key( " 4 " ) , style: CustomKeyboardKeyButtonStyle) ,
@@ -288,13 +284,13 @@ public enum CustomKeyboardLayout {
288
284
KeyboardButton ( type: . Key( " 7 " ) , style: CustomKeyboardKeyButtonStyle) ,
289
285
KeyboardButton ( type: . Key( " 8 " ) , style: CustomKeyboardKeyButtonStyle) ,
290
286
KeyboardButton ( type: . Key( " 9 " ) , style: CustomKeyboardKeyButtonStyle) ,
291
- KeyboardButton ( type: . Key( " 0 " ) , style: CustomKeyboardRightKeyButtonStyle ) ,
287
+ KeyboardButton ( type: . Key( " 0 " ) , style: CustomKeyboardKeyButtonStyle ) ,
292
288
]
293
289
) ,
294
290
KeyboardRow (
295
291
style: CustomKeyboardRowStyle,
296
292
characters: [
297
- KeyboardButton ( type: . Key( " - " ) , style: CustomKeyboardLeftKeyButtonStyle ) ,
293
+ KeyboardButton ( type: . Key( " - " ) , style: CustomKeyboardKeyButtonStyle ) ,
298
294
KeyboardButton ( type: . Key( " / " ) , style: CustomKeyboardKeyButtonStyle) ,
299
295
KeyboardButton ( type: . Key( " : " ) , style: CustomKeyboardKeyButtonStyle) ,
300
296
KeyboardButton ( type: . Key( " ; " ) , style: CustomKeyboardKeyButtonStyle) ,
@@ -303,7 +299,7 @@ public enum CustomKeyboardLayout {
303
299
KeyboardButton ( type: . Key( " $ " ) , style: CustomKeyboardKeyButtonStyle) ,
304
300
KeyboardButton ( type: . Key( " & " ) , style: CustomKeyboardKeyButtonStyle) ,
305
301
KeyboardButton ( type: . Key( " @ " ) , style: CustomKeyboardKeyButtonStyle) ,
306
- KeyboardButton ( type: . Key( " \" " ) , style: CustomKeyboardRightKeyButtonStyle ) ,
302
+ KeyboardButton ( type: . Key( " \" " ) , style: CustomKeyboardKeyButtonStyle ) ,
307
303
]
308
304
) ,
309
305
KeyboardRow (
@@ -366,7 +362,7 @@ public enum CustomKeyboardLayout {
366
362
KeyboardRow (
367
363
style: CustomKeyboardRowStyle,
368
364
characters: [
369
- KeyboardButton ( type: . Key( " [ " ) , style: CustomKeyboardLeftKeyButtonStyle ) ,
365
+ KeyboardButton ( type: . Key( " [ " ) , style: CustomKeyboardKeyButtonStyle ) ,
370
366
KeyboardButton ( type: . Key( " ] " ) , style: CustomKeyboardKeyButtonStyle) ,
371
367
KeyboardButton ( type: . Key( " { " ) , style: CustomKeyboardKeyButtonStyle) ,
372
368
KeyboardButton ( type: . Key( " } " ) , style: CustomKeyboardKeyButtonStyle) ,
@@ -375,13 +371,13 @@ public enum CustomKeyboardLayout {
375
371
KeyboardButton ( type: . Key( " ^ " ) , style: CustomKeyboardKeyButtonStyle) ,
376
372
KeyboardButton ( type: . Key( " * " ) , style: CustomKeyboardKeyButtonStyle) ,
377
373
KeyboardButton ( type: . Key( " + " ) , style: CustomKeyboardKeyButtonStyle) ,
378
- KeyboardButton ( type: . Key( " = " ) , style: CustomKeyboardRightKeyButtonStyle ) ,
374
+ KeyboardButton ( type: . Key( " = " ) , style: CustomKeyboardKeyButtonStyle ) ,
379
375
]
380
376
) ,
381
377
KeyboardRow (
382
378
style: CustomKeyboardRowStyle,
383
379
characters: [
384
- KeyboardButton ( type: . Key( " _ " ) , style: CustomKeyboardLeftKeyButtonStyle ) ,
380
+ KeyboardButton ( type: . Key( " _ " ) , style: CustomKeyboardKeyButtonStyle ) ,
385
381
KeyboardButton ( type: . Key( " \\ " ) , style: CustomKeyboardKeyButtonStyle) ,
386
382
KeyboardButton ( type: . Key( " | " ) , style: CustomKeyboardKeyButtonStyle) ,
387
383
KeyboardButton ( type: . Key( " ~ " ) , style: CustomKeyboardKeyButtonStyle) ,
@@ -390,7 +386,7 @@ public enum CustomKeyboardLayout {
390
386
KeyboardButton ( type: . Key( " € " ) , style: CustomKeyboardKeyButtonStyle) ,
391
387
KeyboardButton ( type: . Key( " £ " ) , style: CustomKeyboardKeyButtonStyle) ,
392
388
KeyboardButton ( type: . Key( " ¥ " ) , style: CustomKeyboardKeyButtonStyle) ,
393
- KeyboardButton ( type: . Key( " • " ) , style: CustomKeyboardRightKeyButtonStyle ) ,
389
+ KeyboardButton ( type: . Key( " • " ) , style: CustomKeyboardKeyButtonStyle ) ,
394
390
]
395
391
) ,
396
392
KeyboardRow (
0 commit comments