Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/tokens

Package Overview
Dependencies
Maintainers
1
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/tokens - npm Package Compare versions

Comparing version 1.29.2 to 1.30.0

88

dist/cjs/artifacts/replacement-mapping.js

@@ -21,3 +21,3 @@ "use strict";

*
* @codegen <<SignedSource::97a5e3ceb873d28e0118b88f5dc3e800>>
* @codegen <<SignedSource::21692c7f910850540ebe583c659e4d10>>
* @codegenCommand yarn build tokens

@@ -63,2 +63,17 @@ */

}, {
"path": "font.letterSpacing.0",
"state": "deprecated"
}, {
"path": "font.letterSpacing.100",
"state": "deprecated"
}, {
"path": "font.letterSpacing.200",
"state": "deprecated"
}, {
"path": "font.letterSpacing.300",
"state": "deprecated"
}, {
"path": "font.letterSpacing.400",
"state": "deprecated"
}, {
"path": "font.ui.[default]",

@@ -71,13 +86,76 @@ "state": "experimental"

"path": "font.family.body",
"state": "experimental"
"state": "deprecated"
}, {
"path": "font.family.code",
"state": "experimental"
"state": "deprecated"
}, {
"path": "font.family.heading",
"state": "experimental"
"state": "deprecated"
}, {
"path": "font.family.monospace",
"state": "deprecated"
}, {
"path": "font.family.sans",
"state": "deprecated"
}, {
"path": "font.family.brand",
"state": "experimental"
"state": "deprecated"
}, {
"path": "font.size.050",
"state": "deprecated"
}, {
"path": "font.size.075",
"state": "deprecated"
}, {
"path": "font.size.100",
"state": "deprecated"
}, {
"path": "font.size.200",
"state": "deprecated"
}, {
"path": "font.size.300",
"state": "deprecated"
}, {
"path": "font.size.400",
"state": "deprecated"
}, {
"path": "font.size.500",
"state": "deprecated"
}, {
"path": "font.size.600",
"state": "deprecated"
}, {
"path": "font.weight.bold",
"state": "deprecated"
}, {
"path": "font.weight.medium",
"state": "deprecated"
}, {
"path": "font.weight.regular",
"state": "deprecated"
}, {
"path": "font.weight.semibold",
"state": "deprecated"
}, {
"path": "font.lineHeight.1",
"state": "deprecated"
}, {
"path": "font.lineHeight.100",
"state": "deprecated"
}, {
"path": "font.lineHeight.200",
"state": "deprecated"
}, {
"path": "font.lineHeight.300",
"state": "deprecated"
}, {
"path": "font.lineHeight.400",
"state": "deprecated"
}, {
"path": "font.lineHeight.500",
"state": "deprecated"
}, {
"path": "font.lineHeight.600",
"state": "deprecated"
}];
var _default = exports.default = replacementMapper;

8

dist/cjs/artifacts/theme-import-map.js

@@ -19,3 +19,3 @@ "use strict";

*
* @codegen <<SignedSource::a21941d8f8cea58425b92ce9b8bfcd4e>>
* @codegen <<SignedSource::da31df0b9dea8584d4ae7e0ad251f3dd>>
* @codegenCommand yarn build tokens

