@atlaskit/lozenge 13.4.2 → 13.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/lozenge
2
2
 
3
+ ## 13.4.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 13.4.3
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 13.4.2
4
16
 
5
17
  ### Patch Changes
@@ -38,5 +38,5 @@ export interface LozengeProps {
38
38
  /**
39
39
  * Wrapper component that switches between old and new Lozenge based on feature flag
40
40
  */
41
- declare const LozengeWrapper: import("react").MemoExoticComponent<(props: LozengeProps | NewLozengeProps) => JSX.Element>;
41
+ declare const LozengeWrapper: import('react').MemoExoticComponent<(props: LozengeProps | NewLozengeProps) => JSX.Element>;
42
42
  export default LozengeWrapper;
@@ -22,5 +22,5 @@ export interface IconRendererProps {
22
22
  * Icon renderer for lozenge components
23
23
  * Handles proper sizing and color theming for icons
24
24
  */
25
- export declare const IconRenderer: ({ icon: Icon, color, testId, size }: IconRendererProps) => React.JSX.Element;
25
+ export declare const IconRenderer: (props: IconRendererProps) => React.JSX.Element;
26
26
  export default IconRenderer;
@@ -1,17 +1,9 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { type Ref } from 'react';
6
1
  import { type LozengeBaseProps } from './types';
7
- type LozengeBasePropsWithRef = LozengeBaseProps & {
8
- ref?: Ref<HTMLElement | HTMLButtonElement>;
9
- };
10
2
  /**
11
3
  * __New Lozenge__
12
4
  *
13
5
  * A lozenge is a visual indicator used to highlight an item's status for quick recognition.
14
6
  * This is the updated version with the new North Star visual language.
15
7
  */
16
- declare const LozengeBase: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<LozengeBasePropsWithRef, "ref"> & import("react").RefAttributes<HTMLElement | HTMLButtonElement>>>;
8
+ declare const LozengeBase: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<Omit<LozengeBaseProps, 'ref'> & import('react').RefAttributes<HTMLButtonElement | HTMLElement>>>;
17
9
  export default LozengeBase;
@@ -11,5 +11,5 @@ import { type LozengeDropdownTriggerProps } from './types';
11
11
  * - Built for dropdown menu interactions
12
12
  * - Supports analytics events and UFO press interactions
13
13
  */
14
- declare const LozengeDropdownTrigger: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<LozengeDropdownTriggerProps & import("react").RefAttributes<HTMLElement>>>;
14
+ declare const LozengeDropdownTrigger: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<LozengeDropdownTriggerProps & import('react').RefAttributes<HTMLElement>>>;
15
15
  export default LozengeDropdownTrigger;
@@ -9,7 +9,7 @@ import { type NewLozengeProps } from './types';
9
9
  * - [Usage](https://atlassian.design/components/lozenge/usage)
10
10
  */
11
11
  declare const Lozenge: {
12
- ({ appearance, spacing, maxWidth, style, testId, children, iconBefore, trailingMetric, trailingMetricAppearance, }: NewLozengeProps): JSX.Element;
12
+ ({ appearance, spacing, maxWidth, style, testId, children, iconBefore, }: NewLozengeProps): JSX.Element;
13
13
  displayName: string;
14
14
  };
15
15
  export default Lozenge;
@@ -38,5 +38,5 @@ export interface LozengeProps {
38
38
  /**
39
39
  * Wrapper component that switches between old and new Lozenge based on feature flag
40
40
  */
41
- declare const LozengeWrapper: import("react").MemoExoticComponent<(props: LozengeProps | NewLozengeProps) => JSX.Element>;
41
+ declare const LozengeWrapper: import('react').MemoExoticComponent<(props: LozengeProps | NewLozengeProps) => JSX.Element>;
42
42
  export default LozengeWrapper;
@@ -22,5 +22,5 @@ export interface IconRendererProps {
22
22
  * Icon renderer for lozenge components
23
23
  * Handles proper sizing and color theming for icons
24
24
  */
25
- export declare const IconRenderer: ({ icon: Icon, color, testId, size }: IconRendererProps) => React.JSX.Element;
25
+ export declare const IconRenderer: (props: IconRendererProps) => React.JSX.Element;
26
26
  export default IconRenderer;
@@ -1,17 +1,9 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
- import { type Ref } from 'react';
6
1
  import { type LozengeBaseProps } from './types';
7
- type LozengeBasePropsWithRef = LozengeBaseProps & {
8
- ref?: Ref<HTMLElement | HTMLButtonElement>;
9
- };
10
2
  /**
11
3
  * __New Lozenge__
12
4
  *
13
5
  * A lozenge is a visual indicator used to highlight an item's status for quick recognition.
14
6
  * This is the updated version with the new North Star visual language.
15
7
  */
16
- declare const LozengeBase: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Omit<LozengeBasePropsWithRef, "ref"> & import("react").RefAttributes<HTMLElement | HTMLButtonElement>>>;
8
+ declare const LozengeBase: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<Omit<LozengeBaseProps, 'ref'> & import('react').RefAttributes<HTMLButtonElement | HTMLElement>>>;
17
9
  export default LozengeBase;
@@ -11,5 +11,5 @@ import { type LozengeDropdownTriggerProps } from './types';
11
11
  * - Built for dropdown menu interactions
12
12
  * - Supports analytics events and UFO press interactions
13
13
  */
14
- declare const LozengeDropdownTrigger: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<LozengeDropdownTriggerProps & import("react").RefAttributes<HTMLElement>>>;
14
+ declare const LozengeDropdownTrigger: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<LozengeDropdownTriggerProps & import('react').RefAttributes<HTMLElement>>>;
15
15
  export default LozengeDropdownTrigger;
@@ -9,7 +9,7 @@ import { type NewLozengeProps } from './types';
9
9
  * - [Usage](https://atlassian.design/components/lozenge/usage)
10
10
  */
11
11
  declare const Lozenge: {
12
- ({ appearance, spacing, maxWidth, style, testId, children, iconBefore, trailingMetric, trailingMetricAppearance, }: NewLozengeProps): JSX.Element;
12
+ ({ appearance, spacing, maxWidth, style, testId, children, iconBefore, }: NewLozengeProps): JSX.Element;
13
13
  displayName: string;
14
14
  };
15
15
  export default Lozenge;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/lozenge",
3
- "version": "13.4.2",
3
+ "version": "13.4.4",
4
4
  "description": "A lozenge is a visual indicator used to highlight an item's status for quick recognition.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -34,15 +34,16 @@
34
34
  "title": "Lozenge",
35
35
  "id": "lozenge",
36
36
  "status": {
37
- "type": "alpha",
38
- "description": "This is an experiment under a feature flag. We may make frequent breaking changes with limited notice. We don't recommend using this without support from our team."
37
+ "type": "beta",
38
+ "description": "New and ready to use. These visual updates are currently behind the feature flag: `platform-dst-lozenge-tag-badge-visual-uplifts`. We'll provide comms and support for any major changes."
39
39
  }
40
40
  },
41
41
  {
42
42
  "title": "Lozenge Dropdown Trigger",
43
43
  "id": "lozenge-dropdown-trigger",
44
44
  "status": {
45
- "type": "alpha"
45
+ "type": "beta",
46
+ "description": "New and ready to use. We'll provide comms and support for any major changes."
46
47
  }
47
48
  }
48
49
  ]
@@ -53,7 +54,7 @@
53
54
  "@atlaskit/badge": "^18.4.0",
54
55
  "@atlaskit/css": "^0.19.0",
55
56
  "@atlaskit/ds-lib": "^5.3.0",
56
- "@atlaskit/icon": "^30.0.0",
57
+ "@atlaskit/icon": "^32.0.0",
57
58
  "@atlaskit/platform-feature-flags": "^1.1.0",
58
59
  "@atlaskit/primitives": "^18.0.0",
59
60
  "@atlaskit/spinner": "^19.0.0",
@@ -68,7 +69,7 @@
68
69
  "@af/accessibility-testing": "workspace:^",
69
70
  "@af/integration-testing": "workspace:^",
70
71
  "@af/visual-regression": "workspace:^",
71
- "@atlaskit/docs": "^11.3.0",
72
+ "@atlaskit/docs": "^11.4.0",
72
73
  "@atlaskit/dropdown-menu": "^16.4.0",
73
74
  "@atlaskit/heading": "^5.3.0",
74
75
  "@atlaskit/link": "^3.3.0",