Socket
Socket
Sign inDemoInstall

@atlaskit/primitives

Package Overview
Dependencies
95
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.1.0 to 6.1.1

8

CHANGELOG.md
# @atlaskit/primitives
## 6.1.1
### Patch Changes
- [#97580](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97580)
[`496e5da89b3b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/496e5da89b3b) -
Export unsafe surface APIs for use in heading component.
## 6.1.0

@@ -4,0 +12,0 @@

2

dist/cjs/components/anchor.js

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

packageName: "@atlaskit/primitives",
packageVersion: "6.1.0",
packageVersion: "6.1.1",
analyticsData: analyticsContext,

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

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

packageName: "@atlaskit/primitives",
packageVersion: "6.1.0",
packageVersion: "6.1.1",
analyticsData: analyticsContext,

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

@@ -102,3 +102,9 @@ "use strict";

ref: ref,
css: [resetStyles, _styleMaps.fontStylesMap[size], color && _styleMaps.textColorStylesMap[color], maxLines && truncationStyles, maxLines === 1 && wordBreakMap.breakAll, align && textAlignMap[align], weight && _styleMaps.fontWeightStylesMap[weight], Component === 'em' && emStyles, Component === 'strong' && strongStyles],
css: [resetStyles,
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
_styleMaps.fontStylesMap[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],
style: {

@@ -105,0 +111,0 @@ WebkitLineClamp: maxLines

@@ -67,2 +67,8 @@ "use strict";

});
Object.defineProperty(exports, "UNSAFE_inverseColorMap", {
enumerable: true,
get: function get() {
return _styleMaps.inverseColorMap;
}
});
Object.defineProperty(exports, "UNSAFE_media", {

@@ -74,2 +80,8 @@ enumerable: true,

});
Object.defineProperty(exports, "UNSAFE_useSurface", {
enumerable: true,
get: function get() {
return _surfaceProvider.useSurface;
}
});
Object.defineProperty(exports, "media", {

@@ -103,2 +115,4 @@ enumerable: true,

var _anchor = _interopRequireDefault(require("./components/anchor"));
var _responsive = require("./responsive");
var _responsive = require("./responsive");
var _surfaceProvider = require("./components/internal/surface-provider");
var _styleMaps = require("./xcss/style-maps.partial");

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

packageName: "@atlaskit/primitives",
packageVersion: "6.1.0",
packageVersion: "6.1.1",
analyticsData: analyticsContext,

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

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

packageName: "@atlaskit/primitives",
packageVersion: "6.1.0",
packageVersion: "6.1.1",
analyticsData: analyticsContext,

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

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

ref: ref,
css: [resetStyles, fontStylesMap[size], color && textColorStylesMap[color], maxLines && truncationStyles, maxLines === 1 && wordBreakMap.breakAll, align && textAlignMap[align], weight && fontWeightStylesMap[weight], Component === 'em' && emStyles, Component === 'strong' && strongStyles],
css: [resetStyles,
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
fontStylesMap[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],
style: {

@@ -94,0 +100,0 @@ WebkitLineClamp: maxLines

@@ -11,2 +11,4 @@ export { default as Box } from './components/box';

export { default as UNSAFE_ANCHOR } from './components/anchor';
export { media, UNSAFE_media, UNSAFE_BREAKPOINTS_CONFIG } from './responsive';
export { media, UNSAFE_media, UNSAFE_BREAKPOINTS_CONFIG } from './responsive';
export { useSurface as UNSAFE_useSurface } from './components/internal/surface-provider';
export { inverseColorMap as UNSAFE_inverseColorMap } from './xcss/style-maps.partial';

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

packageName: "@atlaskit/primitives",
packageVersion: "6.1.0",
packageVersion: "6.1.1",
analyticsData: analyticsContext,

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

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

packageName: "@atlaskit/primitives",
packageVersion: "6.1.0",
packageVersion: "6.1.1",
analyticsData: analyticsContext,

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

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

ref: ref,
css: [resetStyles, fontStylesMap[size], color && textColorStylesMap[color], maxLines && truncationStyles, maxLines === 1 && wordBreakMap.breakAll, align && textAlignMap[align], weight && fontWeightStylesMap[weight], Component === 'em' && emStyles, Component === 'strong' && strongStyles],
css: [resetStyles,
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
fontStylesMap[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],
style: {

@@ -97,0 +103,0 @@ WebkitLineClamp: maxLines

@@ -11,2 +11,4 @@ export { default as Box } from './components/box';

export { default as UNSAFE_ANCHOR } from './components/anchor';
export { media, UNSAFE_media, UNSAFE_BREAKPOINTS_CONFIG } from './responsive';
export { media, UNSAFE_media, UNSAFE_BREAKPOINTS_CONFIG } from './responsive';
export { useSurface as UNSAFE_useSurface } from './components/internal/surface-provider';
export { inverseColorMap as UNSAFE_inverseColorMap } from './xcss/style-maps.partial';
/** @jsx jsx */
import { ComponentPropsWithRef, ElementType, ReactNode } from 'react';
import { FontSize, FontWeight, TextColor } from '../xcss/style-maps.partial';
import { type ComponentPropsWithRef, type ElementType, type ReactNode } from 'react';
import { type FontSize, type FontWeight, type TextColor } from '../xcss/style-maps.partial';
import type { BasePrimitiveProps } from './types';

@@ -24,3 +24,3 @@ declare const asAllowlist: readonly [

* Will apply inverse text color automatically if placed within a Box with bold background color.
* Defaults to `text.color` if not nested in other Text components.
* Defaults to `color.text` if not nested in other Text components.
*/

@@ -27,0 +27,0 @@ color?: TextColor | 'inherit';

@@ -24,1 +24,3 @@ export type { Dimension, BackgroundColor, Space, BorderColor, BorderRadius, BorderWidth, Layer, TextColor, Shadow, } from './xcss/style-maps.partial';

export type { Breakpoint, MediaQuery } from './responsive';
export { useSurface as UNSAFE_useSurface } from './components/internal/surface-provider';
export { inverseColorMap as UNSAFE_inverseColorMap } from './xcss/style-maps.partial';
/** @jsx jsx */
import { ComponentPropsWithRef, ElementType, ReactNode } from 'react';
import { FontSize, FontWeight, TextColor } from '../xcss/style-maps.partial';
import { type ComponentPropsWithRef, type ElementType, type ReactNode } from 'react';
import { type FontSize, type FontWeight, type TextColor } from '../xcss/style-maps.partial';
import type { BasePrimitiveProps } from './types';

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

* Will apply inverse text color automatically if placed within a Box with bold background color.
* Defaults to `text.color` if not nested in other Text components.
* Defaults to `color.text` if not nested in other Text components.
*/

@@ -22,0 +22,0 @@ color?: TextColor | 'inherit';

@@ -24,1 +24,3 @@ export type { Dimension, BackgroundColor, Space, BorderColor, BorderRadius, BorderWidth, Layer, TextColor, Shadow, } from './xcss/style-maps.partial';

export type { Breakpoint, MediaQuery } from './responsive';
export { useSurface as UNSAFE_useSurface } from './components/internal/surface-provider';
export { inverseColorMap as UNSAFE_inverseColorMap } from './xcss/style-maps.partial';
{
"name": "@atlaskit/primitives",
"version": "6.1.0",
"version": "6.1.1",
"description": "Primitives are token-backed low-level building blocks.",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc