Type | Supported | ApheleiaButton | ApheleiaTextInput | ApheleiaNumberInput |
---|---|---|---|---|
button | ✅ | ✅ | ⬜ | ⬜ |
🕒 checkbox | ⬜ | ⬜ | ⬜ | ⬜ |
🕒 color | ⬜ | ⬜ | ⬜ | ⬜ |
date | ⬜ | ⬜ | ⬜ | ⬜ |
datetime-local | ⬜ | ⬜ | ⬜ | ⬜ |
✅ | ⬜ | ✅ | ⬜ | |
🕒 file | ⬜ | ⬜ | ⬜ | ⬜ |
⬜ | ⬜ | ⬜ | ⬜ | |
⬜ | ⬜ | ⬜ | ⬜ | |
❌ |
⬜ | ⬜ | ⬜ | ⬜ |
number | ✅ | ⬜ | ⬜ | ✅ |
password | ✅ | ⬜ | ✅ | ⬜ |
🕒 radio | ⬜ | ⬜ | ⬜ | ⬜ |
🕒 range | ⬜ | ⬜ | ⬜ | ⬜ |
⬜ | ⬜ | ⬜ | ⬜ | |
search | ✅ | ⬜ | ✅ | ⬜ |
⬜ | ⬜ | ⬜ | ⬜ | |
tel | ✅ | ⬜ | ✅ | ⬜ |
text | ✅ | ⬜ | ✅ | ⬜ |
time | ⬜ | ⬜ | ⬜ | ⬜ |
url | ✅ | ⬜ | ✅ | ⬜ |
❌ |
⬜ | ⬜ | ⬜ | ⬜ |
Key:
type- No support
🕒 - Support coming later
❌ - Bad browser support
Attribute | Supported |
---|---|
autofocus | ⬜ |
autocomplete | ⬜ |
disabled | ✅ |
form | ⬜ |
formaction | ⬜ |
formenctype | ⬜ |
formmethod | ⬜ |
formnovalidate | ⬜ |
formtarget | ⬜ |
name | ✅ |
type | ✅ |
value | ✅ |
Attribute | Supported | Type |
---|---|---|
accept | ⬜ | file |
alt | ⬜ | image |
autofocus | ⬜ | |
autocomplete | ✅ | |
checked | ⬜ | radio, checkbox |
dirname | ⬜ | text, search |
disabled | ✅ | |
form | ⬜ | |
formaction | ⬜ | image, submit |
formenctype | ⬜ | image, submit |
formmethod | ⬜ | image, submit |
formnovalidate | ⬜ | image, submit |
formtarget | ⬜ | image, submit |
formtarget | ⬜ | image, submit |
height | ⬜ | image |
list | ⬜ | |
max | ⬜ | number |
maxlength | ⬜ | password, search, tel, text, url |
min | ⬜ | number |
minlength | ⬜ | password, search, tel, text, url |
multiple | ⬜ | email, file |
name | ⬜ | |
pattern | ⬜ | password, text, tel |
placeholder | ⬜ | password, search, tel ,text, url |
readonly | ⬜ | |
required | ⬜ | |
size | ⬜ | email, password, tel, text, url |
src | ⬜ | image |
step | ⬜ | number |
type | ⬜ | |
value | ⬜ | |
width | ⬜ |
- Use this.input.pattern = '[0-9]*'; with number type on input to make sure invalid data is picked up by css.
<aph-icon></aph-icon>
Attribute | Values | Html | Default | Description |
---|---|---|---|---|
name | ApheleiaSupportedIcon | name="" |
ApheleiaSupportedIcon.null | The icon svg that is used |
size | number | size="" |
16 | The size of the icon in pixels |
Function | Parameteres | Types | Nullable | Description |
---|---|---|---|---|
getAttributes() | ||||
setAttributes() | name size |
ApheleiaSupportedIcon number |
✅ ✅ |
|
construct() |
- null
- chevronleft
- chevronright
- chevrondown
- chevronup
- error
- add
- remove
<aph-button></aph-button>
Attribute | Values | Html | Default | Description |
---|---|---|---|---|
type | ApheleiaButtonType | type="" |
ApheleiaButtonType.primary | |
size | ApheleiaButtonSize | size="" |
ApheleiaButtonSize.medium | |
text | string | text="" |
undefined | |
icon | ApheleiaSupportedIcon | icon="" |
undefined | |
iconLeft | ApheleiaSupportedIcon | iconleft="" |
undefined | |
iconRight | ApheleiaSupportedIcon | iconright="" |
undefined | |
hasLoader | boolean | noloader |
true | |
autoDisable | boolean | nodisable |
true | |
hasMargin | boolean | nomargin |
true | |
isFullWidth | boolean | fullwidth |
false | |
isDisabled | boolean | disabled |
false | |
borderRadii | string | borderradii="" |
undefined |
Element | Type | Nullable | Description |
---|---|---|---|
button | HTMLButtonElement | ✅ | |
loader | HTMLDivElement | ✅ | |
text | HTMLSpanElement | ✅ | |
icon | ApheleiaIcon | ✅ | |
iconLeft | ApheleiaIcon | ✅ | |
iconRight | ApheleiaIcon | ✅ |
Function | Parameteres | Types | Nullable | Description |
---|---|---|---|---|
updateState() | ||||
getAttributes() | ||||
setAttributes() | ||||
construct() |
- primary
- secondary
- tertiary
- ghost
- danger
- dropdown
- dropdownitem
- dropdownitemdanger
- inputnumber
- small
- medium
- large
- extraLarge
- custom
<aph-text-input></aph-text-input>
Attribute | Values | Html | Default | Description |
---|---|---|---|---|
type | ApheleiaTextInputType | type="" |
primary | The input type of the text input |
size | ApheleiaTextInputSize | size="" |
medium | The height of the input, with custom set a height using the HTML style attribute or CSS and a class |
id | string | id="" |
undefined | |
label | string | label="" |
undefined | |
requirement | string | requirement="" |
undefined | |
helper | string | helper="" |
undefined | |
placeholder | string | placeholder="" |
undefined | |
icon | ApheleiaSupportedIcon | icon="" |
undefined |
Element | Type | Nullable | Description |
---|---|---|---|
input | HTMLInputElement | ✅ | |
inputContainer | HTMLDivElement | ✅ | |
icon | ApheleiaIcon | ✅ | |
label | HTMLLabelElement | ✅ | |
requirement | HTMLSpanElement | ✅ | |
helper | HTMLSpanElement | ✅ |
Function | Parameteres | Types | Nullable | Description |
---|---|---|---|---|
updateState() | ||||
getAttributes() | ||||
setAttributes() | ||||
construct() |
- password
- search
- tel
- text
- url
- small
- medium
- large
- custom
<aph-number-input></aph-number-input>
Attribute | Values | Html | Default | Description |
---|---|---|---|---|
size | ApheleiaNumberInputSize | size="" |
ApheleiaNumberInputSize.medium | The height of the input, with custom set a height using the HTML style attribute or CSS and a class |
id | string | id="" |
undefined | |
label | string | label="" |
undefined | |
requirement | string | requirement="" |
undefined | |
helper | string | helper="" |
undefined | |
placeholder | string | placeholder="" |
undefined | |
minimum | number | minimum="" |
undefined | |
maximum | number | maximum="" |
undefined | |
step | number | step="" |
1 | |
readOnly | boolean | readonly |
false |
Element | Type | Nullable | Description |
---|---|---|---|
input | HTMLInputElement | ✅ | |
inputContainer | HTMLDivElement | ✅ | |
label | HTMLLabelElement | ✅ | |
requirement | HTMLSpanElement | ✅ | |
helper | HTMLSpanElement | ✅ | |
buttonRemove | ApheleiaButton | ✅ | |
buttonAdd | ApheleiaButton | ✅ |
Function | Parameteres | Types | Nullable | Description |
---|---|---|---|---|
updateState() | ||||
getAttributes() | ||||
setAttributes() | ||||
construct() |
- small
- medium
- large
- custom