Text area
A text area lets users enter long form text which spans over multiple lines.10.2.3
Patch Changes
- Updated dependencies
10.2.2
Patch Changes
724fabad010d6, (opens new window) - Cleaned up new shape theme styles, making new border and radius values the default.
10.2.1
Patch Changes
34127bf96b9db, (opens new window) - Improved the contrast of placeholder text and input indicator icons, gated behindplatform-dst-tokens-finesse.
10.2.0
Minor Changes
bd2c5b0112185, (opens new window) - Remove stale API report artifacts from published Platform packages.
Patch Changes
- Updated dependencies
10.1.0
Minor Changes
-
d82e6f76528ab, (opens new window) - Add direct subpath package exports as part of the linking-platform, search, media, and design-system barrel-removal (de-barrel) migration.These packages now expose their individual modules via explicit
package.jsonexportssubpaths so that consumers can import directly from the leaf module (e.g.@atlaskit/pkg/thing) instead of the package barrel/index. This adds new public entry points without changing or removing any existing exports, so it is a backwards-compatible additive change.No runtime behaviour changes; this is an API-surface (entry-point) addition to support tree-shaking and to unblock removal of the barrel index files.
Patch Changes
- Updated dependencies
10.0.0
Major Changes
-
11ace7dc73878, (opens new window) - Apply Volt entry-point and multi-export standards viavolt-migrate-package. This is a major change to@atlaskit/textarea: the packageexportsmap has been restructured so both public subpaths now resolve directly to their./src/*implementation instead of going through an intermediate./src/entry-points/*re-export, and the two shim files have been removed. No public subpaths were added or removed.Why this is breaking
Because each subpath now points straight at its implementation module, a subpath and the package root can resolve to the same module instance. Consumers that deep-import the internal
entry-points/*files, or thatjest.mock()a specific subpath, may observe changed resolution/behaviour and need updating.Migration — public imports are unchanged
Importing the published subpaths (or the package root) continues to work as before:
// Still valid — no change required import TextArea from '@atlaskit/textarea/text-area';If you were reaching into the internal entry-point modules, switch to the public subpath:
-import TextArea from '@atlaskit/textarea/entry-points/text-area'; +import TextArea from '@atlaskit/textarea/text-area';Before / after
exportsmap"exports": { ".": "./src/index.tsx", - "./text-area": "./src/entry-points/text-area.tsx", + "./text-area": "./src/text-area.tsx", - "./types": "./src/entry-points/types.tsx", + "./types": "./src/types.tsx", }
Patch Changes
- Updated dependencies
9.1.5
Patch Changes
- Updated dependencies
9.1.4
Patch Changes
95d4618be32ae, (opens new window) - Experimental React 19 peer dependency support. This patch widens the peer range; CI coverage is partial.- 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
-
cd097a2111788, (opens new window) - Republish packages depending on@atlaskit/react-compiler-gatingso their published dependency reference is updated to the renamed@atlaskit/react-compiler-gatingscope.The earlier rename of
@atlassian/react-compiler-gatingto@atlaskit/react-compiler-gatingonly bumped the renamed package itself, so dependent packages were never republished and their published versions still referenced the old@atlassian/react-compiler-gatingname, which is not available in the public npm registry. This minor bump republishes all affected packages with the corrected dependency.
Patch Changes
- Updated dependencies
9.0.1
Patch Changes
ee28cf33718b0, (opens new window) - Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform gating.- Updated dependencies
9.0.0
Major Changes
-
f2dc9097319f0, (opens new window) - ### Dropped support for legacy Typescript 4 types. Typescript 5 is now the new minimum.Removes the
typesVersionsproperty anddist/types-ts4.5directory from the dist.Types are now exclusively via the
"types": "dist/types/index.d.ts"property.- "typesVersions": { - ">=4.5 <4.9": { - "*": [ - "dist/types-ts4.5/*", - "dist/types-ts4.5/index.d.ts" - ] - } - },
Patch Changes
- Updated dependencies
8.3.2
Patch Changes
- Updated dependencies
8.3.1
Patch Changes
- Updated dependencies
8.3.0
Minor Changes
7d6e9b5e6e7c6, (opens new window) - Autofix: add explicit package exports (barrel removal)
Patch Changes
- Updated dependencies
8.2.10
Patch Changes
- Updated dependencies
8.2.9
Patch Changes
- Updated dependencies
8.2.8
Patch Changes
- Updated dependencies
8.2.7
Patch Changes
02483200273ec, (opens new window) - Enrol all Design System UI packages into the React Compiler with platform gating via isReactCompilerActivePlatform.- Updated dependencies
8.2.6
Patch Changes
e2085d35701ca, (opens new window) - Internal changes to remove unnecessary token fallbacks and imports from@atlaskit/theme- Updated dependencies
8.2.5
Patch Changes
7aef1e49e90ea, (opens new window) - Removes redundant fallback color values via @atlaskit/theme- Updated dependencies
8.2.4
Patch Changes
- Updated dependencies
8.2.3
Patch Changes
- Updated dependencies
8.2.2
Patch Changes
- Updated dependencies
8.2.1
Patch Changes
- Updated dependencies
8.2.0
Minor Changes
b867e641d818d, (opens new window) - Updated border radius values behind a feature gateplatform-dst-shape-theme-default.
8.1.0
Minor Changes
2568622464f45, (opens new window) - release previously feature-gated change to textfield, textarea, and select to increase font size to 16px on mobile
8.0.14
Patch Changes
- Updated dependencies
8.0.13
Patch Changes
- Updated dependencies
8.0.12
Patch Changes
- Updated dependencies
8.0.11
Patch Changes
- Updated dependencies
8.0.10
Patch Changes
39e543109ec09, (opens new window) - add type info to forwardRef components- Updated dependencies
8.0.9
Patch Changes
- Updated dependencies
8.0.8
Patch Changes
255837cfba315, (opens new window) - Internal changes to how border radius is applied.- Updated dependencies
8.0.7
Patch Changes
- Updated dependencies
8.0.6
Patch Changes
- Updated dependencies
8.0.5
Patch Changes
- Updated dependencies
8.0.4
Patch Changes
- Updated dependencies
8.0.3
Patch Changes
- #129972, (opens new window)
b2d69a39e6687, (opens new window) - Update@compiled/reactdependency for improved type checking support. - Updated dependencies
8.0.2
Patch Changes
- #125737, (opens new window)
3715d57838782, (opens new window) - Update dependencies and remove old codemods.
8.0.1
Patch Changes
- Updated dependencies
8.0.0
Major Changes
-
#117363, (opens new window)
10a0f7f6c2027, (opens new window) - This package'speerDependencieshave been adjusted forreactand/orreact-domto reflect the status of only supporting React 18 going forward. No explicit breaking change to React support has been made in this release, but this is to signify going forward, breaking changes for React 16 or React 17 may come via non-major semver releases.Please refer this community post for more details: https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026, (opens new window)
Patch Changes
- Updated dependencies
7.1.0
Minor Changes
- #116138, (opens new window)
b50c5d5d65ae2, (opens new window) - Bump to the latest version of @compiled/react
Patch Changes
- Updated dependencies
7.0.1
Patch Changes
- Updated dependencies
7.0.0
Major Changes
-
#113290, (opens new window)
a8634aba15b6a, (opens new window) - Migrated from@emotion/reactto@compiled/reactin order to improve performance, align with the rest of the Atlaskit techstack, and support React 18 Streaming SSR. Please note, in order to use this version of@atlaskit/textarea, you will need to ensure that your bundler is configured to handle.cssimports correctly.Most bundlers come with built-in support for
.cssimports, so you may not need to do anything. If you are using a different bundler, please refer to the documentation for that bundler to understand how to handle.cssimports. For more information on the migration, please refer to RFC-73 Migrating our components to Compiled CSS-in-JS, (opens new window).Removed
styles.tsxandcomponent-tokens.tsxand their entry points@atlaskit/textarea/component-tokensand@atlaskit/textarea/stylesfrompackage.json
6.0.0
Major Changes
-
#95577, (opens new window)
ad478a9dbc399, (opens new window) - Migrated from@emotion/reactto@compiled/reactin order to improve performance, align with the rest of the Atlaskit techstack, and support React 18 Streaming SSR. Please note, in order to use this version of@atlaskit/textarea, you will need to ensure that your bundler is configured to handle.cssimports correctly.Most bundlers come with built-in support for
.cssimports, so you may not need to do anything. If you are using a different bundler, please refer to the documentation for that bundler to understand how to handle.cssimports. For more information on the migration, please refer to RFC-73 Migrating our components to Compiled CSS-in-JS, (opens new window).Removed styles.tsx and component-tokens.tsx and their entry points from package.json
Patch Changes
- Updated dependencies
5.8.2
Patch Changes
- Updated dependencies
5.8.1
Patch Changes
- Updated dependencies
5.8.0
Minor Changes
- #109060, (opens new window)
4660ec858a305, (opens new window) - UpdateReactfrom v16 to v18
Patch Changes
- Updated dependencies
5.7.3
Patch Changes
- #103999, (opens new window)
9f62ecec4d422, (opens new window) - Update dependencies.
5.7.2
Patch Changes
- Updated dependencies
5.7.1
Patch Changes
- #98226, (opens new window)
9c961c3cbcc7f, (opens new window) - Internal changes to typography.
5.7.0
Minor Changes
-
#173737, (opens new window)
667640085e5c7, (opens new window) - Update the font size for the textarea and select components at thexsbreakpoint. The font size will be increased to 16px to prevent IOS Safari from zooming in on the text field when it is focused. Styles for larger breakpoints will remain unchanged.Apply a fix to the textfield component to ensure monospace is correctly applied to the input at the
media.above.xsbreakpoint.These changes are currently behind a feature gate and will be evaluated for effectiveness. If successful, they will be included in a future release.
5.6.4
Patch Changes
- #166026, (opens new window)
962b5e77810fb, (opens new window) - Adds side-effect config to support Compiled css extraction in third-party apps
5.6.3
Patch Changes
- Updated dependencies
5.6.2
Patch Changes
- Updated dependencies
5.6.1
Patch Changes
- Updated dependencies
5.6.0
Minor Changes
-
#127511, (opens new window)
db30e29344013, (opens new window) - Widening range ofreactandreact-dompeer dependencies from^16.8.0 || ^17.0.0 || ~18.2.0to the wider range of ``^16.8.0 || ^17.0.0 || ^18.0.0` (where applicable).This change has been done to enable usage of
react@18.3as well as to have a consistent peer dependency range forreactandreact-domfor/platformpackages.
Patch Changes
- Updated dependencies
5.5.2
Patch Changes
- Updated dependencies
5.5.1
Patch Changes
- #105813, (opens new window)
f2f51e7a24d00, (opens new window) - Internal change only. Update typography to use typography tokens. - Updated dependencies
5.5.0
Minor Changes
- #111016, (opens new window)
d131599730792, (opens new window) - Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime is implicitly set to automatic.
Patch Changes
- Updated dependencies
5.4.0
Minor Changes
- #96186, (opens new window)
225179567a4c, (opens new window) - Add support for React 18 in non-strict mode.
5.3.0
Minor Changes
- #94675, (opens new window)
5d9e1dccacca, (opens new window) - [ux] Update input border color token to meet 3:1 color contrast ratioLight theme: color.border.input: #091E4224 → #8590A2Dark mode: color.border.input: #A6C5E229 → #738496
Patch Changes
- Updated dependencies
5.2.0
Minor Changes
- #82028, (opens new window)
065756e95a09, (opens new window) - [ux] This change includes a fix for the TextArea's text color when there is a placeholder and isDisabled is true.
5.1.2
Patch Changes
- #83116, (opens new window)
8d4e99057fe0, (opens new window) - Upgrade Typescript from4.9.5to5.4.2
5.1.1
Patch Changes
- #81644, (opens new window)
8ab7a816dca7, (opens new window) - Revert input border change from the previous version
5.1.0
Minor Changes
- #80805, (opens new window)
427c2dd9e0d6, (opens new window) - [ux] Update input border width from 2px to 1px with darker color to meet 3:1 color contrast
Patch Changes
- Updated dependencies
5.0.1
Patch Changes
- #74756, (opens new window)
8e66f751df96, (opens new window) - Use feature flag to roll out border width update from 2px to 1px
5.0.0
Major Changes
- #41866, (opens new window)
ed8b6957789, (opens new window) - Removes any usage of deprecated legacy theming APIs. These have been superseeded by design tokens.
4.7.7
Patch Changes
- #37613, (opens new window)
29941aaea33, (opens new window) - update focused fallback color to meet contrast requirement
4.7.6
Patch Changes
- #38731, (opens new window)
9af31f3c1ae, (opens new window) - Delete version.json
4.7.5
Patch Changes
- #38201, (opens new window)
356d6ebed05, (opens new window) - This package is now onboarded onto the product push model.
4.7.4
Patch Changes
- #36662, (opens new window)
964e8db6c94, (opens new window) - update border width to use border spacing token
4.7.3
Patch Changes
- #35441, (opens new window)
599bfe90ee3, (opens new window) - Internal change to use shape tokens. There is no expected visual change.
4.7.2
Patch Changes
- #35111, (opens new window)
8f436f0c301, (opens new window) - extend border contrast feature flag to support confluence
4.7.1
Patch Changes
- #32935, (opens new window)
b1bdec7cce2, (opens new window) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
4.7.0
Minor Changes
- #33171, (opens new window)
5f37caad726, (opens new window) - [ux] reduce border width to 1px and update fallback color of border
4.6.3
Patch Changes
- #34051, (opens new window)
49b08bfdf5f, (opens new window) - Migrated use ofgridSizeto space tokens where possible. There is no expected visual or behaviour change.
4.6.2
Patch Changes
- #33793, (opens new window)
9d00501a414, (opens new window) - Ensure legacy types are published for TS 4.5-4.8
4.6.1
Patch Changes
- #33649, (opens new window)
41fae2c6f68, (opens new window) - Upgrade Typescript from4.5.5to4.9.5
4.6.0
Minor Changes
- #33258, (opens new window)
56507598609, (opens new window) - Skip minor dependency bump
Patch Changes
- Updated dependencies
4.5.7
Patch Changes
- #33004, (opens new window)
e028bee17df, (opens new window) - [ux] fix(style): update fallback color of placeholder to meet contrast requirement
4.5.6
Patch Changes
- Updated dependencies
4.5.5
Patch Changes
- Updated dependencies
4.5.4
Patch Changes
- Updated dependencies
4.5.3
Patch Changes
- Updated dependencies
4.5.2
Patch Changes
- Updated dependencies
4.5.1
Patch Changes
- #26303, (opens new window)
9827dcb82b8, (opens new window) - No-op change to introduce spacing tokens to design system components.
4.5.0
Minor Changes
- #24710, (opens new window)
6612a236510, (opens new window) - Updates@emotion/coreto@emotion/react; v10 to v11. There is no expected behavior change.
Patch Changes
32d761cfc1d, (opens new window) - [ux] Fix bug that prevented consumers from rendering a single line textarea
4.4.0
Minor Changes
- #24968, (opens new window)
b8841384da6, (opens new window) - Disabled background and border styles should not be applied to components that have either no background or transparent background to begin with. Textfield and textarea variants that do not have backgrounds (sublte or none) have no backgrounds or borders applied when disabled. As such, any comopnents that consume these will also be affected.
4.3.11
Patch Changes
- #25314, (opens new window)
bedbdec0e82, (opens new window) - Update hover state appearance of subtle Textarea, Textfield and Select components to match the hover states of their default counterparts.
4.3.10
Patch Changes
- #24874, (opens new window)
8cc2f888c83, (opens new window) - Upgrade Typescript from4.3.5to4.5.5
4.3.9
Patch Changes
- #24492, (opens new window)
8d4228767b0, (opens new window) - Upgrade Typescript from4.2.4to4.3.5.
4.3.8
Patch Changes
- #23381, (opens new window)
e4abd2c2888, (opens new window) - Update token used for background color of subtle text area on hover 926f9b57c59, (opens new window) - Internal code change turning on new linting rules.fe575d49d66, (opens new window) - Updated styles to use new input design tokens
4.3.7
Patch Changes
- #22642, (opens new window)
45ebe7af434, (opens new window) - Moved to using declarative entrypoints internally. Public API is unchanged.
4.3.6
Patch Changes
- #21570, (opens new window)
f63824e8227, (opens new window) - [ux] Updated input tokens within@atlaskit/textarea.
4.3.5
Patch Changes
- Updated dependencies
4.3.4
Patch Changes
- #20650, (opens new window)
cb2392f6d33, (opens new window) - Upgrade to TypeScript 4.2.4
4.3.3
Patch Changes
- Updated dependencies
4.3.2
Patch Changes
- Updated dependencies
4.3.1
Patch Changes
- Updated dependencies
4.3.0
Minor Changes
- #18526, (opens new window)
2e56ff8ea50, (opens new window) - [ux] Fixed a bug where smart resize did not work when the value prop was changed
4.2.6
Patch Changes
- #16752, (opens new window)
19d72473dfb, (opens new window) - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids. - Updated dependencies
4.2.5
Patch Changes
- Updated dependencies
4.2.4
Patch Changes
- #15998, (opens new window)
f460cc7c411, (opens new window) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size. af7c289395b, (opens new window) - Fix TypeScript issue where text area HTML attributes were not exposed in component prop types.- Updated dependencies
4.2.3
Patch Changes
- Updated dependencies
4.2.2
Patch Changes
- Updated dependencies
4.2.1
Patch Changes
- Updated dependencies
4.2.0
Minor Changes
-
#13302, (opens new window)
ae281b57bcd, (opens new window) - Instrumented Radio with the new theming package,@atlaskit/tokens.New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha). These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes
Patch Changes
2d7cc544696, (opens new window) - Updates token usage to match the latest token set- Updated dependencies
4.1.3
Patch Changes
- #13728, (opens new window)
c5785203506, (opens new window) - Updated homepage in package.json
4.1.2
Patch Changes
- #12880, (opens new window)
378d1cef00f, (opens new window) - Bump@atlaskit/themeto version^11.3.0.
4.1.1
Patch Changes
- #12167, (opens new window)
d6f7ff383cf, (opens new window) - Updates to development dependencystorybook-addon-performance
4.1.0
Minor Changes
- #11113, (opens new window)
7af2427f3a8, (opens new window) - [ux] Update form field examples for validation and add a new prop to RadioGroup component
4.0.2
Patch Changes
- #8644, (opens new window)
79c23df6340, (opens new window) - Use injected package name and version for analytics instead of version.json.
4.0.1
Patch Changes
- #5857, (opens new window)
d3265f19be, (opens new window) - Transpile packages using babel rather than tsc
4.0.0
Major Changes
-
#5860, (opens new window)
782b6e5182, (opens new window) - ### BriefThe goal of this major for textarea is to improve the component's performance, by both
reducing static structure and avoiding unnecessary function calls.
We have made internal refactors and optimizations to improve textarea performance. Some changes made are as follows:
-
Moving TextArea to a single element (removed an internal wrapping element)
-
Replace
styled-componentstoemotionas styling library -
Moving internal component analytics to a more efficient usePlatformLeafEventHandler hook
-
Refactoring styles to recalculate only when theme & certain props change
-
Controlling CSS change via attributes instead of props
TextArea now has single DOM element
DOM element 2 -> 1 Removed div surrounding (wrapper) native textarea element and moved all behaviors and CSS to that single element.
Measuring the height of the textarea element will now get different raw values because the text area is now rendering it’s own padding and border, but computed height is still the same.
Upgrading with codemod
# You first need to have the latest textarea installed before you can run the codemod yarn upgrade @atlaskit/textarea@^4.0.0 -
Run the codemod cli
Pass in a parser for your codebase
npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel]
## 3.0.5
### Patch Changes
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
Also add `typescript` to `devDependencies` to denote version that the package was built with.
## 3.0.4
### Patch Changes
- Updated dependencies
## 3.0.3
### Patch Changes
- [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707) [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
## 3.0.2
### Patch Changes
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
to prevent duplicates of tslib being bundled.
## 3.0.1
### Patch Changes
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`e99262c6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99262c6f0) - All form elements now have a default font explicitly set
## 3.0.0
### Major Changes
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/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
## 2.2.10
### Patch Changes
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866) [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
## 2.2.9
### Patch Changes
- Updated dependencies
## 2.2.8
### Patch Changes
- [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868) [`7aa4756beb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7aa4756beb) - Change imports to comply with Atlassian conventions- Updated dependencies
## 2.2.7
### Patch Changes
- [patch][109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
Deletes internal package @atlaskit/type-helpers and removes all usages. @atlaskit/type-helpers has been superseded by native typescript helper utilities.- Updated dependencies [168b5f90e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/168b5f90e5):
- Updated dependencies [0c270847cb](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c270847cb):
- Updated dependencies [109004a98e](https://bitbucket.org/atlassian/atlassian-frontend/commits/109004a98e):
- Updated dependencies [b9903e773a](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9903e773a):
- @atlaskit/docs@8.5.1
- @atlaskit/theme@9.5.3
- @atlaskit/analytics-next@6.3.6
- @atlaskit/button@13.3.10
## 2.2.6
### Patch Changes
- Updated dependencies [66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
- Updated dependencies [64fb94fb1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/64fb94fb1e):
- Updated dependencies [eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
- Updated dependencies [109c1a2c0a](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c1a2c0a):
- Updated dependencies [c57bb32f6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/c57bb32f6d):
- @atlaskit/docs@8.4.0
- @atlaskit/webdriver-runner@0.3.0
- @atlaskit/button@13.3.9
## 2.2.5
### Patch Changes
- Updated dependencies [e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd):
- @atlaskit/webdriver-runner@0.2.0
- @atlaskit/button@13.3.8
## 2.2.4
### Patch Changes
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
- @atlaskit/docs@8.3.2
- @atlaskit/visual-regression@0.1.9
- @atlaskit/analytics-next@6.3.5
- @atlaskit/button@13.3.7
- @atlaskit/theme@9.5.1
- @atlaskit/type-helpers@4.2.3
## 2.2.3
### Patch Changes
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
Added name prop to component prop types.- Updated dependencies [24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
- Updated dependencies [24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
- @atlaskit/analytics-next@6.3.3
## 2.2.2
### Patch Changes
- [patch][557a8e2451](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/557a8e2451):
Rebuilds package to fix typescript typing error.
## 2.2.1
### Patch Changes
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
## 2.2.0
### Minor Changes
- [minor][5679449552](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5679449552):
Adding an optional prop `testId` that will set the attribute value `data-testid`. It will help products to write better integration and end to end tests.
## 2.1.10
### Patch Changes
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
## 2.1.9
### Patch Changes
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
Upgraded Typescript to 3.3.x
## 2.1.8
### Patch Changes
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
Change all the imports to theme in Core to use multi entry points
## 2.1.7
### Patch Changes
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
Updates component maintainers
## 2.1.6
### Patch Changes
- [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
Analytics-next has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No behavioural changes.
**Breaking changes**
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
**Breaking changes to TypeScript annotations**
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide props as a generic type.
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide props as a generic type.
- Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match source code
- Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match source code
- Type `UIAnalyticsEventHandlerSignature` has been renamed to `UIAnalyticsEventHandler` to match source code
- Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload`
- Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any`
- Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent`
- Type `AnalyticsEventInterface` has been removed, please use `AnalyticsEvent`
- Type `CreateAndFireEventFunction` removed and should now be inferred by TypeScript
- Type `AnalyticsEventUpdater` removed and should now be inferred by TypeScript
## 2.1.5
### Patch Changes
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
Consume analytics-next ts type definitions as an ambient declaration.
## 2.1.4
### Patch Changes
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
Fixes bug, missing version.json file
## 2.1.3
### Patch Changes
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/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](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this [page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points) for further details
## 2.1.2
### Patch Changes
- [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps of the returned component.
Before:
```typescript
withAnalyticsEvents()(Button) as ComponentClass<Props>;
After:
withAnalyticsEvents<Props>()(Button);
2.1.1
Patch Changes
-
[patch]29a1f158c1, (opens new window):
Use default react import in typescript files.
2.1.0
Minor Changes
-
[minor]2b26a6f408, (opens new window):
Added placeholder prop for textareas
2.0.0
- [major]7c17b35107, (opens new window):
- 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.
1.0.0
- [major]dd95622388, (opens new window):
- This major release indicates that this package is no longer under dev preview but is ready for use
0.4.6
- [patch]0a4ccaafae, (opens new window):
- Bump tslib
0.4.5
- [patch]cd67ae87f8, (opens new window):
- Stop defaultValue from being omitted from props that are spread onto textarea
- Constraint type of value and defaultValue to string
0.4.4
- Updated dependencies
9c0b4744be, (opens new window):
- @atlaskit/docs@7.0.3
- @atlaskit/button@12.0.3
- @atlaskit/theme@8.1.7
0.4.3
- [patch]3f28e6443c, (opens new window):
- @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next supplied from itself.
0.4.2
- [patch]cf018d7630, (opens new window):
- Allow RefObject to be passed in as ref (i.e. using React.createRef()) and set inner padding to 0
0.4.1
- Updated dependencies
1e826b2966, (opens new window):
- @atlaskit/docs@7.0.2
- @atlaskit/analytics-next@4.0.3
- @atlaskit/theme@8.1.6
- @atlaskit/button@12.0.0
0.4.0
- [minor]f504850fe2, (opens new window):
- Fix bug: previous size was size for isCompact, and isCompact did not do anything. Now normal textarea is slightly larger and isCompact makes it the previous size
0.3.2
- [patch]1bcaa1b991, (opens new window):
- Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
0.3.1
- [patch]90a14be594, (opens new window):
- Fix broken type-helpers
0.3.0
- [minor]9d5cc39394, (opens new window):
- Dropped ES5 distributables from the typescript packages
0.2.6
- [patch]1b952c437d, (opens new window):
- Change order of props spread to fix textarea focus glow, and smart resizing when onChange passed in
0.2.5
- Updated dependencies
76299208e6, (opens new window):
- @atlaskit/button@10.1.3
- @atlaskit/docs@7.0.0
- @atlaskit/analytics-next@4.0.0
- @atlaskit/theme@8.0.0
0.2.4
- [patch]aab267bb3a, (opens new window):
- Added test to make sure the props are passed down to hidden input
0.2.3
- Updated dependencies 58b84fa, (opens new window):
- @atlaskit/analytics-next@3.1.2
- @atlaskit/button@10.1.1
- @atlaskit/theme@7.0.1
- @atlaskit/docs@6.0.0
0.2.2
- [patch]9e6b592, (opens new window):
- Added tslib import for textarea
0.2.1
- [patch]d13242d, (opens new window):
- Change API to experimental theming API to namespace component themes into separate contexts and make theming simpler. Update all dependant components.
0.2.0
- [minor]76a8f1c, (opens new window):
- Convert @atlaskit/textarea to Typescript
- Dist paths have changed, if you are importing by exact file path you will need to update your
imports
import '@atlaskit/button/dist/es5/components/ButtonGroup' - Flow types are not present any more, Typescript definitions are shipped instead
- Dist paths have changed, if you are importing by exact file path you will need to update your
imports
- Convert @atlaskit/textarea to Typescript
0.1.1
- Updated dependencies 6998f11, (opens new window):
- @atlaskit/docs@5.2.1
- @atlaskit/analytics-next@3.1.1
- @atlaskit/theme@6.2.1
- @atlaskit/button@10.0.0
0.1.0
- [minor]9d77c4e, (opens new window):
- New textarea package, meant to be a replacement for field-text-area, normalised component architecture, removed dependency on @atlaskit/field-base, updated to use new @atlaskit/theme api