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

@atlaskit/primitives

Package Overview
Dependencies
Maintainers
0
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/primitives - npm Package Compare versions

Comparing version 12.0.1 to 12.1.0

scripts/text-codegen-template.tsx

2

dist/cjs/components/anchor.js

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

packageName: "@atlaskit/primitives",
packageVersion: "12.0.1",
packageVersion: "12.1.0",
analyticsData: analyticsContext,

@@ -111,0 +111,0 @@ actionSubject: 'link'

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

packageName: "@atlaskit/primitives",
packageVersion: "12.0.1",
packageVersion: "12.1.0",
analyticsData: analyticsContext,

@@ -101,0 +101,0 @@ actionSubject: 'button'

@@ -110,7 +110,7 @@ "use strict";

// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
_styleMaps.fontStylesMap[size],
_styleMaps.textSizeStylesMap[size],
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
color && _styleMaps.textColorStylesMap[color], maxLines && truncationStyles, maxLines === 1 && wordBreakMap.breakAll, align && textAlignMap[align],
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
weight && _styleMaps.fontWeightStylesMap[weight], Component === 'em' && emStyles, Component === 'strong' && strongStyles],
weight && _styleMaps.textWeightStylesMap[weight], Component === 'em' && emStyles, Component === 'strong' && strongStyles],
style: {

@@ -117,0 +117,0 @@ WebkitLineClamp: maxLines

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

});
exports.textColorStylesMap = exports.textColorMap = exports.surfaceColorStylesMap = exports.surfaceColorMap = exports.spaceStylesMap = exports.shadowMap = exports.positiveSpaceMap = exports.paddingStylesMap = exports.opacityMap = exports.negativeSpaceMap = exports.layerMap = exports.isSurfaceColorToken = exports.inverseColorMap = exports.fontWeightStylesMap = exports.fontWeightMap = exports.fontStylesMap = exports.fontSizeMap = exports.fontFamilyStylesMap = exports.fontFamilyMap = exports.fillMap = exports.dimensionMap = exports.borderWidthMap = exports.borderRadiusMap = exports.borderColorMap = exports.backgroundColorStylesMap = exports.backgroundColorMap = exports.allSpaceMap = void 0;
exports.textWeightStylesMap = exports.textWeightMap = exports.textSizeStylesMap = exports.textSizeMap = exports.textColorStylesMap = exports.textColorMap = exports.surfaceColorStylesMap = exports.surfaceColorMap = exports.spaceStylesMap = exports.shadowMap = exports.positiveSpaceMap = exports.paddingStylesMap = exports.opacityMap = exports.negativeSpaceMap = exports.layerMap = exports.isSurfaceColorToken = exports.inverseColorMap = exports.getSerializedStylesMap = exports.fontWeightStylesMap = exports.fontWeightMap = exports.fontStylesMap = exports.fontMap = exports.fontFamilyStylesMap = exports.fontFamilyMap = exports.fillMap = exports.dimensionMap = exports.borderWidthMap = exports.borderRadiusMap = exports.borderColorMap = exports.backgroundColorStylesMap = exports.backgroundColorMap = exports.allSpaceMap = void 0;
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));

@@ -503,3 +503,3 @@ var _react = require("@emotion/react");

* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::cd260411f17d54ff1ac7e627ef070ef4>>
* @codegen <<SignedSource::80cc7623e264a740959237b5a1643873>>
* @codegenId typography

@@ -511,13 +511,21 @@ * @codegenCommand yarn workspace @atlaskit/primitives codegen-styles

