@kalamazoo/media-filmstrip
36.0.0
- Updated dependencies 24b8ea2667:
35.0.0
Major Changes
[major]c3e65f1b9e:
Breaking change
remove deprecated "context" property from media components in favor of "mediaClientConfig"
This affects all public media UI components:
- Card
- Filmstrip
- SmartMediaEditor
- MediaImage
- Dropzone
- Clipboard
- Browser
- MediaPicker
- MediaViewer
Before:
import {ContextFactory} from '@kalamazoo/media-core'; import {Card} from '@kalamazoo/media-card' import {SmartMediaEditor} from '@kalamazoo/media-editor' import {Filmstrip} from '@kalamazoo/media-filmstrip' import {MediaImage} from '@kalamazoo/media-image' import {MediaViewer} from '@kalamazoo/media-viewer' import {Dropzone, Clipboard, Browser, MediaPicker} from '@kalamazoo/media-picker'; const context = ContextFactory.creat({ authProvider: () => Promise.resolve({}) }) const mediaPicker = MediaPicker(context); <Card context={context}> <SmartMediaEditor context={context}> <Filmstrip context={context}> <MediaImage context={context}> <Dropzone context={context}> <Clipboard context={context}> <Browser context={context}> <MediaViewer context={context}>
Now:
import {MediaClientConfig} from '@kalamazoo/media-core'; import {Card} from '@kalamazoo/media-card' import {SmartMediaEditor} from '@kalamazoo/media-editor' import {Filmstrip} from '@kalamazoo/media-filmstrip' import {MediaImage} from '@kalamazoo/media-image' import {MediaViewer} from '@kalamazoo/media-viewer' import {Dropzone, Clipboard, Browser, MediaPicker} from '@kalamazoo/media-picker';
const mediaClientConfig: MediaClientConfig = { authProvider: () => Promise.resolve({}) }
const mediaPicker = MediaPicker(mediaClientConfig);
<Card mediaClientConfig={mediaClientConfig}> <SmartMediaEditor mediaClientConfig={mediaClientConfig}> <Filmstrip mediaClientConfig={mediaClientConfig}> <MediaImage mediaClientConfig={mediaClientConfig}> <Dropzone mediaClientConfig={mediaClientConfig}> <Clipboard mediaClientConfig={mediaClientConfig}> <Browser mediaClientConfig={mediaClientConfig}> <MediaViewer mediaClientConfig={mediaClientConfig}> ```- [major]ae4f336a3a:
FABDODGEM-13 Editor Damask Release - Internal post
BREAKING CHANGES
- Media: Removed deprecated "context" property from media components in favor of "mediaClientConfig". This affects all public media UI components.
- Tasks & Decisions: Removed containerAri for task-decisions components.
- Renderer: Adapts to task-decision changes.
- Editor Mobile Bridge: Adapts to task-decision changes.
- Util Data Test: Adapts to task-decision changes.
Affected Editor Components:
tables, media, mobile, emoji, tasks & decisions, analytics
Editor
- Support nested actions in stage-0 schema; Change DOM representation of actions
- Updated i18n translations
- Improved analytics & crash reporting (via a new error boundary)
- Improvements to heading anchor links.
- Copy/Paste improvements
- Fixes for the selection state of Smart links.
- Improvements for table resizing & column creation.
Mobile
- GASv3 Analytics Events are now relayed from the web to the native context, ready for dispatching.
- Hybrid Renderer Recycler view now handles invalid ADF nodes gracefully.
Media
- Improved analytics
- Added shouldOpenMediaViewer property to renderer
- Implemented analytics for file copy
- New
media-viewed
event dispatched when media is interacted with via the media card or viewer. - Support for
alt
text attribute on media image elements.
i18n-tools
Bumped dependencies.
- Updated dependencies e7b5c917de:
- @kalamazoo/media-card@66.0.0
- @kalamazoo/media-core@30.0.17
- @kalamazoo/media-test-helpers@25.2.0
- @kalamazoo/media-client@3.0.0
34.3.10
Patch Changes
- [patch]35d2229b2a:
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
34.3.9
Patch Changes
- [patch]a2d0043716:
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
34.3.8
- Updated dependencies 97bab7fd28:
- @kalamazoo/button@13.3.1
- @kalamazoo/media-card@65.2.1
- @kalamazoo/checkbox@10.0.0
- @kalamazoo/docs@8.1.7
34.3.7
Patch Changes
- [patch]fc79969f86:
Update all the theme imports in media to use multi entry points
34.3.6
- Updated dependencies af72468517:
- @kalamazoo/media-client@2.1.2
- @kalamazoo/media-core@30.0.14
- @kalamazoo/media-test-helpers@25.1.1
- @kalamazoo/media-card@65.0.0
34.3.5
Patch Changes
- [patch]097b696613:
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
34.3.4
Patch Changes
- [patch]ecca4d1dbb:
Upgraded Typescript to 3.3.x
34.3.3
- Updated dependencies 3624730f44:
- @kalamazoo/media-client@2.0.2
- @kalamazoo/media-core@30.0.11
- @kalamazoo/media-test-helpers@25.0.2
- @kalamazoo/media-card@64.0.0
34.3.2
- Updated dependencies 69586b5353:
- @kalamazoo/media-card@63.3.11
- @kalamazoo/media-client@2.0.1
- @kalamazoo/media-core@30.0.10
- @kalamazoo/media-test-helpers@25.0.0
34.3.1
- Updated dependencies ee804f3eeb:
- @kalamazoo/media-card@63.3.9
- @kalamazoo/media-core@30.0.9
- @kalamazoo/media-test-helpers@24.3.5
- @kalamazoo/media-client@2.0.0
34.3.0
Minor Changes
- [minor]40c6ed5a59:
Allows consumer to enable Media Viewer on Cards
Use boolean prop shouldOpenMediaViewer
to activate Media Viewer in media cards contained
Example:
<Filmstrip
shouldOpenMediaViewer={openMediaViewer}
mediaClientConfig={mediaClient.config}
items={items}
/>
34.2.5
Patch Changes
- [patch]6742fbf2cc:
bugfix, fixes missing version.json file
34.2.4
Patch Changes
- [patch]18dfac7332:
In this PR, we are:
- Re-introducing dist build folders
- Adding back cjs
- Replacing es5 by cjs and es2015 by esm
- Creating folders at the root for entry-points
- Removing the generation of the entry-points at the root Please see this ticket or this page for further details
34.2.3
- Updated dependencies 87a2638655:
- @kalamazoo/button@13.0.10
- @kalamazoo/media-card@63.3.2
- @kalamazoo/checkbox@9.0.0
34.2.2
- Updated dependencies 06326ef3f7:
- @kalamazoo/docs@8.1.3
- @kalamazoo/button@13.0.9
- @kalamazoo/checkbox@8.0.5
- @kalamazoo/field-radio-group@6.0.4
- @kalamazoo/media-card@63.3.1
- @kalamazoo/media-test-helpers@24.1.2
- @kalamazoo/icon@19.0.0
34.2.1
- Updated dependencies cfc3c8adb3:
- @kalamazoo/docs@8.1.2
- @kalamazoo/button@13.0.8
- @kalamazoo/checkbox@8.0.2
- @kalamazoo/field-radio-group@6.0.2
- @kalamazoo/media-card@63.1.5
- @kalamazoo/media-test-helpers@24.0.3
- @kalamazoo/field-range@7.0.4
- @kalamazoo/icon@18.0.0
34.2.0
Minor Changes
[minor]73edc6baae:
You can supply mediaClientConfig instead of Context to Filmstrip component. Soon Context input will be deprecated and removed.
34.1.4
- Updated dependencies 70862830d6:
- @kalamazoo/button@13.0.6
- @kalamazoo/media-card@63.1.2
- @kalamazoo/checkbox@8.0.0
- @kalamazoo/icon@17.2.0
- @kalamazoo/theme@9.1.0
34.1.3
[patch]b0ef06c685:
This is just a safety release in case anything strange happened in in the previous one. See Pull Request #5942 for details
34.1.2
- Updated dependencies 9ecfef12ac:
- @kalamazoo/media-card@63.1.0
- @kalamazoo/media-core@30.0.3
- @kalamazoo/media-test-helpers@24.0.0
34.1.1
- Updated dependencies ed3f034232:
- @kalamazoo/media-card@63.0.2
- @kalamazoo/media-core@30.0.1
- @kalamazoo/media-test-helpers@23.0.0
34.1.0
[minor]5a49043dac:
Enable strictPropertyInitialization in tsconfig.base
34.0.0
[major]7c17b35107:
Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use this package, please ensure you use at least this version of react and react-dom.
Updated dependencies 7c17b35107:
- @kalamazoo/media-card@63.0.0
- @kalamazoo/docs@8.0.0
- @kalamazoo/button@13.0.0
- @kalamazoo/checkbox@7.0.0
- @kalamazoo/field-radio-group@6.0.0
- @kalamazoo/field-range@7.0.0
- @kalamazoo/icon@17.0.0
- @kalamazoo/theme@9.0.0
- @kalamazoo/media-core@30.0.0
- @kalamazoo/media-test-helpers@22.0.0
33.0.0
- Updated dependencies a1192ef860:
- @kalamazoo/media-card@62.0.0
- @kalamazoo/media-test-helpers@21.4.0
- @kalamazoo/media-core@29.3.0
32.0.0
- Updated dependencies e7292ab444:
- @kalamazoo/media-card@61.0.0
- @kalamazoo/media-test-helpers@21.3.0
- @kalamazoo/media-core@29.2.0
31.0.5
[patch]0a4ccaafae:
Bump tslib
31.0.4
- Updated dependencies 9c0b4744be:
- @kalamazoo/docs@7.0.3
- @kalamazoo/button@12.0.3
- @kalamazoo/checkbox@6.0.4
- @kalamazoo/field-radio-group@5.0.3
- @kalamazoo/field-range@6.0.4
- @kalamazoo/icon@16.0.9
- @kalamazoo/media-card@60.0.3
- @kalamazoo/theme@8.1.7
31.0.3
- Updated dependencies 1e826b2966:
- @kalamazoo/docs@7.0.2
- @kalamazoo/checkbox@6.0.3
- @kalamazoo/field-radio-group@5.0.2
- @kalamazoo/icon@16.0.8
- @kalamazoo/theme@8.1.6
- @kalamazoo/media-card@60.0.1
- @kalamazoo/media-core@29.1.4
- @kalamazoo/field-range@6.0.3
- @kalamazoo/button@12.0.0
31.0.2
[patch]0ff405bd0f:
Removed CardView and CardViewLoader from public APIs and replaced it with light-weight and stateless CardLoading and CardError components. Handling of external images is now done by Card component itself using ExternalImageIdentifier interface.
If you’ve been using CardView for loading:
<CardView status="loading" mediaItemType="file" dimensions={cardDimensions} />
Now you can use new component:
<CardLoading dimensions={cardDimensions} />
If you were using CardView to show an error
<CardView status="error" mediaItemType={type} dimensions={cardDimensions} />
Now you can use new component:
<CardError dimensions={cardDimensions} />
In case you were using CardView to show image with known external URI:
<CardView status="complete" dataURI={dataURI} metadata={metadata} />
You will have to find a way to switch to using Card component using ExternalImageIdentifier interface:
<Card identifier={identifier} context={context} />
31.0.1
[patch]d13fad66df:
- Enable esModuleInterop for typescript, this allows correct use of default exports
31.0.0
- Updated dependencies c2c36de22b:
30.0.2
- Updated dependencies 9c316bd8aa:
30.0.1
[patch]1bcaa1b991:
- Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
30.0.0
[major]9d5cc39394:
- Dropped ES5 distributables from the typescript packages
Updated dependencies 9d5cc39394:
29.0.0
- Updated dependencies 7ab3e93996:
28.0.1
- Updated dependencies 76299208e6:
28.0.0
- Updated dependencies 4aee5f3cec:
27.1.0
[minor]f1b46bcb42:
- ED-6259 Enable stricter types for media packages
27.0.0
[patch]2e676676ba:
- Use Identifier from media-core instead of media-card
Updated dependencies fc6164c8c2:
- Updated dependencies 190c4b7bd3:
26.1.2
- Updated dependencies 46dfcfbeca:
26.1.1
[patch]ef469cbb0b:
- MS-357 replaced @kalamazoo/util-shared-styles from media components by @kalamazoo/theme
26.1.0
[minor]406cbf0a4e:
- ED-6092: allow passing undefined context to media filmstrip
26.0.0
- Updated dependencies 69c8d0c19c:
25.0.2
- Updated dependencies 07a187bb30:
25.0.1
- Updated dependencies d7ef59d432:
25.0.0
- Updated dependencies 85d5d168fd:
24.0.0
23.0.0
- Updated dependencies cbb8cb5:
22.0.0
- Updated dependencies 72d37fb:
21.0.2
- Updated dependencies 135ed00:
21.0.1
[patch]ca16fa9:
- Add SSR support to media components
21.0.0
- Updated dependencies b3738ea:
20.0.0
- Updated dependencies 80f765b:
19.0.3
- Updated dependencies 58b84fa:
19.0.2
- Updated dependencies ab9b69c:
19.0.1
- Updated dependencies 6998f11:
19.0.0
- Updated dependencies 7e8b4b9:
18.0.0
- Updated dependencies 2c21466:
17.0.2
- Updated dependencies 04c7192:
17.0.1
- [patch] Cleanup media + editor integration 🔥 2f9d14d
17.0.0
16.0.1
- [patch] Updated dependencies 6e510d8
16.0.0
- [major] Updated dependencies 2afa60d
15.0.0
- [patch] Deprecate context.uploadFile & context.getFile. Instead context.file.upload & context.file.getFileState should be used; media-store's uploadFile function now takes MediaStore as a second argument, not MediaApiConfig 8b2c4d3
- [patch] Deprecate context.uploadFile & context.getFile. Instead context.file.upload & context.file.getFileState should be used; media-store's uploadFile function now takes MediaStore as a second argument, not MediaApiConfig 3302d51
- [major] Updated dependencies 8b2c4d3
- [major] Updated dependencies 3302d51
14.0.3
- [patch] Updated dependencies 65c6514
14.0.2
- [patch] Updated dependencies dae7792
14.0.1
- [patch] Support external image identifiers in media-card 82c8bb9
14.0.0
- [major] Updated dependencies 927ae63
13.0.2
- [patch] Updated dependencies 1be4bb8
13.0.1
- [patch] Updated dependencies 80e1925
13.0.0
- [major] Updated dependencies 6e1d642
12.0.1
12.0.0
11.0.2
- [patch] Updated dependencies 911a570
11.0.1
- [patch] Updated dependencies b12f7e6
11.0.0
- [major] Updated dependencies d02746f
10.2.2
- [patch] Updated dependencies 59ccb09
10.2.1
- [patch] Updated dependencies acd86a1
10.2.0
10.1.0
- [patch] Updated dependencies fa6f865
- [none] Updated dependencies fdd03d8
- [patch] Updated dependencies 49c8425
- [minor] Updated dependencies 3476e01
10.0.0
- [major] Updates to React ^16.4.0 7edb866
- [major] Updated dependencies 563a7eb
- [major] Updated dependencies 7edb866
9.0.7
- [patch] Updated dependencies 42ee1ea
9.0.6
[patch] Add missing dependencies to packages to get the website to build 99446e3
[none] Updated dependencies 99446e3
- [none] Updated dependencies 9bac948
9.0.5
- [patch] Updated dependencies c57e9c1
9.0.4
- [none] Updated dependencies 74a0d46
- [patch] Updated dependencies 6c6f078
- [none] Updated dependencies 5bb26b4
9.0.3
- [patch] Clean Changelogs - remove duplicates and empty entries e7756cd
- [none] Updated dependencies e7756cd
9.0.2
9.0.1
- [none] Updated dependencies 9d20f54
9.0.0
- [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to ^3.2.6 1e80619
- [patch] Updated dependencies 1e80619
8.0.9
- [patch] Updated dependencies 1c87e5a
8.0.8
8.0.7
8.0.6
- [patch] Updated dependencies d662caa
8.0.5
- [patch] Fix issue with Filmstrip cutting Cards c5b18db
8.0.0
- [major] Bump to React 16.3. 4251858
7.1.0
- [minor] add MutationObserver to FilmstripView to catch dom mutations 625ee2b
7.0.7
- [patch] Add "sideEffects: false" to AKM2 packages to allow consumer's to tree-shake c3b018a
7.0.2
- [patch] Use child.key if available d4835bd
6.1.3
- [patch] Remove TS types that requires styled-components v3 836e53b
6.1.0
- [minor] Update styled-components dependency to support versions 1.4.6 - 3 ceccf30
6.0.2
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2 1e57e5a
5.8.0
- [minor] Add React 16 support. 12ea6e4
5.5.4
5.5.1
- [patch] Use correct dependencies 7b178b1
- [patch] Use correct dependencies 7b178b1
- [patch] Adding responsive behavior to the editor. e0d9867
- [patch] Adding responsive behavior to the editor. e0d9867
5.5.0
- [minor] Upgrade Media Editor packages 193c8a0
5.3.0 (2017-09-19)
- feature; new LinkCards UI (06d49d2)
5.2.4 (2017-09-18)
- bug fix; update media-core and media-test-helpers version (00108cf)
5.2.3 (2017-09-07)
- bug fix; renderLinkCardChildren.tsx hipster mode on (6852141)
- bug fix; added story which shows filmstrip with only link cards (27f24e6)
5.2.2 (2017-08-28)
- bug fix; move widths into state so they trigger a re-render inside a PureComponent (95a7928)
5.2.1 (2017-08-18)
- bug fix; stop click events from propagating up (issues closed: msw-165) (7ffc2b2)
5.2.0 (2017-08-11)
- feature; bump :allthethings: (f4b1375)
5.1.2 (2017-08-03)
- bug fix; moving position of letf and right arrow (issues closed: ed-2052) (b930e8d)
- bug fix; images and flimstip will align to the left edge of the text in banana (issues closed: ed-2052) (b97cdb4)
5.1.1 (2017-08-03)
- bug fix; fix issue with line-height and maxPosition issue (e8c86e1)
4.4.0 (2017-07-27)
- feature; added the ability for integrators to navigate to the start or end of the filmstrip (f23e285)
4.3.1 (2017-07-21)
- fix; use class transform in loose mode in babel to improve load performance in apps (fde719a)
- fix; remove SC from peerDependencies to dependencies (568161b)
4.3.0 (2017-07-17)
- fix; get right element parent to calculate dimensions from in FilmstripNavigator (d044c60)
- feature; added an editable story for FilmStripNavigator (230f8b3)
4.2.1 (2017-07-12)
- fix; align FilmstripNavigator items vertically (3ccbfdb)
- fix; dont cut children of FilmstripNavigator, save children width and calculate distance (651f26d)
4.2.0 (2017-07-05)
- feature; use child key as key for li (478e72f)
4.1.5 (2017-06-26)
- fix; trigger a real scroll event from FilmstripNavigator when we navigate (9649746)
4.1.4 (2017-06-19)
- fix; bump media-card in media-filmstrip (d010432)
- fix; use Lazy load from cards not from navigator (a039532)
4.1.3 (2017-05-25)
- fix; filmstrip lazyload works in both overflow and non-overflow containers (3598534)
4.1.2 (2017-05-24)
- fix; fixed bug when width prop passed to FilmStripNavigator is undefined (f42627f)
4.1.1 (2017-05-23)
- fix; update dependency "react-lazyload" to 2.2.7 (44e0037)
3.3.0 (2017-05-22)
- fix; fix filmstrip click handler (5236b90)
- fix; remove FilmStrip component (7853d3c)
- feature; bump media dependencies (3b4f1cb)
3.1.3 (2017-05-05)
- fix; bumping media-core (85f448f)
3.1.2 (2017-05-01)
- fix; updated media-filmstrip to use new media-card goodness (e8b7014)
3.1.0 (2017-04-27)
- fix; update legal copy to be more clear. Not all modules include ADG license. (f3a945e)
- feature; use latest from media-card in media-filmstrip (154f6ea)
3.0.2 (2017-04-26)
- fix; update legal copy and fix broken links for component README on npm. New contribution and (0b3e454)
- fix; updated media packages key words and maintainers (01bcbc5)
- feature; bumped the version of media-card and added a storybook for FilmstripNavigator (db04476)
3.0.1 (2017-04-20)
- fix; removed hardcoded file and link ids (754c548)
3.0.0 (2017-04-10)
- feature; BREAKING CHANGE: (5737e16)
- breaking; use latest media-card version
2.1.2 (2017-04-05)
- fix; remove media-test-helpers from dependencies as its a devDependency (4a57f6a)
2.1.1 (2017-03-31)
- fix; dont use mediaItem id as list key and allow filmstrip to render same card multiple t (504c6fb)
- fix; explicitly set white-space for Ellipsed text inside Filmstrip (e6450fa)
- fix; fix subtitle overflow in cardOverlay (486a967)
- fix; make Link image card clickable (0778aa4)
2.1.0 (2017-03-29)
- fix; bump media packages and fix ts errors (dcc463d)
- feature; introduce LinkCardImage support (8b23147)
- feature; support mixed content in filmstrip (2499a94)
2.0.10 (2017-03-23)
2.0.9 (2017-03-23)
- fix; fix build (1ff1ddc)
- feature; added 'super' card component (559579f)
- breaking; Card API, LinkCard API, FileCard API
- ISSUES CLOSED: FIL-3919
2.0.7 (2017-03-21)
- fix; maintainers for all the packages were added (261d00a)
2.0.6 (2017-03-20)
- fix; dont allow navigation on filmstrip component when resize event happens (2ebbbdf)
2.0.5 (2017-03-17)
- fix; dont allow user to navigate when there is only one item (bf1e156)
- feature; added application links to media-card and restructured (618650e)
2.0.2 (2017-03-07)
- fix; dont manipulate filmstrip component state when the component has been destroyed (64457c5)
- fix; set unmounted false to keep state consistent (dfc264d)
- fix; use explicit imports in order to avoid ciclyng dependencies (01befae)
- fix; use StoryList in order to display stories (d96a4d8)
- feature; migrate FilmStrip component + create media-test-helpers (8896543)
2.0.1 (2017-02-27)
- fix; add padding to filmstrip in order to show card shadow (eac258e)
1.0.0 (2017-02-24)
- fix; Avoid scrolling for Y axis events (404da41)
- fix; Check for element presence when getting dimensions (121e972)
- fix; dont use flexbox as it makes IE getting wrong value for getBoundingClientRect (b3237e1)
- fix; Fix active arrow state (438037d)
- fix; fix navigation at the beginning (f990dc2)
- fix; fix TypeScript error in tests (94cd79b)
- fix; remove _ from private methods (404ba99)
- fix; Update dimensions if childs grown (b2dcc95)
- fix; Update react state properly (8298cbe)
- fix; use default tsconfig types (d1f7830)
- feature; add animation duration depending on the items moved (89a52bd)
- feature; Add arrow shadow to let user know about more elements (e8c3279)
- feature; add MediaFilmStripView component (732cb2c)
- feature; Allow user to manually navigate (904719a)
- feature; Dont change arrows visibility until transition is done (be2afa1)
- feature; Improve filmstrip navigation (4c4f088)
- feature; Make media-filmstrip responsive to window resize events (3f38fb1)
- feature; Use new shadow for arrows (89895aa)