@@ -91,8 +91,2 @@ */

},
'typography': function typography() {
return Promise.resolve().then(function () {
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_atlassian-typography" */
'./themes/atlassian-typography'));
});
},
'typography-minor3': function typographyMinor3() {

@@ -99,0 +93,0 @@ return Promise.resolve().then(function () {

@@ -11,3 +11,3 @@ "use strict";

var name = "@atlaskit/tokens";
var version = "1.29.2";
var version = "1.30.0";
/**

@@ -14,0 +14,0 @@ * Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the

@@ -12,3 +12,3 @@ "use strict";

var name = "@atlaskit/tokens";
var version = "1.29.2";
var version = "1.30.0";
/**

@@ -15,0 +15,0 @@ * Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.

@@ -47,3 +47,3 @@ "use strict";

*/
var themeIds = exports.themeIds = ['light-increased-contrast', 'light', 'dark', 'dark-increased-contrast', 'legacy-light', 'legacy-dark', 'spacing', 'typography', 'shape', 'typography-adg3', 'typography-minor3'];
var themeIds = exports.themeIds = ['light-increased-contrast', 'light', 'dark', 'dark-increased-contrast', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography-adg3', 'typography-minor3'];
/**

@@ -176,10 +176,2 @@ * Theme override ids: the equivalent of themeIds for theme overrides.

},
'atlassian-typography': {
id: 'typography',
displayName: 'Atlassian Typography (Minor Second)',
palette: 'typographyPalette',
attributes: {
type: 'typography'
}
},
'atlassian-typography-minor3': {

@@ -186,0 +178,0 @@ id: 'typography-minor3',

@@ -15,3 +15,3 @@ /**

*
* @codegen <<SignedSource::97a5e3ceb873d28e0118b88f5dc3e800>>
* @codegen <<SignedSource::21692c7f910850540ebe583c659e4d10>>
* @codegenCommand yarn build tokens

@@ -57,2 +57,17 @@ */

}, {
"path": "font.letterSpacing.0",
"state": "deprecated"
}, {
"path": "font.letterSpacing.100",
"state": "deprecated"
}, {
"path": "font.letterSpacing.200",
"state": "deprecated"
}, {
"path": "font.letterSpacing.300",
"state": "deprecated"
}, {
"path": "font.letterSpacing.400",
"state": "deprecated"
}, {
"path": "font.ui.[default]",

@@ -65,13 +80,76 @@ "state": "experimental"

"path": "font.family.body",
"state": "experimental"
"state": "deprecated"
}, {
"path": "font.family.code",
"state": "experimental"
"state": "deprecated"
}, {
"path": "font.family.heading",
"state": "experimental"
"state": "deprecated"
}, {
"path": "font.family.monospace",
"state": "deprecated"
}, {
"path": "font.family.sans",
"state": "deprecated"
}, {
"path": "font.family.brand",
"state": "experimental"
"state": "deprecated"
}, {
"path": "font.size.050",
"state": "deprecated"
}, {
"path": "font.size.075",
"state": "deprecated"
}, {
"path": "font.size.100",
"state": "deprecated"
}, {
"path": "font.size.200",
"state": "deprecated"
}, {
"path": "font.size.300",
"state": "deprecated"
}, {
"path": "font.size.400",
"state": "deprecated"
}, {
"path": "font.size.500",
"state": "deprecated"
}, {
"path": "font.size.600",
"state": "deprecated"
}, {
"path": "font.weight.bold",
"state": "deprecated"
}, {
"path": "font.weight.medium",
"state": "deprecated"
}, {
"path": "font.weight.regular",
"state": "deprecated"
}, {
"path": "font.weight.semibold",
"state": "deprecated"
}, {
"path": "font.lineHeight.1",
"state": "deprecated"
}, {
"path": "font.lineHeight.100",
"state": "deprecated"
}, {
"path": "font.lineHeight.200",
"state": "deprecated"
}, {
"path": "font.lineHeight.300",
"state": "deprecated"
}, {
"path": "font.lineHeight.400",
"state": "deprecated"
}, {
"path": "font.lineHeight.500",
"state": "deprecated"
}, {
"path": "font.lineHeight.600",
"state": "deprecated"
}];
export default replacementMapper;

@@ -9,3 +9,3 @@ /**

*
* @codegen <<SignedSource::a21941d8f8cea58425b92ce9b8bfcd4e>>
* @codegen <<SignedSource::da31df0b9dea8584d4ae7e0ad251f3dd>>
* @codegenCommand yarn build tokens

@@ -37,4 +37,2 @@ */

'./themes/atlassian-dark-new-input-border'),
'typography': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography" */
'./themes/atlassian-typography'),
'typography-minor3': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography-minor3" */

@@ -41,0 +39,0 @@ './themes/atlassian-typography-minor3')

