@atlaskit/primitives
Advanced tools
Comparing version 11.1.2 to 12.0.0
@@ -108,3 +108,3 @@ "use strict"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "11.1.2", | ||
packageVersion: "12.0.0", | ||
analyticsData: analyticsContext, | ||
@@ -111,0 +111,0 @@ actionSubject: 'link' |
@@ -22,3 +22,3 @@ "use strict"; | ||
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766 | ||
// Can either Exclude or Extract - here we're excluding all SVG-related elements and button (handled by Pressable) | ||
// Can either Exclude or Extract - here we're excluding all SVG-related elements, <button> elements (handled by Pressable), and <a> elements (handled by Anchor) | ||
@@ -25,0 +25,0 @@ // Basically just ElementType but without ComponentType, it makes sense to keep the "Type" suffix |
@@ -98,3 +98,3 @@ "use strict"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "11.1.2", | ||
packageVersion: "12.0.0", | ||
analyticsData: analyticsContext, | ||
@@ -101,0 +101,0 @@ actionSubject: 'button' |
@@ -98,3 +98,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "11.1.2", | ||
packageVersion: "12.0.0", | ||
analyticsData: analyticsContext, | ||
@@ -101,0 +101,0 @@ actionSubject: 'link' |
@@ -14,3 +14,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
// Can either Exclude or Extract - here we're excluding all SVG-related elements and button (handled by Pressable) | ||
// Can either Exclude or Extract - here we're excluding all SVG-related elements, <button> elements (handled by Pressable), and <a> elements (handled by Anchor) | ||
@@ -17,0 +17,0 @@ // Basically just ElementType but without ComponentType, it makes sense to keep the "Type" suffix |
@@ -88,3 +88,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "11.1.2", | ||
packageVersion: "12.0.0", | ||
analyticsData: analyticsContext, | ||
@@ -91,0 +91,0 @@ actionSubject: 'button' |
@@ -102,3 +102,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "11.1.2", | ||
packageVersion: "12.0.0", | ||
analyticsData: analyticsContext, | ||
@@ -105,0 +105,0 @@ actionSubject: 'link' |
@@ -17,3 +17,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
// Can either Exclude or Extract - here we're excluding all SVG-related elements and button (handled by Pressable) | ||
// Can either Exclude or Extract - here we're excluding all SVG-related elements, <button> elements (handled by Pressable), and <a> elements (handled by Anchor) | ||
@@ -20,0 +20,0 @@ // Basically just ElementType but without ComponentType, it makes sense to keep the "Type" suffix |
@@ -92,3 +92,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
packageName: "@atlaskit/primitives", | ||
packageVersion: "11.1.2", | ||
packageVersion: "12.0.0", | ||
analyticsData: analyticsContext, | ||
@@ -95,0 +95,0 @@ actionSubject: 'button' |
@@ -9,3 +9,3 @@ /** | ||
import type { BasePrimitiveProps, StyleProp } from './types'; | ||
type AllowedElements = Exclude<keyof JSX.IntrinsicElements, SVGElements | 'button'>; | ||
type AllowedElements = Exclude<keyof JSX.IntrinsicElements, SVGElements | 'button' | 'a'>; | ||
type CustomElementType<P = any> = { | ||
@@ -12,0 +12,0 @@ [K in AllowedElements]: P extends JSX.IntrinsicElements[K] ? K : never; |
@@ -9,3 +9,3 @@ /** | ||
import type { BasePrimitiveProps, StyleProp } from './types'; | ||
type AllowedElements = Exclude<keyof JSX.IntrinsicElements, SVGElements | 'button'>; | ||
type AllowedElements = Exclude<keyof JSX.IntrinsicElements, SVGElements | 'button' | 'a'>; | ||
type CustomElementType<P = any> = { | ||
@@ -12,0 +12,0 @@ [K in AllowedElements]: P extends JSX.IntrinsicElements[K] ? K : never; |
{ | ||
"name": "@atlaskit/primitives", | ||
"version": "11.1.2", | ||
"version": "12.0.0", | ||
"description": "Primitives are token-backed low-level building blocks.", | ||
@@ -142,3 +142,3 @@ "publishConfig": { | ||
"@atlaskit/toggle": "^13.2.0", | ||
"@atlaskit/tooltip": "^18.5.0", | ||
"@atlaskit/tooltip": "^18.6.0", | ||
"@atlaskit/visual-regression": "*", | ||
@@ -145,0 +145,0 @@ "@atlassian/codegen": "^0.1.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 not supported yet
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
1912389