@atlaskit/primitives
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -9,3 +9,3 @@ { | ||
"typesVersions": { | ||
">=4.5 <4.9": { | ||
">=4.5 <5.4": { | ||
"*": [ | ||
@@ -12,0 +12,0 @@ "../dist/types-ts4.5/components/anchor.d.ts" |
@@ -9,3 +9,3 @@ { | ||
"typesVersions": { | ||
">=4.5 <4.9": { | ||
">=4.5 <5.4": { | ||
"*": [ | ||
@@ -12,0 +12,0 @@ "../dist/types-ts4.5/components/box.d.ts" |
# @atlaskit/primitives | ||
## 5.1.1 | ||
### Patch Changes | ||
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2` | ||
- Updated dependencies | ||
## 5.1.0 | ||
@@ -4,0 +11,0 @@ |
@@ -79,3 +79,3 @@ "use strict"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "5.1.0", | ||
packageVersion: "5.1.1", | ||
analyticsData: analyticsContext, | ||
@@ -82,0 +82,0 @@ actionSubject: 'link' |
@@ -83,3 +83,3 @@ "use strict"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "5.1.0", | ||
packageVersion: "5.1.1", | ||
analyticsData: analyticsContext, | ||
@@ -86,0 +86,0 @@ actionSubject: 'button' |
@@ -65,3 +65,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "5.1.0", | ||
packageVersion: "5.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: "5.1.0", | ||
packageVersion: "5.1.1", | ||
analyticsData: analyticsContext, | ||
@@ -72,0 +72,0 @@ actionSubject: 'button' |
@@ -69,3 +69,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "5.1.0", | ||
packageVersion: "5.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: "5.1.0", | ||
packageVersion: "5.1.1", | ||
analyticsData: analyticsContext, | ||
@@ -76,0 +76,0 @@ actionSubject: 'button' |
@@ -43,28 +43,5 @@ import React, { type ReactNode, type Ref } from 'react'; | ||
*/ | ||
declare const UNSAFE_ANCHOR: <RouterLinkConfig extends Record<string, any> = never>(props: RouterLinkComponentProps<RouterLinkConfig> & Omit<BoxProps<"a">, "style" | "children" | "as" | "onClick" | "href"> & { | ||
/** | ||
* `children` should be defined to ensure links have text. | ||
*/ | ||
children: ReactNode; | ||
/** | ||
* Handler to be called on click. The second argument can be used to track analytics data. See the tutorial in the analytics-next package for details. | ||
*/ | ||
onClick?: ((e: React.MouseEvent<HTMLAnchorElement>, analyticsEvent: UIAnalyticsEvent) => void) | undefined; | ||
/** | ||
* An optional name used to identify the interaction type to press listeners. For example, interaction tracing. For more information, | ||
* see [UFO integration into Design System components](https://go.atlassian.com/react-ufo-dst-integration). | ||
*/ | ||
interactionName?: string | undefined; | ||
/** | ||
* An optional component name used to identify this component to press listeners. This can be used if a parent component's name is preferred. For example, interaction tracing. For more information, | ||
* see [UFO integration into Design System components](https://go.atlassian.com/react-ufo-dst-integration). | ||
*/ | ||
componentName?: string | undefined; | ||
/** | ||
* Additional information to be included in the `context` of analytics events that come from anchor. | ||
*/ | ||
analyticsContext?: Record<string, any> | undefined; | ||
} & { | ||
ref?: React.Ref<HTMLAnchorElement> | undefined; | ||
declare const UNSAFE_ANCHOR: <RouterLinkConfig extends Record<string, any> = never>(props: AnchorProps<RouterLinkConfig> & { | ||
ref?: Ref<HTMLAnchorElement>; | ||
}) => ReturnType<typeof Anchor>; | ||
export default UNSAFE_ANCHOR; |
@@ -43,28 +43,5 @@ import React, { type ReactNode, type Ref } from 'react'; | ||
*/ | ||
declare const UNSAFE_ANCHOR: <RouterLinkConfig extends Record<string, any> = never>(props: RouterLinkComponentProps<RouterLinkConfig> & Omit<BoxProps<"a">, "style" | "children" | "as" | "onClick" | "href"> & { | ||
/** | ||
* `children` should be defined to ensure links have text. | ||
*/ | ||
children: ReactNode; | ||
/** | ||
* Handler to be called on click. The second argument can be used to track analytics data. See the tutorial in the analytics-next package for details. | ||
*/ | ||
onClick?: ((e: React.MouseEvent<HTMLAnchorElement>, analyticsEvent: UIAnalyticsEvent) => void) | undefined; | ||
/** | ||
* An optional name used to identify the interaction type to press listeners. For example, interaction tracing. For more information, | ||
* see [UFO integration into Design System components](https://go.atlassian.com/react-ufo-dst-integration). | ||
*/ | ||
interactionName?: string | undefined; | ||
/** | ||
* An optional component name used to identify this component to press listeners. This can be used if a parent component's name is preferred. For example, interaction tracing. For more information, | ||
* see [UFO integration into Design System components](https://go.atlassian.com/react-ufo-dst-integration). | ||
*/ | ||
componentName?: string | undefined; | ||
/** | ||
* Additional information to be included in the `context` of analytics events that come from anchor. | ||
*/ | ||
analyticsContext?: Record<string, any> | undefined; | ||
} & { | ||
ref?: React.Ref<HTMLAnchorElement> | undefined; | ||
declare const UNSAFE_ANCHOR: <RouterLinkConfig extends Record<string, any> = never>(props: AnchorProps<RouterLinkConfig> & { | ||
ref?: Ref<HTMLAnchorElement>; | ||
}) => ReturnType<typeof Anchor>; | ||
export default UNSAFE_ANCHOR; |
@@ -9,3 +9,3 @@ { | ||
"typesVersions": { | ||
">=4.5 <4.9": { | ||
">=4.5 <5.4": { | ||
"*": [ | ||
@@ -12,0 +12,0 @@ "../dist/types-ts4.5/components/inline.d.ts" |
{ | ||
"name": "@atlaskit/primitives", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"description": "Primitives are token-backed low-level building blocks.", | ||
@@ -127,3 +127,3 @@ "publishConfig": { | ||
"@atlaskit/app-provider": "^1.0.0", | ||
"@atlaskit/css": "^0.0.4", | ||
"@atlaskit/css": "^0.0.5", | ||
"@atlaskit/ds-lib": "^2.2.0", | ||
@@ -153,3 +153,3 @@ "@atlaskit/interaction-context": "^2.1.0", | ||
"ts-node": "^10.9.1", | ||
"typescript": "~4.9.5", | ||
"typescript": "~5.4.2", | ||
"wait-for-expect": "^1.2.0" | ||
@@ -156,0 +156,0 @@ }, |
@@ -9,3 +9,3 @@ { | ||
"typesVersions": { | ||
">=4.5 <4.9": { | ||
">=4.5 <5.4": { | ||
"*": [ | ||
@@ -12,0 +12,0 @@ "../dist/types-ts4.5/components/pressable.d.ts" |
@@ -9,3 +9,3 @@ { | ||
"typesVersions": { | ||
">=4.5 <4.9": { | ||
">=4.5 <5.4": { | ||
"*": [ | ||
@@ -12,0 +12,0 @@ "../dist/types-ts4.5/responsive/index.d.ts" |
@@ -9,3 +9,3 @@ { | ||
"typesVersions": { | ||
">=4.5 <4.9": { | ||
">=4.5 <5.4": { | ||
"*": [ | ||
@@ -12,0 +12,0 @@ "../dist/types-ts4.5/components/stack.d.ts" |
@@ -9,3 +9,3 @@ { | ||
"typesVersions": { | ||
">=4.5 <4.9": { | ||
">=4.5 <5.4": { | ||
"*": [ | ||
@@ -12,0 +12,0 @@ "../dist/types-ts4.5/components/text.d.ts" |
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
1819802
14953
+ Added@atlaskit/css@0.0.5(transitive)
- Removed@atlaskit/css@0.0.4(transitive)
Updated@atlaskit/css@^0.0.5