This file should contain all changes in the Styleguide.
- Use version in package.json ("version": "1.1.0")
- The numbers represent, "Major", "Minor" and "Patch"
- "Major" is reserved for rewrites of the styleguide, or entire Telia design rebrands (extremely rare).
- "Minor" in this context means breaking changes - such as a change in a components HTML structure, or a change in a CSS class name.
- "Patch" is reserved for smaller CSS changes, tweaks and improvements. Styleguide users are safe to upgrade to new patches. Also, new components and new component variants are also patches, since they do not break anything for other channels.
For Major and Minor changes in version you must notify everyone in the #styleguide Slack Channel.
Only noteworthy changes.
- Enabled CSS variables
- Updated React to version 18
- Step Indicator Paging with breaking changes, renamed props 'changeActiveStep' to 'arrowsAsCarousel', 'navigationCompletesPreviousSteps' to 'autocompletePreviousSteps', 'completeButtonId' to 'completeStepButtonId', 'previousButtonId' to 'previousStepButtonId', 'navigationClickable' to 'completeStepsClickable'
- Updated react to version 17
- Added a new accordion that supports multiple icons, and the ingress is hidden if accordion is open/expanded
- Added new version of shopping cart: ShoppingCartV2, SlidingShoppingCartV2
- Added two new kinds to Button: voca-normal, voca-inverted
- Fixed className prop for Paragraph
- Fixed active state for cart icon in Menu
- Added aria-labelledby as a required prop in Modal
- Undeprecated
ModalDialog
and made it look more likeModal
component.Modal
component does not work with SSR, so until that is fixedModalDialog
will still be in use.
- Released with github actions
- Added key as required prop for MobileNavBarMore items
- NEW colors (palette from VOCA)
- Recommended update if using the colors from SG: grey200 -> grey100
- NEW TeliaSans Font
- Update NPM ClassNames & Babel config
- StepFlow: use a fullscreen page layout component rather than a fullscreen modal.
- Added new component HardwareProductBox
- Added Breadcrumbs component
- Added inputRef to TextField component
- Updated Chip component
- New size (32px for all), size prop is removed
- Square chip is added
- Kind prop is renamed to color
- Change classnames to fit BEM pattern
- Updated TextField
- Help text is left by default
- Updated PhoneNumberField
- Change classnames to fit BEM battern
- Added size prop
- Refactored StepByStep component - Written in typescript -
Step
,Content
andDescriptions
were perviously properties of theStepByStep
class. These are now exported as components from index.ts and accessed from @telia/styleguide asStep
,StepContent
andStepDescription
. - Enable customizing of icon, header and content in StepDescription - Add different sizes for a StepByStep component - Support dashed borders - Disable animations for non-interactive StepByStep components
- Added more colors to the Color Palette
- Updated classes with the BEM-pattern in the following components
- TextField
- Avatar
- business/Tooltip
- business/Table
- business/StepFlow
- business/MainMenu
- business/List
- business/Card
- business/Button
- Added FieldInstructions component
- Added Badge component
- Breaking: moved Toggle from business to atoms.
To fix in your app replace
import {Toggle} from '@telia/styleguide/business'
with the usualimport {Toggle} from '@telia/styleguide'
- Breaking: moved Checkbox from business to atoms.
To fix in your app replace
import {Checkbox} from '@telia/styleguide/business'
with the usualimport {Checkbox} from '@telia/styleguide'
- Deprecated old CheckBoxWithLabel components
- Added business StepFlow
- Breaking: moved TextField from business to molecules.
To fix in your app replace
import {TextField} from '@telia/styleguide/business'
with the usualimport {TextField} from '@telia/styleguide'
- Deprecated old TextBox components
- Breaking: renamed
label
props in business ListItem totitle
- Added DatePicker
- Added PeriodPicker
- Added Incrementer
- Support expandable list items
- Breaking: Removed SideMenuHeader component. Use SideMenuItem instead
- A bunch og patches and minor improvements
Contains new components
- Lozenge
- Chip
- TextField (in busienss area)
- Added SubscriptionLinesAccordion component
- Rename icon "pen" to "edit"
- Rename icon "return" to "return-arrow"
- Added Avatar component
- Added new side menu
- Added navigation bar for mobile
- Adjustments to Toggle Button (business)
- Added support for only displaying focus style when user is tabbing (enableTabKeyDetetcion)
- Add new Button component in business part
- Removed component-lib directory, move everything to the root directory.
- Add new Modal component and deprecate old
- Changed from SvgIcon to Icon on Accordion
- Deprecate barColor prop in ProgressBar. Add color prop, typed by colors object.
- Add support for dropdown search (search input with dropdown menu, and dropdown with search input inside menu)
- Add support for nullish coalescing in component lib
- Support for typescript on AllIcons
- Added
onCartClick
andnumberOfItemsInCart
optional props toMenu
to show cart icon with number of items in cart.
- Added declareations to d.ts files for better typescript support
- Added
SlidingShoppingCart
component.
- Added
ColorPicker
component. - Added
SmallBoxList
component. - Added
BigImageModal
component. - Added
SubscriptionAccordion
component. - Added
InfoCard
component.
- Dropdown Menu in the Menu component. A new feature that will advance when identity login are launched for all channels
- Changes to
Subscription
. AddingextraDataAmount
,extraDataUnit
props and always light gray teaser on expand. - Change to
FunkyTabs
. Added support for no image on tabs.
- Storybook organizing sidebar
- Link table border bottom removed
- Link padding removal on links without icon
- New Icon: check-mark-circle
- Changes to
ShoppingCart
. Removing propadditionalItems
and some style changes.
- Added
Table
to business components - Added
Checkbox
to business components
- Added animation prop to
Accordion
. - Added top level id to
Accordion
element.
- New Links & List
- New Button
- Added
hideIcon
prop toAlert
.
- Change look of delete icon for
ShoppingCart
- Change size of
QuantityPicker
for small devices.
- New Color Component, more info on home/color palette in storybook
- Added
Initial Expanded State
toTableWithDropDown
- Added
Button
kindnormal
, has no specific styling, same effect as not defining the button'skind
- In
ModalDialog
:- Remove
disableOverlayClick
anddisableCloseByEscKey
props. It's implicitly defined byonClose
function. - Added
size
prop for the container size - Added
submitKind
andcloseKind
to overwrite the submit and close buttons kinds
- Remove
- Added
title
attr and removedblock
styling forIcon
. - Updated
QuantityPicker
,QuantityButton
,StepIndicator
,ShoppingCartItem
,ShoppingCart
andShoppingCartAccordion
with new icons.
- Added new icons & component
- Added new LinkTable molecule.
- Modals: Border-radius from % to rem
- Modals: Ensure that overflow hidden is set on modal window
- RadioButtonGroup updated
- Fixed modal dialog focus to target the dialog itself to prevent scrolling to the bottom
- Modal dialog invoke effects only once and fix clickout
- Created stories for all Atoms
- tableWithDropDown component // Storybook /atoms/tableWithDropDown
- Sortable table hook
- ModalDialog: Added option to scroll if the modal content overflows the page.
- Added disableOverlayClick and disableCloseByEscKey props to ModalDialog component
- Added TableWithDropDown component
- Fixed Toggle components IE positioning bug
- New ThSortable component in FullWidthTable
- Hide ',-' for price in Subscription component for not rounded numbers (B2B customers)
- Fixed bug with showing nested buttons in
Subscription
component.
- Fixed bug in business icons (
arrow-small-*
andmore
)
- Added new business icons
- New molecule: RadioButtonGroup
- New atom: RadioButton
- Deprecated: RadioButtonList
- Deprecated: RadioButtonWithLabel
- TypeScript definitions (.d.ts) for all components. This can break existing build processes using TS.
- New business component: MainMenu
- Added download link for all business icons (.zip link in Storybook)
- Changes on Box component from article to button for accessibility
- Upgrade dependencies to mitigate security risks in
serialize-javascript
andserialize-to-js
packages
- Non breaking tweaks to ShoppingCart and ShoppingCartAccordion
- Added AllIcons to all stories
- New molecule: ShoppingCart
- New organism: ShoppingCartAccordion
Added footer prop to Accordion
Added <Icon />
to business components area
Subscription speechbubble font from italic to regular
Build and deploy storybook with web site
Switch from using Box to StatefulBox most likely, and update how the usage of Subscription.
- Separated Box into stateless and stateful
- Added scrollToOnOpen, second feature highlight, onSelect and onClose to Subscription
- Added jsx and knobs to storybook, and added story for Subscription.
- SubscriptionPriceBox
- SubscriptionPriceBoxes
- Alert (Added scrollTo and closeButtonText props)
- Accordion
- AccordionList
- Menu (Added onlyLogo prop)
- Focus trap is available for all and MobileMenu is focus trapped (accessibility improvement)
- Changed font-size of text in the Quote component
- Lint and Prettier fix
- Menu search: Shows spinner when loading and input field are disabled
- Menu & ModalDialog: IE compatibility fixes
- Allow modal dialog templating
- Menu accessibility: converted to buttons and added aria labels where needed.
- Fix missing Element in SSR problem for modals
- Modal dialog rewrite and accessibility improvements
- Create cjs version of AllIcons
- Colors: Darkest grey is changed, and all use of custom dark-grey-2 is removed.
- Svg icon files: Id is removed from all icons except pebbles. Title tag is removed.
- SvgIcon: add aria-hidden="true" if no title is provided
- TextBox: Should use TextBoxWithLabel and set
hideLabel
prop - TextArea: Should use TextAreaWithLabel and set
hideLabel
prop - Banner: Added image alt prop
- DisplayFunctonality: Breaking change; pass in both image and alt text
- Box: aria-label on close button
- PageMenu: Deleted examples
- Video: Added videoTitle prop
- Header: Added videoTitle prop
- Molecules: TextBoxWithCharCount: input field with maximum number of characters
- onChange prop fixed in RadioButtonList
- Molecules: Gallery
- package "marked" updated
- CheckboxWithLabel has a disabled state
- Different layout for colors on the website
- Other minor tweaks
- DropDownListWithLabel: new Disabled option
- Button: new 'negative' kind
- FullWidthTable: Hover functionality with onClick event on rows
- Subscription: The subscription box is now more flexible with no hardcoded text
- Menu
z-index
fix
- Molecules: Card
- Molecules: StatefulAccordionList: Removed scroll to active accordion
- Atom: IconAnimated - has a dependency to the library
lottie-web
- New function and stle on Menu component
- Fixed accordians to work with and without buttons
- Small menu adjustments
- ES6 is no longer exposed in the component-lib - it is now vanilla JS, so works on all browsers.
- FocusBox: works better on small screens
- Large rewrite to remove dependencies, and get rid of (most of) the server
- StatsDisplay: molecule added
- Banner: molecule added
- RadioButtonList: onChange prop added
- Box: Add transparent option
- DisplayFunctionalityBlock: Added ability to choose device
- FeatureBox: Added ability to choose size and border of
- Changed styling on Quote component
- Fixed bug with ModalDialogOverlay not working on server rendered pages
- Make modifications to StepIndicator
- Add proper display for single elements in BoxGridBlocks
- Add DisplayFunctionality molecule
- TextBox className passed down
- Modal scroll fix
- Video with custom thumbnail and title
- TextBoxWithLabel bugfix when conditionally showing icon
- Add new options for BoxGrid component
- Removed pointer-events from AccordionList icon
- CSS tweaks to ToggleSwitch
- Expost MenuTopPanel
- TextBox components split up
- Header component has grey background by default
- Updated React version in the Node app
- Updated PostCSS versions
- InfoBox component
- Heading's can be centered
- Label styling adjustments
- Accordion: Plus/minus icons replaced with up/down arrows. No breaking changes to React component, but HTML structure changes, so non-React apps need to adjust their HTML.
- FeatureBoxes component
- Forgot to update AllIcons files
- Added two new icons ico_five and ico_six
- Add vertical list display option for USPs
- Add new checkmark icon for B2B page
- Style changes to LightAlert and Container
- FunkyTabs now only renders selected content (previously all other content was in DOM with display:none)
- Added and changed use of props for ToggleButton
- Small color change to icon for black version of Subscription Box
- Added new Data Freedom icon
- Updated black variant of Subscription Box
- Added new Music Freedom icon
- Added three new icons: ico_gift, ico_kr and ico_interest_free_down_payment. Also changed the ico_klikk-og-hent.
- Added black color option to Box/Subscription component
- Small change to FunkyTabs onSelect method
- Changes to style of StepIndicator
- Added withBorderBottom and backgroundColor props to Header
- Changes to style for FocusBoxWithLabels
- Added id prop to Form
- Fixed such that FocusBox shows border on mobile as well
- Added light-grey color to AnimatedProgressBar
- Updated README in component-lib folder
- Updated heroku build scripts
- Made custom classes appear last for Button component
- Form component can now take classNames
- PriceTable can now have array of subtitles per product. This is a major change to the proptypes of PriceTable
- StepIndicator changes
- Safari Fix for Speechbuble in Subscription component
- tree shakable components (this version has backward-compatibility, however, since there is not /dist folder anymore in the library, you should import index.css from styleguide root directory if you have this file in your codebase)
- Minor stuff
- Added hideMenu prop to PageHeader
- Minor style change for StepIndicator
- Added sr-only class global in component lib (screereader-only)
- Split AccordionList component into AccordionList and StatefulAccordionList where all the scrolling and toggling is inside the StatefulAccordionList and AccordionList is a pure component.
- Changed handling of menuLinks prop in PageMenu to expect a string of html in contentAboveItems instead of a React component
- Added RichText molecule
- Adjusted margins on several components
- Removed margin-bottom on
heading--level-2
- (and therefore) added new
light-alert__heading
css class for LightAlert molecule - (and) new
focus-subscription__heading
css class for FocusSubscription organism
- Updated some examples and sample pages with new classes and content
- HorizontalRule: Added prop to fix example that was wrong, and updated related components.
- NumberBoxes component removed
- B2B subscription box: Bugfix: text in bubble disappeared on hover
- FullWidthTable: Table rows are contained within container
- ProductPromoBox: center text in button
- ProductPromoBox: inlined button on desktop
- Bugfix for streched HardwareProducts in Firefox
- Added LightAlert molecule
- ProductListGrid has a horizontal layout option
- New icon ico_truck added
- ProductList data boost Safari fix
- Removed BelowTheLineOffer
- TextBoxWithLabel ref forwarding
- Button disabled prop fix
- Font name fix
- ProductList smallfixes
- Removed
heading--pebble
class -
- others
- Added trash icons & source icon cleanups
- Added klikk-og-hent & map icons
- ProductList items onClick
- Icon fixes
- ProductListGrid multi-column layout
- Added two svg icons
- Auto-generate the AllIcons.jsx component - no dependencies - and make it a part of the library.
- No static path for icons. Relies on an embedded SVG being present in the DOM.
- StepIndicator [changed]
- PromoBox [new]
- ProductList: new promo variant [changed]
- RelatedArticle: placeholder image [changed]
- ProductListGrid [new]
- Fixed all linting errors
- TextBoxWithLabel: Refactoring of component, adding props className and withIconButton. Old withIcon prop has now a different usecase, new name is withIconButton.
- AnimatedProgressBar: Bugfix in prop-types
- PageHeader: Always white BG
- PageMenu: Faster hamburger meny animation
- UniqueSellingPoints: adjusted width on items
- ProductPromoBox changes
- AnimatedProgressBar
- UniqueSellingPoints
- Organism: FocusBoxWithLabels
- PageHeader fixes
- StepIndicator fixes
- Hamburger menu animation
- PriceTable adjustments
- Molecule: PageMenu - modified to use searchUrl for link to search page or remove button if not defined
- Molecule: AccordionList - icons now done with CSS again
- Box
- IconLink
- List with BubbleLinks
- SvgIcon
- UniqueSellingPoints
- AccordionList
- Alert
- ArticleMetaData
- BelowTheLineOffer
- BoxGrid
- FactBox0
- Header
- PageHeader
- PageMenu
- PersonBox
- ProductList
- StepByStep
- Subscription
- TypeSearch
- ContentRating
- Theme Boxes
- Molecule: PageHeader - added "Handlekurv" text to cart button and made styling-changes to the cart counter
- Molecule: TextBoxWithLabel - changed positioning of icon in input field
- Molecule: TextBoxWithLabel - added a modifier to have the possibility to add an icon in the input field
- Molecule: PageMenu (removed showButtons prop)
- Molecule: PageHeading - (removed textAboveLoginButton and showButtons prop in favour of templating; CSS change)
- Molecule: MiniDashboard (previously UserDashboard)
- Molecule: UserDashboard - removed
- Molecule: Subscription (broadband variant)
- Molecule: PriceTable
- Organism: HardwareProductList
- Molecule: HardwareProduct
- Add new icons
- Fix missing lodash import
- CommonJS/dist stuff
- Alerts are minimizable
- ToggleSwitch adjustments
- PageMenu
- PageHeading . ToggleSwitch
- Caption
- DescriptionList
- FullWidthTable
- HorizontalRule
- IconLink
- InputError
- List
- NumberBoxes
- PagePebbles
- Paragraph
- Quote
- ShadowBox
- SpecialMessage
- StepIndicator
- Tags
- TelephoneNumberLink
- TextArea
- UniqueSellingPoints
- ArticleMetaData
- BoxGrid
- DownloadButtons
- FactBox
- FocusHeader
- FullWidthImage
- Header
- HeadingLink
- Hero
- Image
- ImageHeadingLink
- ListWithImage
- RelatedArticle
- StepByStep
- Video
- Tabs & FunkyTabs changes
- Molecule: Subscription
- Organism: ThemeBoxesWithImage
- Component library small fixes
- Initial support for a component library (!)
- Organism: ThemeBoxes - removed/added css class
- Molecule: Tooltip
- Molecule: ProductList
- Others: disabled button, radio focus styling, other minor changes
- Organism: ThemeBoxes
- Molecule: RecommendedProducts
- Molecule: ProductList
- Organism: FocusSubscription - uses the new DescriptionList component
- Atom: DescriptionList
- Atom: List - Changed margin-top on list
- Atom: List - Added option of having list with columns
- Molecule: DataBoostChart and DonutChart - added option for having the charts as a link
- Molecule: FactBox - removed horizontal line and borders
- Atom: Button - Added processing state
- Molecule: TextArea, TextAreaWithLabel and TextBoxWithLabel - Added disable state
- Organism: Form - Added fieldset as an element to form
- Atom: AlertText
- Atom/Molecule: Subscription purple
- Atom: InputError
- Molecule: TextAreaWithLabel
- Atom: List--icon-text-links
- Atom: TelephoneNumberLink
- Atom: ShadowBox
- Molecule - StepByStep - New Pebble type and separated Circle type. Steps can now change between types with just a class change.