Icon Usage Guidelines
Can't find the icon you need?
Check Streamline and contribute it to the library following our guidelines.
Icons are small graphical representation of a program or a function. They can be used to enhance the appearance of a web interface and break up the monotony of text.
Use an icon only when it provides additional clarity or is necessary to draw attention to a UI element.
Icons can either be decorative or informative. "Decorative icons don’t add information to the content of a page. The information provided by the image might already be given using adjacent text, or the image might be included to make the website more visually attractive." (w3.org)
Our icons require the developer define whether an icon is decorative by providing the required property.
A title is required so assistive technology can infer equal meaning as a sighted user would.
Do
Use title text that gives context and meaning to the icon.
Avoid
Avoid title text that only describes the icon image.
Remember that different cultures may interpret the same image in different ways so despite our best intentions it is helpful to provide adjoining text.
Do
Pair icons with text.
Avoid
Avoid having standalone icons.
Icons should not have interactions such as click or hover behavior. Instead they should be wrapped with an interactive element such as Button and Anchor.
Do
Wrap icons in an interactive component.
Avoid
Avoid making icons interactive without an interactive metaphor.
We can change the icon color directly using text color tokens.
<LoadingIcon decorative={true} color="colorTextError" />
Alternatively, icons can inherit the current text color.
<Text as="p" color="colorTextInverse"><Box as="span" display="flex" alignItems="center" backgroundColor="colorBackgroundBodyInverse" padding="space30" borderRadius="borderRadius20"><LoadingIcon decorative={true} /><Box marginLeft="space20">Now loading</Box></Box></Text>
Icons accept one of our sizeIcon
tokens.
<Text as="p"><Box><PlusIcon decorative={false} title="Add to cart" size="sizeIcon10" /></Box><Box><PlusIcon decorative={false} title="Add to cart" size="sizeIcon20" /></Box><Box><PlusIcon decorative={false} title="Add to cart" size="sizeIcon30" /></Box><Box><PlusIcon decorative={false} title="Add to cart" size="sizeIcon40" /></Box></Text>
If an icon is decorative, no title is necessary. However, if an icon isn't decorative, you must provide a title property.
<Text as="p"><PlusIcon decorative={false} title="Add to cart" /><PlusIcon decorative={true} /></Text>
yarn add @twilio-paste/icons
Icons have to be imported individually. This import style was decided for important performance benefits. As our icon set grows to contain over 100 icons, we don't want projects that use only a few icons to pay the price of a large bundle.
import {PlusIcon} from '@twilio-paste/icons/esm/PlusIcon';
<Button variant="secondary" size="small" onClick={() => {}}>
<PlusIcon decorative={true} />
Add to cart
</Button>;
Prop | Type | Description | Default |
---|---|---|---|
as? | string | The HTML tag to replace the default <span> tag. | span |
title? | string | The accessibility text that is read when screenreaders get to this component. | |
display? | ResponsiveValue<CSS.DisplayProperty> | block | |
decorative | boolean | Whether or not the SVG is just visual flair or adds meaning to the page. Specifically for screenreaders to know whether to read out the title or not. | |
size? | IconSize | sizeIcon10 sizeIcon20 sizeIcon30 sizeIcon40 | sizeIcon20 |
color? | TextColor | Sets the icon color to any of our text color tokens or currentColor , which inherits text color from the parent element. | currentColor |
element? | string | Overrides the default element name to apply unique styles with the Customization Provider | 'ICON' |
Paste icons are distributed as both SVG files and React components.
PNGs and JPGs are created using thousands of tiny pixels. SVGs are made out of geometric primitives such as points, lines, and basic shapes. Because of this attribute, SVGs can be resized without any loss of quality to the image. We can also write code to change SVG attributes in realtime. These characteristics are ideal for icons since we usually want to customize their size or color. To do this with PNGs or JPGs we would need to create a separate file for each variation.
If you're using any Paste component, you're familiar with how to install and use a React component. Our icon components have accessibility baked in. They also use our tokens for sizing and coloring. With icon components, you can import only the icons your project needs.
Curious why we chose to make React component icons? Check our write-up document.
Changelog
Change Log
1430b8c80
#3808 Thanks @nkrantz! - [Icons] Add new icons SentimentNeutral, SentimentPositive, SentimentNegative, and Folder
67c25a7c9
#3788 Thanks @SiTaggart! - Added ArtificialIntelligenceIcon, AvailableIcon and ProductSendGridIcon
f5a0ae961
#3662 Thanks @nkrantz! - [Icons] Update svg of the DocumentationIcon for better alignment with text
4d7e2364d
#3649 Thanks @nkrantz! - [Icons] Swap SVGs for ProductDestinationsIcon and ProductSourcesIcon because they were backwards.
b97c0525b
#3607 Thanks @SiTaggart! - [Icons] Improved TsDoc type annotations
733709127
#3395 Thanks @SiTaggart! - Modified the compile target of our JavaScript bundles fromnode
tobrowser
to minimize the risk of clashing with RequireJS. This is marked as a major out of an abundance of caution. You shouldn't need to do anything but we wanted you to be aware of the change on the off chance it has unintended consequences
- Updated dependencies [
733709127
]:- @twilio-paste/uid-library@2.0.0
- @twilio-paste/color-contrast-utils@5.0.0
- @twilio-paste/box@10.0.0
- @twilio-paste/customization@8.0.0
- @twilio-paste/design-tokens@10.0.0
- @twilio-paste/animation-library@2.0.0
- @twilio-paste/styling-library@3.0.0
- @twilio-paste/style-props@9.0.0
- @twilio-paste/theme@11.0.0
- @twilio-paste/types@6.0.0
9e5b3b7f0
#3224 Thanks @TheSisb! - [Icons] applyflex-shrink: 0
to IconWrapper by default, as we never want icons to be compressed unexpectedly
5958ffb5b
#3230 Thanks @SiTaggart! - Added the ProductSwitcher icon
3ab2bb6f4
#3114 Thanks @SiTaggart! - ### Breaking changeWe have moved
@types/react
and@types/react-dom
to peer dependencies of the library. This should allow for greater control and backwards compatibility with older versions of React as Paste is no longer bundling the type libraries.Your application likely has both of these as dependencies anyway, but it is now up to you to manage that version number.
Action needed
Ensure
@types/react
and@types/react-dom
are installed as dependencies of your application.
1d75f223e
#3082 Thanks @nkrantz! - [Icons] add new icons for Segment, Content Editor, Aion, Messaging
50cde4668
#3117 Thanks @nkrantz! - [Icons] Deprecate ProductEngagementIntelligencePlatformIcon. The icon will still be available for use for now, but it will no longer appear on the docs site. It was replaced with ProductVoiceIntelligenceIcon.Updated dependencies [
bce889344
,3ab2bb6f4
,3ab2bb6f4
]:- @twilio-paste/theme@10.0.0
- @twilio-paste/box@9.0.0
- @twilio-paste/customization@7.0.0
- @twilio-paste/style-props@8.0.0
- @twilio-paste/types@5.0.0
d97098846
#3020 Thanks @SiTaggart! - This major version included listing all the missing peer dependencies for each Paste package.If you are using a package from Paste in isolation from Core, when upgrading to this latest version, be sure to correctly install all the missing peer dependencies.
- Updated dependencies [
dbd9bf992
,3c89fd83d
,d97098846
,0acdf3486
,ef094db4a
,0acdf3486
]:- @twilio-paste/design-tokens@9.0.0
- @twilio-paste/box@8.0.0
- @twilio-paste/customization@6.0.0
- @twilio-paste/animation-library@1.0.0
- @twilio-paste/styling-library@2.0.0
- @twilio-paste/uid-library@1.0.0
- @twilio-paste/style-props@7.0.0
- @twilio-paste/theme@9.0.0
- @twilio-paste/types@4.0.0
- @twilio-paste/color-contrast-utils@4.0.0
0b497ed21
#2961 Thanks @shleewhite! - [Icons] update the ChevronDisclosureIcon, deprecate ChevronDisclosureExpandedIcon and ChevronDisclosureCollapsedIcon
2719716a4
#2906 Thanks @jb-twilio! - Remove logical assignment support
468b1b6d0
#2894 Thanks @gloriliale! - [Icons] Modify ProductSegmentIcon, add new product icons:- ProductAudiencesIcon
- ProductConnectionsIcon
- ProductEngageIcon
- ProductPersonasIcon
- ProductPrivacyIcon
- ProductProtocolsIcon
- ProductReverseETLIcon
- ProductTraitsIcon
- ProductUSSDIcon
6c632c7f7
#2814 Thanks @SiTaggart! - Add Notes icon
a4c9e70b0
#2763 Thanks @shleewhite! - Update ESLint rules, which changed some formatting.
0585beee9
#2690 Thanks @shleewhite! - [Icons] add ProductInternetOfThingsProgrammableAssetTracker icon
312a3ccf6
#2660 Thanks @TheSisb! - [Icons] AddSelectedIcon
. This is used in MultiselectCombobox to represent selected items.
a890926a6
#2651 Thanks @SiTaggart! - [Icons] Releasing the Contact Centre icon set, introducing 42 new icons into Paste
- Updated dependencies [
12c4ba22a
,364083627
,364083627
,364083627
,364083627
]:- @twilio-paste/box@7.0.0
- @twilio-paste/style-props@6.0.0
- @twilio-paste/design-tokens@8.0.0
- @twilio-paste/theme@8.0.0
26e0d23fe
#2501 Thanks @gloriliale! - [Icons] Add the new icon "CloseCircleIcon"
ae9dd50f
#2466 Thanks @TheSisb! - [All packages] Update our ESBuild version and remove minification of identifiers in our production builds.
9983b52e9
#2419 Thanks @gloriliale! - [Combobox, Data grid, Color contrast utils, Customization, Design tokens, Icons, Style props, Token contrast checker, Types, Utils, Website] Consolidate and update lodash dependencies and the way lodash is imported in our files, per lodash's guidance. Details: https://lodash.com/per-method-packages
- Updated dependencies [
09762f0f
,09762f0f1
,09762f0f1
]:- @twilio-paste/box@6.0.0
- @twilio-paste/styling-library@1.0.0
- @twilio-paste/theme@7.0.0
- @twilio-paste/style-props@5.0.0
10178f39d
#2363 Thanks @shleewhite! - [Icons] add React.forwardRef to all icons
73c596919
#2269 Thanks @SiTaggart! - Fixed a regression with the compilation script that caused incompatible ESM module importing of JSON files.
2e27b03a5
#2215 Thanks @shleewhite! - [Icon] add connectivity neutral icon
c867e3f48
#2237 Thanks @SiTaggart! - Updated a build dependency (esbuild) which changes the output of our builds slightly, without materially changing anything about the code.
- Updated dependencies [
0a52eeee
,0a52eeee
,04de0d1d
,04de0d1d
,04de0d1d
]:- @twilio-paste/design-tokens@7.0.0
- @twilio-paste/theme@6.0.0
- @twilio-paste/style-props@4.0.0
- @twilio-paste/box@5.0.0
10446cb7a
#2059 Thanks @kylegilbreath! - [paste-icons] Added ProductSegment, ScreenShare, StopScreenShare, LowerHand, RaiseHand, VideoOff, VideoOn, MicrophoneOff, MicrophoneOn
ed5c0a49c
#1965 Thanks @shleewhite! - Upgrade Paste to use React 17 by default, but maintain React 16 support for consumers.
06603c60
#1957 Thanks @loreina! - [Icons] Added ProductAlarmsIcon and TextFormatIcon, Updated svgs for ProductEventStreamsIcon and UnsortedIcon
fa49442f
#1938 Thanks @SiTaggart! - New Icon: Product Icon for Twilio Live
d13c1095
#1911 Thanks @andipants12! - [Icons] Added the following icons for connectivity status pattern:- ConnectivityAvailableIcon
- ConnectivityBusyIcon
- ConnectivityOfflineIcon
- ConnectivityUnavailableIcon
c59aa865
#1839 Thanks @SiTaggart! - [Icons] enable all icons to respect customization by giving them a generic element name, and ability to create custom element names.
8394ac05
#1837 Thanks @gloriliale! - Added the following icons:- AttachmentIcon
- BoldIcon
- FileIcon
- HistoryIcon
- ItalicIcon
- OrderedListIcon
- StrikethroughIcon
- UnderlineIcon
- UnorderedListIcon
e967a33c
#1774 Thanks @nkrantz! - Added the following icons:- ProcessDisabledIcon
- ProcessDraftIcon
- ProcessErrorIcon
- ProcessInProgressIcon
- ProcessNeutralIcon
- ProcessSuccessIcon
- ProcessWarningIcon
139ca465
#1679 Thanks @gloriliale! - New icons added: Color Picker and Theme
96137d79
#1573 Thanks @andipants12! - [Icons] added ThumbsUpIcon, ThumbsDownIcon, SupportIcon, ExportIcon, ChatIcon, ShowIcon, HideIcon, DownloadIcon
c42f86ca
#1434 Thanks @SiTaggart! - Added two new icons for light and dark mode
3f99ec87
#1334 Thanks @serifluous! - Add DataBarChartIcon, DataLineChartIcon, DataPieChartIcon, DataTableIcon, HideIcon, ShowIcon. Fix viewbox sizing issue with CreditCardIcon. Minor glyph update to some product logo icons.
0eded1fd
#1319 Thanks @SiTaggart! - Change internal dependencies to have minor range matching on version numbers
514bd5aa
#1299 Thanks @SiTaggart! - Correctly type the size prop to use the icons sizes from style props and not from boxUpdated dependencies [
514bd5aa
]:- @twilio-paste/theme@5.0.1
- @twilio-paste/box@4.0.2
- @twilio-paste/style-props@3.0.1
- Updated dependencies [
4c9ed5ca
,26c828d8
]:- @twilio-paste/design-tokens@6.6.0
- @twilio-paste/theme@5.0.0
- @twilio-paste/box@4.0.0
- @twilio-paste/style-props@3.0.0
af779398
#1224 Thanks @richbachman! - added ProductInternetOfThingsEmbeddedSIMIcon, ProductInternetOfThingsNarrowbandIcon, ProductInternetOfThingsSuperSIMIcon, ProductInternetOfThingsTrustOnboardIcon, ProductInternetOfThingsWirelessIcon iconsUpdated dependencies [
944c3407
]:- @twilio-paste/design-tokens@6.5.2
- @twilio-paste/box@3.0.1
- @twilio-paste/style-props@2.0.1
- @twilio-paste/theme@4.3.1
7340a6a5
#1180 Thanks @jeevan-sg! - adds product icon for event streams app
- Updated dependencies [
f1675586
]:- @twilio-paste/theme@4.3.0
- @twilio-paste/box@3.0.0
- @twilio-paste/style-props@2.0.0
a12acb61
#1158 Thanks @richbachman! - Pinned all twilio-paste package versions in order to keep them in sync with core when they are updated by changesets.Updated dependencies [
a12acb61
,a12acb61
,a12acb61
]:- @twilio-paste/theme@4.2.2
- @twilio-paste/style-props@1.9.2
- @twilio-paste/box@2.13.2
4114dac2
#1119 Thanks @vnguyen94! - add ElasticSIPTrunkingCapable icon
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
3.12.1 (2021-01-25)
Note: Version bump only for package @twilio-paste/icons
3.12.0 (2021-01-21)
3.11.2 (2021-01-15)
Note: Version bump only for package @twilio-paste/icons
3.11.1 (2021-01-14)
Note: Version bump only for package @twilio-paste/icons
3.11.0 (2021-01-13)
3.10.6 (2021-01-07)
Note: Version bump only for package @twilio-paste/icons
3.10.5 (2020-12-17)
Note: Version bump only for package @twilio-paste/icons
3.10.4 (2020-12-15)
Note: Version bump only for package @twilio-paste/icons
3.10.3 (2020-12-11)
Note: Version bump only for package @twilio-paste/icons
3.10.2 (2020-12-11)
Note: Version bump only for package @twilio-paste/icons
3.10.1 (2020-12-09)
Note: Version bump only for package @twilio-paste/icons
3.10.0 (2020-12-03)
3.9.1 (2020-12-02)
Note: Version bump only for package @twilio-paste/icons
3.9.0 (2020-11-16)
3.8.4 (2020-11-11)
Note: Version bump only for package @twilio-paste/icons
3.8.3 (2020-11-10)
3.8.2 (2020-11-06)
Note: Version bump only for package @twilio-paste/icons
3.8.1 (2020-11-05)
Note: Version bump only for package @twilio-paste/icons
3.8.0 (2020-10-30)
3.7.3 (2020-10-29)
Note: Version bump only for package @twilio-paste/icons
3.7.2 (2020-10-23)
Note: Version bump only for package @twilio-paste/icons
3.7.1 (2020-10-21)
Note: Version bump only for package @twilio-paste/icons
3.7.0 (2020-10-19)
- icons: add and update icons (526a8ad)
3.6.2 (2020-10-15)
Note: Version bump only for package @twilio-paste/icons
3.6.1 (2020-10-13)
Note: Version bump only for package @twilio-paste/icons
3.6.0 (2020-10-09)
3.5.8 (2020-10-07)
Note: Version bump only for package @twilio-paste/icons
3.5.7 (2020-10-07)
Note: Version bump only for package @twilio-paste/icons
3.5.6 (2020-10-07)
Note: Version bump only for package @twilio-paste/icons
3.5.5 (2020-10-07)
Note: Version bump only for package @twilio-paste/icons
3.5.4 (2020-09-22)
Note: Version bump only for package @twilio-paste/icons
3.5.3 (2020-09-21)
Note: Version bump only for package @twilio-paste/icons
3.5.2 (2020-09-15)
Note: Version bump only for package @twilio-paste/icons
3.5.1 (2020-09-15)
Note: Version bump only for package @twilio-paste/icons
3.5.0 (2020-09-14)
3.4.0 (2020-09-10)
3.3.0 (2020-09-09)
- icons: add connecteddecices icon and update close (ba592e9)
3.2.3 (2020-09-09)
Note: Version bump only for package @twilio-paste/icons
3.2.2 (2020-09-08)
Note: Version bump only for package @twilio-paste/icons
3.2.1 (2020-09-08)
- icons: reset line height on the icon wrapper (5b5fe8e)
3.2.0 (2020-09-03)
- icons: add a json list export (6ddb010)
3.1.2 (2020-08-31)
Note: Version bump only for package @twilio-paste/icons
3.1.1 (2020-08-31)
Note: Version bump only for package @twilio-paste/icons
3.1.0 (2020-08-24)
- icons: resized icons to 20px line heights (8ce184c)
3.0.4 (2020-08-19)
Note: Version bump only for package @twilio-paste/icons
3.0.3 (2020-08-12)
Note: Version bump only for package @twilio-paste/icons
3.0.2 (2020-08-12)
Note: Version bump only for package @twilio-paste/icons
3.0.1 (2020-08-06)
Note: Version bump only for package @twilio-paste/icons
3.0.0 (2020-08-05)
icons: This change renames a key prop and changes the display mode from inline-flex to block
fix: use new icon prop (iconColor -> color)
test: update snapshots
chore(icons): update readme to mention correct display value
Co-authored-by: Rich Bachman rb@richbachman.com
- chore(website): update icon doc prop table
Co-authored-by: Rich Bachman rb@richbachman.com
Co-authored-by: Rich Bachman rb@richbachman.com
2.6.4 (2020-08-04)
Note: Version bump only for package @twilio-paste/icons
2.6.3 (2020-08-04)
Note: Version bump only for package @twilio-paste/icons
2.6.2 (2020-07-30)
Note: Version bump only for package @twilio-paste/icons
2.6.1 (2020-07-29)
Note: Version bump only for package @twilio-paste/icons
2.6.0 (2020-07-28)
- icons: add some icons and update old icons for UDL (c9d5010)
2.5.1 (2020-07-22)
Note: Version bump only for package @twilio-paste/icons
2.5.0 (2020-07-20)
2.4.3 (2020-07-15)
Note: Version bump only for package @twilio-paste/icons
2.4.2 (2020-07-14)
Note: Version bump only for package @twilio-paste/icons
2.4.1 (2020-07-14)
Note: Version bump only for package @twilio-paste/icons
2.4.0 (2020-07-02)
- icons: add display prop (4c9027d)
2.3.2 (2020-07-02)
Note: Version bump only for package @twilio-paste/icons
2.3.1 (2020-07-01)
Note: Version bump only for package @twilio-paste/icons
2.3.0 (2020-06-25)
2.2.10 (2020-06-25)
Note: Version bump only for package @twilio-paste/icons
2.2.9 (2020-06-23)
Note: Version bump only for package @twilio-paste/icons
2.2.8 (2020-06-22)
Note: Version bump only for package @twilio-paste/icons
2.2.7 (2020-06-18)
Note: Version bump only for package @twilio-paste/icons
2.2.6 (2020-06-16)
Note: Version bump only for package @twilio-paste/icons
2.2.5 (2020-06-12)
Note: Version bump only for package @twilio-paste/icons
2.2.4 (2020-06-10)
Note: Version bump only for package @twilio-paste/icons
2.2.3 (2020-06-05)
Note: Version bump only for package @twilio-paste/icons
2.2.2 (2020-06-01)
Note: Version bump only for package @twilio-paste/icons
2.2.1 (2020-06-01)
Note: Version bump only for package @twilio-paste/icons
2.2.0 (2020-05-28)
2.1.7 (2020-05-20)
Note: Version bump only for package @twilio-paste/icons
2.1.6 (2020-05-07)
Note: Version bump only for package @twilio-paste/icons
2.1.5 (2020-05-07)
Note: Version bump only for package @twilio-paste/icons
2.1.4 (2020-05-04)
Note: Version bump only for package @twilio-paste/icons
2.1.3 (2020-05-01)
Note: Version bump only for package @twilio-paste/icons
2.1.2 (2020-04-25)
Note: Version bump only for package @twilio-paste/icons
2.1.1 (2020-04-22)
Note: Version bump only for package @twilio-paste/icons
2.1.0 (2020-04-20)
- icons: update status icons and add success (656b992)
2.0.11 (2020-04-15)
Note: Version bump only for package @twilio-paste/icons
2.0.10 (2020-04-08)
- icons: package dependencies updated to be correct (5d2d2b8)
2.0.9 (2020-04-07)
Note: Version bump only for package @twilio-paste/icons
2.0.8 (2020-04-07)
Note: Version bump only for package @twilio-paste/icons
2.0.7 (2020-04-02)
Note: Version bump only for package @twilio-paste/icons
2.0.6 (2020-03-24)
- icons: switch from theme-tokens to theme package dep (cfbb07f)
2.0.5 (2020-03-17)
Note: Version bump only for package @twilio-paste/icons
2.0.4 (2020-03-17)
Note: Version bump only for package @twilio-paste/icons
2.0.3 (2020-03-11)
Note: Version bump only for package @twilio-paste/icons
2.0.2 (2020-03-06)
Note: Version bump only for package @twilio-paste/icons
2.0.1 (2020-03-02)
Note: Version bump only for package @twilio-paste/icons
2.0.0 (2020-03-02)
- icons: change IconWrapper to inline-flex (e02f3d5)
- icons: rename SVG file to remove 'Icon' suffix (f0437d9)
- icons: update default icon size (7e3d2e0)
- icons: update several icons (94f5c70)
- storybook: incorrect import package (types -> style-props) (b199a10)
- icons: Renamed some SVG files to remove icon suffix
1.7.2 (2020-02-28)
Note: Version bump only for package @twilio-paste/icons
1.7.1 (2020-02-26)
1.7.0 (2020-02-21)
1.6.0 (2020-02-20)
- icons: add ChevronDown icon (ebb8360)
- icons: add ChevronUp icon (5070b68)
- icons: add LinkExternal icon (fa14ca3)
1.5.0 (2020-02-19)
1.4.6 (2020-02-18)
Note: Version bump only for package @twilio-paste/icons
1.4.5 (2020-02-13)
Note: Version bump only for package @twilio-paste/icons
1.4.4 (2020-02-11)
Note: Version bump only for package @twilio-paste/icons
1.4.3 (2020-02-11)
Note: Version bump only for package @twilio-paste/icons
1.4.2 (2020-02-03)
Note: Version bump only for package @twilio-paste/icons
1.4.1 (2020-01-27)
1.4.0 (2020-01-25)
1.3.1 (2020-01-24)
Note: Version bump only for package @twilio-paste/icons
1.3.0 (2020-01-17)
1.2.1 (2019-12-20)
Note: Version bump only for package @twilio-paste/icons
1.2.0 (2019-12-19)
- icons: add CopyIcon (#235) (d51d0d2)
- icons: adding close, error, information, warning (#239) (f9b632b)
1.1.1 (2019-12-05)
Note: Version bump only for package @twilio-paste/icons
1.1.0 (2019-11-20)
1.0.2 (2019-11-18)
1.0.1 (2019-11-12)
- prettier updated, updating formatting (8644831)
1.0.0 (2019-11-11)
icons: removed all the inherited icons since we're moving to a new system
chore(icons): update icon list for storybook
fix(spinner): use new icon
fix(storybook): use new icon for story
fix(story): button icons should be 24px
fix: adjust icon size tokens
feat: add iconSizes as separate key in theme-tokens
feat(icons): icons package to use tokens and update icons
fix(spinner): update to use tokens and new icons
fix(button): use correct spinner size
fix(icons): major icons package fixes
- huge overhaul to build process
- now uses rollup
- builds into cjs and esm directories
- made the package publishable to npm
- moved svg folder out of src, now src only holds react stuff
- updated scripts to use new paths and cleaned up the code
- programmatically generates rollup config from the icon-list command
chore: add new icons dist folders to gitignore
fix: spinner and button icon usage
feat(icons): add rollup icon list cache file
fix(core-bundle): sort packages for consistent builds
chore: use
esm
instead ofes
in rollup for correctnesschore: yarn.lock
fix(spinner): lint error
chore(icons): move rollup icon list
chore(spinner): use types package in story
fix(spinner): swap out destructured props for explicit props
0.4.0 (2019-10-29)
- core: a core bundle (#138) (f6ab2eb)
- finalise the Text component (#151) (b51c272)
- upgrading to styled-system v5 (#18) (2b3ebd8)
0.3.1 (2019-09-16)
0.3.0 (2019-08-15)
- change @paste scope to @twilio-paste (#2) (1d8d2ff)