Releases: ferpection/uikit
Releases · ferpection/uikit
Release v1.0.0
Added
- UiKit components provide new attributes to let developes override their strings.
It can be used to customize the components or to translate it.
For examples, look at theDatePickerField
documentation page.
Changed
- [BREACKING] UiKit now uses React v17
- [BREACKING] UiKit now uses EmotionJS v11
- [BREACKING] UiKit now uses Typescript v4.2
Removed
- [BREACKING] No more translation in UiKit sourcecode. All the strings will be
render as English.UiKitInitializer
doesn't accept your i18n library intance anymore.
We added new way of handling translation, see the Added section.
Release v0.12.1
Fixed
- Fixed a typo in
RadioButton
's styles. Actually, used the right level of index forRadioButton
's child element. - Fixed a rendering bug with emotionjs styled component used as child of
OneBlockStack
Release v0.12.0
Added
- New icon for FerpectionBadgeIcon
Fixed
- Used the right level of index for
RadioButton
's child element - Make the OneBlockStack component support other styles from child div tags.
Release v0.11.1
Fixed
- Fix CD for GitHub release
- Apply linting rules
Release v0.11.0
Added
- UiKit supports
zh_HANS
locale.
Release v0.10.0
Added
- It is possible to customize how the
CheckboxButton
and theRadioButton
looks using a
newactionType
attribute. Works like the same attribute onButton
component w/ three
states: "action", "positive" and "negative". - New
OneBlockStack
component to group UiKit's form fields as one big component. - UiKit package stores common sass files. Endpoint to access them is
@ferpection/uikit/sass/[...].scss
.
Fixed
- Resolve an issue that hide the hover effect of the
CheckboxButton
and
theRadioButton
in some cases - Make the calendar popin appear on top of other UI elements.
Release v0.9.0
Added
- A hook called
useSamenessNumberState
allows to a "string
state" contain only
a number. This is usefull for someinput
tags whichvalue
is only astring
but
should represent a number (e.g. a price, a quantity). - It is possible to modify the styles of almost every components using emotionjs.
TextField
andMarkdownField
components emitonSelect
event to allow work on text selection.- A new button on
MarkdownField
's panel will show an help about markdown syntax to users.
Changed
- Use numbers for short version of the days' names in chinese.
- Enforce numbers as value for
TextField
whendataType
is equal tonumber
.
value
attribute still is astring
.
Removed
TextField
doesn't test ifvalue
is anumber
whendataType
is equal tonumber
.
This is due touseSamenessNumberState
which ensure that the value contains anumber
.
Fixed
- Make the calendar icon/button appear on top of the
DatePickerField
's input even when the error
message is longer than the field. - Fix a typo on the previous button of the
DatePickerField
in chinese version. - Disable
MarkdownField
's button when there are no text selected.
Release v0.8.0
Added
- UiKit supports
zh_HANS
locale
Release v0.7.2
Fixed
- Force box-sizing on
DatePickerField
to avoid being broken on other projects.
Release v0.7.1
Fixed
- The calendar button of
DatePickerField
is also disabled when the field is.