@atlaskit/primitives
Advanced tools
Comparing version 12.1.0 to 12.1.1
@@ -13,3 +13,2 @@ "use strict"; | ||
var _react2 = require("@emotion/react"); | ||
var _reactUid = require("react-uid"); | ||
var _tinyInvariant = _interopRequireDefault(require("tiny-invariant")); | ||
@@ -19,2 +18,3 @@ var _analyticsNext = require("@atlaskit/analytics-next"); | ||
var _noop = _interopRequireDefault(require("@atlaskit/ds-lib/noop")); | ||
var _reactUid = require("@atlaskit/ds-lib/react-uid"); | ||
var _interactionContext = _interopRequireDefault(require("@atlaskit/interaction-context")); | ||
@@ -99,8 +99,3 @@ var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden")); | ||
}, [providedOnClick, interactionContext, interactionName]); | ||
// TODO: Use React 18's useId() hook when we update. | ||
// eslint-disable-next-line @repo/internal/react/disallow-unstable-values | ||
var opensNewWindowLabelId = (0, _reactUid.uid)({ | ||
ariaLabelledBy: ariaLabelledBy | ||
}); | ||
var opensNewWindowLabelId = (0, _reactUid.useId)(); | ||
var onClick = (0, _analyticsNext.usePlatformLeafEventHandler)({ | ||
@@ -111,3 +106,3 @@ fn: handleClick, | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "12.1.0", | ||
packageVersion: "12.1.1", | ||
analyticsData: analyticsContext, | ||
@@ -114,0 +109,0 @@ actionSubject: 'link' |
@@ -98,3 +98,3 @@ "use strict"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "12.1.0", | ||
packageVersion: "12.1.1", | ||
analyticsData: analyticsContext, | ||
@@ -101,0 +101,0 @@ actionSubject: 'button' |
@@ -10,3 +10,2 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import { css, jsx } from '@emotion/react'; | ||
import { uid } from 'react-uid'; | ||
import invariant from 'tiny-invariant'; | ||
@@ -16,2 +15,3 @@ import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next'; | ||
import noop from '@atlaskit/ds-lib/noop'; | ||
import { useId } from '@atlaskit/ds-lib/react-uid'; | ||
import InteractionContext from '@atlaskit/interaction-context'; | ||
@@ -89,8 +89,3 @@ import VisuallyHidden from '@atlaskit/visually-hidden'; | ||
}, [providedOnClick, interactionContext, interactionName]); | ||
// TODO: Use React 18's useId() hook when we update. | ||
// eslint-disable-next-line @repo/internal/react/disallow-unstable-values | ||
const opensNewWindowLabelId = uid({ | ||
ariaLabelledBy | ||
}); | ||
const opensNewWindowLabelId = useId(); | ||
const onClick = usePlatformLeafEventHandler({ | ||
@@ -101,3 +96,3 @@ fn: handleClick, | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "12.1.0", | ||
packageVersion: "12.1.1", | ||
analyticsData: analyticsContext, | ||
@@ -104,0 +99,0 @@ actionSubject: 'link' |
@@ -88,3 +88,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "12.1.0", | ||
packageVersion: "12.1.1", | ||
analyticsData: analyticsContext, | ||
@@ -91,0 +91,0 @@ actionSubject: 'button' |
@@ -14,3 +14,2 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
import { css, jsx } from '@emotion/react'; | ||
import { uid } from 'react-uid'; | ||
import invariant from 'tiny-invariant'; | ||
@@ -20,2 +19,3 @@ import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next'; | ||
import noop from '@atlaskit/ds-lib/noop'; | ||
import { useId } from '@atlaskit/ds-lib/react-uid'; | ||
import InteractionContext from '@atlaskit/interaction-context'; | ||
@@ -93,8 +93,3 @@ import VisuallyHidden from '@atlaskit/visually-hidden'; | ||
}, [providedOnClick, interactionContext, interactionName]); | ||
// TODO: Use React 18's useId() hook when we update. | ||
// eslint-disable-next-line @repo/internal/react/disallow-unstable-values | ||
var opensNewWindowLabelId = uid({ | ||
ariaLabelledBy: ariaLabelledBy | ||
}); | ||
var opensNewWindowLabelId = useId(); | ||
var onClick = usePlatformLeafEventHandler({ | ||
@@ -105,3 +100,3 @@ fn: handleClick, | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "12.1.0", | ||
packageVersion: "12.1.1", | ||
analyticsData: analyticsContext, | ||
@@ -108,0 +103,0 @@ actionSubject: 'link' |
@@ -92,3 +92,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "12.1.0", | ||
packageVersion: "12.1.1", | ||
analyticsData: analyticsContext, | ||
@@ -95,0 +95,0 @@ actionSubject: 'button' |
{ | ||
"name": "@atlaskit/primitives", | ||
"version": "12.1.0", | ||
"version": "12.1.1", | ||
"description": "Primitives are token-backed low-level building blocks.", | ||
@@ -19,7 +19,2 @@ "publishConfig": { | ||
"team": "Design System Team", | ||
"productPushConsumption": [ | ||
"jira" | ||
], | ||
"inPublicMirror": false, | ||
"releaseModel": "continuous", | ||
"website": { | ||
@@ -132,3 +127,2 @@ "category": "Primitives", | ||
"bind-event-listener": "^3.0.0", | ||
"react-uid": "^2.2.0", | ||
"tiny-invariant": "^1.2.0" | ||
@@ -143,3 +137,3 @@ }, | ||
"@atlaskit/ssr": "*", | ||
"@atlaskit/toggle": "^13.3.0", | ||
"@atlaskit/toggle": "^13.4.0", | ||
"@atlaskit/tooltip": "^18.7.0", | ||
@@ -146,0 +140,0 @@ "@atlaskit/visual-regression": "*", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13
1933372
15333
- Removedreact-uid@^2.2.0