New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/range

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/range - npm Package Compare versions

Comparing version 7.1.8 to 7.2.0

493

CHANGELOG.md
# @atlaskit/range
## 7.2.0
### Minor Changes
- [#93978](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93978)
[`1a198c473f9d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1a198c473f9d) -
Add support for React 18.
## 7.1.8

@@ -7,3 +15,5 @@

- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
Upgrade Typescript from `4.9.5` to `5.4.2`

@@ -14,3 +24,5 @@ ## 7.1.7

- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731) [`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete version.json
- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731)
[`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete
version.json

@@ -21,3 +33,5 @@ ## 7.1.6

- [#38201](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38201) [`356d6ebed05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/356d6ebed05) - This package is now onboarded onto the product push model.
- [#38201](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38201)
[`356d6ebed05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/356d6ebed05) - This
package is now onboarded onto the product push model.

@@ -28,3 +42,6 @@ ## 7.1.5

- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754) [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
testing.

@@ -35,3 +52,5 @@ ## 7.1.4

- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441) [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441)
[`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) -
Internal change to use shape tokens. There is no expected visual change.

@@ -42,3 +61,6 @@ ## 7.1.3

- [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935) [`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
- [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935)
[`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) -
Internal change to enforce token usage for spacing properties. There is no expected visual or
behaviour change.

@@ -49,3 +71,5 @@ ## 7.1.2

- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
legacy types are published for TS 4.5-4.8

@@ -56,3 +80,5 @@ ## 7.1.1

- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
Upgrade Typescript from `4.5.5` to `4.9.5`

@@ -63,7 +89,9 @@ ## 7.1.0

- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
minor dependency bump
### Patch Changes
- Updated dependencies
- Updated dependencies

@@ -74,4 +102,7 @@ ## 7.0.4

- [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634) [`22b754d311f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22b754d311f) - Updates usage of removed design token `utilities.UNSAFE_util.transparent` in favour of its replacement `utilities.UNSAFE.transparent`
- Updated dependencies
- [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634)
[`22b754d311f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22b754d311f) -
Updates usage of removed design token `utilities.UNSAFE_util.transparent` in favour of its
replacement `utilities.UNSAFE.transparent`
- Updated dependencies

@@ -82,3 +113,3 @@ ## 7.0.3

- Updated dependencies
- Updated dependencies

@@ -89,3 +120,3 @@ ## 7.0.2

- Updated dependencies
- Updated dependencies

@@ -96,3 +127,3 @@ ## 7.0.1

- Updated dependencies
- Updated dependencies

@@ -103,7 +134,10 @@ ## 7.0.0

- [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860) [`78741dd1644`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78741dd1644) - [ux] Breaking visual changes to range to afford better contrast:
- [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860)
[`78741dd1644`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78741dd1644) - [ux]
Breaking visual changes to range to afford better contrast:
- The scrubber now applies the same color as the foreground
- The disabled state has been altered; it's now a consistently applied opacity state overlay across the whole element
- The input now uses :focus-visible, rather than :focus and applies an offset focus ring
- The scrubber now applies the same color as the foreground
- The disabled state has been altered; it's now a consistently applied opacity state overlay
across the whole element
- The input now uses :focus-visible, rather than :focus and applies an offset focus ring

@@ -114,3 +148,5 @@ ## 6.1.1

- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303) [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
[`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
change to introduce spacing tokens to design system components.

@@ -121,3 +157,5 @@ ## 6.1.0

- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`1966ffa850d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1966ffa850d) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
[`1966ffa850d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1966ffa850d) -
Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.

@@ -128,3 +166,5 @@ ## 6.0.9

- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
Upgrade Typescript from `4.3.5` to `4.5.5`

@@ -135,3 +175,5 @@ ## 6.0.8

- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
Upgrade Typescript from `4.2.4` to `4.3.5`.

@@ -142,4 +184,6 @@ ## 6.0.7

- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`8202e37941b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8202e37941b) - Internal code change turning on new linting rules.
- Updated dependencies
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
[`8202e37941b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8202e37941b) -
Internal code change turning on new linting rules.
- Updated dependencies

@@ -150,3 +194,5 @@ ## 6.0.6

- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`45ebe7af434`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45ebe7af434) - Moved to using declarative entrypoints internally. Public API is unchanged.
- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
[`45ebe7af434`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45ebe7af434) - Moved
to using declarative entrypoints internally. Public API is unchanged.

@@ -157,3 +203,3 @@ ## 6.0.5

- Updated dependencies
- Updated dependencies

@@ -164,3 +210,5 @@ ## 6.0.4

- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
Upgrade to TypeScript 4.2.4

@@ -171,3 +219,3 @@ ## 6.0.3

- Updated dependencies
- Updated dependencies

@@ -178,3 +226,3 @@ ## 6.0.2

- Updated dependencies
- Updated dependencies

@@ -185,3 +233,3 @@ ## 6.0.1

- Updated dependencies
- Updated dependencies

@@ -192,6 +240,8 @@ ## 6.0.0

- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526) [`17d9edaa415`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17d9edaa415) - In preparation for compiled adoption, internal styling has been rewritten to remove dynamic styles.
This includes custom theming using the `theme` prop, which has been removed.
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526)
[`17d9edaa415`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17d9edaa415) - In
preparation for compiled adoption, internal styling has been rewritten to remove dynamic styles.
This includes custom theming using the `theme` prop, which has been removed.
If you are not using the `theme` prop, there should be no breaking changes.
If you are not using the `theme` prop, there should be no breaking changes.

@@ -202,5 +252,10 @@ ## 5.1.4

- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids.
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - 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
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The
no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when
auto-fixing by correctly formatting token ids.
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - 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

@@ -211,3 +266,3 @@ ## 5.1.3

- Updated dependencies
- Updated dependencies

@@ -218,3 +273,5 @@ ## 5.1.2

- [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475) [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
- [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475)
[`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch
VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489

@@ -225,4 +282,7 @@ ## 5.1.1

- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
- Updated dependencies
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
[`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
for this package now pass through a tokens babel plugin, removing runtime invocations of the
tokens() function and improving bundle size.
- Updated dependencies

@@ -233,10 +293,13 @@ ## 5.1.0

- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777) [`21c178539a2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/21c178539a2) - [ux] Instrumented range with the new theming package, `@atlaskit/tokens`.
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777)
[`21c178539a2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/21c178539a2) - [ux]
Instrumented range 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.
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
- Updated dependencies
- Updated dependencies

@@ -247,3 +310,3 @@ ## 5.0.11

- Updated dependencies
- Updated dependencies

@@ -254,3 +317,5 @@ ## 5.0.10

- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880) [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
`@atlaskit/theme` to version `^11.3.0`.

@@ -261,3 +326,6 @@ ## 5.0.9

- [#11980](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11980) [`b0183dd2972`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0183dd2972) - Updated package.json decriptions and documentation. Docs have moved from atlaskit.atlassian.com to atlassian.design
- [#11980](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11980)
[`b0183dd2972`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0183dd2972) -
Updated package.json decriptions and documentation. Docs have moved from atlaskit.atlassian.com
to atlassian.design

@@ -268,3 +336,5 @@ ## 5.0.8

- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167) [`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates to development dependency `storybook-addon-performance`
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167)
[`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) -
Updates to development dependency `storybook-addon-performance`

@@ -275,3 +345,5 @@ ## 5.0.7

- [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762) [`952019cfd39`](https://bitbucket.org/atlassian/atlassian-frontend/commits/952019cfd39) - Removed extraneous/unnecessary dependencies for design system components.
- [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762)
[`952019cfd39`](https://bitbucket.org/atlassian/atlassian-frontend/commits/952019cfd39) -
Removed extraneous/unnecessary dependencies for design system components.

@@ -282,3 +354,6 @@ ## 5.0.6

- [#6930](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6930) [`3137d05e06`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3137d05e06) - [ux] Fixed rendering bug inside of Range. Now the blue trackbar snaps to a step in the range to align with the position of the thumb.
- [#6930](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6930)
[`3137d05e06`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3137d05e06) - [ux]
Fixed rendering bug inside of Range. Now the blue trackbar snaps to a step in the range to align
with the position of the thumb.

@@ -289,3 +364,5 @@ ## 5.0.5

- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
Transpile packages using babel rather than tsc

@@ -296,5 +373,8 @@ ## 5.0.4

- [#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.
- [#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.

@@ -305,3 +385,3 @@ ## 5.0.3

- Updated dependencies
- Updated dependencies

@@ -312,6 +392,8 @@ ## 5.0.2

- [#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
- [#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.
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.

@@ -322,4 +404,7 @@ ## 5.0.1

- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`6262f382de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6262f382de) - Use the 'lodash' package instead of single-function 'lodash.\*' packages
- [`e99262c6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99262c6f0) - All form elements now have a default font explicitly set
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
[`6262f382de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6262f382de) - Use the
'lodash' package instead of single-function 'lodash.\*' packages
- [`e99262c6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99262c6f0) - All form
elements now have a default font explicitly set

@@ -330,8 +415,11 @@ ## 5.0.0

- [#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
- [#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
- Updated dependencies

@@ -342,3 +430,5 @@ ## 4.0.1

- [#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
- [#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

@@ -349,49 +439,61 @@ ## 4.0.0

- [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137) [`da1c8c16d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/da1c8c16d4) - In this version we made range dramatically faster and lighter 🤩
- [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137)
[`da1c8c16d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/da1c8c16d4) - In this
version we made range dramatically faster and lighter 🤩
### Changes
### Changes
In `4.0.0` we bring significant performance improvements all for just the cost of 1 breaking change 😮. That's not all folks because this update comes with a 🤑 FREE 🤑 codemod for you to upgrade with.
In `4.0.0` we bring significant performance improvements all for just the cost of 1 breaking
change 😮. That's not all folks because this update comes with a 🤑 FREE 🤑 codemod for you to
upgrade with.
- Range no longer has a `peerDependency` on `styled-components@3`. Internally range is now using `@emotion/core` for styling
- A performance issue made the range noticeably laggy with large ranges. With this change we are no longer creating new classes on each step change and instead updating a css variable, making Range noticeably smoother.
- Changed the `inputRef` prop to be `ref` which returns the `ref` of the range input using `React.forwardRef`. This new `ref` prop will accept the type of the old `inputRef` prop, `(input?: HTMLInputElement) => any`, as well as if `ref` is created with `React.createRef`.
- A new example that shows off how to rate limit your `onChange` event
- Range no longer has a `peerDependency` on `styled-components@3`. Internally range is now
using `@emotion/core` for styling
- A performance issue made the range noticeably laggy with large ranges. With this change we
are no longer creating new classes on each step change and instead updating a css variable,
making Range noticeably smoother.
- Changed the `inputRef` prop to be `ref` which returns the `ref` of the range input using
`React.forwardRef`. This new `ref` prop will accept the type of the old `inputRef` prop,
`(input?: HTMLInputElement) => any`, as well as if `ref` is created with `React.createRef`.
- A new example that shows off how to rate limit your `onChange` event
### Automatic upgrading
### Automatic upgrading
```
# You first need to have the latest range installed before you can run the codemod
yarn upgrade @atlaskit/range@^4.0.0
```
# You first need to have the latest range installed before you can run the codemod
yarn upgrade @atlaskit/range@^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]
```
# Run the codemod cli
# Pass in a parser for your codebase
npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel]
```
#### Notes
#### Notes
- You first need to upgrade to `4.0.0` **before** you run the codemod cli. This is because the cli will look in your local `node_modules` for the codemod which is published inside the `spinner` package.
- The codemod is pretty clever, and will respect aliasing as well as using custom naming for the default import
- You first need to upgrade to `4.0.0` **before** you run the codemod cli. This is because the
cli will look in your local `node_modules` for the codemod which is published inside the
`spinner` package.
- The codemod is pretty clever, and will respect aliasing as well as using custom naming for
the default import
#### Ez pz lemon squeezy
#### Ez pz lemon squeezy
The codemod will change the `inputRef` prop to `ref`
The codemod will change the `inputRef` prop to `ref`
```diff
- <Range inputRef={inputRef} />
+ <Range ref={inputRef} />
```diff
- <Range inputRef={inputRef} />
+ <Range ref={inputRef} />
- <Range
- inputRef={ref => {
- myRangeRef = ref;
- }}
- />
+ <Range
+ ref={ref => {
+ myRangeRef = ref;
+ }}
+ />
- <Range
- inputRef={ref => {
- myRangeRef = ref;
- }}
- />
+ <Range
+ ref={ref => {
+ myRangeRef = ref;
+ }}
+ />
```
```

@@ -402,11 +504,12 @@ ## 3.0.12

- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
- [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):
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/checkbox@10.1.7
- @atlaskit/theme@9.5.1
- @atlaskit/tooltip@15.2.3
- @atlaskit/docs@8.3.2
- @atlaskit/visual-regression@0.1.9
- @atlaskit/checkbox@10.1.7
- @atlaskit/theme@9.5.1
- @atlaskit/tooltip@15.2.3

@@ -417,11 +520,15 @@ ## 3.0.11

- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result- Updated dependencies [82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result-
Updated dependencies
[82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
- Updated dependencies [4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
- Updated dependencies [6a8bc6f866](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a8bc6f866):
- @atlaskit/theme@9.5.0
- @atlaskit/checkbox@10.1.5
- @atlaskit/tooltip@15.2.1
- Updated dependencies
[4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
- Updated dependencies
[6a8bc6f866](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a8bc6f866):
- @atlaskit/theme@9.5.0
- @atlaskit/checkbox@10.1.5
- @atlaskit/tooltip@15.2.1

@@ -432,5 +539,5 @@ ## 3.0.10

- [patch][557a8e2451](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/557a8e2451):
- [patch][557a8e2451](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/557a8e2451):
Rebuilds package to fix typescript typing error.
Rebuilds package to fix typescript typing error.

@@ -441,11 +548,12 @@ ## 3.0.9

- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
## 3.0.8
- Updated dependencies [97bab7fd28](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bab7fd28):
- @atlaskit/checkbox@10.0.0
- @atlaskit/docs@8.1.7
- Updated dependencies
[97bab7fd28](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bab7fd28):
- @atlaskit/checkbox@10.0.0
- @atlaskit/docs@8.1.7

@@ -456,5 +564,6 @@ ## 3.0.7

- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
- [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
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
non-relative imports as relative imports

@@ -465,5 +574,5 @@ ## 3.0.6

- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
Upgraded Typescript to 3.3.x
Upgraded Typescript to 3.3.x

@@ -474,5 +583,5 @@ ## 3.0.5

- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
Change all the imports to theme in Core to use multi entry points
Change all the imports to theme in Core to use multi entry points

@@ -483,5 +592,5 @@ ## 3.0.4

- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
Updates component maintainers
Updates component maintainers

@@ -492,10 +601,11 @@ ## 3.0.3

- [patch][f34776be97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f34776be97):
- [patch][f34776be97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f34776be97):
Type definition files are now referenced in package.json
Type definition files are now referenced in package.json
## 3.0.2
- Updated dependencies [87a2638655](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87a2638655):
- @atlaskit/checkbox@9.0.0
- Updated dependencies
[87a2638655](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87a2638655):
- @atlaskit/checkbox@9.0.0

@@ -506,5 +616,5 @@ ## 3.0.1

- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
index.ts will now be ignored when publishing to npm
index.ts will now be ignored when publishing to npm

@@ -515,100 +625,121 @@ ## 3.0.0

- [major][4a08d1912e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4a08d1912e):
- [major][4a08d1912e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4a08d1912e):
@atlaskit/range has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No API or behavioural changes.
@atlaskit/range has been converted to Typescript. Typescript consumers will now get static type
safety. Flow types are no longer provided. No API or behavioural changes.
## 2.0.2
- Updated dependencies [67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
- @atlaskit/tooltip@15.0.0
- Updated dependencies
[67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
- @atlaskit/tooltip@15.0.0
## 2.0.1
- Updated dependencies [70862830d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70862830d6):
- @atlaskit/checkbox@8.0.0
- @atlaskit/theme@9.1.0
- Updated dependencies
[70862830d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70862830d6):
- @atlaskit/checkbox@8.0.0
- @atlaskit/theme@9.1.0
## 2.0.0
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/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.
- 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][546b636a36](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/546b636a36):
- [major][546b636a36](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/546b636a36):
- This major release indicates that this package is no longer under dev preview but is ready for use
- This major release indicates that this package is no longer under dev preview but is ready
for use
## 0.2.2
- [patch][1f2a181b0f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1f2a181b0f):
- [patch][1f2a181b0f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1f2a181b0f):
- onChange is no longer overridden by spread props. As a result this component should now work in uncontrolled mode
- onChange is no longer overridden by spread props. As a result this component should now work
in uncontrolled mode
## 0.2.1
- Updated dependencies [9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
- @atlaskit/docs@7.0.3
- @atlaskit/checkbox@6.0.4
- @atlaskit/tooltip@13.0.4
- @atlaskit/theme@8.1.7
- Updated dependencies
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
- @atlaskit/docs@7.0.3
- @atlaskit/checkbox@6.0.4
- @atlaskit/tooltip@13.0.4
- @atlaskit/theme@8.1.7
## 0.2.0
- [minor][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
- [minor][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
- Drop ES5 from all the flow modules
- Drop ES5 from all the flow modules
### Dropping CJS support in all @atlaskit packages
### 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` and
`export` declarations.
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` and `export` declarations.
The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
The major reason for doing this is to allow us to support multiple entry points in packages,
e.g:
```js
import colors from `@atlaskit/theme/colors`;
```
```js
import colors from `@atlaskit/theme/colors`;
```
Previously this was sort of possible for consumers by doing something like:
Previously this was sort of possible for consumers by doing something like:
```js
import colors from `@atlaskit/theme/dist/esm/colors`;
```
```js
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.
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.
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.
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.
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](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for external) if you have any questions or queries about this.
Please reach out to #fabric-build (if in Atlassian) or create an issue in
[Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
external) if you have any questions or queries about this.
## 0.1.3
- [patch][aab267bb3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aab267bb3a):
- [patch][aab267bb3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aab267bb3a):
- Added test to make sure the props are passed down to hidden input
- Added test to make sure the props are passed down to hidden input
## 0.1.2
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
- @atlaskit/checkbox@5.0.9
- @atlaskit/theme@7.0.1
- @atlaskit/tooltip@12.1.13
- @atlaskit/docs@6.0.0
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
- @atlaskit/checkbox@5.0.9
- @atlaskit/theme@7.0.1
- @atlaskit/tooltip@12.1.13
- @atlaskit/docs@6.0.0
## 0.1.1
- [patch][d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
- [patch][d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
- Change API to experimental theming API to namespace component themes into separate contexts and make theming simpler. Update all dependant components.
- Change API to experimental theming API to namespace component themes into separate contexts
and make theming simpler. Update all dependant components.
## 0.1.0
- [minor][8945a58](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8945a58):
- [minor][8945a58](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8945a58):
- Initial release
- Initial release
{
"name": "@atlaskit/range",
"version": "7.1.8",
"version": "7.2.0",
"description": "A range lets users choose an approximate value on a slider.",

@@ -19,2 +19,3 @@ "publishConfig": {

"team": "Design System Team",
"runReact18": true,
"productPushConsumption": [

@@ -30,5 +31,5 @@ "jira"

"dependencies": {
"@atlaskit/ds-lib": "^2.2.0",
"@atlaskit/theme": "^12.6.0",
"@atlaskit/tokens": "^1.42.0",
"@atlaskit/ds-lib": "^2.3.0",
"@atlaskit/theme": "^12.7.0",
"@atlaskit/tokens": "^1.44.0",
"@babel/runtime": "^7.0.0",

@@ -38,3 +39,3 @@ "@emotion/react": "^11.7.1"

"peerDependencies": {
"react": "^16.8.0"
"react": "^16.8.0 || ^17.0.0 || ~18.2.0"
},

@@ -44,3 +45,5 @@ "devDependencies": {

"@af/visual-regression": "*",
"@atlaskit/checkbox": "^13.1.0",
"@atlaskit/ssr": "*",
"@atlaskit/tooltip": "^18.3.0",
"@atlaskit/visual-regression": "*",

@@ -47,0 +50,0 @@ "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc