@atlaskit/docs
9.1.30
Patch Changes
- Updated dependencies
9.1.29
Patch Changes
- Updated dependencies
9.1.28
Patch Changes
- Updated dependencies
9.1.27
Patch Changes
- Updated dependencies
9.1.26
Patch Changes
- Updated dependencies
9.1.25
Patch Changes
- Updated dependencies
9.1.24
Patch Changes
- Updated dependencies
9.1.23
Patch Changes
- Updated dependencies
9.1.22
Patch Changes
- Updated dependencies
9.1.21
Patch Changes
- Updated dependencies
9.1.20
Patch Changes
- Updated dependencies
9.1.19
Patch Changes
- Updated dependencies
9.1.18
Patch Changes
- Updated dependencies
9.1.17
Patch Changes
- Updated dependencies
9.1.16
Patch Changes
- Updated dependencies
9.1.15
Patch Changes
- Updated dependencies
9.1.14
Patch Changes
- Updated dependencies
9.1.13
Patch Changes
- Updated dependencies
9.1.12
Patch Changes
- Updated dependencies
9.1.11
Patch Changes
- Updated dependencies
9.1.10
Patch Changes
- Updated dependencies
9.1.9
Patch Changes
- Updated dependencies
9.1.8
Patch Changes
- Updated dependencies
9.1.7
Patch Changes
- #129902
36d615f5dc79c
- switched text color to use tokens due to warnings - Updated dependencies
9.1.6
Patch Changes
- #129411
300b0a472d9ce
- Removes deprecated usage of ak/theme mixin functions and replaces them with their direct outputs - Updated dependencies
9.1.5
Patch Changes
- Updated dependencies
9.1.4
Patch Changes
- Updated dependencies
9.1.3
Patch Changes
- Updated dependencies
9.1.2
Patch Changes
- Updated dependencies
9.1.1
Patch Changes
- Updated dependencies
9.1.0
Minor Changes
- #33258
56507598609
- Skip minor dependency bump
Patch Changes
- Updated dependencies
9.0.13
Patch Changes
- #25547
93118b676a8
- This changeset exists because a PR touches these packages in a way that doesn't require a release
9.0.12
Patch Changes
- #21613
7f083c2c69d
- Bump version of pretty-proptypes to 1.7.0
9.0.11
Patch Changes
- #21172
88612fc2020
- patch bumps Pretty-proptypes to fix null check regression
9.0.10
Patch Changes
- Updated dependencies
9.0.9
Patch Changes
- Updated dependencies
9.0.8
Patch Changes
- #12557
b665929e8b7
- Bumps pretty proptypes.
9.0.7
Patch Changes
- Updated dependencies
9.0.6
Patch Changes
- #10230
7ba7af04db8
- Type fixes related to consumption of@atlaskit/code
- Updated dependencies
9.0.5
Patch Changes
- #5857
d3265f19be
- Transpile packages using babel rather than tsc
9.0.4
Patch Changes
- Updated dependencies
9.0.3
Patch Changes
- Updated dependencies
9.0.2
Patch Changes
- #4424
7315203b80
- RenameAkCode
andAkCodeBlock
exports toCode
andCodeBlock
for@atlaskit/code
. - Updated dependencies
9.0.1
Patch Changes
- #4573
30853172ff
- Reset babel config back to ie11 to prevent runtime issues in Jira and to unbreak the Confluence es5-check
9.0.0
Major Changes
- #3335
87f4720f27
- Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11. For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
Patch Changes
- Updated dependencies
8.5.4
Patch Changes
- #2800
64e8f48490
- upgrade pretty-proptypes from ^1.1.2 to ^1.1.3
8.5.3
Patch Changes
- #2731
a5815adf37
- Fixed es2019 distributable missing a version.json file
8.5.2
Patch Changes
- #2557
b245e72191
- upgrade pretty-proptypes from ^1.1.1 to ^1.1.2
8.5.1
Patch Changes
[patch]168b5f90e5:
Update pretty-proptypes dep, fix visual bug- Updated dependencies 0c270847cb:
Updated dependencies 109004a98e:
- Updated dependencies b9903e773a:
8.5.0
Minor Changes
[minor]8c9e4f1ec6:
Minor – The
example
component can now have the visibility of the source view controlled via asourceVisible
prop. If completely controlled source toggle behavior is required, the optionalonToggleSource
callback prop will replace internal source toggle behavior.
Patch Changes
- Updated dependencies 5f5b93071f:
8.4.0
Minor Changes
[minor]66dcced7a0:
Update pretty-proptypes dependency in @atlaskit/docs added a PropTable component to render prop-types in a table Added automatic prop-resolution behaviour to @atlaskit/gatsby-theme-brisk
Patch Changes
[patch]eea5e9bd8c:
Follow-up on AFP-1401 when removing types to component. Some left over types and small issues- Updated dependencies fd5292fd5a:
Updated dependencies fd5292fd5a:
- Updated dependencies fd5292fd5a:
8.3.2
Patch Changes
[patch]6548261c9a:
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies 6548261c9a:
8.3.1
Patch Changes
- Updated dependencies c0102a3ea2:
8.3.0
Minor Changes
[minor]d2b8166208:
As part of AFP-1404, we are dropping flow support. It means that those packages are not typed. Consumer will need to manually add their types to the component.Background ticket: https://product-fabric.atlassian.net/browse/AFP-1397Plan: https://product-fabric.atlassian.net/wiki/spaces/AFP/pages/1052870901/Drop+Flow+Support+Plan
Patch Changes
- Updated dependencies b52f2be5d9:
8.2.0
Minor Changes
[minor]9648afc5be:
Adds
highlight
prop toAkCodeBlock
,Example
, and thecode
template literal. Use this to emphasize which lines of code you would like people to look at!The
highlight
prop can be used as follows:- To highlight one line:
highlight="3"
- To highlight sequential lines:
highlight="1-5"
- To highlight sequential and multiple single lines:
highlight="1-5,7,10,15-20"
AkCodeBlock
componentUse the
highlight
prop.import { AkCodeBlock } from '@atlaskit/code'; <AkCodeBlock highlight="1-2" text={` <div> hello there <span>buds</span> </div> `} />;
Example
componentUse the
highlight
prop.import { Example } from '@atlaskit/docs'; <Example packageName="@atlaskit/code" Component={require('../examples/00-inline-code-basic').default} title="Basic" highlight="19,24,30,36" source={require('!!raw-loader!../examples/00-inline-code-basic')} />;
code
template literalAdd
highlight=
to the top of your code snippet. It takes the same values as thehighlight
prop.import { code } from '@atlaskit/docs'; code`highlight=5-7 import React from 'react'; () => ( <div> hello there <span>buds</span> </div> )`;
- To highlight one line:
8.1.9
Patch Changes
[patch]5f044ec4d0:
Update pretty-proptype dep fro 1.0.1 to 1.0.2
8.1.8
Patch Changes
[patch]35d2229b2a:
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
8.1.7
Patch Changes
[patch]97bab7fd28:
@atlaskit/checkbox
10.x includes the following changes:- Replaced previous theme implementation with new
@atlaskit/theme
v2 implementation- Please read more about this implementation in the theming guide
- Added
overrides
prop which enables targeted customisations of key components in the @atlaskit/checkbox package.- Please read more about this implementation in the overrides guide
Breaking Changes
HiddenCheckbox and spread props
Passing props to the
<Checkbox/>
component for them to be spread onto the underlying<HiddenCheckbox/>
component is now no longer possible.@atlaskit/checkbox
still supports passing props down to the<HiddenCheckbox/>
component, however we've opted to make this behaviour more explicit.Whereas previously you would do this:
<Checkbox ...supportedCheckboxProps 'data-testid'='test-checkbox' />
Now you would leverage the overrides prop to pass these props down to the
<HiddenCheckbox/>
component like so:<Checkbox ...supportedCheckboxProps overrides={{ HiddenCheckbox:{ attributesFn: () => ({ 'data-testid': 'test-checkbox' }) } }} />
- Replaced previous theme implementation with new
8.1.6
Patch Changes
[patch]556c413643:
Fixes the title size of the Atlaskit documentation messages.
8.1.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
8.1.4
Patch Changes
[patch]ecca4d1dbb:
Upgraded Typescript to 3.3.x
8.1.3
- Updated dependencies 06326ef3f7:
8.1.2
- Updated dependencies cfc3c8adb3:
8.1.1
[patch]b0ef06c685:
- This is just a safety release in case anything strange happened in in the previous one. See Pull Request #5942 for details
8.1.0
[minor]35405c3362:
Currently on the Atlaskit website, we are using section messages for developer preview at several places. In addition, as we recently removed couple of components from the Atlaskit service desk, we need to indicate if the component is intended for Atlassian first. Hence, We added another section message that will warn about the usage.
Now, in your docs, you can directly import those section messages to inform your customers.
Usage:
- <AtlassianInternalWarning /> is the section message that warns about Atlassian usage.
<DevPreviewWarning> is the section message that warns about the componenent readiness.
If you add the two section messages, meaning the component is Atlassian only and in dev preview:
import { AtlassianInternalWarning, DevPreviewWarning } from '@atlaskit/docs/src/SectionMessages';
<> <div style={{ marginBottom: '0.5rem'}}> <AtlassianInternalWarning /> </div> <div style={{ marginTop: '0.5rem'}}> <DevPreviewWarning /> </div> </> )}``` - If you need one component, just import the requested one: `${( <AtlassianInternalWarning />)}`
Updated dependencies 97bfe81ec8:
8.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.
7.0.4
[patch]d3cad2622e:
- Removes babel-runtime in favour of @babel/runtime
7.0.3
- Updated dependencies 9c0b4744be:
7.0.2
- Updated dependencies 1e826b2966:
7.0.1
- Updated dependencies 9d5cc39394:
7.0.0
[major]76299208e6:
- Drop ES5 from all the flow modules
Dropping CJS support in all @atlaskit packages
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only distribute esm. This means all distributed code will be transpiled, but will still contain
import
andexport
declarations.The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
import colors from `@atlaskit/theme/colors`;
Previously this was sort of possible for consumers by doing something like:
import colors from `@atlaskit/theme/dist/esm/colors`;
This has a couple of issues. 1, it treats the file system as API making internal refactors harder, we have to worry about how consumers might be using things that aren't actually supposed to be used. 2. We are unable to do this internally in @atlaskit packages. This leads to lots of packages bundling all of theme, just to use a single color, especially in situations where tree shaking fails.
To support being able to use multiple entrypoints internally, we unfortunately cannot have multiple distributions as they would need to have very different imports from of their own internal dependencies.
ES Modules are widely supported by all modern bundlers and can be worked around in node environments.
We may choose to revisit this solution in the future if we find any unintended condequences, but we see this as a pretty sane path forward which should lead to some major bundle size decreases, saner API's and simpler package architecture.
Please reach out to #fabric-build (if in Atlassian) or create an issue in Design System Support (for external) if you have any questions or queries about this.
6.0.2
[patch]050e08173f:
- Add missing import for codesandboxer
6.0.1
- Updated dependencies d7ef59d432:
6.0.0
[major]58b84fa:
- Use latest version of pretty-proptypes - this is incompatible with
extract-react-types
versions under0.15.0
- Use latest version of pretty-proptypes - this is incompatible with
5.2.3
- Updated dependencies d13242d:
5.2.2
- Updated dependencies ab9b69c:
5.2.1
- Updated dependencies 6998f11:
5.2.0
- [minor] Add ErrorBoundary to Examples so that errors in Example components don't leak out onto the containing page when embedding examples within docs. 5131102
5.1.0
- [minor] Example component now accepts a packageName. This prop is now required 7a8278d
5.0.8
- [patch] Updated dependencies 65c6514
5.0.7
- [patch] Upgrade extract-react-types to add TypeScript support. c742e5a
5.0.6
- [patch] Updated dependencies df22ad8
5.0.5
- [patch] Updated dependencies f9c0cdb
5.0.4
5.0.3
5.0.2
- [patch] Updated dependencies acd86a1
5.0.1
- [patch] Move analytics tests and replace elements to core 49d4ab4
- [none] Updated dependencies 49d4ab4
5.0.0
- [major] Updates to React ^16.4.0 7edb866
- [major] Updated dependencies 563a7eb
- [major] Updated dependencies 7edb866
4.2.2
[patch] Add missing dependencies to packages to get the website to build 99446e3
[none] Updated dependencies 99446e3
- [none] Updated dependencies 9bac948
4.2.1
- [patch] Updated dependencies eee2d45
4.2.0
- [minor] Added upgrade guide, updated atlaskit/docs dep on react-markings to expose md parser customisations aef4aea
- [none] Updated dependencies aef4aea
4.1.1
4.1.0
- [none] Updated dependencies 9d20f54
4.0.1
- [patch] Updated dependencies 223cd67
4.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
3.0.4
- [patch] Updated dependencies d662caa
3.0.3
3.0.2
- [patch] Upgrade pretty proptypes 0ad9962
3.0.1
- [patch] Switch to using pretty-proptypes 2b08b6b
3.0.0
- [major] Bump to React 16.3. 4251858
2.6.2
- [patch] Update look and feel of collapsed props e42d92e
2.6.1
- [patch] Props with default values are not marked as required d00499f
2.6.0
- [minor] Add prop to allow proptype shape to be hidden 3150228
2.5.5
- [patch] Docs now handle props of nested intersections, and remove console errors fd2d099
2.5.4
- [patch] Make header not display when passed a string cff04f2
2.5.3
- [patch] Add converter for intersection in prettyPropType 0d6b5fa
2.5.2
- [patch] Re-releasing due to potentially broken babel release 9ed0bba
2.5.1
- [patch] Update kind2string dependency to 0.3.1 2c432fd
2.5.0
- [minor] Update styled-components dependency to support versions 1.4.6 - 3 ceccf30
2.4.3
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2 1e57e5a
2.4.2
- [patch] Refactor code helper function to fix React re-render bug. 8dcb772
2.4.1
2.4.0
- [minor] Add React 16 support. 12ea6e4
2.3.0
- [minor] Added support for JSX Elements in default prop declarations 8030309
2.2.0
- [minor] Props component now understands how to parse members of the Array type 3eebe75
2.1.1
2.1.0
- [minor] corrected types and added heading option to props bdf39b3
- [minor] corrected types and added heading option to props bdf39b3
2.0.0
- [major] Now renders default props, consumes breaking change from extract-react-types df9fa94
- [major] Now renders default props, consumes breaking change from extract-react-types df9fa94
1.0.1
- [patch] Releasing 1.x as this is now stable 0b87d5c
- [patch] Releasing 1.x as this is now stable 0b87d5c
0.0.7
- [patch] Bump version of @atlaskit/docs everywhere 9a0ea18
- [patch] Bump version of @atlaskit/docs everywhere 9a0ea18
- [patch] Update react-markings dependency 71d0703
- [patch] Update react-markings dependency 71d0703
0.0.6
0.0.5
- [patch] bump consumer versions for release c730a1c
- [patch] bump consumer versions for release c730a1c
- [patch] Add documentation to editor core; introduce code formatting method to docs a1c7e56
- [patch] Add documentation to editor core; introduce code formatting method to docs a1c7e56