Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@atlaskit/css-reset

atlassian105.7kApache-2.06.11.4TypeScript support: included

A base stylesheet for the Atlassian Design System.

atlaskit, css, ui

readme

CSS reset

A base stylesheet for ADG.

Installation

yarn add @atlaskit/css-reset

Usage

View documentation.

changelog

@atlaskit/css-reset

6.11.4

Patch Changes

  • Updated dependencies

6.11.3

Patch Changes

  • #101383 c733052840ce2 - Remove deprecated constants from css-reset. Apply correct default code font family based on typography modern theme.

6.11.2

Patch Changes

  • Updated dependencies

6.11.1

Patch Changes

  • Updated dependencies

6.11.0

Minor Changes

6.10.1

Patch Changes

  • Updated dependencies

6.10.0

Minor Changes

  • #127511 db30e29344013 - Widening range of react and react-dom peer dependencies from ^16.8.0 || ^17.0.0 || ~18.2.0 to 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/platform` packages.

Patch Changes

  • Updated dependencies

6.9.2

Patch Changes

6.9.1

Patch Changes

6.9.0

Minor Changes

6.8.0

Minor Changes

6.7.1

Patch Changes

6.7.0

Minor Changes

6.6.2

Patch Changes

  • #58867 ece3768d98ba - Internal change to remove any usages of font tokens with hardcoded values as these tokens are being deprecated.

6.6.1

Patch Changes

6.6.0

Minor Changes

6.5.4

Patch Changes

  • #37167 461d74c2e9d - change color because of insufficient color contrast for focus indicator

6.5.3

Patch Changes

  • #35441 599bfe90ee3 - Internal change to use shape tokens. There is no expected visual change.

6.5.2

Patch Changes

6.5.1

Patch Changes

6.5.0

Minor Changes

Patch Changes

  • Updated dependencies

6.4.1

Patch Changes

  • #32932 35d89e93915 - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.

6.4.0

Minor Changes

  • #32211 f91b48763da - [ux] Updates the body font size to use a typography token. This is a no-op change as the typography theme is not active.

Patch Changes

6.3.21

Patch Changes

  • #32175 8e0b1456821 - Migrated use of gridSize to space tokens where possible. There is no expected visual or behaviour change.

6.3.20

Patch Changes

  • #27634 718d5ad3044 - Updates to support the new @atlaskit/tokens theming API.
  • Updated dependencies

6.3.19

Patch Changes

  • #28324 6455cf006b3 - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving performance.

6.3.18

Patch Changes

  • Updated dependencies

6.3.17

Patch Changes

  • Updated dependencies

6.3.16

Patch Changes

  • Updated dependencies

6.3.15

Patch Changes

6.3.14

Patch Changes

6.3.13

Patch Changes

  • Updated dependencies

6.3.12

Patch Changes

6.3.11

Patch Changes

6.3.10

Patch Changes

  • Updated dependencies

6.3.9

Patch Changes

  • Updated dependencies

6.3.8

Patch Changes

  • Updated dependencies

6.3.7

Patch Changes

6.3.6

Patch Changes

  • #16752 19d72473dfb - Updates usage of deprecated token names so they're aligned with the latest naming conventions. No UI or visual changes
  • Updated dependencies

6.3.5

Patch Changes

  • Updated dependencies

6.3.4

Patch Changes

6.3.3

Patch Changes

  • #17127 5168407f185 - Fixes an issue in the CSS reset where the SVG text element didn't inherit the correct reset styles.

6.3.2

Patch Changes

  • #16864 b8fd2911013 - [ux] Reduced motion styles that were causing layout flickers have been removed.

6.3.1

Patch Changes

  • #15998 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

6.3.0

Minor Changes

6.2.0

Minor Changes

  • #14777 fd7b67c606a - [ux] The reset now uses focus-visible (if supported) instead of styling :focus directly.

Patch Changes

  • Updated dependencies

6.1.4

Patch Changes

  • Updated dependencies

6.1.3

Patch Changes

  • Updated dependencies

6.1.2

Patch Changes

  • Updated dependencies

6.1.1

Patch Changes

  • Updated dependencies

6.1.0

Minor Changes

  • #12837 92620c3aa0d - [ux] Reduced motion support has been added to the CSS reset.
  • 950a744a150 - [ux] Color values now sourced through tokens.

