Media Object
Media Object is a layout utility that allows an image or figure to be positioned horizontally next to some form of content.
b8d79200b
#3442 Thanks @TheSisb! - Removed all run-time prop-type checkingfrom Paste components. Paste now ships with only TypeScript types.ACTION NEEDED: None. This should be 100% backwards compatible.
dfff35e1e
#3493 Thanks @SiTaggart! - [Media Object]: Improved 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/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
4d1f7c65e
#3360 Thanks @SiTaggart! - Improved types where Paste extends the base HTML element that a component is based on, so that the existing blocked styling properties are not exposed as valid properties for the component via Typescript. This leads to less confusion around what is supported by a Paste component.Existing blocked component properties include:
className
style
color
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.
- 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/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
a4c9e70b0
#2763 Thanks @shleewhite! - Update ESLint rules, which changed some formatting.
- 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
ae9dd50f
#2466 Thanks @TheSisb! - [All packages] Update our ESBuild version and remove minification of identifiers in our production builds.
- 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
73c596919
#2269 Thanks @SiTaggart! - Fixed a regression with the compilation script that caused incompatible ESM module importing of JSON files.
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
b7675915
#1985 Thanks @TheSisb! - For debugging purposes we now ship afilename.debug.js
unminified version of each component or library in Paste.
ed5c0a49c
#1965 Thanks @shleewhite! - Upgrade Paste to use React 17 by default, but maintain React 16 support for consumers.
72f18ba1
#1676 Thanks @richbachman! - [MediaObject] Enable media-object, media-figure, and media-body to respect element customizations set on the customization provider. Media-object, media-figure, and media-body now enables setting an element name on the underlying HTML element and checks the emotion theme object to determine whether it should merge in custom styles to the ones set by the component author.
0eded1fd
#1319 Thanks @SiTaggart! - Change internal dependencies to have minor range matching on version numbers
- Updated 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
- Updated 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
- 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
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
2.1.1 (2021-01-25)
Note: Version bump only for package @twilio-paste/media-object
2.0.3 (2021-01-15)
Note: Version bump only for package @twilio-paste/media-object
2.0.2 (2021-01-07)
Note: Version bump only for package @twilio-paste/media-object
2.0.1 (2020-12-17)
Note: Version bump only for package @twilio-paste/media-object
- media-object: add forwardRef (6bcac35)
- media-object: component is now using fowardRef
1.2.75 (2020-12-15)
Note: Version bump only for package @twilio-paste/media-object
1.2.74 (2020-12-11)
Note: Version bump only for package @twilio-paste/media-object
1.2.73 (2020-12-11)
Note: Version bump only for package @twilio-paste/media-object
1.2.72 (2020-12-09)
Note: Version bump only for package @twilio-paste/media-object
1.2.71 (2020-12-02)
Note: Version bump only for package @twilio-paste/media-object
1.2.70 (2020-11-11)
Note: Version bump only for package @twilio-paste/media-object
1.2.69 (2020-11-06)
Note: Version bump only for package @twilio-paste/media-object
1.2.68 (2020-11-05)
Note: Version bump only for package @twilio-paste/media-object
1.2.67 (2020-10-23)
Note: Version bump only for package @twilio-paste/media-object
1.2.66 (2020-10-15)
Note: Version bump only for package @twilio-paste/media-object
1.2.65 (2020-10-13)
Note: Version bump only for package @twilio-paste/media-object
1.2.64 (2020-10-07)
Note: Version bump only for package @twilio-paste/media-object
1.2.63 (2020-10-07)
Note: Version bump only for package @twilio-paste/media-object
1.2.62 (2020-10-07)
Note: Version bump only for package @twilio-paste/media-object
1.2.61 (2020-10-07)
Note: Version bump only for package @twilio-paste/media-object
1.2.60 (2020-09-23)
Note: Version bump only for package @twilio-paste/media-object
1.2.59 (2020-09-22)
Note: Version bump only for package @twilio-paste/media-object
1.2.58 (2020-09-21)
- media-object: set to be production (08dcd7a)
1.2.57 (2020-09-15)
Note: Version bump only for package @twilio-paste/media-object
1.2.56 (2020-09-15)
Note: Version bump only for package @twilio-paste/media-object
1.2.55 (2020-09-08)
Note: Version bump only for package @twilio-paste/media-object
1.2.54 (2020-09-08)
Note: Version bump only for package @twilio-paste/media-object
1.2.53 (2020-09-03)
Note: Version bump only for package @twilio-paste/media-object
1.2.52 (2020-08-31)
Note: Version bump only for package @twilio-paste/media-object
1.2.51 (2020-08-31)
Note: Version bump only for package @twilio-paste/media-object
1.2.50 (2020-08-24)
Note: Version bump only for package @twilio-paste/media-object
1.2.49 (2020-08-19)
Note: Version bump only for package @twilio-paste/media-object
1.2.48 (2020-08-12)
Note: Version bump only for package @twilio-paste/media-object
1.2.47 (2020-08-12)
Note: Version bump only for package @twilio-paste/media-object
1.2.46 (2020-08-06)
Note: Version bump only for package @twilio-paste/media-object
1.2.45 (2020-08-04)
Note: Version bump only for package @twilio-paste/media-object
1.2.44 (2020-08-04)
Note: Version bump only for package @twilio-paste/media-object
1.2.43 (2020-07-31)
Note: Version bump only for package @twilio-paste/media-object
1.2.42 (2020-07-30)
Note: Version bump only for package @twilio-paste/media-object
1.2.41 (2020-07-29)
Note: Version bump only for package @twilio-paste/media-object
1.2.40 (2020-07-22)
Note: Version bump only for package @twilio-paste/media-object
1.2.39 (2020-07-15)
Note: Version bump only for package @twilio-paste/media-object
1.2.38 (2020-07-14)
Note: Version bump only for package @twilio-paste/media-object
1.2.37 (2020-07-14)
Note: Version bump only for package @twilio-paste/media-object
1.2.36 (2020-07-01)
Note: Version bump only for package @twilio-paste/media-object
1.2.35 (2020-06-29)
Note: Version bump only for package @twilio-paste/media-object
1.2.34 (2020-06-25)
Note: Version bump only for package @twilio-paste/media-object
1.2.33 (2020-06-22)
Note: Version bump only for package @twilio-paste/media-object
1.2.32 (2020-06-18)
Note: Version bump only for package @twilio-paste/media-object
1.2.31 (2020-06-16)
Note: Version bump only for package @twilio-paste/media-object
1.2.30 (2020-06-12)
Note: Version bump only for package @twilio-paste/media-object
1.2.29 (2020-06-10)
Note: Version bump only for package @twilio-paste/media-object
1.2.28 (2020-06-05)
Note: Version bump only for package @twilio-paste/media-object
1.2.27 (2020-06-01)
Note: Version bump only for package @twilio-paste/media-object
1.2.26 (2020-06-01)
Note: Version bump only for package @twilio-paste/media-object
1.2.25 (2020-05-27)
Note: Version bump only for package @twilio-paste/media-object
1.2.24 (2020-05-20)
Note: Version bump only for package @twilio-paste/media-object
1.2.23 (2020-05-07)
Note: Version bump only for package @twilio-paste/media-object
1.2.22 (2020-05-07)
Note: Version bump only for package @twilio-paste/media-object
1.2.21 (2020-05-04)
- media-object: switch to new spacing prop validators (d587c49)
1.2.20 (2020-05-01)
Note: Version bump only for package @twilio-paste/media-object
1.2.19 (2020-04-25)
Note: Version bump only for package @twilio-paste/media-object
1.2.18 (2020-04-22)
Note: Version bump only for package @twilio-paste/media-object
1.2.17 (2020-04-17)
Note: Version bump only for package @twilio-paste/media-object
1.2.16 (2020-04-15)
Note: Version bump only for package @twilio-paste/media-object
1.2.15 (2020-04-08)
- media-object: package dependencies updated to be correct (02b4640)
1.2.14 (2020-04-07)
Note: Version bump only for package @twilio-paste/media-object
1.2.13 (2020-04-07)
Note: Version bump only for package @twilio-paste/media-object
1.2.12 (2020-04-02)
Note: Version bump only for package @twilio-paste/media-object
1.2.11 (2020-03-28)
- media-object: add min-width to body (5281863)
1.2.10 (2020-03-24)
- media-object: switch from theme-tokens to theme package dep (399088b)
1.2.9 (2020-03-20)
Note: Version bump only for package @twilio-paste/media-object
1.2.8 (2020-03-17)
Note: Version bump only for package @twilio-paste/media-object
1.2.7 (2020-03-17)
Note: Version bump only for package @twilio-paste/media-object
1.2.6 (2020-03-11)
Note: Version bump only for package @twilio-paste/media-object
1.2.5 (2020-03-06)
- add missing transitive peerDep on '@styled-system/css' (fdbb813)
1.2.4 (2020-03-02)
Note: Version bump only for package @twilio-paste/media-object
1.2.3 (2020-02-28)
Note: Version bump only for package @twilio-paste/media-object
1.2.2 (2020-02-26)
1.2.1 (2020-02-14)
- media-object: add missing peer deps (34ba7a4)
- media-object: add support for setting margin top and bottom (7adc1ed)
- media-object: add support for the as prop (3167ba1)
1.1.6 (2020-02-13)
Note: Version bump only for package @twilio-paste/media-object
1.1.5 (2020-02-11)
Note: Version bump only for package @twilio-paste/media-object
1.1.4 (2020-02-11)
Note: Version bump only for package @twilio-paste/media-object
1.1.3 (2020-02-11)
Note: Version bump only for package @twilio-paste/media-object
1.1.2 (2020-02-03)
Note: Version bump only for package @twilio-paste/media-object
1.1.1 (2020-01-24)
Note: Version bump only for package @twilio-paste/media-object
- media-object: amend missing deps for successful build (b420ba0)
- media-object: update implementation of media-object to use box (1c999cc)
1.0.6 (2019-12-20)
Note: Version bump only for package @twilio-paste/media-object
1.0.5 (2019-12-19)
Note: Version bump only for package @twilio-paste/media-object
1.0.4 (2019-12-05)
Note: Version bump only for package @twilio-paste/media-object
1.0.3 (2019-11-20)
Note: Version bump only for package @twilio-paste/media-object
1.0.2 (2019-11-18)
Note: Version bump only for package @twilio-paste/media-object
1.0.1 (2019-11-12)
Note: Version bump only for package @twilio-paste/media-object
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.3.1 (2019-09-16)
Note: Version bump only for package @twilio-paste/media-object
- change @paste scope to @twilio-paste (#2) (1d8d2ff)