import warnOnce from '@atlaskit/ds-lib/warn-once';
import tokens from './artifacts/token-names';
const name = "@atlaskit/tokens";
const version = "1.29.2";
const version = "1.30.0";
/**

@@ -6,0 +6,0 @@ * Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the

@@ -5,3 +5,3 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';

const name = "@atlaskit/tokens";
const version = "1.29.2";
const version = "1.30.0";
/**

@@ -8,0 +8,0 @@ * Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.

@@ -41,3 +41,3 @@ /**

*/
export const themeIds = ['light-increased-contrast', 'light', 'dark', 'dark-increased-contrast', 'legacy-light', 'legacy-dark', 'spacing', 'typography', 'shape', 'typography-adg3', 'typography-minor3'];
export const themeIds = ['light-increased-contrast', 'light', 'dark', 'dark-increased-contrast', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography-adg3', 'typography-minor3'];
/**

@@ -170,10 +170,2 @@ * Theme override ids: the equivalent of themeIds for theme overrides.

},
'atlassian-typography': {
id: 'typography',
displayName: 'Atlassian Typography (Minor Second)',
palette: 'typographyPalette',
attributes: {
type: 'typography'
}
},
'atlassian-typography-minor3': {

@@ -180,0 +172,0 @@ id: 'typography-minor3',

@@ -15,3 +15,3 @@ /**

*
* @codegen <<SignedSource::97a5e3ceb873d28e0118b88f5dc3e800>>
* @codegen <<SignedSource::21692c7f910850540ebe583c659e4d10>>
* @codegenCommand yarn build tokens

@@ -57,2 +57,17 @@ */

}, {
"path": "font.letterSpacing.0",
"state": "deprecated"
}, {
"path": "font.letterSpacing.100",
"state": "deprecated"
}, {
"path": "font.letterSpacing.200",
"state": "deprecated"
}, {
"path": "font.letterSpacing.300",
"state": "deprecated"
}, {
"path": "font.letterSpacing.400",
"state": "deprecated"
}, {
"path": "font.ui.[default]",

@@ -65,13 +80,76 @@ "state": "experimental"

"path": "font.family.body",
"state": "experimental"
"state": "deprecated"
}, {
"path": "font.family.code",
"state": "experimental"
"state": "deprecated"
}, {
"path": "font.family.heading",
"state": "experimental"
"state": "deprecated"
}, {
"path": "font.family.monospace",
"state": "deprecated"
}, {
"path": "font.family.sans",
"state": "deprecated"
}, {
"path": "font.family.brand",
"state": "experimental"
"state": "deprecated"
}, {
"path": "font.size.050",
"state": "deprecated"
}, {
"path": "font.size.075",
"state": "deprecated"
}, {
"path": "font.size.100",
"state": "deprecated"
}, {
"path": "font.size.200",
"state": "deprecated"
}, {
"path": "font.size.300",
"state": "deprecated"
}, {
"path": "font.size.400",
"state": "deprecated"
}, {
"path": "font.size.500",
"state": "deprecated"
}, {
"path": "font.size.600",
"state": "deprecated"
}, {
"path": "font.weight.bold",
"state": "deprecated"
}, {
"path": "font.weight.medium",
"state": "deprecated"
}, {
"path": "font.weight.regular",
"state": "deprecated"
}, {
"path": "font.weight.semibold",
"state": "deprecated"
}, {
"path": "font.lineHeight.1",
"state": "deprecated"
}, {
"path": "font.lineHeight.100",
"state": "deprecated"
}, {
"path": "font.lineHeight.200",
"state": "deprecated"
}, {
"path": "font.lineHeight.300",
"state": "deprecated"
}, {
"path": "font.lineHeight.400",
"state": "deprecated"
}, {
"path": "font.lineHeight.500",
"state": "deprecated"
}, {
"path": "font.lineHeight.600",
"state": "deprecated"
}];
export default replacementMapper;

