chore: version packages#48
Merged
Merged
Conversation
|
Tip All tests passed and all changes approved!🟢 UI Tests: 27 tests unchanged |
This file contains hidden or 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
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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@code-sherpas/pharos-react@0.6.0
Minor Changes
5e62499: Add
Inputatom — the first form-control primitive in Pharos.Single chrome (no
variantaxis) with three sizes (sm | md | lg) whoseheights match the Button grid. Native HTML
<input>props pass throughunchanged. Error state is conveyed through the standard
aria-invalid="true"attribute, not a customerrorprop — the CSSreacts to the attribute, matching shadcn / Base UI / Mantine. Helper /
message text and the surrounding label are the consumer's responsibility
(Escuela 1 composition); a
<Field>molecule that encapsulates the fulllabel + control + message contract is planned for a later release.
Public API:
The Alexandria → Pharos mapping is documented in
NAMING-decisions.md.At adoption time, Alexandria's local
Input.tsxbecomes a thinField-style wrapper that renders
<PharosInput aria-invalid={...} />plus the existing
<FormFieldMessage>— the same incremental patternused for
Pill → Badge, so the 11 call-sites under@/web-application-src/common/components/form/Inputkeep their currentprop surface.
This release also normalises the resting border of every outlined
primitive to
--pharos-color-neutral-500, which clears WCAG 1.4.11(Non-text Contrast, 3:1 against the surface). Three components carry
the deliberate visual shift:
Input— lands atneutral-500from day one.Button intent="secondary"— wasneutral-200, nowneutral-500;hover no longer shifts the border tone (background change is
enough to express the state).
Badge variant="outline"— wasneutral-300, nowneutral-500.The cross-DS rationale, the contrast math, and the visual trade-off
live in
NAMING-decisions.mdunder "Cross-cutting: control borderintensity (WCAG 1.4.11)".