-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEAT: Added field warning component to all fields (#2698)
* feat: added field warning component to all fields * fix: update dependencies * Update .changeset/fair-cooks-press.md Co-authored-by: Carlos Cortizas <97907068+CarlosCortizasCT@users.noreply.github.com> * fix: deprecate render default warning function * fix: fix date range border issue * Update packages/components/fields/date-field/src/date-field.visualroute.jsx Co-authored-by: Carlos Cortizas <97907068+CarlosCortizasCT@users.noreply.github.com> * Update packages/components/fields/multiline-text-field/src/multiline-text-field.visualroute.jsx Co-authored-by: Carlos Cortizas <97907068+CarlosCortizasCT@users.noreply.github.com> * Update packages/components/fields/date-time-field/src/date-time-field.visualroute.jsx Co-authored-by: Carlos Cortizas <97907068+CarlosCortizasCT@users.noreply.github.com> * Update packages/components/fields/money-field/src/money-field.visualroute.jsx Co-authored-by: Carlos Cortizas <97907068+CarlosCortizasCT@users.noreply.github.com> * Update packages/components/fields/localized-multiline-text-field/src/localized-multiline-text-field.visualroute.jsx Co-authored-by: Carlos Cortizas <97907068+CarlosCortizasCT@users.noreply.github.com> * Update packages/components/fields/localized-text-field/src/localized-text-field.visualroute.jsx Co-authored-by: Carlos Cortizas <97907068+CarlosCortizasCT@users.noreply.github.com> * Update .changeset/fair-cooks-press.md Co-authored-by: Kacper Krzywiec <49066275+kark@users.noreply.github.com> * fix: keep the hasWarning prop in select fields * fix: update jsdoc of select fields components * fix: undo all deleted hasWarning spec * fix: fix time input border color precedence --------- Co-authored-by: Carlos Cortizas <97907068+CarlosCortizasCT@users.noreply.github.com> Co-authored-by: Kacper Krzywiec <49066275+kark@users.noreply.github.com>
- Loading branch information
1 parent
cb410cd
commit d263f01
Showing
106 changed files
with
3,899 additions
and
3,013 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
'@commercetools-uikit/localized-multiline-text-field': minor | ||
'@commercetools-uikit/async-creatable-select-field': minor | ||
'@commercetools-uikit/selectable-search-input': minor | ||
'@commercetools-uikit/creatable-select-field': minor | ||
'@commercetools-uikit/localized-text-field': minor | ||
'@commercetools-uikit/multiline-text-field': minor | ||
'@commercetools-uikit/search-select-field': minor | ||
'@commercetools-uikit/async-select-field': minor | ||
'@commercetools-uikit/date-range-field': minor | ||
'@commercetools-uikit/date-time-field': minor | ||
'@commercetools-uikit/password-field': minor | ||
'@commercetools-uikit/number-field': minor | ||
'@commercetools-uikit/select-field': minor | ||
'@commercetools-uikit/money-field': minor | ||
'@commercetools-uikit/radio-field': minor | ||
'@commercetools-uikit/collapsible-panel': minor | ||
'@commercetools-uikit/date-field': minor | ||
'@commercetools-uikit/text-field': minor | ||
'@commercetools-uikit/time-field': minor | ||
--- | ||
|
||
We've included a new property in all `*Field` components so consumers can not only render errors (below the input) but also warnings. | ||
The main difference between them is the color used for the text. | ||
|
||
Please take a look at the README files of the fields components to learn how to use this new property. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
d263f01
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ui-kit – ./
ui-kit-git-main-commercetools.vercel.app
ui-kit-five-rho.vercel.app
uikit.commercetools.com
ui-kit-commercetools.vercel.app