SATS ui-libVersion: 75.5.0

Changelog

Version 75.5.0
- Adds variants to TextInputand Select.
- Adds input as font size.
Version 75.4.2
- Fixes pipeline
Version 75.4.0
- Updates README
- Updates Light, Dark and Primitives
Version 75.3.2
- Fixes CTA Button text design
Version 75.3.1
- Makes font color of Sats and Elixia anniversary logos dynamic
Version 75.3.0
- Adds light versions of 30 year anniversary logos for Sats and Elixia
Version 75.2.1
- Change TextInput and Search input font sizes to custom sizes.
Version 75.2.0
- Upgrade to React v19. Keeps support for React v18.
Version 75.1.0
- Makes a Collapse component and removes the react-tiny-collapse dependency
Version 75.0.0
- Updates Select component design partially
BREAKING
- icon prop removed from Select
Version 74.2.1
- Updates package.json
- Removes deprecated APIs
Version 74.2.0
- light, dark and primitive colour updates
- Font sizes split into tokens to use in various places
- VisuallyButton design fixes
- TextInput design fixes
- Checkbox design cleanup for future line height change
- Updates Search font sizing to use font-sizes tokens
Version 74.1.2
- Fixes VisuallyButton text horizontal centring
Version 74.1.1
- Fixes VisuallyButton text not being centred when multiple buttons are side by side and one has text
BREAKING
onto a new line
- Fixes Button type for ToolBox's click area
Version 74.1.0
- Adds the labelPosition property to Select
Version 74.0.2
- Hotfix selectOption type
Version 74.0.1
- Hotfix select type
Version 74.0.0
- Updates dependencies
BREAKING
- Converts any types.
Version 73.1.0
- Removes the usage of lightmode and darkmode from all components in favour of light.
Version 73.0.0
- VisuallyButton colours moved to light instead of lightmode
- VisuallyButton new prop trailingIcon and hasStackedIcon
- light & dark colour updates
BREAKING
- VisuallyButton icon prop name renamed to leadingIcon to account for the new trailingIcon
Version 72.7.2
- Again refactors away Sass' transparentize
> This means that [...] transparentize() [...] will be removed.
>
> – https://sass-lang.com/documentation/
BREAKING
-changes/color-functions/#single-channel-adjustment-functions
Version 72.7.1
- Fixes ContextMenu design bugs & updates docs
Version 72.7.0
- Updates ContextMenu to latest colours, adds smallDescription prop and adds destructive theme to items
Version 72.6.3
- Fixes ChipSelected design
- Fixes sticky buttons and header on Modal
Version 72.6.2
- Refactors away Sass' transparentize
> This means that [...] transparentize() [...] will be removed.
>
> – https://sass-lang.com/documentation/
BREAKING
-changes/color-functions/#single-channel-adjustment-functions
Version 72.6.1
- Fixes scrolling in Modal
Version 72.6.0
- Adds hiddenLabel to TextInput
Version 72.5.1
- Fixes width of Modal on smaller content.
Version 72.5.0
- New optional labelAlignment prop on ProgressBar.
Version 72.4.3
- Fixes overlapping title and button on Modal.
Version 72.4.2
- Fixes onClick handling of Modal action buttons.
- Updates title header theme for Modal
- Fixes spacings on Modal
Version 72.4.1
- Fixes hover colors for Chip.
Version 72.4.0
- Modal: New prop actions, a list of Button and/or LinkButton. If it's included, it moves the close button to top right on small screens.
- Modal: Sets title as optional prop as per spec
- Modal: Changes close button variant
Version 72.3.0
- Fixes double underline bug for ContextMenu
- Adds new positions for ContextMenu
- Adds new colours to light, dark and primitives
Version 72.2.1
- Fixes text theme for Chip.
Version 72.2.0
- Update design of Chip. Adds isSelected prop.
Version 72.1.1
- Removes use of defaultProps.
Version 72.1.0
- More UI options for Toggle
- labelPosition and spaceBetween controls for Toggle docs
Version 72.0.0
- Updates context-menu to support buttons
BREAKING
- Renames the type Button to Form. The type Button is still in use for buttons.
Version 71.3.0
- Add new position for context menu
Version 71.2.0
- Updates colours
- Fixes sass warnings
Version 71.1.1
- Fixes Search buttons layout
Version 71.1.0
- Design changes to Toggle.
- Adding optional labelPosition to Toggle types.
Version 71.0.0
- Updates FormContentcomponent to be top aligned.
BREAKING
- Removes alignments from FormContent.
Version 70.6.0
- Design changes to Form Content
- Design change to Search
Version 70.5.0
- Updates light, dark and primitives
- Removes max width from TextArea
Version 70.4.0
- Design changes to FormContent component.
- Fixes max width of TextArea
- Fixes character count of TextArea
- Loading states before isMounted on Search and Filter
Version 70.3.0
- Adds destructive variants of primary, secondary and tertiary for VisuallyButton
Version 70.2.1
- Fixes padding on tertiary icon variant of VisuallyButton when it is disabled.
Version 70.2.0
- Removes automatic defaultOpen on ExpanderListItem when only one item in list.
Version 70.1.0
- Adds additional input props to HiddenInput component.
Version 70.0.1
- Fixes aria-label on Search not showing despite hiding label.
Version 70.0.0
- Removes optional id for Expander button
- Updates Expander design
Version 69.3.0
- Adds themes and variants to Flag to align with Figma.
Version 69.2.0
- Adds an optional id to Expander button
Version 69.1.1
- Use React.createElement instead of JSX-syntax in Expander
Version 69.1.0
- Fixes text truncating on placeholder in Search component
- Adds animation to expandable in Search component
Version 69.0.1
- Minor fixes on Search component
Version 69.0.0
- Updates Search component to align with Figma.
BREAKING
- Removes clearAllAriaLabel and replaces it with clear on Search, type changes from string to Button. This affects Search, Filter, DropdownList and FilterWrapper.
Version 68.2.0
- Adds fixed background to Link component
- Updates colours
- Adds fixedTertiary variant to VisuallyButton component
Version 68.1.0
- Adds MessageField component
Version 68.0.0
- TextArea design updated to reflect Figma
BREAKING
- label is required on TextArea. If the label needs to be hidden, a new isLabelVisible prop can be used which swaps the visible label with an area-label.
Version 67.2.0
- Expander can have links
Version 67.1.0
- Fixes design of DropdownList component for a11y and slight design update to match Figma.
- Adds new colours to Light and Dark
Version 67.0.0
- Adds role="dialog" to Confirmation for accessibility.
BREAKING
- Adds required ariaLabel prop to Confirmation for accessibility.
Version 66.1.0
- Updates Tag component to reflect new design.
Version 66.0.0
- Updates Expander to use Badge istead of Tag
BREAKING
- Type of value on Expander changed from string to number
Version 65.2.0
- Adds a Badge component
Version 65.1.1
- Resolve Confirmation class name collision.
Version 65.1.0
- Updates Link component to reflect Figma. Includes a new size and variant prop.
Version 65.0.1
- Modal no longer swallows events
Version 65.0.0
- light and dark colour updates and additions. For full changelog see [Figma]("https://www.figma.com/file/WzKCwRY09zn4rzRVfY0YvdRt/sats-ds-styles?type=design&node-id=9692%3A25427&mode=design&t=eYfOogWPi8YGRQkW-1")
BREAKING
- buttons-action-* colours moved to on-buttons-on-action-*
- buttons-link-* colours moved to on-buttons-on-link-*
- ge-indicator-tags-* changed to include default and alternate
- on-ge-on-indicator-tags-* changed to include default and alternate
Version 64.0.0
- Modal close button size changes
BREAKING
- Modal now automatically close when you click outside.
Version 63.0.1
Updates light and dark colours.
Version 63.0.0
Prevents accidentally using Expander without itemRenderer.
- Expander<T> type no longer has an optional itemRenderer
BREAKING
- Expander component requires itemRenderer
Version 62.0.0
- Light and Dark colour updates
- New primitives colours
- Moves colour sources from /colours/ to /colour-sources/
BREAKING
#### Light & Dark
- *-delete-* renamed to *-destructive-*
- $on-buttons-on-delete-alternate-* renamed to $on-buttons-on-destructive-outlined-*
- $on-buttons-on-waiting-list-secondary-* renamed to $on-buttons-on-waiting-list-outlined-*
- All fixed surface and background colours moved to a new category $fixed-*
- All on-fixed surface and background colours moved to a new category $on-fixed-*
- All $ge-selector-* variables renamed to include primary and secondary
- $buttons-waiting-list-secondary-default renamed to $buttons-waiting-list-outlined-default
- $buttons-waiting-list-secondary-disabled renamed to $buttons-waiting-list-outlined-disabled
- $buttons-waiting-list-secondary-hover renamed to $buttons-waiting-list-outlined-hover
- $ge-selector-indicator-icon has been renamed to $on-ge-on-selector-primary-selected-default
Version 61.0.0
- Modal updated to be more spec compliant
BREAKING
- Modal requires title
- Modal's backgrounColor is removed
Version 60.3.1
- Left aligns Expander's trigger text
Version 60.3.0
- If only one item in Expander, have it open by default
Version 60.2.0
- This adds blue theme to Checkbox.
Version 60.1.1
- When an Expander is a faq, itemProp=answerText is now itemProp=text
Version 60.1.0
- VisuallyButton variant tertiary matches design with no padding on sides
Version 60.0.0
- VisuallyButton variant link changed colour
- New Primitives, light and dark colours
BREAKING
- Some dark & light colours change names
Version 59.3.0
- VisuallyButton now accepts an optional test ID (prop testId)
Version 59.2.2
- Expander's trigger is now transparent in its resting state, as designed
Version 59.2.1
- Checkbox now sets required on the rendered input, instead of never setting required (since !14285)
Version 59.2.0
- Confirmation now acceps children, and the text prop is optional.
Version 59.1.1
- Fixes typing of title in Expander and ExpanderListItem
Version 59.1.0
- Adds new component Banner
Version 59.0.1
- italic now works as expected on Text with variant normal
Version 59.0.0
- Button can now be variant complete
- Text is now considerably closer to the design system's typography
BREAKING
- Text props
- size heading1 renamed to headline1
- size heading2 renamed to headline2
- size heading3 renamed to headline3
- theme headline-italic removed
- theme normal-italic removed
- italic added
Version 58.3.0
- Updates Expander to better match its design
- Adds Tag
Version 58.2.0
- Fixes light and dark imports.
- Adds optional testId prop to Toggle component
Version 58.1.1
- Fixes Toggle input click area for a11y programs
Version 58.1.0
- Removes unneeded type restriction of T on Expander<T>
Version 58.0.0
- Fixes colour import for expander.scss.
BREAKING
- Hides Colours folder from NPM package.
- Clarifies the usage of tokens/light and tokens/dark.
### Depricated:
lightmode and darkmode are now depricated. In a future update they will be removed. This is to give the consumers time migrate to the new system in a timely fashion.
Version 57.0.0
BREAKING
- Expander reworked to match design rules, and has new props that should be nicer to use
- Expander List Item no longer exposed (it was never intended to be used directly)
Version 56.0.0
BREAKING
- Removes icons
Use [@sats-group/icons](https://www.npmjs.com/package/@sats-group/icons) instead.
Version 55.2.0
- Adds optional description prop to Expander
Version 55.1.0
- Adds multiple 36x36 icons Icons
- Updated Activity-Filled icons for size 18, 24, 28, and 32
Version 55.0.0
NEW
- Expander component
- Text can now be tight (without margins)
### FIXED
- Token groups dark and light can be referenced
###
BREAKING
- ExpanderGroup is now Expander
- Expander props match the design more closely
Version 54.0.0
- Adds support for node 20
BREAKING
- Removes support for node 16
Version 53.10.0
- Adds npm v10
Version 53.9.0
- Changes height and radius of ProgressBar to 4px.
Version 53.8.0
- Adds new primitives.scss, light.scss and dark.scss colour tokens.
- Adds new colour codegen for light.scss and dark.scss
Version 53.7.1
- Render body in Expander
Version 53.7.0
- Add Expander and ExpanderGroup.
Version 53.6.0
- Link component now accepts prop 'testId'
Version 53.5.0
- Text component font size clamp adjusted on smaller text sizes
Version 53.4.1
- Adds display: flex and flex-direction: column to Radio --underline
Version 53.4.0
- Adds Toolbox component
Version 53.3.0
- Adds 40x40 avatar-subtract icon
Version 53.2.0
- Adds asterisk on Checkbox when marked as required
Version 53.1.0
- Updates Icons
- Adds a11y tests to icon docs page
Version 53.0.0
- Adds new icon set
BREAKING
- Removes CTABanner
- Removes InfoBox
- Renames icons: treatment is now treatments
Version 52.1.3
- Updates README
Version 52.1.2
- Fix pipeline
Version 52.1.1
- Fix pipeline
Version 52.1.0
- Publishing ui-lib to public registry
Version 52.0.0
- Updates all lightmode and darkmode tokens
- Fixes fill color on s-avatar and e-avatar logos
Version 51.6.0
- Adds s-avatar and e-avatar logos
Version 51.5.0
- Add new font Inter-ExtraBold
- Change Inter Emphasis Heading 1,2,3 from SemiBold (600) to ExtraBold (800)
Version 51.4.0
- Removes hover effect on VisuallyButton
Version 51.3.2
- Fixes Modal height on iphone devices
Version 51.3.1
- Fixes ContextMenu text color on dark backgrounds
- Fixes ContextMenu header position when there is no description
Version 51.3.0
- Adds PrimaryWhite variant for VisuallyButton
Version 51.2.0
- Fixes Modal background on mobile
- Adds GX color to lightmode and darkmode
Version 51.1.3
- ContextMenu added testId prop to list items.
- ContextMenu changed hover background color to match Figma
- ContextMenu changed title size to match Figma
- Chip icon left aligned and changed to close icon to match Figma
- VisuallyButton border width changed to 1.7px
Version 51.1.2
- Adjust minimum font-size for both normal and italic headline 1.
Version 51.1.1
- Fixes spacing around Radio
Version 51.1.0
- Updates logos.
Version 51.0.0
- Adds the dialog role, id and aria-label to Modal, for accessibility.
BREAKING
Modal now requires id and ariaLabel
Version 50.2.0
- Exports icon names
Import them like this:
`ts
import { iconNames16 } from '@sats/ui-lib/react/icon/icon.names.16';
`
Version 50.1.1
- New Sats and Elixia small logos.
Version 50.0.1
- Fixes ContextMenu close button variant
- Fixes ContextMenu list item icon color
Version 50.0.0
- Updates icons
- All icons, except avatar-subtract, now exist in sizes 16px, 18px, 24px, 28px and 32px
BREAKING
Some icons have been renamed.
- video -> video-filled
- pt -> pt-label
- checkbox -> booked
- 28px bell -> notifications
- 32px notification -> notifications
- menu -> web-menu
- gym class -> GX
- class -> cycling
Version 49.1.1
- Fixes modal width of ContextMenu
Version 49.1.0
- Adds ContextMenu component
- Adds HiddenInput component
Version 49.0.0
- New VisuallyButton, Button and LinkButton variant tertiary
- New VisuallyButton, Button and LinkButton variant secondaryWhite
- Changed VisuallyButton, Button and LinkButton hover background color for secondary, ctaSecondary and waitlistSecondary
- Changed VisuallyButton, Button and LinkButton text transformation uppercase to capitalize on all buttons except CTA variants.
- Changed VisuallyButton, Button and LinkButton text themes to reflect Figma changes.
BREAKING
- Migration guide for VisuallyButton, Button and LinkButton can be found in Figma.
- Changed VisuallyButton, Button and LinkButton variant names to camelCase
- New VisuallyButton, Button and LinkButton size basic to replace size small.
- New VisuallyButton, Button and LinkButton size small
- New default size for VisuallyButton, Button and LinkButton set to basic
Version 48.0.1
- Updates Typescript package
Version 48.0.0
- Linting cleanup in various components.
BREAKING
- Removes hasError prop from Search component
- Removes extra and showCustomError props from Toggle component
Version 47.1.0
- Adds Icon component
Version 47.0.0
- Updates SVG of most icons
- Adds StudioMarkerBg, StudioMarkerElixia and StudioMarkerSats icons
BREAKING
- Removes AvatarIntersect icon
- Removes StudiosMarkerElixia and StuidoMarkerSats icons
- Renames Video1 icon to VideoFilled
- Renames Pt1 icon to ptLabel
Version 46.0.0
BREAKING
Removes components:
- ContentInformation
- Testimonial
- Voucher
Version 45.2.0
- Adds "required"-attribute for TextArea and Select
Version 45.1.0
- Adds Confirmation component
Version 45.0.0
- New icon set, fresh export of all icons from Figma
BREAKING
Deletes icons:
- 120/avatar.svg
- 160/avatar.svg
- 28/qr.svg
- 32/addfilled.svg
- 32/addoutlined.svg
- 32/help.svg
- 32/homefilled.svg
- 32/homeoutlined.svg
- 32/profilefilled.svg
- 32/profileoutlined.svg
- 32/searchoutlined.svg
- 32/workoutsfilled.svg
- 32/workoutsoutlined.svg
- 36/qr.svg
- 32/watilist-book.svg
- 42/back.svg
- 56/add-circle.svg
- 60/check.svg
- 60/waitlist.svg
- 80/avatar.svg
Version 44.0.3
- Primary colour in lightmode has changed to the correct HEX value.
Version 44.0.2
- Use the Text component in Link to ensure the correct font size
Version 44.0.1
- Fixes width of Modal component
Version 44.0.0
- Redesign Modal according to new design. Adds backgroundColor as a prop.
BREAKING
- Modal can no longer be persistent, it needs a close button
- Modal do no longer accept size and theme as props
Version 43.4.3
- Fixes css for TextInput of type time and date on partially supported browsers.
Version 43.4.2
- Fixes sticky hover bug on all hover states
Version 43.4.1
- Fixes hover bug for touch screens on Chip
Version 43.4.0
- Adds hover state on Chip
Version 43.3.0
- Updates Icon
- 24: <Calendar />
Version 43.2.0
- Adds Icons
- 36: <Clubs />
- 36: <Gx />
- 36: <Pt />
- 36: <Satsonline />
Version 43.1.1
- Fixes TabTrapper types. Needed for TypeScript 5.
Version 43.1.0
- Adds support for npm 9
Version 43.0.0
- Adds required label to Search
Version 42.4.3
- Fixes Select label size, margin and font weight
Version 42.4.2
- Fixes TextInput label size, margin and font weight
Version 42.4.1
- Fixes FilterWrapper classname breakpoint
Version 42.4.0
- Adds optional testTags prop to Filter
Version 42.3.0
- Long titles in Filter break onto two lines and left align
- Adds <FilterWrapper /> component for lists of Filter
Version 42.2.0
- Adds support for RadioList in Filter
Version 42.1.0
- Adds mini as an option for Message
Version 42.0.0
- Cleanup of FormContent, Filter and DropdownList and its sub components.
- FormContent doc cleaned up.
BREAKING
- Filter, DropdownList & FormContent:
- Removes children.
- Adds keys to choose modal content with.
- Limits content of component to range, checkboxList and radioList.
Version 41.0.0
- Cleanup of FormContent and its sub components.
BREAKING
- Filter & DropdownList: Splits Search into its own sub component FormContentSearch.
- Search component utilises onChangeFunc instead of onChange
Version 40.0.0
- Minor design improvements to TextArea
BREAKING
- Removes HasMovingLabel from TextArea
Version 39.3.2
- Change line-height for all headings to 1.1.
Version 39.3.1
- Adds safety to string matching in Filter and DropdownList search.
Version 39.3.0
- Search component font size fixed on smaller screen
- TextInput design updates
Version 39.2.0
- Adds theme prop to DropdnowList
- Fixes background color on DropdownList
Version 39.1.0
- New Corner-radius size xs at 4px
- Fixes background of DropdownList
Version 39.0.1
- Fixes Search component value & clear button
- Fixes DropdownList header size
Version 39.0.0
- Fixes missing spacing on long title for Filter
BREAKING
- Deletes SharedDropdown component and merges it into the parent components Filter and DropdownList
Version 38.2.2
- Fixes box-sizing and width of selected option for Filter
Version 38.2.1
- Fixes padding and size of selected options for Filter
Version 38.2.0
- Margin top for extra in Checkbox
Version 38.1.0
- Size small on Button in Message component.
- Fixes to Button variant on dark CTA Banner.
- Border on all VisuallyButtons. Subtracted from padding to ensure similar sizes across variants.
Version 38.0.0
- Slight design change for Filter component.
- Fixes FormContent checkbox category disabled view.
- Changed FormContent submit button theme
BREAKING
- Removes description from filter component
Version 37.2.0
- Fixes width of Search component.
- Adds Filter icon.
Version 37.1.0
- Adds Icons
- 32: <Award />
- 32: <Calendar />
- 32: <Notification />
- 32: <Profile />
Version 37.0.0
BREAKING
- Makes size small default on VisuallyButton. Affects LinkButton and Button
Version 36.1.0
- Changes padding on small buttons for VisuallyButton according to new design
Version 36.0.0
- Fixes Search component's design.
BREAKING
- Changes Search component's size attribute to inputSize due to a conflict with input element's default size attribute.
Version 35.0.7
- Version bump due to pipeline
Version 35.0.6
- Fixes Logo Docs page
- Fixes DocControls component's viewport on smaller screens
- Edits Contribution.md file
- Adds DocControls to Contribution page
Version 35.0.5
- Adds missing VisuallyButtons from docs page
Version 35.0.4
- Redesigns ui-lib website. Bumps version
Version 35.0.3
- Fixes Filter modal not displaying on some versions of ipad
Version 35.0.2
- Always center align text on VisuallyButton
Version 35.0.1
- Fixes loading icon going out of bounds on VisuallyButton
Version 35.0.0
- Updates styles of cta, primary, secondary for VisuallyButton
- New variants of VisuallyButton
- waitlist
- waitlist-secondary
- cta-secondary
- cta-secondary-white
- Adds new colors to lightmode
- ui-pressed
- waitlist
- waitlist-hover
- waitlist-disabled
BREAKING
- Removes variants Ghost & Text from VisuallyButton
Version 34.0.2
- Fixes Text theme normal-italic to be normal weight
Version 34.0.1
- Fixes Text theme headline-normal to be normal.
Version 34.0.0
- Text component has a new theme normal-italic
- New font added Inter-Italic
- Fixes Bomb's price text with new text theme
- Fixes CtaBanner's price text with new text theme
BREAKING
- Text theme headline-normal has new weight and size
- Text theme headline-emphasis has been renamed to headline-italic and has new sizes
Version 33.5.1
- Fixes stroke not being currentColor in creditcard icon
Version 33.5.0
- Adds Delete icon
Version 33.4.0
- Adds <Search /> component
- Adds Remove icon
Version 33.3.0
- Updates color ui-border
Version 33.2.0
- Support node 18
Version 33.1.0
- Fixes Checkbox disabled text color
- Adds Icons
- 24: <Close />
- 32: <CreditCard />
- 32: <Invoice />
Version 33.0.3
- Close dropdown when the submit button is clicked
Version 33.0.2
- Puts theme-normal and size-basic back to css
Version 33.0.1
- Adds themes to Button
Version 33.0.0
BREAKING
- Adds basicas default size on Text component
Version 32.3.0
- Adds ProgressBar
Has:
- cta variant
- dark theme
- several labelPositions.
- Optional label
Version 32.2.0
- Adds new 120 icon <Avatar />
- Adds use-message hook
- Adds new 120 icon <Avatar />
Version 32.1.3
- Changes VisuallyButton corner radius to reflect new design
Version 32.1.2
- Removes border-radius on modal in FormContent when on mobile
- Changes Radio description color to reflect design
- Fixes spacing in DropdownList to reflect design
Version 32.1.1
- Cleans up unused imports
- Prevents checkboxs from shrinking
- Small visual fixes to form-content
- Loweres the max-height of popup modal
- Set a higher breakpoint for smaller screens
- Centres header on smaller screens.
Version 32.1.0
- Adds 24x24 PT icon
Version 32.0.0
BREAKING
- Changes search key/value pair for CheckboxList and RadioList
Version 31.1.0
- Updates to CTA Banner:
- Adds secondary variant
- Small adjustment to padding
- title font changed to headline-emphasis on main CTA and headline-normal on secondary banner
Version 31.0.4
- Small ShareDropdown fix
Version 31.0.3
- Small Checkbox fix
Version 31.0.2
- Fixes hover state bug on ShareDropdown on touch screens
- Fixes arrow icon position on DropdownList
- Fixes description hover color on Filter
- Fixes spacing in Filter
- Fixes Select border radius colour
- Set maxChipsToShow as optional on ChipSelected
Version 31.0.1
- Fixes type of Chip
Version 31.0.0
- Adds lightmode color $background-surface-secondary
- CheckboxList and RadioList have forced underline under each item.
- DropdownList handles disabled state better.
- Filter and DropdownList fills the space horizontally.
BREAKING
- Filter and DropdownList have a parent component SharedDropdown for shared styling.
Version 30.0.1
- Fixed changelog
Version 30.0.0
BREAKING
- Info icon SVG changed to reflect new design
Version 29.0.2
- Fixes Link css styling.
Version 29.0.1
- Fixes changelog
Version 29.0.0
- Adds new font style headline-normal to Text
- Adds new font face token SATSHeadline-RegularItalic
BREAKING
- Changes Text font name from headline to headline-emphasis
Version 28.2.0
- Adds FormContent.Range to FormContent
Version 28.1.3
- Fixes FormContent box sizing to fluid with a max height
Version 28.1.2
- Fixes style imports in Link that was unresolvable by consumers
Version 28.1.1
- Fixes CheckboxLink crashing bug
Version 28.1.0
- Adds Link component w/variants
- Adds ChipSelected component
- Adds action colour to lightmode
- Adds action-hover colour to lightmode
- Adds action-disabled colour to lightmode
Version 28.0.0
- Adds FormContent.CheckboxList to FormContent
- Cleans up unused type exports from FormContent
- Adds add-bem-modifiers.ts
- Adds react-tiny-collapse peer dependency
- Moved fuzzy-search package into peerDependencies
BREAKING
- Fixes export of FormContent.RadioList from FormContent.radioList
Version 27.0.1
- Fixes changelog formatting
Version 27.0.0
- Changes height of FormContent container
BREAKING
- Removes FormContent.submit component and merges it into FormContent
Version 26.0.1
- Fixes spacing on Checkbox, removes spacing when there is no label
Version 26.0.0
BREAKING
- Renames FormContainer to FormContent
- Moves submit button in FormContent into sub component <FormContent.submit />
Version 25.0.3
- Fixes disabled state on DropdownList
- Fixes header always showing on FormContainer.RadioList
Version 25.0.2
- Fixes spacing of DropdownList
- Fixes DropdownList click outside.
Version 25.0.1
- Fixes FormContainer types
- Removes top margin of DropdownList
Version 25.0.0
- Adds optional description text to Radio
- Adds optional underline prop to Radio
- Adds DropdownList component
- Adds FormContainer component
- Adds FormContainer.RadioList sub component
- Changes Checkbox text colour when disabled
- Changes Checkbox description colour to match design
- Adds new lightmode hover colour secondary-hover-light
BREAKING
- Filter modal moved to FormContainer
- Filter alignment moved to FormContainer
Version 24.2.0
- Adds hooks
- Adds Filter component
Version 24.1.0
- Adds optional description text to Checkbox
- Adds optional underline prop to Checkbox
- Adds responsive text size to Checkbox
- Redesigns documentation page for Checkbox
Version 24.0.0
Version BREAKING
- Makes Text component responsive
Version 23.2.0
- Adds Chip component
Version 23.1.0
- Adds new aspect ratios to accommodate more variations of images added to articles.
Version 23.0.0
- Adds icon and text option to variants of VisuallyButton
BREAKING
- Including the text prop will display the text
- Adds ariaLabel prop to VisuallyButton that replaces the usage of text for aria-label when VisuallyButton is icon only
Version 22.4.1
- Fixes size on radio button according to design
Version 22.4.0
- Adds 80x80 Avatar icon
Version 22.3.1
- Updates dependencies
Version 22.3.0
- Adds corner-radius tokens ([Figma](https://www.figma.com/file/WzKCwRY09zn4rzRVfY0YvdRt/sats-ds-styles?node-id=342:0))
- Adds Bomb component
Version 22.2.3
- Fixed missing type on text input
Version 22.2.2
- Fixes version number
Version 22.2.1
- Adds avatar icon
Version 22.1.1
- Updates color for signal-error and signal-error-text
Version 22.1.0
- Adds required to TextInput
Version 22.0.0
- Updates several dependencies
BREAKING
- Updates React to 18
Version 21.3.0
- Adds icon to TextInput
- Adds theme to TextInput
Version 21.2.1
- Changes TextInput and TextArea help text font sizes
Version 21.2.0
- Refactors TextInput styling
Version 21.1.0
- Adds textfield styling to TextInput
Version 21.0.0
- Fixes Toggle types
BREAKING
- Toggle prop showCustomError type changed from string to boolean
Version 20.2.0
- Adds hero space to spacing
Version 20.1.0
- Adds toggle component
Version 20.0.0
- Adds hasMovingLabel prop to TextArea fields
BREAKING
- isLabelVisible removed from TextArea fields
Version 19.0.0
- Adds spinner theme to all VisuallyButton that only shows when the button is disabled
BREAKING
- spinner prop removed from VisuallyButton
Version 18.1.0
- Adds spinner prop to all VisuallyButton
Version 18.0.0
- Updates several components to conform more to the design
- Modal
- TextArea
- TextInput
BREAKING
- Color tokens (/tokens/colors) removed
- TextInput members removed
- colors
- themes
- TextInput props removed
- color
- icon
- inputElementClassName
- isLabelVisible
- theme
- TextInput props made required
- label
Version 17.0.1
- Fixes VisuallyButton's font weight
Version 17.0.0
- New font _SATS Headline_
- Text.themes.headline added
- Text.themes.normal added
- Text.size.section is larger
- All Text themes fall back to sans-serif
- Text defaults to normal theme
BREAKING
- Text.themes.brand removed
- Text.themes.default removed
Version 16.2.0
- Makes LinkCard's text optional
Version 16.1.0
- Adds pointer cursor to all VisuallyButton
Version 16.0.0
- Adds small logos
BREAKING
- Renames logo components
- Removes prop forwarding from logo components
Version 15.6.0
- Adds new 32\*32 icons
- Close
- Facebook
- Instagram
- LinkedIn
- Spotify
- YouTube
- Updates 32\*32 icons
- Aerobics
- Aqua
- Class
- Flexibility
- Kids-Teens
- Prformance
- Profile (outlined)
Version 15.5.0
- Adds SVG props to logo components
Version 15.4.0
- Adds ghost variant to VisuallyButton
Version 15.3.0
- Adds success theme to Message
- Makes sure Message is styled correctly when there is no action present
Version 15.2.0
- Adds helpText to TextArea
Version 15.1.0
- Changes Flag's text size.
Version 15.0.0
BREAKING
- Message has fewer props.
### New
- Adds new signal text colors.
- Message has a new visual style.
Version 14.1.0
- Adds new signal text colors.
Version 14.0.0
BREAKING
- Built JS is no longer part of the published files.
- Removes all icons.
- Logos have dynamic color (currentColor).
### New
- SVG icons (icons/<size>/<name>.svg).
- React component icons (react/icons/<size>/<name>.tsx).
- React component logos (react/logos/<name>.tsx).
Version 13.13.0
- Adds ContentInformation component.
Version 13.12.0
- Adds LinkCard component.
Version 13.11.0
- Updates Select to toggle label visibility.
Version 13.10.0
- Adds Voucher component.
Version 13.9.0
- Adds CTABanner component.
Version 13.8.0
- Adds Message component.
Version 13.7.0
- Adds Testimonial component.
Version 13.6.0
- Makes it possible to show custom error messages for Radio and Checkbox.
Version 13.5.0
- Updates Select's colors.
Version 13.4.0
- Updates cta color in lightmode.
Version 13.3.0
- Adds Elixia logos.
Version 13.2.3
- Fixes VisuallyButton's icon rendering when the icon isn't perfectly square.
Version 13.2.2
- Updates ScaleBar component with new colors.
Version 13.2.1
- Adds z-index to Modal to ensure the component is on top of other content.
Version 13.2.0
- VisuallyButton's (and therefore Button's and LinkButton's) icon now respects size and wide.
Version 13.1.0
- Adds Flag component.
Version 13.0.0
- Updates Checkbox component.
-
BREAKING
: Checkbox.colors removed.
-
BREAKING
: Checkbox.themes now includes light for applying the light theme.
-
BREAKING
: indeterminate is now intermediate, to match the design language, and a boolean property.
Version 12.0.0
- Updates VisuallyButton component. Fewer styles means
BREAKING
changes (f.ex. purple variants don't exist anymore).
Version 11.7.1
- Updates Radio component.
Version 11.7.0
- Adds InfoBox component.
- Adds more sizes to Text component.
Version 11.6.0
- Adds optional persistency to Modal.
Version 11.5.0
- Adds lightmode and darkmode tokens.
Purposefully does not remove the old colors tokens, so that consumers (and ui-lib components) can ease into using the new tokens.
Version 11.4.0
- Adds Modal.
- Adds spacing tokens.
Version 11.3.0
- Adds version and changelog to the site.
- No changes to the library itself.
Version 11.2.3
- Fixes blank HTML files on site's first build.
- No changes to the library itself.
Version 11.2.2
- Fixes VisuallyButton's [disabled] style.
Version 11.2.1
- Removes styling for larger viewports on visually-button--big size on VisuallyButton
Version 11.2.0
- Adds indeterminate theme to Checkbox
Version 11.1.1
- Moves Message type to use-input-validation.types to fix type errors on the server
Version 11.1.0
- Adds support for custom HTML form validation error message to text-input and use-input-validation
Version 11.0.0
- Updates peer dependencies of react and react-dom to 17.0.2 and upgrades react and react-dom in /site to 17.0.2
Version 10.0.2
- Fixes slash as division for Sass files, ref. https://sass-lang.com/documentation/
BREAKING
-changes/slash-div
Version 10.0.1
- Changes font size of helper-text in Text-Input
Version 10.0.0
- Makes value required in Checkbox, limits type to only string
Version 9.3.0
- Adds help text to TextInput
Version 9.2.0
- Adds prop that adds custom classes TextInput's input element
Version 9.1.2
- Fixes checkbox__input-placeholder shrinking
Version 9.1.1
- Makes the extra property on Checkbox optional
Version 9.1.0
- Adds recipe icon
Version 9.0.0
-
BREAKING
: Moves types for react components to separate files. F. ex., the types for Button can now be imported from react/button/button.types.
-
BREAKING
: Removes wildcard export from react component index files to ensure that type files can only be imported explicitly (to avoid accidentally importing the entire component which might break type checking when targeting Node.js).
Version 8.0.0
-
BREAKING
: Extra properties on Select options now have to use the extra property, instead of any property name. All uses of onChangeOption should be updated.
-
BREAKING
: Converts all react components to TypeScript (new types might cause
BREAKING
changes)
- React components no longer need to be compiled when using this package
Version 7.2.1
- Fixes radio__fake-element shrinking
Version 7.2.0
- Adds defaultValue to TextInput prop types
Version 7.1.1
- Fixes error style for movingLabel theme in TextInput
Version 7.1.0
- Fixes label overlapping with pre-filled content when using the movingLabel theme on TextInput
- Adds inline validation errors and validation error styles for
- Checkbox
- Radio
- Select
- TextArea
- TextInput
Version 7.0.1
- Fixes wrong color on orange VisuallyButton, Button and ButtonLink
Version 7.0.0
-
BREAKING
: Replaces the current menu icon with the menu icon from the style guide
Version 6.1.0
- Adds orange color to VisuallyButton, Button and ButtonLink
Version 6.0.1
- Fixes label vertical alignment for movingLabel theme in TextInput
- Fixes long text labels overflowing when used with movingLabel theme in TextInput
- Hides placeholder text when movingLabel theme is set in TextInput
Version 6.0.0
- Removes support for prefix in TextInput
Version 5.1.0
- Adds movingLabel theme to TextInput
Version 5.0.0
-
BREAKING
:
- Replaces themes prop with color in:
- Checkbox
- Radio
- Replaces themes prop with theme and color in TextInput
- Removes negative theme from TextInput (use the color prop instead)
- Replaces themes prop with theme, color and size in:
- VisuallyButton
- Button
- LinkButton
- All themes that were named negative are now named light (using the color prop)
- Adds color prop in TextInput
Version 4.0.0
-
BREAKING
: Removes id from the propTypes of the following components (id can still be set):
- Checkbox
- Radio
- Select
- TextArea
- TextInput
Version 3.11.0
- Adds an option to hide the checkbox-label
Version 3.10.1
- Fixes the extra element on Checkbox always showing
Version 3.10.0
- Adds an optional child element to Checkbox that is rendered outside of the label element.
Version 3.9.0
- Adds type declaration file for SelectOption
Version 3.8.1
- Fixes text input not filling available space when prefix prop is used.
Version 3.8.0
- Adds filled-video icon
Version 3.7.1
- Removes calendar icon from TextInput with type date.
Version 3.7.0
- Adds bigIcon theme to VisuallyButton
- Adds missing colors
- Fixes gray theme on VisuallyButton
Version 3.6.1
- Adds restProps to Text
Version 3.6.0
- Adds TypeScript view models
Version 3.5.1
- Fixes Select chevron not being clickable
- Moves Select label so it conforms to the other inputs
Version 3.5.0
- Adds $signal-negative-warning color
Version 3.4.0
- Adds styles for type "date" in TextInput
Version 3.3.1
- Fixes Button documentation
Version 3.3.0
- Adds support for prefix to TextInput
Version 3.2.0
- Adds LinkButton.
- Adds VisuallyButton.
- Refactors Button.
Version 3.1.0
- Adds loading support to CroppedImage.
- Deduplicates image rendering in CroppedImage.
Version 3.0.2
- Fixes Button component not inheriting font-family
Version 3.0.1
- Fixes srcQuery not being applied to <img /> element in CroppedImage
Version 3.0.0
Version 3.0.0 updates many components to use the new sats-web-components spec (https://www.figma.com/file/CemEcLe6DpoD5ELrFqlwZ7/sats-web-components).
-
BREAKING
: Removes rounded theme from TextInput
- VISUALLY
BREAKING
: Changes design for default and negative themes in TextInput
- VISUALLY
BREAKING
: Changes padding for default and big themes in Button
- VISUALLY
BREAKING
: Changes padding for Select. It is now 10px taller
- Adds support for icon in TextInput
- Adds support for icon in Select
- Adds support for srcQuery in CroppedImage
Version 2.4.0
- Adds onChangeOption to Select
Version 2.3.5
- Fixes id prop being ignored for all input components
Version 2.3.4
- Fixes type prop not working in TextInput
Version 2.3.3
- Adds body-icon
Version 2.3.2
- Fixes Checkbox not rendering value
Version 2.3.1
- Fixes bug in gray theme for Button
Version 2.3.0
- Adds gray theme to Button
- Changes the color on ScaleBar-bars to orange
Version 2.2.0
- Adds React.forwardRef to Checkbox, Radio, Select, TextArea and TextInput components
Version 2.1.0
- Fixes TextArea colors
Version 2.0.0
- VISUALLY
BREAKING
: Changes the default elementName in Text from span to div
- VISUALLY
BREAKING
: Changes all font sizes in Text
- This isn't a problem for the views that have used the previous version of Text "correctly". The views that have faked a bigger font with sizes.big will need to change from sizes.big to sizes.basic.
-
BREAKING
: Removes gray theme from TextInput
- Adds error and disabled styles to TextInput
- Increases horizontal padding for TextInput.themes.rounded
- Fixes extra margin when rendering TextInput with an empty label
- Fixes className not being applied to outermost element in TextInput
Version 1.1.0
- Adds icon and elevated themes to Button
Version 1.0.0
-
BREAKING
: Renames color variables:
- $signal-delete -> $signal-negative-delete
- $signal-error -> $signal-negative-error
- $signal-success -> $signal-negative-success
- Adds $signal-positive-delete, $signal-positive-error and $signal-positive-success color variables
Version 0.8.0
- Adds the possibility to send children to Text Area, Text Input and Select
- Adds classname and restprops to Select
- Removes clip from VisuallyHidden
Version 0.7.0
- Adds loading.svg
- Adds menu.svg
- Makes stroke thicker on check-mini.svg
- Adds height and width to logo-sats.svg
Version 0.6.0
- Adds icons
- Adds logos
- Adds CroppedImage component
Version 0.5.0
- Adds restprops to Text Area and Text Input
- Fixes wrong button colors
Version 0.4.0
- Radio and Checkbox can use children as label
- Update button main color
Version 0.3.0
- Adds Select
Version 0.2.0
- Adds Text Area
- Fixes bug with index file generation
Version 0.1.0
- Improves type definitions for react components