Skip to content

Commit

Permalink
feat: add new keyboard layouts, fix KeyboardInput sizing bug (#36)
Browse files Browse the repository at this point in the history
* feat: extract keyboard logic to KeyboardBase component

* chore: add keyboard formats file

* feat: update Keyboard simple to import KeyboardBase and pass the simple format

* feat: add discrete KeyboardEmail and KeyboardQwerty components

* feat: update KeyboardInput to leverage KeyboardQwerty component

* fix(Input): remove flex rules to fix sizing

Co-authored-by: Carolyn Moneymaker <[email protected]>
  • Loading branch information
anthony9187 and cee-money authored Aug 21, 2024
1 parent 42dfbf1 commit 2aff0f6
Show file tree
Hide file tree
Showing 20 changed files with 1,554 additions and 1,204 deletions.
2 changes: 0 additions & 2 deletions packages/solid/components/Input/Input.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ const container: InputConfig = {
// TODO clew uses strokeWidth, but we currently don't account for nested properties (border.width)
width: getWidthByUpCount(4),
height: 100,
display: 'flex',
flexDirection: 'column',
padding: [theme.spacer.xxxl, theme.spacer.xl],
color: theme.color.interactiveNeutral,
contentColor: theme.color.fillInverse,
Expand Down
2 changes: 1 addition & 1 deletion packages/solid/components/Input/Input.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*
* SPDX-License-Identifier: Apache-2.0
*/

Expand Down
Loading

0 comments on commit 2aff0f6

Please sign in to comment.