Releases: jpmorganchase/salt-ds
@salt-ds/[email protected]
Minor Changes
-
d78ff53: Added @salt-ds/styles and @salt-ds/window packages
These packages are introduced to support uses of Salt in a desktop application where pop-out elements such as tooltips are rendered into separate windows with no previously added CSS.
The insertion point where useComponentCssInjection inserts styles can be controlled via InsertionPointContext
@salt-ds/[email protected]
Minor Changes
-
9d68637: Moved form-field-next and form-field-context-next to core as form-field and form-field-context
FormField
: First version of Form Field built with a compositional API by providing the following components alongside:
FormFieldHelperText
: Helper text component
FormFieldLabel
: Form label component (compatible with left and top placement)
FormFieldControlWrapper
: Styling container for controls used within Form FieldFormFieldContext
,useFormFieldProps
: Context and hook for inner controls to respond to disabled, readonly, and validation state on the parent Form Field -
22c626e: Breaking change
Rename
Input
toInputLegacy
All API tokens with--saltInput-
prefix changed to--saltInputLegacy-
prefix -
bf5a944: Breaking change
Rename
FormField
toFormFieldLegacy
All API tokens with--saltFormField-
prefix changed to--saltFormFieldLegacy-
prefix -
eb3db91: Removed
startAdornment
andendAdornment
props fromInputNext
. Props will be added back once adornments come in v2Moved input-next to core as input
Input
: First version ofInputNext
renamed to Input- All tokens prefixed
--saltInputNext-
changed to prefix--saltInput-
Moved status-adornment to core
StatusAdornment
: Component to be used for validation status indication - All tokens prefixed
-
24f44d8: Add docs for InputNext
-
3e6441d: Nav Item
Nav Item allows you to compose Navigation patterns.
<NavItem active parent expanded href="#" onExpand={(event) => {}}> Nav Item </NavItem>
-
c82a39a:
FormFieldNext
tests
Added backa11yValueAriaProps
type fora11yProps
inFormFieldContextNextValue
Addedid={a11yProps?.["aria-describedby"]}
to helper text
Addedid={a11yProps?.["aria-labelledby"]}
to label -
95a360b:
InputNext
:InputProps
interface changed to extendOmit<ComponentPropsWithoutRef<"div">,"defaultValue">, Pick<ComponentPropsWithoutRef<"input">, "disabled" | "value" | "defaultValue">
ref
prop moved to target container div: for direct ref on input component, use newinputRef
prop -
d78ff53: Refactored all components to use new style injection mechanism provided by
@salt-ds/styles
Patch Changes
@salt-ds/[email protected]
@salt-ds/[email protected]
Minor Changes
- af22b75: DropdownCellEditor accepts read-only array
@salt-ds/[email protected]
Patch Changes
- cc1f2d4: Bump countries version to fix package publishing
@salt-ds/[email protected]
Minor Changes
-
58c6699: Input:
aria-describedby
is now merged between the value from Form Field context if present and the value from inputProps -
bf5a944: Updated
RadioButtonGroup
to use renamed token fromFormFieldLegacy
-
9d68637: Moved form-field-next and form-field-context-next to core as form-field and form-field-context
FormField
: First version of Form Field built with a compositional API by providing the following components alongside:
FormFieldHelperText
: Helper text component
FormFieldLabel
: Form label component (compatible with left and top placement)
FormFieldControlWrapper
: Styling container for controls used within Form FieldFormFieldContext
,useFormFieldProps
: Context and hook for inner controls to respond to disabled, readonly, and validation state on the parent Form Field -
eb3db91: Removed
startAdornment
andendAdornment
props fromInputNext
. Props will be added back once adornments come in v2Moved input-next to core as input
Input
: First version ofInputNext
renamed to Input- All tokens prefixed
--saltInputNext-
changed to prefix--saltInput-
Moved status-adornment to core
StatusAdornment
: Component to be used for validation status indication - All tokens prefixed
-
d78ff53: Refactored all components to use new style injection mechanism provided by
@salt-ds/styles
Patch Changes
- 46af9f8: Move Banner to core
@salt-ds/[email protected]
Patch Changes
- 123daf6: Fix inconsistent uitk ag-grid theme menu padding across densities
@salt-ds/[email protected]
Minor Changes
-
4bd407b: Fix Tabstrip crashing when
activeTabIndex
is set to null -
3aba7cc: Fixed id in
FormFieldNext
, and ids inFormFieldLabel
andFormFieldHelperText
from useFormFieldPropsNext
Deleteda11yValueAriaProps
, replaceda11yProps
type withA11yValueProps
inFormFieldContextNext
-
e7230ad: Added
textAlign
prop toInputNext
with possible configurations: "left" (default), "right", "center" -
2d63d30: Changes to Form Field and Input CSS:
- fixes background color when disabled
- fixes cursor on helper text
- fixes activation indicator width on active state
- usage of
grid-template-areas
Removes CSS API variables:
- --saltInputNext-borderColor-active - --saltInputNext-borderColor-hover - --saltInputNext-borderColor-focused - --saltInputNext-borderWidth - --saltInputNext-borderStyle - --saltInputNext-borderRadius - --saltInputNext-cursor
Patch Changes
- 922b1fb: Updated Banner to use the new spacing foundation
@salt-ds/[email protected]
Minor Changes
-
b6f304f: Added size tokens
+ --salt-size-adornment + --salt-size-bar + --salt-size-selectable + --salt-size-icon
--salt-size-base
changed from a calculation on the basis unit to hardcoded values per density
--salt-size-border
defined as 1px per density rather than set globally -
e8b146a: Add new spacing tokens and a spacing foundation.
--salt-spacing-25 --salt-spacing-50 --salt-spacing-75 --salt-spacing-100 --salt-spacing-150 --salt-spacing-200 --salt-spacing-250 --salt-spacing-300 --salt-spacing-350 --salt-spacing-400
Patch Changes
- 1e9ef1a: Fix duplicate Salt libraries being installed when multiple libraries are installed
@salt-ds/[email protected]
Patch Changes
- 1e9ef1a: Fix duplicate Salt libraries being installed when multiple libraries are installed