@@ -9,3 +9,3 @@ /**

*
* @codegen <<SignedSource::a21941d8f8cea58425b92ce9b8bfcd4e>>
* @codegen <<SignedSource::da31df0b9dea8584d4ae7e0ad251f3dd>>
* @codegenCommand yarn build tokens

@@ -59,6 +59,2 @@ */

},
'typography': function typography() {
return import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography" */
'./themes/atlassian-typography');
},
'typography-minor3': function typographyMinor3() {

@@ -65,0 +61,0 @@ return import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography-minor3" */

import warnOnce from '@atlaskit/ds-lib/warn-once';
import tokens from './artifacts/token-names';
var name = "@atlaskit/tokens";
var version = "1.29.2";
var version = "1.30.0";
/**

@@ -6,0 +6,0 @@ * Takes a dot-separated token name and and an optional fallback, and returns the current computed CSS value for the

@@ -5,3 +5,3 @@ import warnOnce from '@atlaskit/ds-lib/warn-once';

var name = "@atlaskit/tokens";
var version = "1.29.2";
var version = "1.30.0";
/**

@@ -8,0 +8,0 @@ * Takes a dot-separated token name and an optional fallback, and returns the CSS custom property for the corresponding token.

@@ -41,3 +41,3 @@ /**

*/
export var themeIds = ['light-increased-contrast', 'light', 'dark', 'dark-increased-contrast', 'legacy-light', 'legacy-dark', 'spacing', 'typography', 'shape', 'typography-adg3', 'typography-minor3'];
export var themeIds = ['light-increased-contrast', 'light', 'dark', 'dark-increased-contrast', 'legacy-light', 'legacy-dark', 'spacing', 'shape', 'typography-adg3', 'typography-minor3'];
/**

@@ -170,10 +170,2 @@ * Theme override ids: the equivalent of themeIds for theme overrides.

},
'atlassian-typography': {
id: 'typography',
displayName: 'Atlassian Typography (Minor Second)',
palette: 'typographyPalette',
attributes: {
type: 'typography'
}
},
'atlassian-typography-minor3': {

@@ -180,0 +172,0 @@ id: 'typography-minor3',

@@ -15,3 +15,3 @@ /**

*
* @codegen <<SignedSource::97a5e3ceb873d28e0118b88f5dc3e800>>
* @codegen <<SignedSource::21692c7f910850540ebe583c659e4d10>>
* @codegenCommand yarn build tokens

@@ -18,0 +18,0 @@ */

@@ -9,3 +9,3 @@ /**

*
* @codegen <<SignedSource::a21941d8f8cea58425b92ce9b8bfcd4e>>
* @codegen <<SignedSource::da31df0b9dea8584d4ae7e0ad251f3dd>>
* @codegenCommand yarn build tokens

@@ -12,0 +12,0 @@ */

@@ -9,3 +9,3 @@ /**

*/
export type Themes = 'atlassian-light' | 'atlassian-light-increased-contrast' | 'atlassian-dark' | 'atlassian-dark-increased-contrast' | 'atlassian-legacy-light' | 'atlassian-legacy-dark' | 'atlassian-shape' | 'atlassian-spacing' | 'atlassian-typography' | 'atlassian-typography-minor3' | 'atlassian-typography-adg3';
export type Themes = 'atlassian-light' | 'atlassian-light-increased-contrast' | 'atlassian-dark' | 'atlassian-dark-increased-contrast' | 'atlassian-legacy-light' | 'atlassian-legacy-dark' | 'atlassian-shape' | 'atlassian-spacing' | 'atlassian-typography-minor3' | 'atlassian-typography-adg3';
export type ThemeFileNames = Themes;

@@ -62,3 +62,2 @@ /**

"spacing",
"typography",
"shape",

@@ -86,3 +85,2 @@ "typography-adg3",

"spacing",
"typography",
"shape",

@@ -89,0 +87,0 @@ "typography-adg3",

@@ -15,3 +15,3 @@ /**

*
* @codegen <<SignedSource::97a5e3ceb873d28e0118b88f5dc3e800>>
* @codegen <<SignedSource::21692c7f910850540ebe583c659e4d10>>
* @codegenCommand yarn build tokens

@@ -18,0 +18,0 @@ */

@@ -9,3 +9,3 @@ /**

*
* @codegen <<SignedSource::a21941d8f8cea58425b92ce9b8bfcd4e>>
* @codegen <<SignedSource::da31df0b9dea8584d4ae7e0ad251f3dd>>
* @codegenCommand yarn build tokens

@@ -12,0 +12,0 @@ */

@@ -9,3 +9,3 @@ /**

*/
export type Themes = 'atlassian-light' | 'atlassian-light-increased-contrast' | 'atlassian-dark' | 'atlassian-dark-increased-contrast' | 'atlassian-legacy-light' | 'atlassian-legacy-dark' | 'atlassian-shape' | 'atlassian-spacing' | 'atlassian-typography' | 'atlassian-typography-minor3' | 'atlassian-typography-adg3';
export type Themes = 'atlassian-light' | 'atlassian-light-increased-contrast' | 'atlassian-dark' | 'atlassian-dark-increased-contrast' | 'atlassian-legacy-light' | 'atlassian-legacy-dark' | 'atlassian-shape' | 'atlassian-spacing' | 'atlassian-typography-minor3' | 'atlassian-typography-adg3';
export type ThemeFileNames = Themes;

@@ -46,3 +46,3 @@ /**

*/
export declare const themeIds: readonly ["light-increased-contrast", "light", "dark", "dark-increased-contrast", "legacy-light", "legacy-dark", "spacing", "typography", "shape", "typography-adg3", "typography-minor3"];
export declare const themeIds: readonly ["light-increased-contrast", "light", "dark", "dark-increased-contrast", "legacy-light", "legacy-dark", "spacing", "shape", "typography-adg3", "typography-minor3"];
export type ThemeIds = (typeof themeIds)[number];

@@ -55,3 +55,3 @@ /**

export type ThemeOverrideIds = (typeof themeOverrideIds)[number];
export declare const themeIdsWithOverrides: readonly ["light-increased-contrast", "light", "dark", "dark-increased-contrast", "legacy-light", "legacy-dark", "spacing", "typography", "shape", "typography-adg3", "typography-minor3", "light-new-input-border", "dark-new-input-border"];
export declare const themeIdsWithOverrides: readonly ["light-increased-contrast", "light", "dark", "dark-increased-contrast", "legacy-light", "legacy-dark", "spacing", "shape", "typography-adg3", "typography-minor3", "light-new-input-border", "dark-new-input-border"];
export type ThemeIdsWithOverrides = (typeof themeIdsWithOverrides)[number];

@@ -58,0 +58,0 @@ /**

{
"name": "@atlaskit/tokens",
"version": "1.29.2",
"version": "1.30.0",
"description": "Design tokens are the single source of truth to name and store design decisions.",

@@ -5,0 +5,0 @@ "publishConfig": {

Sorry, the diff of this file is too big to display

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