-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Input & Textarea): allow React Element as placeholder prop #3467
Merged
Conversation
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
tujoworker
changed the title
feat(Input & Textarea): allow React Element as placeholder
feat(Input & Textarea): allow React Element as placeholder prop
Apr 17, 2024
joakbjerk
approved these changes
Apr 17, 2024
tujoworker
force-pushed
the
feat/input-placeholder
branch
from
April 17, 2024 11:04
4da713a
to
e6eb5dd
Compare
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
tujoworker
pushed a commit
that referenced
this pull request
Apr 26, 2024
## [10.27.0](v10.26.0...v10.27.0) (2024-04-26) ### 🐛 Bug Fixes * **Card:** ensure 100% width does only apply when ScrollView is used ([#3450](#3450)) ([6dac9c6](6dac9c6)) * **Card:** use basis inner-space for small screens when `responsive=false` is set ([#3455](#3455)) ([9a2baea](9a2baea)) * **FormLabel:** remove undeclared `FormLabelText` type ([#3449](#3449)) ([3e4782b](3e4782b)) * **forms:** change Wizard default scroll behaviour to be active ([#3481](#3481)) ([f7b11cc](f7b11cc)) * **forms:** ensure proper `Iterate` data context and `filterData` support ([#3463](#3463)) ([d015bc8](d015bc8)) * **forms:** set focus on Wizard step change ([#3475](#3475)) ([265dade](265dade)) * **GlobalStatus:** Symmetric horizontal padding on smaller screens (Sbanken) ([#3454](#3454)) ([59576b2](59576b2)) * **Input:** hide placeholder by default on input focus (Sbanken) ([#3461](#3461)) ([5328210](5328210)) * **MultiInputMask:** prevent focus and blur from firing when navigating between inputs ([#3480](#3480)) ([bec1ffd](bec1ffd)) * **NumberFormat:** ensure support for screen reader "speak text under mouse" mode ([#3438](#3438)) ([93fbd1d](93fbd1d)) * **OrganizationNumber:** add missing full stop for `en-US` error messages ([#3465](#3465)) ([fd1cf10](fd1cf10)) * **Radio.Group:** replace margin spacing with Flex gap ([#3468](#3468)) ([33257b2](33257b2)) * **Selection:** filter out empty options from dropdown variant ([#3444](#3444)) ([60ac548](60ac548)) ### 📝 Documentation * **Checkbox:** update to typed docs ([#3439](#3439)) ([c849439](c849439)) * document all colors ([#3441](#3441)) ([03d7580](03d7580)) * **forms:** improve structure ([#3488](#3488)) ([a240239](a240239)) * **Portal:** properties table with colors and default value (progressive enhancement) ([#3471](#3471)) ([4f1c16c](4f1c16c)) ### ✨ Features * **Flex.Stack:** change default vertical spacing (gap) from small to medium (effects Card with stack as well) ([#3483](#3483)) ([7bf380f](7bf380f)) * **FormLabel:** add support for nested instances ([#3466](#3466)) ([f0cd388](f0cd388)) * **forms:** add `Iterate.Count` along with `Iterate.useCount` ([#3492](#3492)) ([f1574a2](f1574a2)) * **forms:** add `Iterate` view and edit container as well as animated container ([#3474](#3474)) ([6b68020](6b68020)) * **forms:** add `useValueProps` hook for handling Value components and their props ([#3498](#3498)) ([1a62545](1a62545)) * **forms:** add `Value.Composition` component ([#3494](#3494)) ([b7976ca](b7976ca)) * **forms:** add EditButton to Wizard ([#3445](#3445)) ([ec4a0a6](ec4a0a6)) * **forms:** add send variant prop to SubmitButton ([#3446](#3446)) ([17bea62](17bea62)) * **forms:** add support for GlobalStatus handling including custom `globalStatusId` ([#3457](#3457)) ([3fd0b96](3fd0b96)) * **forms:** release stable version ([#3043](#3043)) ([03b89b2](03b89b2)) * **forms:** rename useLocale to useTranslation ([#3447](#3447)) ([c223e0e](c223e0e)) * **Hr:** change color from black-80 to black-8 and add `dashed` line option ([#3490](#3490)) ([8142182](8142182)) * **Input & Textarea:** allow React Element as placeholder prop ([#3467](#3467)) ([2bbd24b](2bbd24b)) * **Input:** refactor and correct border outline ([#3440](#3440)) ([6a96665](6a96665)) * **Iterate:** deprecate `ArrayPushButton` in favor of `PushButton` and deprecate `ArrayRemoveElementButton` in favor of `RemoveButton` ([#3478](#3478)) ([e5145d4](e5145d4)) * **ProgressIndicator:** refactor to TypeScript and camelCase props ([#3458](#3458)) ([4fa895f](4fa895f)) * **Tabs:** add `breakout` prop for Tabs ([#3384](#3384)) ([48882cb](48882cb)) * **Typography:** Replace inline font with font files (Sbanken) ([#3459](#3459)) ([97d060d](97d060d)) * **useTranslation:** add support for custom translations and `formatMessage` method ([#3442](#3442)) ([d3c4ec4](d3c4ec4)), closes [#3271](#3271) * **Visibility:** add `keepInDOM` prop ([#3495](#3495)) ([b750588](b750588))
🎉 This PR is included in version 10.27.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.