Files
Brandy Smith 4d6a067677 feat(input-otp): add new input-otp component (#30386)
Adds a new component `ion-input-otp` which provides the OTP input functionality

- Displays as an input group with multiple boxes accepting a single character
- Accepts `type` which determines whether the boxes accept numbers or text/numbers and determines the keyboard to display
- Supports changing the displayed keyboard using the `inputmode` property
- Accepts a `length` property to control the number of input boxes
- Accepts the following properties to change the design: `fill`, `shape`, `size`, `color`
- Accepts a `separators` property to show a separator between 1 or more input boxes
- Supports the `disabled`, `readonly` and invalid states
- Supports limiting the accepted input via the `pattern` property
- Emits the following events: `ionInput`, `ionChange`, `ionComplete`, `ionBlur`, `ionFocus`
- Exposes the following method: `setFocus`

---------

Co-authored-by: Brandy Smith <6577830+brandyscarney@users.noreply.github.com>
Co-authored-by: Shane <shane@shanessite.net>
2025-05-29 15:10:37 -04:00

39 lines
937 B
Bash
Executable File

#!/bin/bash
# Directory containing test application versions
# (e.g. react18, react19, etc.)
APPS_DIR="apps"
# Base application template that all test apps are built from
BASE_DIR="base"
# Output directory for built applications
BUILD_DIR="build"
# Application version to build (passed as first argument)
APP_DIR="${1}"
# Full paths for source and destination
FULL_APP_DIR="${APPS_DIR}/${APP_DIR}/."
FULL_BASE_DIR="${BASE_DIR}/."
BUILD_APP_DIR="${BUILD_DIR}/${APP_DIR}/"
# Verify application version exists
if [ ! -d $FULL_APP_DIR ]; then
echo "Could not find test app: ${FULL_APP_DIR}"
exit 1
fi
# Create build directory if needed
mkdir -p $BUILD_DIR
# Copy base template first
echo "Copying base application..."
cp -R $FULL_BASE_DIR $BUILD_APP_DIR
# Copy version-specific files (overrides base template)
echo "Copying application version..."
cp -R $FULL_APP_DIR $BUILD_APP_DIR
echo "Copied test app files for ${APP_DIR}"