Patch Changes

  • Updated dependencies

6.0.5

Patch Changes

6.0.4

Patch Changes

  • #5653 cdfd30ef56 - Bumping dep for fbjs util and moving it to a devDep for css-reset

6.0.3

Patch Changes

  • #5497 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.

6.0.2

Patch Changes

  • Updated dependencies

6.0.1

Patch Changes

  • #3885 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.

6.0.0

Major Changes

Patch Changes

  • Updated dependencies

5.0.12

Patch Changes

  • #2624 82a7c30a60 - The module:es2019 field for css-reset should also point to bundle.css instead of a js file

5.0.11

Patch Changes

  • #2591 c2dbd2384c - FIX: Override for the default button font style introduced in latest Chrome 83.x.x.x

5.0.10

Patch Changes

5.0.9

Patch Changes

  • [patch]35d2229b2a:

    Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.

5.0.8

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

5.0.7

Patch Changes

5.0.6

Patch Changes

  • [patch]de35ce8c67:

    Updates component maintainers

5.0.5

Patch Changes

  • [patch]f34776be97:

    Type definition files are now referenced in package.json

5.0.4

Patch Changes

  • [patch]bbff8a7d87:

    Fixes bug, missing version.json file

5.0.3

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

5.0.2

Patch Changes

  • [patch]7cf5934805:

    Update pkg.module to be same as pkg.main = dist/bundle.css

5.0.1

Patch Changes

  • [patch]20da6280cb:

    Replace babel/node with ts-node for building css

5.0.0

  • [major]bfb006f65a:

    • css-reset has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No API or behavioural changes.

4.0.1

  • [patch]52868d4352:

    • Fixed regression of font-weight for <small> elements

4.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.

3.0.8

3.0.7

  • [patch]6c0d9da30e:

    • Removes deprecated css property text-decoration-skip: ink. Users should no longer see a warning to update the property.

3.0.6

3.0.5

3.0.4

3.0.3

  • [patch]ef9931d:

    • Fix issues with ; due to prettier

3.0.2

  • [patch] Moved to @atlaskit/theme for all the values from util-shared-styles 6d35164

3.0.1

3.0.0

2.0.8

  • [patch] Fix flow config and add back flow fix me 107da09
  • [none] Updated dependencies 107da09

2.0.7

  • [patch] Remove or update $FlowFixMe e8ad98a
  • [none] Updated dependencies e8ad98a

2.0.6

  • [patch] Clean Changelogs - remove duplicates and empty entries e7756cd
  • [none] Updated dependencies e7756cd

2.0.5

2.0.4

2.0.3

2.0.2

2.0.1

  • [patch] Remove negative spacing ac73181

2.0.0

  • [major] Bump to React 16.3. 4251858

1.2.3

  • [patch] Fixed main styles in IE11 5aa8105

1.2.2

1.2.1

  • [patch] Packages Flow types for elements components 3111e74

1.2.0

  • [minor] Add React 16 support. 12ea6e4

1.1.7

  • [patch] migrated css reset from ak to ak-mk2 53ce5eb

1.1.6 (2017-11-30)

  • bug fix; release stories with fixed console errors (3321c2b)

1.1.5 (2017-07-25)

  • fix; use class transform in loose mode in babel to improve load performance in apps (fde719a)

1.1.4 (2017-05-24)

  • fix; fixing webkit code font issue (2f0ee47)

1.1.3 (2017-05-11)

  • fix; use ADG 3 font family for code and kbd tags (37ac71a)

1.1.2 (2017-04-27)

  • fix; update legal copy to be more clear. Not all modules include ADG license. (f3a945e)

1.1.1 (2017-04-26)

  • fix; update legal copy and fix broken links for component README on npm. New contribution and (0b3e454)

1.1.0 (2017-04-20)

  • feature; removed explicit style! imports, set style-loader in webpack config (891fc3c)

1.0.5 (2017-03-23)

  • fix; Empty commit to release the component (49c08ee)

1.0.3 (2017-03-21)

1.0.3 (2017-03-21)

  • fix; maintainers for all the packages were added (261d00a)

1.0.2 (2017-02-07)

1.0.1 (2017-02-06)

  • fix; Updates package to use scoped ak packages (58fd6c5)
  • fix; correct package name in css-reset docs (670ec8f)