*/
var fontSizeMap = exports.fontSizeMap = {
medium: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
UNSAFE_small: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
large: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
small: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
var fontMap = exports.fontMap = {
'font.body': "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.body.UNSAFE_small': "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.body.large': "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.body.small': "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.code': "var(--ds-font-code, normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
'font.heading.large': "var(--ds-font-heading-large, normal 500 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.medium': "var(--ds-font-heading-medium, normal 500 20px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.small': "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.xlarge': "var(--ds-font-heading-xlarge, normal 600 29px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.xsmall': "var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.xxlarge': "var(--ds-font-heading-xxlarge, normal 500 35px/40px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.xxsmall': "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
};
var fontWeightMap = exports.fontWeightMap = {
bold: "var(--ds-font-weight-bold, 700)",
medium: "var(--ds-font-weight-medium, 500)",
regular: "var(--ds-font-weight-regular, 400)",
semibold: "var(--ds-font-weight-semibold, 600)"
'font.weight.bold': "var(--ds-font-weight-bold, 700)",
'font.weight.medium': "var(--ds-font-weight-medium, 500)",
'font.weight.regular': "var(--ds-font-weight-regular, 400)",
'font.weight.semibold': "var(--ds-font-weight-semibold, 600)"
};

@@ -531,4 +539,28 @@ var fontFamilyMap = exports.fontFamilyMap = {

};
/**
* @codegenEnd
*/
/**
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::d92525f319a39edc53a30184bd02aa2c>>
* @codegenId text
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
* @codegenDependency ../../scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
* @codegenDependency ../../scripts/codegen-file-templates/layer.tsx <<SignedSource::6f10945ad9139d0119003738c65ae40a>>
*/
var textSizeMap = exports.textSizeMap = {
medium: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
UNSAFE_small: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
large: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
small: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
};
var textWeightMap = exports.textWeightMap = {
bold: "var(--ds-font-weight-bold, 700)",
medium: "var(--ds-font-weight-medium, 500)",
regular: "var(--ds-font-weight-regular, 400)",
semibold: "var(--ds-font-weight-semibold, 600)"
};
/**
* @codegenEnd

@@ -545,4 +577,5 @@ */

'gap', 'rowGap', 'columnGap'];
var getSerializedStylesMap = function getSerializedStylesMap(cssProperty, tokenMap) {
var getSerializedStylesMap = exports.getSerializedStylesMap = function getSerializedStylesMap(cssProperty, tokenMap) {
return Object.keys(tokenMap).reduce(function (emotionSpacingMap, token) {
// eslint-disable-next-line @repo/internal/styles/no-exported-styles
emotionSpacingMap[token] = (0, _react.css)((0, _defineProperty2.default)({}, cssProperty, tokenMap[token]));

@@ -564,3 +597,5 @@ return emotionSpacingMap;

var fontFamilyStylesMap = exports.fontFamilyStylesMap = getSerializedStylesMap('fontFamily', fontFamilyMap);
var fontStylesMap = exports.fontStylesMap = getSerializedStylesMap('font', fontSizeMap);
var fontStylesMap = exports.fontStylesMap = getSerializedStylesMap('font', fontMap);
var textSizeStylesMap = exports.textSizeStylesMap = getSerializedStylesMap('font', textSizeMap);
var textWeightStylesMap = exports.textWeightStylesMap = getSerializedStylesMap('fontWeight', textWeightMap);
var surfaceColorStylesMap = exports.surfaceColorStylesMap = getSerializedStylesMap(_tokens.CURRENT_SURFACE_CSS_VAR, surfaceColorMap);

@@ -567,0 +602,0 @@ var isSurfaceColorToken = exports.isSurfaceColorToken = function isSurfaceColorToken(color) {

@@ -57,2 +57,5 @@ "use strict";

columnGap: _styleMaps.positiveSpaceMap,
font: _styleMaps.fontMap,
fontFamily: _styleMaps.fontFamilyMap,
fontWeight: _styleMaps.fontWeightMap,
gap: _styleMaps.positiveSpaceMap,

@@ -59,0 +62,0 @@ height: _styleMaps.dimensionMap,

@@ -98,3 +98,3 @@ import _extends from "@babel/runtime/helpers/extends";

packageName: "@atlaskit/primitives",
packageVersion: "12.0.1",
packageVersion: "12.1.0",
analyticsData: analyticsContext,

@@ -101,0 +101,0 @@ actionSubject: 'link'

@@ -88,3 +88,3 @@ import _extends from "@babel/runtime/helpers/extends";

packageName: "@atlaskit/primitives",
packageVersion: "12.0.1",
packageVersion: "12.1.0",
analyticsData: analyticsContext,

@@ -91,0 +91,0 @@ actionSubject: 'button'

@@ -10,3 +10,3 @@ /**

import invariant from 'tiny-invariant';
import { fontStylesMap, fontWeightStylesMap, inverseColorMap, textColorStylesMap } from '../xcss/style-maps.partial';
import { inverseColorMap, textColorStylesMap, textSizeStylesMap, textWeightStylesMap } from '../xcss/style-maps.partial';
import { useSurface } from './internal/surface-provider';

@@ -100,7 +100,7 @@ const asAllowlist = ['span', 'p', 'strong', 'em'];

// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
fontStylesMap[size],
textSizeStylesMap[size],
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
color && textColorStylesMap[color], maxLines && truncationStyles, maxLines === 1 && wordBreakMap.breakAll, align && textAlignMap[align],
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
weight && fontWeightStylesMap[weight], Component === 'em' && emStyles, Component === 'strong' && strongStyles],
weight && textWeightStylesMap[weight], Component === 'em' && emStyles, Component === 'strong' && strongStyles],
style: {

@@ -107,0 +107,0 @@ WebkitLineClamp: maxLines

@@ -497,3 +497,3 @@ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766

* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::cd260411f17d54ff1ac7e627ef070ef4>>
* @codegen <<SignedSource::80cc7623e264a740959237b5a1643873>>
* @codegenId typography

@@ -505,13 +505,21 @@ * @codegenCommand yarn workspace @atlaskit/primitives codegen-styles

*/
export const fontSizeMap = {
medium: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
UNSAFE_small: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
large: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
small: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
export const fontMap = {
'font.body': "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.body.UNSAFE_small': "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.body.large': "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.body.small': "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.code': "var(--ds-font-code, normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
'font.heading.large': "var(--ds-font-heading-large, normal 500 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.medium': "var(--ds-font-heading-medium, normal 500 20px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.small': "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.xlarge': "var(--ds-font-heading-xlarge, normal 600 29px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.xsmall': "var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.xxlarge': "var(--ds-font-heading-xxlarge, normal 500 35px/40px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.xxsmall': "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
};
export const fontWeightMap = {
bold: "var(--ds-font-weight-bold, 700)",
medium: "var(--ds-font-weight-medium, 500)",
regular: "var(--ds-font-weight-regular, 400)",
semibold: "var(--ds-font-weight-semibold, 600)"
'font.weight.bold': "var(--ds-font-weight-bold, 700)",
'font.weight.medium': "var(--ds-font-weight-medium, 500)",
'font.weight.regular': "var(--ds-font-weight-regular, 400)",
'font.weight.semibold': "var(--ds-font-weight-semibold, 600)"
};

@@ -525,4 +533,28 @@ export const fontFamilyMap = {

};
/**
* @codegenEnd
*/
/**
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::d92525f319a39edc53a30184bd02aa2c>>
* @codegenId text
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
* @codegenDependency ../../scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
* @codegenDependency ../../scripts/codegen-file-templates/layer.tsx <<SignedSource::6f10945ad9139d0119003738c65ae40a>>
*/
export const textSizeMap = {
medium: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
UNSAFE_small: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
large: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
small: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
};
export const textWeightMap = {
bold: "var(--ds-font-weight-bold, 700)",
medium: "var(--ds-font-weight-medium, 500)",
regular: "var(--ds-font-weight-regular, 400)",
semibold: "var(--ds-font-weight-semibold, 600)"
};
/**
* @codegenEnd

@@ -539,4 +571,5 @@ */

'gap', 'rowGap', 'columnGap'];
const getSerializedStylesMap = (cssProperty, tokenMap) => {
export const getSerializedStylesMap = (cssProperty, tokenMap) => {
return Object.keys(tokenMap).reduce((emotionSpacingMap, token) => {
// eslint-disable-next-line @repo/internal/styles/no-exported-styles
emotionSpacingMap[token] = css({

@@ -561,4 +594,6 @@ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766

export const fontFamilyStylesMap = getSerializedStylesMap('fontFamily', fontFamilyMap);
export const fontStylesMap = getSerializedStylesMap('font', fontSizeMap);
export const fontStylesMap = getSerializedStylesMap('font', fontMap);
export const textSizeStylesMap = getSerializedStylesMap('font', textSizeMap);
export const textWeightStylesMap = getSerializedStylesMap('fontWeight', textWeightMap);
export const surfaceColorStylesMap = getSerializedStylesMap(CURRENT_SURFACE_CSS_VAR, surfaceColorMap);
export const isSurfaceColorToken = color => surfaceColorMap[color] !== undefined;

@@ -7,3 +7,3 @@ /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */

import { allSpaceMap, backgroundColorMap, borderColorMap, borderRadiusMap, borderWidthMap, dimensionMap, layerMap, opacityMap, positiveSpaceMap, shadowMap, textColorMap } from './style-maps.partial';
import { allSpaceMap, backgroundColorMap, borderColorMap, borderRadiusMap, borderWidthMap, dimensionMap, fontFamilyMap, fontMap, fontWeightMap, layerMap, opacityMap, positiveSpaceMap, shadowMap, textColorMap } from './style-maps.partial';
export const tokensMap = {

@@ -47,2 +47,5 @@ backgroundColor: backgroundColorMap,

columnGap: positiveSpaceMap,
font: fontMap,
fontFamily: fontFamilyMap,
fontWeight: fontWeightMap,
gap: positiveSpaceMap,

@@ -49,0 +52,0 @@ height: dimensionMap,

@@ -102,3 +102,3 @@ import _extends from "@babel/runtime/helpers/extends";

packageName: "@atlaskit/primitives",
packageVersion: "12.0.1",
packageVersion: "12.1.0",
analyticsData: analyticsContext,

@@ -105,0 +105,0 @@ actionSubject: 'link'

@@ -92,3 +92,3 @@ import _extends from "@babel/runtime/helpers/extends";

packageName: "@atlaskit/primitives",
packageVersion: "12.0.1",
packageVersion: "12.1.0",
analyticsData: analyticsContext,

@@ -95,0 +95,0 @@ actionSubject: 'button'

@@ -10,3 +10,3 @@ /**

import invariant from 'tiny-invariant';
import { fontStylesMap, fontWeightStylesMap, inverseColorMap, textColorStylesMap } from '../xcss/style-maps.partial';
import { inverseColorMap, textColorStylesMap, textSizeStylesMap, textWeightStylesMap } from '../xcss/style-maps.partial';
import { useSurface } from './internal/surface-provider';

@@ -103,7 +103,7 @@ var asAllowlist = ['span', 'p', 'strong', 'em'];

// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
fontStylesMap[size],
textSizeStylesMap[size],
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
color && textColorStylesMap[color], maxLines && truncationStyles, maxLines === 1 && wordBreakMap.breakAll, align && textAlignMap[align],
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
weight && fontWeightStylesMap[weight], Component === 'em' && emStyles, Component === 'strong' && strongStyles],
weight && textWeightStylesMap[weight], Component === 'em' && emStyles, Component === 'strong' && strongStyles],
style: {

@@ -110,0 +110,0 @@ WebkitLineClamp: maxLines

@@ -497,3 +497,3 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";

* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::cd260411f17d54ff1ac7e627ef070ef4>>
* @codegen <<SignedSource::80cc7623e264a740959237b5a1643873>>
* @codegenId typography

@@ -505,13 +505,21 @@ * @codegenCommand yarn workspace @atlaskit/primitives codegen-styles

*/
export var fontSizeMap = {
medium: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
UNSAFE_small: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
large: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
small: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
export var fontMap = {
'font.body': "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.body.UNSAFE_small': "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.body.large': "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.body.small': "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.code': "var(--ds-font-code, normal 400 0.875em/1 ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
'font.heading.large': "var(--ds-font-heading-large, normal 500 24px/28px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.medium': "var(--ds-font-heading-medium, normal 500 20px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.small': "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.xlarge': "var(--ds-font-heading-xlarge, normal 600 29px/32px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.xsmall': "var(--ds-font-heading-xsmall, normal 600 14px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.xxlarge': "var(--ds-font-heading-xxlarge, normal 500 35px/40px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
'font.heading.xxsmall': "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
};
export var fontWeightMap = {
bold: "var(--ds-font-weight-bold, 700)",
medium: "var(--ds-font-weight-medium, 500)",
regular: "var(--ds-font-weight-regular, 400)",
semibold: "var(--ds-font-weight-semibold, 600)"
'font.weight.bold': "var(--ds-font-weight-bold, 700)",
'font.weight.medium': "var(--ds-font-weight-medium, 500)",
'font.weight.regular': "var(--ds-font-weight-regular, 400)",
'font.weight.semibold': "var(--ds-font-weight-semibold, 600)"
};

@@ -525,4 +533,28 @@ export var fontFamilyMap = {

};
/**
* @codegenEnd
*/
/**
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::d92525f319a39edc53a30184bd02aa2c>>
* @codegenId text
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
* @codegenDependency ../../scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
* @codegenDependency ../../scripts/codegen-file-templates/layer.tsx <<SignedSource::6f10945ad9139d0119003738c65ae40a>>
*/
export var textSizeMap = {
medium: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
UNSAFE_small: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
large: "var(--ds-font-body-large, normal 400 16px/24px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
small: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)"
};
export var textWeightMap = {
bold: "var(--ds-font-weight-bold, 700)",
medium: "var(--ds-font-weight-medium, 500)",
regular: "var(--ds-font-weight-regular, 400)",
semibold: "var(--ds-font-weight-semibold, 600)"
};
/**
* @codegenEnd

@@ -539,4 +571,5 @@ */

'gap', 'rowGap', 'columnGap'];
var getSerializedStylesMap = function getSerializedStylesMap(cssProperty, tokenMap) {
export var getSerializedStylesMap = function getSerializedStylesMap(cssProperty, tokenMap) {
return Object.keys(tokenMap).reduce(function (emotionSpacingMap, token) {
// eslint-disable-next-line @repo/internal/styles/no-exported-styles
emotionSpacingMap[token] = css(_defineProperty({}, cssProperty, tokenMap[token]));

@@ -558,3 +591,5 @@ return emotionSpacingMap;

export var fontFamilyStylesMap = getSerializedStylesMap('fontFamily', fontFamilyMap);
export var fontStylesMap = getSerializedStylesMap('font', fontSizeMap);
export var fontStylesMap = getSerializedStylesMap('font', fontMap);
export var textSizeStylesMap = getSerializedStylesMap('font', textSizeMap);
export var textWeightStylesMap = getSerializedStylesMap('fontWeight', textWeightMap);
export var surfaceColorStylesMap = getSerializedStylesMap(CURRENT_SURFACE_CSS_VAR, surfaceColorMap);

@@ -561,0 +596,0 @@ export var isSurfaceColorToken = function isSurfaceColorToken(color) {

@@ -14,3 +14,3 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";

import { allSpaceMap, backgroundColorMap, borderColorMap, borderRadiusMap, borderWidthMap, dimensionMap, layerMap, opacityMap, positiveSpaceMap, shadowMap, textColorMap } from './style-maps.partial';
import { allSpaceMap, backgroundColorMap, borderColorMap, borderRadiusMap, borderWidthMap, dimensionMap, fontFamilyMap, fontMap, fontWeightMap, layerMap, opacityMap, positiveSpaceMap, shadowMap, textColorMap } from './style-maps.partial';
export var tokensMap = {

@@ -54,2 +54,5 @@ backgroundColor: backgroundColorMap,

columnGap: positiveSpaceMap,
font: fontMap,
fontFamily: fontFamilyMap,
fontWeight: fontWeightMap,
gap: positiveSpaceMap,

@@ -56,0 +59,0 @@ height: dimensionMap,

@@ -6,3 +6,3 @@ /**

import { type ComponentPropsWithRef, type ElementType, type ReactNode } from 'react';
import { type FontSize, type FontWeight, type TextColor } from '../xcss/style-maps.partial';
import { type TextColor, type TextSize, type TextWeight } from '../xcss/style-maps.partial';
import type { BasePrimitiveProps } from './types';

@@ -48,7 +48,7 @@ declare const asAllowlist: readonly [

*/
size?: FontSize;
size?: TextSize;
/**
* The [HTML `font-weight` attribute](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight).
* Font weight.
*/
weight?: FontWeight;
weight?: TextWeight;
/**

@@ -55,0 +55,0 @@ * Forwarded ref.

import { type SerializedStyles } from '@emotion/react';
import { CURRENT_SURFACE_CSS_VAR, token } from '@atlaskit/tokens';
/**

@@ -521,3 +522,3 @@ * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}

* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::cd260411f17d54ff1ac7e627ef070ef4>>
* @codegen <<SignedSource::80cc7623e264a740959237b5a1643873>>
* @codegenId typography

@@ -529,14 +530,22 @@ * @codegenCommand yarn workspace @atlaskit/primitives codegen-styles

*/
export declare const fontSizeMap: {
medium: "var(--ds-font-body)";
UNSAFE_small: "var(--ds-font-body-UNSAFE_small)";
large: "var(--ds-font-body-large)";
small: "var(--ds-font-body-small)";
export declare const fontMap: {
'font.body': "var(--ds-font-body)";
'font.body.UNSAFE_small': "var(--ds-font-body-UNSAFE_small)";
'font.body.large': "var(--ds-font-body-large)";
'font.body.small': "var(--ds-font-body-small)";
'font.code': "var(--ds-font-code)";
'font.heading.large': "var(--ds-font-heading-large)";
'font.heading.medium': "var(--ds-font-heading-medium)";
'font.heading.small': "var(--ds-font-heading-small)";
'font.heading.xlarge': "var(--ds-font-heading-xlarge)";
'font.heading.xsmall': "var(--ds-font-heading-xsmall)";
'font.heading.xxlarge': "var(--ds-font-heading-xxlarge)";
'font.heading.xxsmall': "var(--ds-font-heading-xxsmall)";
};
export type FontSize = keyof typeof fontSizeMap;
export type Font = keyof typeof fontMap;
export declare const fontWeightMap: {
bold: "var(--ds-font-weight-bold)";
medium: "var(--ds-font-weight-medium)";
regular: "var(--ds-font-weight-regular)";
semibold: "var(--ds-font-weight-semibold)";
'font.weight.bold': "var(--ds-font-weight-bold)";
'font.weight.medium': "var(--ds-font-weight-medium)";
'font.weight.regular': "var(--ds-font-weight-regular)";
'font.weight.semibold': "var(--ds-font-weight-semibold)";
};

@@ -555,2 +564,27 @@ export type FontWeight = keyof typeof fontWeightMap;

*/
/**
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::d92525f319a39edc53a30184bd02aa2c>>
* @codegenId text
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
* @codegenDependency ../../scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
* @codegenDependency ../../scripts/codegen-file-templates/layer.tsx <<SignedSource::6f10945ad9139d0119003738c65ae40a>>
*/
export declare const textSizeMap: {
medium: "var(--ds-font-body)";
UNSAFE_small: "var(--ds-font-body-UNSAFE_small)";
large: "var(--ds-font-body-large)";
small: "var(--ds-font-body-small)";
};
export type TextSize = keyof typeof textSizeMap;
export declare const textWeightMap: {
bold: "var(--ds-font-weight-bold)";
medium: "var(--ds-font-weight-medium)";
regular: "var(--ds-font-weight-regular)";
semibold: "var(--ds-font-weight-semibold)";
};
export type TextWeight = keyof typeof textWeightMap;
/**
* @codegenEnd
*/
type MarginSpace = AllSpace | 'auto' | '0';

@@ -598,2 +632,5 @@ type PaddingSpace = Space | '0';

columnGap?: Space;
font?: Font | string;
fontFamily?: FontFamily | string;
fontWeight?: FontWeight | string | number;
gap?: Space;

@@ -663,2 +700,7 @@ height?: Dimension | string;

type SpacingProperty = (typeof spacingProperties)[number];
type TokenMappableProperty = SpacingProperty | 'backgroundColor' | 'fontWeight' | 'fontSize' | 'fontFamily' | 'lineHeight' | 'color' | 'font' | typeof CURRENT_SURFACE_CSS_VAR;
type PropsToken = SpacingToken | BackgroundColorToken | FontWeightToken | FontFamilyToken | TextColorToken | FontToken | TextWeightToken | TextSizeToken;
type TokenMap = Partial<Record<PropsToken, ReturnType<typeof token>>>;
type SerializedStylesMap = Record<PropsToken, SerializedStyles>;
export declare const getSerializedStylesMap: (cssProperty: TokenMappableProperty, tokenMap: TokenMap) => SerializedStylesMap;
type SpacingToken = keyof typeof positiveSpaceMap;

@@ -670,3 +712,5 @@ type BackgroundColorToken = keyof typeof backgroundColorMap;

type FontFamilyToken = keyof typeof fontFamilyMap;
type BodyFontToken = keyof typeof fontSizeMap;
type FontToken = keyof typeof fontMap;
type TextWeightToken = keyof typeof textWeightMap;
type TextSizeToken = keyof typeof textSizeMap;
type SpacingStyleMap = Record<SpacingProperty, Record<SpacingToken, SerializedStyles>>;

@@ -678,3 +722,5 @@ type BackgroundColorStyleMap = Record<BackgroundColorToken, SerializedStyles>;

type FontFamilyStyleMap = Record<FontFamilyToken, SerializedStyles>;
type FontStyleMap = Record<BodyFontToken, SerializedStyles>;
type FontStyleMap = Record<FontToken, SerializedStyles>;
type TextWeightStyleMap = Record<TextWeightToken, SerializedStyles>;
type TextStyleMap = Record<TextSizeToken, SerializedStyles>;
export declare const paddingStylesMap: SpacingStyleMap;

@@ -687,4 +733,6 @@ export declare const spaceStylesMap: SpacingStyleMap;

export declare const fontStylesMap: FontStyleMap;
export declare const textSizeStylesMap: TextStyleMap;
export declare const textWeightStylesMap: TextWeightStyleMap;
export declare const surfaceColorStylesMap: SurfaceColorStyleMap;
export declare const isSurfaceColorToken: (color: unknown) => color is "elevation.surface" | "elevation.surface.hovered" | "elevation.surface.pressed" | "elevation.surface.overlay" | "elevation.surface.overlay.hovered" | "elevation.surface.overlay.pressed" | "elevation.surface.raised" | "elevation.surface.raised.hovered" | "elevation.surface.raised.pressed" | "elevation.surface.sunken";
export {};

@@ -6,3 +6,3 @@ /**

import { type ComponentPropsWithRef, type ElementType, type ReactNode } from 'react';
import { type FontSize, type FontWeight, type TextColor } from '../xcss/style-maps.partial';
import { type TextColor, type TextSize, type TextWeight } from '../xcss/style-maps.partial';
import type { BasePrimitiveProps } from './types';

@@ -43,7 +43,7 @@ declare const asAllowlist: readonly ["span", "p", "strong", "em"];

*/
size?: FontSize;
size?: TextSize;
/**
* The [HTML `font-weight` attribute](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight).
* Font weight.
*/
weight?: FontWeight;
weight?: TextWeight;
/**

@@ -50,0 +50,0 @@ * Forwarded ref.

import { type SerializedStyles } from '@emotion/react';
import { CURRENT_SURFACE_CSS_VAR, token } from '@atlaskit/tokens';
/**

@@ -521,3 +522,3 @@ * THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}

* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::cd260411f17d54ff1ac7e627ef070ef4>>
* @codegen <<SignedSource::80cc7623e264a740959237b5a1643873>>
* @codegenId typography

@@ -529,14 +530,22 @@ * @codegenCommand yarn workspace @atlaskit/primitives codegen-styles

*/
export declare const fontSizeMap: {
medium: "var(--ds-font-body)";
UNSAFE_small: "var(--ds-font-body-UNSAFE_small)";
large: "var(--ds-font-body-large)";
small: "var(--ds-font-body-small)";
export declare const fontMap: {
'font.body': "var(--ds-font-body)";
'font.body.UNSAFE_small': "var(--ds-font-body-UNSAFE_small)";
'font.body.large': "var(--ds-font-body-large)";
'font.body.small': "var(--ds-font-body-small)";
'font.code': "var(--ds-font-code)";
'font.heading.large': "var(--ds-font-heading-large)";
'font.heading.medium': "var(--ds-font-heading-medium)";
'font.heading.small': "var(--ds-font-heading-small)";
'font.heading.xlarge': "var(--ds-font-heading-xlarge)";
'font.heading.xsmall': "var(--ds-font-heading-xsmall)";
'font.heading.xxlarge': "var(--ds-font-heading-xxlarge)";
'font.heading.xxsmall': "var(--ds-font-heading-xxsmall)";
};
export type FontSize = keyof typeof fontSizeMap;
export type Font = keyof typeof fontMap;
export declare const fontWeightMap: {
bold: "var(--ds-font-weight-bold)";
medium: "var(--ds-font-weight-medium)";
regular: "var(--ds-font-weight-regular)";
semibold: "var(--ds-font-weight-semibold)";
'font.weight.bold': "var(--ds-font-weight-bold)";
'font.weight.medium': "var(--ds-font-weight-medium)";
'font.weight.regular': "var(--ds-font-weight-regular)";
'font.weight.semibold': "var(--ds-font-weight-semibold)";
};

@@ -555,2 +564,27 @@ export type FontWeight = keyof typeof fontWeightMap;

*/
/**
* THIS SECTION WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen}
* @codegen <<SignedSource::d92525f319a39edc53a30184bd02aa2c>>
* @codegenId text
* @codegenCommand yarn workspace @atlaskit/primitives codegen-styles
* @codegenDependency ../../scripts/codegen-file-templates/dimensions.tsx <<SignedSource::cc9b3f12104c6ede803da6a42daac0b0>>
* @codegenDependency ../../scripts/codegen-file-templates/layer.tsx <<SignedSource::6f10945ad9139d0119003738c65ae40a>>
*/
export declare const textSizeMap: {
medium: "var(--ds-font-body)";
UNSAFE_small: "var(--ds-font-body-UNSAFE_small)";
large: "var(--ds-font-body-large)";
small: "var(--ds-font-body-small)";
};
export type TextSize = keyof typeof textSizeMap;
export declare const textWeightMap: {
bold: "var(--ds-font-weight-bold)";
medium: "var(--ds-font-weight-medium)";
regular: "var(--ds-font-weight-regular)";
semibold: "var(--ds-font-weight-semibold)";
};
export type TextWeight = keyof typeof textWeightMap;
/**
* @codegenEnd
*/
type MarginSpace = AllSpace | 'auto' | '0';

@@ -598,2 +632,5 @@ type PaddingSpace = Space | '0';

columnGap?: Space;
font?: Font | string;
fontFamily?: FontFamily | string;
fontWeight?: FontWeight | string | number;
gap?: Space;

@@ -652,2 +689,7 @@ height?: Dimension | string;

type SpacingProperty = (typeof spacingProperties)[number];
type TokenMappableProperty = SpacingProperty | 'backgroundColor' | 'fontWeight' | 'fontSize' | 'fontFamily' | 'lineHeight' | 'color' | 'font' | typeof CURRENT_SURFACE_CSS_VAR;
type PropsToken = SpacingToken | BackgroundColorToken | FontWeightToken | FontFamilyToken | TextColorToken | FontToken | TextWeightToken | TextSizeToken;
type TokenMap = Partial<Record<PropsToken, ReturnType<typeof token>>>;
type SerializedStylesMap = Record<PropsToken, SerializedStyles>;
export declare const getSerializedStylesMap: (cssProperty: TokenMappableProperty, tokenMap: TokenMap) => SerializedStylesMap;
type SpacingToken = keyof typeof positiveSpaceMap;

@@ -659,3 +701,5 @@ type BackgroundColorToken = keyof typeof backgroundColorMap;

type FontFamilyToken = keyof typeof fontFamilyMap;
type BodyFontToken = keyof typeof fontSizeMap;
type FontToken = keyof typeof fontMap;
type TextWeightToken = keyof typeof textWeightMap;
type TextSizeToken = keyof typeof textSizeMap;
type SpacingStyleMap = Record<SpacingProperty, Record<SpacingToken, SerializedStyles>>;

@@ -667,3 +711,5 @@ type BackgroundColorStyleMap = Record<BackgroundColorToken, SerializedStyles>;

type FontFamilyStyleMap = Record<FontFamilyToken, SerializedStyles>;
type FontStyleMap = Record<BodyFontToken, SerializedStyles>;
type FontStyleMap = Record<FontToken, SerializedStyles>;
type TextWeightStyleMap = Record<TextWeightToken, SerializedStyles>;
type TextStyleMap = Record<TextSizeToken, SerializedStyles>;
export declare const paddingStylesMap: SpacingStyleMap;

@@ -676,4 +722,6 @@ export declare const spaceStylesMap: SpacingStyleMap;

export declare const fontStylesMap: FontStyleMap;
export declare const textSizeStylesMap: TextStyleMap;
export declare const textWeightStylesMap: TextWeightStyleMap;
export declare const surfaceColorStylesMap: SurfaceColorStyleMap;
export declare const isSurfaceColorToken: (color: unknown) => color is "elevation.surface" | "elevation.surface.hovered" | "elevation.surface.pressed" | "elevation.surface.overlay" | "elevation.surface.overlay.hovered" | "elevation.surface.overlay.pressed" | "elevation.surface.raised" | "elevation.surface.raised.hovered" | "elevation.surface.raised.pressed" | "elevation.surface.sunken";
export {};
{
"name": "@atlaskit/primitives",
"version": "12.0.1",
"version": "12.1.0",
"description": "Primitives are token-backed low-level building blocks.",

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

"@atlaskit/css": "^0.4.0",
"@atlaskit/ds-lib": "^2.4.0",
"@atlaskit/ds-lib": "^2.5.0",
"@atlaskit/interaction-context": "^2.1.0",
"@atlaskit/tokens": "^1.58.0",
"@atlaskit/tokens": "^1.59.0",
"@atlaskit/visually-hidden": "^1.5.0",

@@ -128,0 +128,0 @@ "@babel/runtime": "^7.0.0",

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

Sorry, the diff of this file is not supported yet

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

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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