This project adheres to Semantic Versioning. All Major and Minor changes to this project will be documented in this file.
Any code change in this software that requires consumers to update their usage is considered a breaking change (e.g. prop name changes, deletions, interface/argument changes, etc).
This is an example of a brief overview of the Major or Minor version changes.
- this is an example of a change note
- this is an example of a change note
- this is an example of a change note
- this is an example of a change note
- this is an example of a deprecation note
- Adds
VerifiedCheck
icon shape - Adds
UploadOutlined
icon shape - Adds
UploadFilled
icon shape - Adds
DownloadOutlined
icon shape - Adds
DownloadFilled
icon shape
- Adds the 'subTitle' prop to the Dialog component
- Adds
Strategy
icon shape
- Modfies
Target
icon shape - Adds
Goal
icon shape - Adds
Advise
icon shape
- Adds
Target
icon shape - Adds
Store
icon shape
- Adds
Factory
icon shape - Adds
Feeds
icon shape - Adds
Devices
icon shape - Adds
Heart
icon shape - Adds
LightBulb
icon shape - Adds
PiggyBank
icon shape - Adds
ShoppingCart
icon shape - Adds
Umbrella
icon shape - Adds
Car
icon shape - Adds
Battery
icon shape - Adds
Bank
icon shape
- Added responsive variants for the following classes:
align
,display
,padding
,margin
,alignChild
. All responsive variants have 4 variants:s
,m
,l
,xl
, and can be used like so:.xl:align--left
- Added
switchDirection
prop to Flex that allows flex direction to change based on viewport size.
- Added bgColor--violet
- Added
GraduateCap
shape to icons
- Added theme prop:
outlined--blue
to FDS Button
- Added theme prop:
orange
to FDS Button
- Popover API reverted to v9 API to fix issues caused by the introduction of Tippy in v10
- Added
fontFamily--condensed
,fontFamily--default
, andfontFamily-mono
FDS classes
- Fade classes added, which work via pseudo elements and support using multiple at a time
- FDS Popover now has 2 themes:
default
andunthemed
- FDS Dialog now has a
disablePortal
prop - FDS Prompt now has a
disablePortal
prop CornerPosition
component added to help decorate nodes- Badge (previously indicator) has a
showDot
prop to specify whether you want a dot to show if there is no label
- toastProps changed to toastInstance (to better explain what it encompasses)
onDismiss
prop removed. Now should reside intoastInstance
objectdismissDelay
prop removed. Delay can no longer be customized.isAutoDismiss
should be disabled if there is a lot of content to read / parse in the toast.
- onThrottledChange has been removed
- Prop interface has completely changed. Refer to documentation for full information on new prop names and usage.
- Default look of Popover now has included styling (dropshadow, border-radidus, etc)
trigger
MUST be able to receive focus now
- bgFade classes are removed
Badge
component is now theIndicator
Indicator
component is now theBadge
- classes, css variables, and js variables all updated
- upgrade guide:
half
(8px) maps tos
(8px)double
(32px) maps toxl
(32px)
- Examples:
- CSS Variable: { margin: var(--space-half) } becomes { margin: var(--space-s) }
- JS Variable: FDS.SPACE_DOUBLE becomes FDS.SPACE_XL
- classes: .margin--top--half .becomes margin--top--s
HScroll
(use fade classes + useScrollAttributes hook)GapList
(use FDS classes instead for spacing, border)Updatable
(useCornerPosition
component + Badge instead)
- Added FDS
MenuLink
component. Use alongside FDSMenuItem
inside of FDSMenu
.
- Icon components are no longer wrapped with the
withFdsIconWrapper
HOC. The props signature and import statements remain unchanged. Your editor may now have improved autocomplete features for FDS icon components.
- Added useScrollAttributes hook to return 2 booleans for if scroll is at the left or right, respectively
- Added
breakoutLink
class (to extend clickable area to nearest relative parent) - Added
isBreakoutLink
props toButton
andIconButton
components to apply thebreakoutLink
class
- Added
ZeroState
component, useful for displaying when a lack of the primary UI isn't available (due to lack of results, columns, etc)
- Added
Thumbsup
icon shape
- Added the
showDot
prop toUpdatable
to support showing anIndicator
dot when themessage
is empty.
- Added
testAlign
prop for Tooltip component
- Added
Indicator
component that supports optional labels and two variants (count, update) - Refactored
Updatable
component to useStatus
internally
- Adds
Handshake
icon shape - Adds
Briefcase
icon shape - Adds
LinkedinFilled
icon shape - Adds
TwitterFilled
icon shape
- Adds
Help
icon shape - Adds
Error
icon shape - Adds
Warning
icon shape
- Refactored top bar of
Toast
to use SVG with astroke-dashoffset
animation
- Added "Paint" icon shape
- Added "History" icon shape
- Added "Selection" icon shape
- Added "UI Copy Guidelines" to storybook
- Added
Icon
prop
- Added
zindex--navigation
utility classname
DateInput
now opens the calendar popover on input focus- The calendar popover in
DateInput
will now close itself on date selection
- Added
l
size to Avatar - Added
PlaceholderIcon
prop
- Added
labelWidth
prop to control width of label (helpful when used in combination withlabelPosition
)
- Components can be imported via a destructure pattern.
import { Button, IconButton } from '@cbinsights/fds/lib/components'
- FDS Icons (only React) can be imported via a destructure pattern.
import { AddIcon, CaretDownIcon } from '@cbinsights/fds/lib/icons/react'
- TextInput:
hasError
prop added to enable the input error state without passingerrorText
isLabelBold
prop added to allow label to be bolded
- Added
x
andy
directions to spacing classes (e.g.margin--y
) - Added new end value for spacing classes:
xs
,s
,m (default)
,l
, andxl
, which correspond to pixel values - Added GapList component
- Added
zindex--modal
class
- The following folders no longer exist:
media
,interactive
,layout
forms
,modals
,popovers
- All components now live in
lib/components
. This is going to break tons of import paths!
- Now only accepts a
button
element, or a component that renders abutton
element as a trigger isInModal
is no longer accepted
- The popover no longer closes on user dismissal actions in controlled mode. The
onUserDismiss
callback must now be used to update the state ofisOpen
when the popover is in controlled mode.
width
andheight
now do not accept numbers. You must pass the unit type (px, vh, etc).
wrap
prop is no longer accepted onFlex
lib/icons/raw/
will no longer exist in packages published v9 or later. For raw SVG icons, uselib/icons/svg/
.
- `InlineBlockList is now SeparatorList. This component is primarily used for configuring separator characters between items in an inline-block list. If you'd like to just space out items, please use GapList, a new component also added in v9.
CountdownButton
(only used by Toast)DecoratedInput
(use TextInput instead)IconInput
(use TextInput instead)Section
(use fds classes instead)
- popover and shim redundant values were removed (use modal value instead and rely on source order)
half
anddouble
end values are now deprecated and will be removed in a feature release. Please use the new end values added for these classes that were added in this minor release.
Added ref props for the input
and popover content elements:
inputRef
popoverRef
- added
onInputChange
callback toDateInput
Popover
now accepts aref
prop that will be forwarded to the content container DOM element
- Adds
popoverProps
toDateInput
for user configuration of the popover that contains the date picker
- Adds
minDate
andmaxDate
props toDateinput
for specifying a selectable date range in the calendar UI - Adds icon to the input element in
DateInput
- Adds optional
label
prop forDateInput
- Adds
lib/icons/png
PNG distribution for icons
lib/icons/raw
is now deprecated. It will be removed in a future major release. please uselib/icons/svg
when importing raw SVG files.
- Adds support for
delay
prop in basePopover
component - Adds a
1000
ms hover delay toTooltip
- Adds
dateFormat
prop toDateInput
to allow different date order (MDY, DMY, YMD)
- Adds rest prop spread onto the Date Input to allow input specific props
- Remove the
role="image"
declaration on IconButton
- Added
HistoryIcon
- Toast now accepts a
dismissOnAction
boolean that controls whether the Toast is dismissed when the user clicks on theactionLabel
- Toaster was refactored, and no longer uses most of it's previous props (
onDismiss
,content
, andtype
). It still usesisAutoDismiss
. - Toaster now renders its own Toast component, configured via
toastProps
- Toaster now needs an
id
to trigger a re-animation of the Toast - Toaster accepts an
isOpen
prop to show whether the Toast is visible or not - Toaster now also accepts a
dismissDelay
prop directly.
No longer has a min-height
inputRef
prop removed. Radio now uses forwardRef
for the input element and accepts a ref
prop.
popover, shim, and modal z-index are now all 20
iconPlacement
and Icon
removed, in favor of IconLeft
and IconRight
- Set default
background-color
property forhtml
andbody
to white.
- IconButton now has an
outlined
theme
- Button now has an
isActive
state - Dropdown now has an
isActive
state - StackedButton now has an
isToggled
state - Added inverted outlined theme to Button
- Button colors / look and feel were completely overhauled (no breaking changes)
- Added bgColor--blue
- Added
TextInput
form component for inputs
- Added disableScrollRef to disable an elements scrolling while the popover is visible
- Added closeOnScrollRef to close the popover when the user starts scrolling the given element
- Added
isDisabled
prop toMenu
- All
InputGroup
components will now fill their parent container using 100% width - Updated internal logic of
InputGroup
for setting shrink/grow defaults - Added
flexSettings
prop toInputGroup
to allow for customization of shrink/grow for each input item
- Added
AttachmentIcon
to icons
- Added
DateInput
component.
- Adds support for
isDisabled
prop inMenuItem
- Changes default z-index for
Menu
tozindex-popover
- Adds
isInModal
prop toMenu
for bumping upz-index
- DropdownButton now accepts an
isFullWidth
- It's background color is now white by default.
- Dialog now takes a
height
prop (that's applied as `max-height internally) - Dialog now has the option to always render the footer border via
alwaysShowBorder
- Added
disableFocusTrap
prop toDialog
- Adjusted
z-index
value of the popover inMenu
- Added
Menu
component for building accessible dropdown menus
- Added
ImportIcon
- 🐛 Fixed bug where
Popover
boundary was the nearest parent withoverflow
set.Popover
will now use the entire visible viewport area the reference to avoid content overflow.
outlined
Button now has updated presentation (white background, different pseudo state colors)- Button, StackedButton and IconButton all have updated text color (--button-secondary-color updated to --button-primary-color)
Makes Checkbox
and Radio
compatible with react-hook-form
.
- Removed
Checkbox
andRadio
internal state; these components are now fully uncontrolled Checkbox
andRadio
now both accept aninputRef
prop that places a ref on theinput
element they render
- Added
DropdownButton
component
- Added
.inverted
support forghost
andoutlined
theme FDS buttons
- Added
Radio
component
Component removed (was not publicly documented).
Component removed (was not publicly documented).
onChange
callback now receives the entire event objectname
is no longer a required proplabel
is now required - to hide the label, setshowLabel
tofalse
transition-default
is now transition--default
- Prompt can now be dismissed (displays a x icon, and can press esc to dismiss it)
- Avatar now accepts a
radius
prop, to render as a circle or a square. Renders as a circle by default
- Added
Checkbox
component
- Avatar will now render as a button underneath the hood if passed a
href
,onClick
, orLink
- Added
color--gray
helper class
- Added
border--focus
to Chip close button
input
elements inside ofIconInput
are now set to 100% width. Use a parent containerIconInput
to constrict width as needed.
- Moves
Toaster
transition into a generic set of CSS classes to use withreact-transition-group
- Added
--border-color-input
and--border-color-focusRing
properties - Use standard focus ring color in
border--focus
class
- Added
border--focus
and `border--focus--noTransition' helper classes for standard focus styles - Added
transition-default
helper class for default transition
- Adds
Avatar
component for displaying avatar initials and images - Added bgColor--red and bgColor--purple helper classes
- Fixes alignment of side labels in
DecoratedInput
- Adds
InputGroup
component for visually grouping multiple form fields
- Adds
IconInput
component for input elements with icons inside them
- Adds
width
prop toDialog
for custom widths
- Adds
DecoratedInput
component - right-aligns number-like inputs (time, date, number, etc.)
Component removed (was not publicly documented).
This component no longer accepts text as an icon. You must pass it
a component. It will render a DenyIcon
by default.
This release may introduce minor visual regressions on inputs in consumer applications.
- Added default styles to all form elements, including box-shadow focus ring
resetInput
helper class now removesbox-shadow
Removed some z-index
values:
- main
- banner
- floatingAction
Changed some existing z-index
values (see migration tables below).
fds-dictionary
z-index
migration:
Old JS var | New JS var |
---|---|
ZINDEX_MAIN |
ZINDEX_NAVIGATION OR remove z-index |
ZINDEX_BANNER |
ZINDEX_NAVIGATION |
ZINDEX_FLOATING_ACTION |
ZINDEX_NAVIGATION |
fds-dictionary
z-index
migration:
Old CSS var | New CSS color var |
---|---|
--zindex-main |
--zindex-navigation OR remove the property |
--zindex-banner |
--zindex-navigation |
--zindex-floatingAction |
--zindex-navigation |
- Added ability to pass
href
orLink
prop toIconButton
component
- Adds
shape--circle
helper class - Adds
FloatingAction
component for floating action buttons
Adds onClose and onOpen callbacks to Popover
Adds bgFade--<direction>--<color>
helper classes to base stylesheet.
- Added small IconButton:
size="s"
- Default IconButton size now becomes medium:
size="m"
Adds full support to FDS for medium weight Roboto.
- Adds
medium
weight to dictionary font weights - Adds
fontWeight--medium
helper class - Replaces hard coded
500
weights in components to use new dictionary var
- In
Popover
,focus
andblur
events were replaced withkeyUp
andkeyDown
events. This allows hover-triggered popovers to show the popover content on keyboard navigation without side effects from focus events on the trigger itself.
- Adjusted padding on small button
- Updated
SortUp
Icon - Updated
SortDown
Icon - Make all default interactive buttons be 32px computed height:
Button
,IconButton
, andGroupButton
- Make small button 24px height
- Apply focus states for interactive buttons to ButtonGroup
- Bump up size of icons in Buttons
- Change source order for some helper classes in
base-styles
- Added
InlineBlockList
layout component.
The material-ui theme object has been removed from FDS. Consumers are now responsible for declaring theme values for the material-ui framework.
Consumers must add version ^4
of the raf-schd
package as a dependency.
The className
prop in all icon components will be ignored. Use customSize
or color
to customize the size or color of the icon. Prefer the size
prop, which takes tee shirt
sizes and sets the icon to a standard media size.
-<CloudIcon className="customSizingClass customColorClass" />
+<CloudIcon color={FDS.COLOR_TIMBERWOLF} customSize={42} />
The Chip
component no longer provides margin. Use the InlineBlockList
layout component
to create a list of chips.
-<Chip /><Chip /><Chip />
+<InlineBlockList items={[<Chip />, <Chip />, <Chip />]} />
The size
prop value in Chip
has been changed to align values with the FDS standard
size values.
-<Chip size="md" />
+<Chip size="m" />
MenuButton component was removed. Please use StackedButton instead.
-<MenuButton />
+<StackedButton />
className
is no longer supported. Move your custom classes to a parent or child.
-<FlexItem className="type--caption" />
+<FlexItem><div className="type--caption" /></FlexItem>
dataTest
props are now ignored. Move your test data attributes to a parent or child.
-<Flex dataTest="lol" />
+<div data-test="lol"><Flex>...</Flex></div>
- Added
hasCaret
prop to visually toggle right aligned caret
- Added
.bgColor--charcoal
helper class - Added base
Popover
component - Added
Tooltip
component composed fromPopover
- Updated
IconButton
,StackedButton
, andButton
to have lower opacity for disabled states
- Added
IconButton
to components - Added
StackedButton
to components
- Added bgColor--gray and bgColor--aqua helper classes
- Updated
StarEmpty
Icon - Updated
StarFilled
Icon
- Added
UserFilled
Icon
- Adjusted icon size to be as high as text size
- Updated Button Icon alignment to be centered
- Added box-sizing: border-box to button
- added correct font-size (was using fontSize--m which isn't a thing)
- Added
list--decorated
class to add bullets/numbers to ordered or unordered lists.
- Added size prop to
Button
to component - Added new small variant (
s
) to Button. - Existing Button variant is now medium (
m
)
- Add transparency to close icon (fixes background for Safari)
- Added
span--100
&span--50
classes to base styles.
- Added
Dialog
to components - Added
Prompt
to components
- Fixes IE11 issues with
Button
andHscroll
styling.
- Added
.border--<side>
helper classes - Added
.bgColor--<color>
helper classes - Added
--double
variants for spacing helper classes - Added
Section
component to react component library.
- Updated
ViewColumns
andViewList
Icons
- Added
!important
to all display class helpers
- Button now has 500 font weight
- Added
CheckIndeterminate
Icon
- Added
customSize
prop to icons to enable arbitrary sizes (we do not want to encourage active use of this prop however)
- Increased link contrast by making default links appear as
blue
(instead ofaqua
) AddedlinkInverted
property to dictionary and set up inverted link context in base-styles
- Corrected subtitle color for blue
Chip
(should be aqua)
- Allows a
Wrapper
prop to be passed toGroupButton
to support things like wrapping tooltips.
- Added
View
andDate Picker
to icons
- Enabled prefixing for CSS Grid properties for IE11 support
- Added
Button
to components
- Added
rounded--<direction>
classes to base styles.
- Added
font-smoothing
vendor declarations forwebkit
andfirefox
- Replaced
hasClose
boolean withonClose
click handler - Close icon now has a separate click handler from the main click handler
- Added
Hscroll
component to layout utils
- Add
color--slate
class back to styles
- Add
--double
variants formargin
helper classes - Add
--double
variants forpadding
helper classes
- Add
value/rgbComponents
transform to dictionary - Add
css/rgbComponents
format to dictionary - Add new distribution to dictionary,
lib/dictionary/css/rawRgbColors.css
- Removed global button line-height
- Removed global button margin bottom
- All modules in the Form Design System are now published as a single package,
@cbinsights/fds
. - Brand new typography defaults with updated dictionary and CSS utilities.
- Removed some components
- Changed some prop interfaces
- Switched to Storybook for docs
- Added
display
classes
Chips
was removed from codebase
ButtonGroup
propas
was removed in favor ofLink
Chip
propas
was removed in favor ofLink
- Removed
value
andcontent
deprecated fields onButtonGroup
Because modules of the design system are no longer published as separate node packages, consumers must update their import statements.
In v4.0
, all FDS code compiles to a root lib
directory.
-import FDS from 'fds-dictionary/dist/js/styleConstants';
+import FDS from '@cbinsights/fds/lib/dictionary/styleConstants';
former npm module import | new import statement |
---|---|
fds-dictionary/dist |
@cbinsights/fds/lib/dictionary/ |
fds-icons/lib/react |
@cbinsights/fds/lib/icons/react |
fds-components/lib/ |
@cbinsights/fds/lib/components/ |
fds-mui-theme/ |
@cbinsights/fds/lib/mui-theme/ |
Instead of using the rollup stylesheet from fds-components
, version 4.0
provides
a special assets
dir in ./lib
that includes combined styles:
@cbinsights/fds/lib/assets/all-styles.min.css
Typography has been completely rewritten for version 4.0
to reflect new design
standards. Use the tables below as a migration guide:
fds-dictionary
color migration:
Old JS color var | New JS color var |
---|---|
FONT_COLOR_DARK |
FONT_COLOR_HEADING |
FONT_COLOR_DEFAULT |
FONT_COLOR_PRIMARY |
FONT_COLOR_LIGHT |
FONT_COLOR_SECONDARY |
FONT_COLOR_DISABLED |
FONT_COLOR_HINT |
fds-dictionary
size migration:
Old JS size var | New JS size var |
---|---|
FONT_SIZE_HEADING1 |
FONT_SIZE_4_XL |
FONT_SIZE_HEADING2 |
FONT_SIZE_3_XL |
FONT_SIZE_HEADING3 |
FONT_SIZE_2_XL |
FONT_SIZE_BIG |
FONT_SIZE_XL |
FONT_SIZE_SMALL |
FONT_SIZE_S |
FONT_SIZE_TINY |
FONT_SIZE_XS |
fds-dictionary
color migration:
Old CSS color var | New CSS color var |
---|---|
--font-color-dark |
--font-color-heading |
--font-color-default |
--font-color-primary |
--font-color-light |
--font-color-secondary |
--font-color-disabled |
--font-color-hint |
fds-dictionary
size migration:
Old CSS size var | New CSS size var |
---|---|
--font-size-heading1 |
--font-size-4xl |
--font-size-heading2 |
--font-size-3xl |
--font-size-heading3 |
--font-size-2xl |
--font-size-big |
--font-size-xl |
--font-size-small |
--font-size-s |
--font-size-tiny |
--font-size-xs |
All typeset--<classOfTypography>
classes have changed their signature.
typeset--<classOfTypography>
=>type--<classOfTypography>
- e.g.
typeset--head3
becomestype--head3
- e.g.
All typemod--<modification>
classes have changed to reflect the CSS property
being modified by the class.
fds-styles
size migration:
Old size CSS class | New size CSS class |
---|---|
typemod--huge |
fontSize--4xl |
typemod--xxlarge |
fontSize--3xl |
typemod--xlarge |
fontSize--xl |
typemod--large |
fontSize--l |
typemod--small |
fontSize--s |
typemod--tiny |
fontSize--xs |
fds-styles
color migration:
Old color CSS class | New color CSS class |
---|---|
typemod--dark |
color--heading |
typemod--light |
color--secondary |
typemod--<colorName> |
color--<colorName> |
fds-styles
weight migration:
Old weight CSS class | New weight CSS class |
---|---|
typemod--bold |
fontWeight--bold |
typemod--book |
fontWeight--book |
fds-styles
font style migration:
old font style class | new font style class |
---|---|
typemod--italic |
fontStyle--italic |
typemod--underline |
fontStyle--underline |
typemod--caps |
fontStyle--caps |
- Added icons to
fds-icons
SortDownIcon
SortUpIcon
ViewColumnsIcon
ViewListIcon
GroupButton
now should not overlap any other items that are positioned over it
key
now will properly be applied from array items passed toButtonGroup
GroupButton
background-color in Firefox is now fixedGroupButton
active states now work (removed :enabled)
onChange
now works again inButtonGroup
- deprecated
icon
prop in favor ofIcon
prop inButtonGroup
className
no longer accepted onButtonGroup
orGroupButton
- Key now properly gets generated from
label
- Anchor buttons can now have a disabled style
- Fixed bug that happens when
onChange
is not specified
- Standardized
ButtonGroup
in line withChips
- Array items in
ButtonGroup
can now be rendered as anchors, buttons, or custom components (e.g. Link) - Added
label
prop to define display - Added
key
prop to override key (if labels are not unique) content
is now deprecatedvalue
is now deprecated
- Can now specify key instead of value on array items
- Corrected propTypes
**
- Removed flexGrow prop from FlexItem
- Adds
Chips
component tofds-components
ButtonGroup
now manages z-index more carefullyGroupButton
styles were updated, including having a new focus style
fds-icons
Changed icon displayName to reflect the actual name
- Added arrow icons to
fds-icons
- NavArrowBackIcon
- NavArrowDownIcon
- NavArrowForwardIcon
- NavArrowUpIcon
fds-styles
Changed default cursor on disabled items
fds-icons
updated to utilize currentColor
- Adds
ButtonGroup
component tofds-components
- Pass GroupButton as children to ButtonGroup
- Adds
GroupButton
component tofds-components
ShareIcon
icon updated to always use an arrow shape.HideIcon
icon now uses a crossed out eye shape.- To use a "no sign" shape, please use
NopeIcon
- To use a "no sign" shape, please use
NetworkIcon
added (connected dots style share icon).
- Adds
typeset--link
helper class tofds-styles
- Adds
font-color-link
variable tofds-dictionary
- Adds
elevation--<level>
box shadow classes tofds-styles
- Adds
depth--<level>
box shadow classes tofds-styles
- Adds
resetButton
utility class tofds-styles
.
- Adds
Export
icon - Puts dollar sign back in
Investor
icon
- Roll back SVG changes to
Move
icon
Updatable
component now takeschildren
instead of acomponent
prop.
- Add
ExpertTag
icon tofds-icons
- Add
StoryDossier
icon tofds-icons
- Add IE11 target to
babel/preset-env
configuration to ensure arrow functions are transformed.
=>
"
- Move all jest configuration to repo root; run tests from root
- Upgrade some dev dependencies to latest...
babel
(cli, core, etc)webpack-blocks
enzyme
enzyme-to-json
lint-staged
react-styleguidist
- adds "more" icon to
fds-icons
- modifies "investor" icon in
fds-icons
(adds dollar sign to briefcase)
- If a
Toast
is of typeprogress
, it will not render a dismiss button. This helps avoid confusion that dismissing a toast is the same as cancelling the operation in progress (it doesn't). - Adds new
yarn
command for updating snapshots in all packages
- Changes high-specificity negating selector for non-checkbox, non-button inputs. Instead,
base input styles will be set by single attribute selectors (e.g.
input[type="text"]
)
- Includes fixes for...
- checkbox wrapping
- input border-box size bugs
- Added better base tag defaults for form elements
- Added
error
andresetField
helper classes for form elements
- When user engages the action on a Toast we will not dismiss the message
- Added custom media
properties to
fds-dictionary
. Assuming the consumer haspostcss-preset-env
set up, consumers can importcustomMedia.css
to support the following standard viewports:@media (--viewport-xs) { ...extra small and larger.. }
@media (--viewport-s) { ...small and larger.. }
@media (--viewport-m) { ...medium and larger.. }
@media (--viewport-l) { ...large and larger.. }
@media (--viewport-xl) { ...extra large and larger.. }
- Updates all icons from latest sketch file
- Modifies
ShareIcon
to use an arrow instead of a network icon
- Adds
Updatable
component tofds-components
.
- Adds more base element defaults to
fds-styles
to help us move away from bootstrap.
- Modifies
Toaster
component to position appearing toasts to the bottom left of the viewport.
- Adds
Toast
component tofds-components
- Adds
Toaster
controller component tofds-components
- Adds
CountdownButton
component tofds-components
- Gives modals and -based components a z-index of 9999
- Adds dataTest props to Flex and Flex-Item
- Adds motion/easing standards to
fds-dictionary
- Upgrades
react
to^16.8
- Add flexGrow prop to FlexItem
- Adds two icons to
fds-icons
FunnelIcon
NumbersIcon
- Adds
z-index
tokens tofds-dictionary
. Available in CSS asvar(--zindex-<VALUE>)
and in JS asFDS.ZINDEX_<VALUE>
.
- Added
--half
variants to padding and spacing utility classes infds-styles
Updated fds-icons
package with breaking changes.
- Added new icons
+ActionsArrowDown
+ActionsArrowLeft
+ActionsArrowRight
+ActionsArrowUp
+AdvancedSearch
+At
+AutoBuild
+Bell
+CbiData
+CheckFilled
+CompanyCustom
+Line
+Reset
+StarEmpty
+StarFilled
+Story
+StoryAdd
+StoryExpert
+ThreeDot
+Visualize
+WorkFaster
Renamed a number of icons...
Down
=>CaretDown
Right
=>CaretRight
Left
=>CaretLeft
Up
=>CaretUp
Collection
=>CollectionPublic
EmptyCheck
=>CheckEmpty
ExpertCollection
=>CollectionExpert
HanburgerBars
=>HamburgerBars
AlphabeticalAz
=>OrderAlphabeticalAz
AlphabeticalZa
=>OrderAlphabeticalZa
Ascending
=>OrderAscending
Decending
=>OrderDescending
RadioButtonEmpty
=>RadioEmpty
RadioButtonFilled
=>RadioFilled
- Adds
fds-icons
package toform-design-system
fds-components
now imports css fromfds-icons
into main stylesheet
- Fixes issue occurring in some patch versions of
1.19
where packages were published withoutlib/
ordist/
dirs.
- Adds type modifier classes to
fds-styles
for underline, italic, and all caps
- Adds disabled font color to
fds-dictionary
- Adds
MenuButton
component tofds-components
- Fix import statement in
fds-mui-theme
- Added
AvatarRow
component tofds-components
.
- Added
important
declarations to modifier classes commonly used to override things. For example,typemod--red
should always override any inheritedcolor
attribute.
- Added
media
properties tofds-dictionary
for standard media sizing (icons, avatars, etc.) - Added
media--
helper classes tofds-styles
to set dimensions of a selected element to a given standard media size.
- Added
fds-mui-theme
package. This provides a theme formaterial-ui
based on our standard styles defined infds-dictionary
.
bad publish - identical to 1.10
.
- Added material UI palettes to
fds-dictionary
. Light and dark variants are generated for each base color for use inmaterial-ui
framework theming.
import with: `import { blue } from 'fds-dictionary/dist/js/materialPalette.js'`
blue[500]; // base blue color
blue[100]; // lightened blue
blue[900]; // darkened blue
- Added distribution to
fds-dictionary
, a map of CSS custom property names to values. This is used to populate a PostCSS plugin with fallback values of custom properties for IE11.
- Added whitespace "wrap" helpers to
fds-styles
- Changed
align--
classes to useleft
andright
instead ofstart
andend
. Fixes bug where PostCSS was producing invalid CSS by nesting[dir]
attribute selectors insidealign--
blocks.
- Added react native dist to
fds-dictionary
. Import path is'fds-dictionary/dist/js/reactNative'
.
- Removed default background color on
body
andhtml
elements - Fixed defect where
table
was being set todisplay: block
by default - Modified publish routine - allow lerna to version root package
- Added
sketch/palettes
distribution tofds-dictionary
- Changed javascript distribution in
fds-dictionary
to commonJS modules
- Improved signature of type modifiers
- Added type specimen to docs (not linked publicly)
- Use condensed Roboto where appropriate
- Fixes issue where default body type size was not being set
Added typesetting and type modifier classes to fds-styles
.
Added dictionary properties for typography.
Public API defined; all packages ready for use in production, but most are very basic stubs.
For v1.0.0
, the package to consume is fds-components
, which includes Flex
and FlexItem
layout helper components.
Add cross-package dependencies.
The component lib now imports the foundational stylesheet from fds-styles
.
The foundational stylesheet imports custom properties from fds-dictionary
.
fds-styles
now depends onfds-dictionary
fds-components
now depends onfds-styles
First published beta version of FDS components. Use with caution.
- Add
fds-dictionary
package- Add color properties
- Add font weight properties
- Add distributions for
js
andcss
- Add
fds-styles
package- Add
flush
, andalign
helper classes
- Add
- Add
fds-components
package- Add
Flex
andFlexItem
layout components
- Add